Hi, 2 different approaches: <input type="hidden" name="eventSubmit_doUpdateSortCol" value="1">
Or (from a velocity template should be easily protable to JSP) <form action="$jslink.setAction("MyAction").addPathInfo("eventSubmit_doUpdateS ortCol","1")"> One addition considedirn your naming of the action... From a Turbine Standpoint (eventSubmit naming convention) your Action should be named eventSubmit_doUpdatesortcol Thus, the convention is this: The variable name MUST have the prefix "eventSubmit_". The variable name after the prefix MUST begin with the letters "do". The first letter after the "do" will be capitalized and the rest will be lowercase Kind regards Jürgen Hoffmann ByteACTION GmbH cert. Perl Programmer cert. Linux System Administrator cert. Java Programmer -----Ursprüngliche Nachricht----- Von: Pierre Henry [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 22. Januar 2003 10:10 An: Jetspeed Users List Betreff: RE: How to specify a JSP Action method Thank you Jürgen for your answer ! But I can't find out how to put a pathInfo. I tried many combinations but it didn't work. What exactly is a pathInfo in Jetspee ? (I didn't find much about it in the archive) Please help me out! Pierre This is what I tried : add a hidden file : <INPUT TYPE="hidden" name="pathInfo" value="eventSubmit_doUpdateSortCol"> <INPUT TYPE="hidden" name="pathInfo" value="doUpdateSortCol"> <INPUT TYPE="hidden" name="eventSubmit" value="doUpdateSortCol"> etc. in the action attribute : <form action="<jetspeed:dynamicUri/>?pathInfo=eventSubmit_doUpdateSortCol" method=POST name="columnHeaderForm"> etc. > -----Original Message----- > From: Jürgen Hoffmann [mailto:[EMAIL PROTECTED]] > Sent: mercredi, 22. janvier 2003 09:20 > To: 'Jetspeed Users List' > Subject: AW: How to specify a JSP Action method > > > You can put your eventSubmit as a PathInfo ito the action attribute of > the form element or as another hidden field. > > Kind regards > > Jürgen Hoffmann > ByteACTION GmbH > > cert. Perl Programmer > cert. Linux System Administrator > cert. Java Programmer > > > -----Ursprüngliche Nachricht----- > Von: Pierre Henry [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 21. Januar 2003 16:50 > An: Jetspeed Users List > Betreff: RE: How to specify a JSP Action method > > > I forgot a line in the javascript function, which is of course : > columnHeaderForm.submit(); > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>