Again, that age old question....why? Why this hatred of the unloved and 
unappreciate if/iterator tags? What have they ever done to you?

Quoting boxed <[EMAIL PROTECTED]>:

> I've had a most enlightening conversation on irc recently. A friend of mine
> pointed out that property tag and iterator tag can be merged:
> <ww:property value="foo">
>   do something
> </ww:property>
> 
> can iterate through the values if foo is a collection. Furthermore, we can
> merge the property tag and the if tag:
> <ww:property value="foo">
>   do something
> </ww:property>
> 
> will "do something" if foo evaluates to not null (and if it's a boolean
> type
> to true). But wait! There's more! We can also merge it with the include
> tag:
> <ww:property value="'foo.jsp'"/>
> can do an include if "foo.jsp" exists. We can also make it handle actions:
> <ww:property value="'foo.action'"/>
> can do just what <ww:action value="'foo.action'"/> does today if the string
> evaluates to an action!
> 
> You wanted a flexible property tag mike ("The property tag is flexible -
> not
> confusing!" as you so nicely put it). Time you show that you mean it.
> 
> // Anders Hovmöller
> 
> PS. Yes it's sarcasm, but note that the first two examples are real world
> example from my friends version of the property tag for his framework DS.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 






-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to