I'm curious as to why the a tag is targeted for the Ajax theme but not
so much for XHTML.

* http://confluence.twdata.org/display/WW/a

Right now, the preferred idiom for a localized link with parameters seems to be:

        <s:url id="en" action="Welcome">
            <s:param name="request_locale">en</s:param>
        </s:url>
        <s:a href="%{en}"><s:text name="en"/></s:a>

Why is it that we don't roll more of this functionality into a single tag, like

        <s:a action="Welcome" key="en">
            <s:param name="request_locale">en</s:param>
        </s:a>

or, to accomodate the common use case of a single parameter

        <s:a action="Welcome" key="en" param="request_locale=en">

or if in a loop

        <s:a action="Welcome" key="%{locale}" param="request_locale=%(locale}">

I tried to find a discussion about this in the WebWork forums, but
nothing jumped out at me.

-Ted.

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

Reply via email to