What is the easiest
way to get the encoded search field name when OUTSIDE the jsp that uses the
search field.
I want to be able to
pass, as a parameter, a search value, which will be used as a filter in the
destination page.
Example:
Destination.jsp
contains:
<db:search
fieldName="abc" algo="sharp"/>
goto.jsp
contains:
<db:goto
destination="/Destination.jsp&encoded[abc]=3"
The
result:
Arriving in
Destination.jsp the filter will already be set with the value
3.
The algo used to
build the encoded search field names is simple to
interpret (TablePos,ColumnPos) but is their something that already
exists!!!