I already exceeded the "Works for me quota" this week, so I won't say it :),
modifying /remotediv/example1.jsp in showcase to:

<s:url id="ajaxTest0" action="AjaxTest" method="execute" />
<s:div
       theme="ajax"
       href="%{ajaxTest0}" />

<s:url id="ajaxTest1" action="AjaxTest!execute"/>
<s:div
       theme="ajax"
       href="%{ajaxTest1}" />

They both work. What is different in your case?

musachy

On 4/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:

yeah I know, the thing is that the button and the anchor tags would
generate the url (add context path), and if you would use the url tag with
them, the context got duplicated, so we removed the url building logic from
them, forcing users to build the url with the url tag and pass it to the
tags, I think the div has  a similar problem, but I'm looking at the code
and I don't see it, but todays is April's fools anyway :)

musachy

On 4/1/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> > I think we had this same problem with the anchor and
> > button tags, and that's why we made it mandatory to
> > use the url tag to build the url, otherwise the
> > context gets duplicated.
>
> But... I *am* using <s:url.../>
>
> It's when there's a method (specified via attribute or
> implicit in the action attribute) that it's hosing up.
>
> d.
>
>
>
>
>
> 
____________________________________________________________________________________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
"Hey you! Would you help me to carry the stone?" Pink Floyd




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to