My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 37 attachment: code.txt (625 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// choosePlacesForm is a Form
// reasons is a ChoiceGroup, added to choosePlacesForm
int i = Util.getItemPosition(choosePlacesForm, reasons);
if (i >= 0) {

choosePlacesForm.delete(i);
System.out.println("5-2-1:" + i);

reasons = new ChoiceGroup("Fahrgrund", Choice.POPUP);
reasons.setLayout(ImageItem.LAYOUT_DEFAULT);
System.out.println("5-3");

boolean found = false;

if (!currTour.forceReason()) {
System.out.println("5-3-1:" + fb.EMPTY_STRING + " - " + reasons.toString());
reasons.append(fb.EMPTY_STRING, null);
System.out.println("5-3-2");
}
choosePlacesForm.insert(i, reasons);
}
Powered by Google Project Hosting