(SOLVED): parameterizing action attribute to html:form

2004-07-22 Thread Sergey Livanov
Thank you a lot, HTML-EL of course, :) Sergey, >> -Original Message- >> From: Sergey Livanov [mailto:[EMAIL PROTECTED] >> Sent: Thursday, July 22, 2004 9:03 AM >> To: Struts Mailing List >> Subject: parameterizing action attribute to html:form >> &

RE: parameterizing action attribute to html:form

2004-07-22 Thread Robert Taylor
Are you including the html-el tag library in the page? robert > -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 12:03 PM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form > > >

RE: parameterizing action attribute to html:form

2004-07-22 Thread Robert Taylor
You have to use the Struts-EL tag library for this to work with EL. robert > -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 12:03 PM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form

RE: parameterizing action attribute to html:form

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 9:03 AM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form > > > Please advise me, > > I try to set html:form action

parameterizing action attribute to html:form

2004-07-22 Thread Sergey Livanov
Please advise me, I try to set html:form action= parameter. In my action : request.setAttribute( "action", MyBean ) JSP: OR After this I've got an error Cannot retrieve mapping for action /${formaction}' What's wrong? -- regards Sergey

Re: Question on parameterizing action attribute to html:form

2004-07-19 Thread Rick Reumann
Andrey Rogov wrote: there is another way to work with parameter form:action. If you use Tiles in your applications create one reusable tiles lay with elements of design, control buttons and page control. In this case you can use the page with many forms. Then solution can be replaced with . Wh

Re[2]: Question on parameterizing action attribute to html:form

2004-07-18 Thread Andrey Rogov
Hi Rick, there is another way to work with parameter form:action. If you use Tiles in your applications create one reusable tiles lay with elements of design, control buttons and page control. In this case you can use the page with many forms. Then solution can be replaced with . What do you

Re: Question on parameterizing action attribute to html:form

2004-07-18 Thread Rick Reumann
Erik Weber wrote: if you have a single JSP that houses a form that is used for different commands (add, update), you are still going to need two separate form elements in validation.xml, causing redundancy (until "field inheritance" is implemented at least), correct? That is correct, although i

Re: Question on parameterizing action attribute to html:form

2004-07-18 Thread Erik Weber
Rick, thank you for your thoughtfulness and generosity. You made me realize that I can set the form action URI as a form bean attribute in my setup Action class, and then, instead of implementing a c:choose switch on a "command" request attribute in my JSP to set the form action URI, I can just

Re: Question on parameterizing action attribute to html:form

2004-07-17 Thread Rick Reumann
Erik Weber wrote: I found the answer. It is to use the struts-el html tag library instead of the standard html tag library, and then to refer to the variable using the expression language syntx: . . . Erik are you uisng one of the DispatchActions (regular DispatchAction, LookUpDipsatcchAction

Re: Question on parameterizing action attribute to html:form

2004-07-16 Thread Erik Weber
I found the answer. It is to use the struts-el html tag library instead of the standard html tag library, and then to refer to the variable using the expression language syntx: . . . Erik Weber wrote: I want to use c:choose to decide how to set the value of the action parameter in an html:for

Question on parameterizing action attribute to html:form

2004-07-16 Thread Erik Weber
I want to use c:choose to decide how to set the value of the action parameter in an html:form tag (add or update). How exactly do I refer to the variable that is set in the c:when and c:otherwise conditionals from within my html:action tag? The only thing I can think of that works is something