Actionlink context type coercion
--------------------------------
Key: TAPESTRY-1999
URL: https://issues.apache.org/jira/browse/TAPESTRY-1999
Project: Tapestry
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.0.7
Environment: JBoss 4.2.2
Reporter: Landais Gabriel
We wish to have a list as a context for an actionlink :
.tml :
<t:actionlink t:id="detail" context="${detailContext}">Detail</t:actionlink>
.java :
public String getDetailContext() {
List context = new ArrayList();
context.add(instance.getId1());
context.add(instance.getId2());
return context;
}
public Object onActionFromDetail(List context) {
String id1 = context.get(0);
String id2 = context.get(1);
pageDetail.setup(id1, id2);
return pageDetail;
}
BUT
context parameter in onActionFromDetail contains just one String that looks
like "[4, 5]"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]