You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Martijn Brinkers (List)" <ma...@gmail.com> on 2008/06/25 07:31:27 UTC
T5: addScript with @ symbol problems
I am having some hard time using addScript. I am using PageLinkPopup
component which adds some javascript. It works just as long as I do not
add the @ symbol to the context parameters. The @ symbol is converted to
%40 and the following script is added with addScript:
new pageLinkPopup("pagelinkpopup", "user/edit/m.brinkers%40pobox.com",
"edit user", "width=600,height=300");
But, this results in:
Render queue error in BeginRender[Users:pagelinkpopup]: Conversion = 'p'
Somehow Tapestry chokes over the %40 or something.
I saw a bug posting by Chris Lewis
https://issues.apache.org/jira/browse/TAPESTRY-1818 which seems kind of
similar but I'm my Tapestry knowledge is not deep enough to see what I
do wrong.
Hope someone can help
Martijn Brinkers
Stack trace
* java.util.Formatter
$FormatSpecifier.conversion(Formatter.java:2605)
* java.util.Formatter
$FormatSpecifier.<init>(Formatter.java:2633)
* java.util.Formatter.parse(Formatter.java:2479)
* java.util.Formatter.format(Formatter.java:2413)
* java.util.Formatter.format(Formatter.java:2366)
* java.lang.String.format(String.java:2770)
* org.apache.tapestry5.internal.services.RenderSupportImpl.addScript(RenderSupportImpl.java:129)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org