OK, business case is the registration of employees' vacations by other colleagues. Of course these may not know all data like organisational units, employeeId and so on. So there is a main
JSP offering edit fields for all of this, and two buttons, one to send the complete vacation data (submit) and one to search by partialy entered data for matching colleagues. And returning to the prefilled edit JSP after selectig one search result.
Therefor at two points of my app I use dynamic parameters with html:links.
The list of persons (the search result) is displayed using this:
This works fine and in the PreFillAction I fetch the employee data with the help of the ID and prefill all edit fields ...
Now I wanted to build soemthing similar for the two needed buttons on the EditJSP.
One 'fixed' link for the submit and one dynamic with the familyname as param for the SearchAction.
This is basicly like the above:
JSP looks fine and all, but for some totaly not understandable reason the param doesn't reach the Action, it is allways NULL.
I tried retrival from the
struts form, from sesssion Param or as simple request param, nothing worked...
Any clues?
[ December 02, 2007: Message edited by: Oliver Thoms ]
[ December 03, 2007: Message edited by: Oliver Thoms ]