Re: Submit a html:form with a link

2006-03-08 Thread Niall Pemberton
ot;Michael Jouravlev" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 09, 2006 2:33 AM Subject: Re: Submit a html:form with a link On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I see no real need to force people to change working i

Re: Submit a html:form with a link

2006-03-08 Thread Michael Jouravlev
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I see no real need to force people to change working implementations that > use DispatchAction or LookupDispatchAction by deprecating them. Still some do the same job better than other. I am not saying about forcing people. Just telling them

Re: Submit a html:form with a link

2006-03-08 Thread Niall Pemberton
I see no real need to force people to change working implementations that use DispatchAction or LookupDispatchAction by deprecating them. We probably need better docs to explain the different implementations - but peoples opnions on whats best to use vary widely - some people don't think DispatchAc

Re: Submit a html:form with a link

2006-03-08 Thread Michael Jouravlev
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > The most common cause of this in LookupDispatchAction is the presence of > "whitespace" in the label value. So in the example I gave you, this happens > if you don't put the tags all on one line, something like this: > > > > > > You n

Re: Submit a html:form with a link

2006-03-08 Thread Wendy Smoak
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > I tried your solution but it does't work. I get the exception: > > SEVERE: Servlet.service() for servlet action threw exception > javax.servlet.ServletException: Request[/search] does not contain handler > parameter named searchType We

Re: Submit a html:form with a link

2006-03-08 Thread Niall Pemberton
L PROTECTED]> To: "Struts" Sent: Wednesday, March 08, 2006 3:19 PM Subject: Re: Submit a html:form with a link Niall: I tried your solution but it does't work. I get the exception: SEVERE: Servlet.service() for servlet action threw exception javax.servlet.ServletExcepti

Re: Submit a html:form with a link

2006-03-08 Thread Yariel Ramos Moreno
Niall: I tried your solution but it does't work. I get the exception: SEVERE: Servlet.service() for servlet action threw exception javax.servlet.ServletException: Request[/search] does not contain handler parameter named searchType at org.apache.struts.actions.LookupDispatchAction.execute(Looku

Re: Submit a html:form with a link

2006-03-08 Thread Wendy Smoak
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: > It's there a way of submit an html:form to a LookUpDispathAction with > a link instead of a submit button? What problem are you trying to solve? * If you can get all of the request parameters into the link URL, yes. * Otherwise, not

Re: Submit a html:form with a link

2006-03-08 Thread Niall Pemberton
I believe you can do something like the following, although I haven't tried it myself: ... link text here e.g. This adds a parameter called "foo" to the link with the internationalized value of "foo.label" from the message resources. If you want more than one parameter you need to

Submit a html:form with a link

2006-03-08 Thread Yariel Ramos Moreno
Hi everybody: It's there a way of submit an html:form to a LookUpDispathAction with a link instead of a submit button? Thanks and regards.