You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Chris Poulsen <ma...@nesluop.dk> on 2014/07/03 14:30:57 UTC
Is request parameter encoding working like intended in 5.4?
Hi,
I'm seeing some weird query parameter behavior in a component where I have
a node with the following id: /1000082
A link generated with:
@Component( parameters = { "event=opencloseclick","parameters={'t:nodeId':
row.id}", "zone=^" } )
private EventLink openCloseLink;
To the following handler method:
public void onOpenCloseClick( @RequestParameter( "t:nodeId" ) String ss )
{
TreeNode node = treeModel.getById( ss );
...
Results in the following when the link is clicked:
Could not locate TreeNode '$002f1000082'
The '/' has been encoded to $002f, but not decoded again when accessing it
in the handler. Is this expected behavior or a bug?
--
Chris