On Mon, 10 Feb 2003 15:59:05 +0100
Pierre van Rooden <[EMAIL PROTECTED]> wrote:


> I don't know if the behavior of duplicating parameters a bug is of orion 
> or specified behavior?
> If it is the latter, I suggest attempting to fix it in the include tag.

It is not a bug in Orion, it is not really specified behaviour, 
it is a side effect of that the parameter gets appended to the (internal)
requesturi and then gets doubled in the handling of that URI.

> If it is the first, I would instead suggest to write the included parts 
> with this behavior in mind (which might be done by implementing an 
> arrayindex parameter as I suggested, and let the parts use this in the 
> proper way (i.e. by specifying arrayindex="last").

Problem is that writing parts with this behaviour in mind severly limits
their functionality. The arrayindex method is good solution, if it also
takes in account that there might not be an array. Unfortunatly that solution
will also required the editing of about 150 jsp pages.
The other solution (suggested by Michiel) is checking in the UrlTag.java, that
if the id is already in the parameter list, don't include it in the URI.
This will work, but will make overriding impossible, which the arraysolution
will allow.

-- 
Rico Jansen ([EMAIL PROTECTED])
"You call it untidy, I call it LRU ordered" -- Daniel Barlow

Reply via email to