After Visiting URL with Queyr String, Query String Appears on Every Link

2008-06-07 Thread Pandolf
Hi everyone, I'm using Struts 2.0.11.1 with FreeMarker 2.3.8. I've created a hyperlink in a .FTL as follows: <@s.url id="todayDashboardUrl" action="encounters"> <@s.param name="minDaysAway" value="0"/> <@s.param name="maxDaysAway" value="1"/> <

Re: After Visiting URL with Query String, Query String Appears on Every Link

2008-06-07 Thread Lukasz Lenart
Hi 2008/6/7 Pandolf <[EMAIL PROTECTED]>: ><@s.url id="todayDashboardUrl" action="encounters"> > Add includeParams="none" to this tag or globally set struts.url.includeParams=none in struts.xml or struts.properties Regards -- Lukasz http://www.lenart.org.pl/

Re: [Struts2] Convention Plugin

2008-06-07 Thread Lukasz Lenart
Hi, You have to configure struts to tell where your actions are: action2 org.apache.struts2.dispatcher.FilterDispatcher actionPackages your.package.actions Action class must pass such name convention ActionNameAction.class, eg. Employ

Re: After Visiting URL with Query String, Query String Appears on Every Link

2008-06-07 Thread Pandolf
Thanks Lukasz, all sorted now. Cheers. Lukasz Lenart wrote: > > Hi > > 2008/6/7 Pandolf <[EMAIL PROTECTED]>: > >><@s.url id="todayDashboardUrl" action="encounters"> >> > > > Add includeParams="none" to this tag or globally set > struts.url.includeParams=none in struts.xml or stru

Re: [Struts2] Convention Plugin

2008-06-07 Thread Musachy Barroso
No, that's the codebehind plugin. On Sat, Jun 7, 2008 at 5:15 AM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > Hi, > > You have to configure struts to tell where your actions are: > > >action2 > > org.apache.struts2.dispatcher.FilterDispatcher > >actionPackages >

Re: [Struts2] Convention Plugin

2008-06-07 Thread Musachy Barroso
Did you take a look at the docs: http://cwiki.apache.org/S2PLUGINS/convention-plugin.html? To get you started do this: 1. Create an action in actions.TestAction, and write an execute() method that return "success". 2. Create the file /WEB-INF/content/test.jsp 3. Point your browser to: http:/

Re: Display tag and AJAX

2008-06-07 Thread Lalchandra Rampersaud
hi in reality ajaxanywhere does not need additional javascript funcions (by default comes packaged with aa.js). the function that is usually called is which invokes an action. the action is the one which allows the user to select the zone that is to be updated and also sends the data. attach

Re: Display tag and AJAX

2008-06-07 Thread Lalchandra Rampersaud
sorry, i forgot to put the funcion. it is ajaxAnywhere.submitAJAX(parameter=value) Carpe diem - Original Message - From: "Lalchandra Rampersaud" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, June 07, 2008 3:49 PM Subject: Re: Display tag and AJAX