Re: If logic in wicket seems complicated

2008-04-22 Thread Doug Donohoe
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/If-logic-in-wicket-seems-complicated-tp16808507p16823845.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: If logic in wicket seems complicated

2008-04-22 Thread Doug Donohoe
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/If-logic-in-wicket-seems-complicated-tp16808507p16823927.html Sent from the Wicket - User mailing list archive at Nabble.com

If logic in wicket seems complicated

2008-04-21 Thread Doug Donohoe
hierarchies. Thanks, -Doug -- View this message in context: http://www.nabble.com/If-logic-in-wicket-seems-complicated-tp16808507p16808507.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: If logic in wicket seems complicated

2008-04-21 Thread Enrique Rodriguez
On Mon, Apr 21, 2008 at 11:27 AM, Doug Donohoe [EMAIL PROTECTED] wrote: ... I may be having a mental block, but I'm finding it tedious to implement 'if' behavior in Wicket. I use Wicket Fragments all over the place for this sort of thing. http://wicket.apache.org/examplefragments.html

Re: If logic in wicket seems complicated

2008-04-21 Thread Igor Vaynberg
right, use fragments for these small inline chunks, also because your usecase is so simple: just a string, you can simply do class aliasesmodel extends ldm { object load() { list aliases=getaliases(); if (aliases.isempty()) { aliases.add(new alias(none)); } } } then there is no need

Re: If logic in wicket seems complicated

2008-04-21 Thread Doug Donohoe
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/If-logic-in-wicket-seems-complicated-tp16808507p16818460.html Sent from the Wicket - User mailing list

Re: If logic in wicket seems complicated

2008-04-21 Thread jWeekend
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/If-logic-in-wicket-seems-complicated-tp16808507p16819060.html Sent from the Wicket - User mailing list archive at Nabble.com