Re: S2 tag: mod_rewrite

2008-08-25 Thread Laurie Harper
TLDs don't provide for specifying a default value for an attribute. You'll probably need to define a pair of sub-classes that default the attribute appropriately, and map those in the TLD. L. Pascal Forget wrote: Hi, I modified the PropertyTag to add a "formatterClass" parameter. I would li

S2 tag: mod_rewrite

2008-08-24 Thread Pascal Forget
Hi, I modified the PropertyTag to add a "formatterClass" parameter. I would like to be able to define the tag under two names in the tld file and set the formatterClass parameter based on the name. Something like this: duration com.ubeans.struts2.views.jsp.PropertyTag [...]