[Webwork-user] url tag
Brought to you by:
baldree,
rickardoberg
From: Taavi T. <ta...@ib...> - 2002-06-17 14:05:01
|
There has been change in url tag behaviour in revision 1.5 of URLTag.java that disables some useful functionality that was there in rev. 1.4. Why? (Latest rev. is 1.8 that still behaves very similar to rev. 1.5). For example back in rev. 1.4 I could very easily add url parameters to current page like this: URL: my.action?param1=value1 code in jsp view: <webwork:url> <webwork:param name="'param2'" value="'value2'"/> </webwork:url> In revision 1.4 this gave me following url: my.action?param1=value1¶m2=value2 Since revision 1.5 it removes any existing url parameters and gives following result: my.action?param2=value2 I think url tag could use an extra pararameter which determines when parameters have to be added to existing ones and when all current parameters have to be removed. What do you think? with best wishes, Taavi |