Dale Newfield wrote:
<myTagLib:myTag showMe="Users" friendOf="joe" friendOf="amy"/>

org.apache.jasper.JasperException:
Validation error messages from TagLibraryValidator
org.xml.sax.SAXParseException: Attribute "testAttribute" was already specified for element "myTagLib:myTag".

Argh!  It's not valid.  (Glad I checked before getting too far on this!)

Back to the drawing board.

I guess the simplest solution is the opposite of the-compact solution: A setter for each constraint name, each looking for a comma-separated list of constraint "direct object" names. (And that same solution for both the tag and the action.)

But are commas url friendly?  I.E.:  Is this bad?
http://mymachine/myapp/users/friendOf/amy,joe/attendedEvent/BobsBirthday.html

What other character would be more search-engine friendly and isn't already special as far as struts is concerned?

But I guess this puts either Restful2ActionMapper or NamedVariablePatternMatcher back on the table...

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to