CRANFORD, CHRIS wrote:
That still renders "&department=" on the request when the department
field is null which is not what I want.
I understand the desire to have "pretty" urls, but technically the
presence or absence of "&department=" in the url is not distinguishable
by the action created when this url is requested.
If you're trying to distinguish between null and empty, you need a way
to signal that distinction to the action. One or two reserved
department ids/names that you interpret as these "magic" values would
solve your problem:
for example:
<s:param name="department" value="%{(#attr.row.department ==
null)?'null':(#attr.row.department.isEmpty?'unconstrained':#attr.row.department)}"/>
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org