struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tutul <shubhrakarma...@hotmail.com>
Subject Re: <s:head theme="ajax"> causing prob;em with <s:url>
Date Thu, 04 Sep 2008 18:32:53 GMT

Thanks form responding.

I am using struts2 with tiles and I have a commonlayout.jsp with all the
relevant links in the application, for ex, Add, View Search etc. One of the
jsp's has all the link in it and which appears on the left pane of the
page.. (Just like a regular html page). The links are something like this...
<s:url id ="search" action="SearchClient" includeParams="none">
          <s:a href="%{search}"/>
</s:url>


<s:url id ="add" action="AddClient" includeParams="none">
          <s:a href="%{add}"/>
</s:url>
......

As soona s I got to the add page which has the <s:head theme="ajax">, all my
links on the left page stops working. When I click on them, they all go to
the add page. But if I remove the <s:head theme="ajax">  from the add jsp
page, it fixes the problem.

Hopefully, it is more clear now





newton.dave wrote:
> 
> --- On Thu, 9/4/08, tutul wrote:
>> Does anyone know of any problems with using <s:head
>> theme="ajax"> and <s:url>
>> 
>> I have a jsp which uses <s:head
>> theme="ajax"> and as soon as I go this jsp,
>> all other <s:urls>'s in the page stops working.
>> It just shows me the last link created.
> 
> What do you mean by the <s:url>s "stop working"?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%3Cs%3Ahead-theme%3D%22ajax%22%3E-causing-prob-em-with-%3Cs%3Aurl%3E-tp19316767p19317137.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message