After further digging around, I believe the problem could be with
Stripes URLs. According to http://www.ietf.org/rfc/rfc3987 URL
parameters should be encoded RTL.
This works fine when retrieving a value via the actionBean. e.g.
<ss:url value="<%=ACCOUNT_KEYS_ACTION%>" event="view" var="popup_url">
<ss:param name="keyId">
<ss:format value="${actionBean.keyId}" formatType="number"/>
</ss:param>
</ss:url>
provides:
http://localhost:8084/auth/keys.action?view=&keyId=1-
However when performing the following:
<ss:url value="<%=ACCOUNT_KEYS_ACTION%>" event="view" var="popup_url">
<ss:param name="keyId">
<ss:format value="-1" formatType="number"/>
</ss:param>
</ss:url>
provides:
http://localhost:8084/auth/keys.action?view=&keyId=-1
Notice that the keyId param should be "1-", not "-1".
I tried <ss:format value="-1" formatType="number"/> outside of the
<ss:url> tag and it displays correctly as "1-".
Also <ss:hidden name="keyId" value="-1"/> also passes a hidden parameter
through of "1-" when rendered.
Is this a problem with Stripes, or should I be doing something different?
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users