AW: How to implement OR functionality in STRUTS
The "..." is exactly one line, because it's only a flag: ... do the things you need to do. But I fully agree that this is ugly, and should be done by a property of the bean instead: ... Alternatively feel free to make a nested "or" tag. > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 5. Januar 2005 10:48 > An: Struts Users Mailing List > Betreff: Re: How to implement OR functionality in STRUTS > > Neil Erdwien writes: > > > How about: > > > > > >... > > > > > >... > > > > Are you serious? When "..." is longer than say 1 or 2 lines, this > leads to duplicated source-code, one of the thing I think > programmers should avoid with the most energy. > > -- > Guillaume Cottenceau > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: How to implement OR functionality in STRUTS
The "..." is exactly one line, because it's only a flag: ... do the things you need to do. But I fully agree that this is ugly, and should be done by a property of the bean instead: ... Alternatively feel free to make a nested "or" tag. > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 5. Januar 2005 10:48 > An: Struts Users Mailing List > Betreff: Re: How to implement OR functionality in STRUTS > > Neil Erdwien writes: > > > How about: > > > > > >... > > > > > >... > > > > Are you serious? When "..." is longer than say 1 or 2 lines, this > leads to duplicated source-code, one of the thing I think > programmers should avoid with the most energy. > > -- > Guillaume Cottenceau > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]