Re: Special Character in attribute.

2011-07-07 Thread Juan Alba
Hi Nillehammer, *THANKS* for the help. It works like a charm Cheers! On Wed, Jul 6, 2011 at 6:13 PM, Nillehammer < tapestry.nilleham...@winfonet.eu> wrote: > Hi Juan, > > thanks for providing the code. I have implemented it (with some slight > changes to get it to compile) and now I see the sam

Re: Special Character in attribute.

2011-07-06 Thread Nillehammer
Hi Juan, thanks for providing the code. I have implemented it (with some slight changes to get it to compile) and now I see the same error as you. I haven't found a solution yet. I will come back, when I have found one (hopefully ;-)). Cheers nillehammer Am 06.07.2011 17:34, schrieb Juan Al

Re: Special Character in attribute.

2011-07-06 Thread Nillehammer
Hello Juan, this was tricky! The String parameter for RenderSupport.addScript(...) somewhere deep in the code is passed to String.format(...). In String.format(...) the percent sign indicates a conversion. "%," is no valid conversion, hence the Exception. To get rid of that error you have to

Re: Special Character in attribute.

2011-07-06 Thread Juan Alba
sorry guys, de error shown is this one, not the one sent before: org.apache.tapestry5.internal.services.RenderQueueException Render queue error in AfterRenderBody[proxy/menu/EndPoint:showendpointlink]: Conversion = o, Flags = , On Wed, Jul 6, 2011 at 12:17 PM, Juan Alba wrote: > Hi, > > Thanks

Re: Special Character in attribute.

2011-07-06 Thread Juan Alba
Hi, Thanks for the help Nillehammer, here is the code: /*JAVA*/ public class ModalPage { @Parameter(value="null", defaultPrefix = BindingConstants.LITERAL) private String boxParams; @AfterRenderBody public void afterRenderTemplateLink() { String comando = String.format("n

Re: Special Character in attribute.

2011-07-04 Thread Nillehammer
Hi kado, Also I don't think that the problem is the word "width" because when I send width:800px, it works fine. The problem is when I try sending the width or height in % instead of px I have tried to reproduce your error using a String parameter in a component that generates an (with %

Re: Special Character in attribute.

2011-07-04 Thread kado
idth" because when I send width:800px, it works fine. The problem is when I try sending the width or height in % instead of px. Regards! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Special-Character-in-attribute-tp4543038p4550079.html Sent from the Tapestry - Use

Re: Special Character in attribute.

2011-07-01 Thread Thiago H. de Paula Figueiredo
On Fri, 01 Jul 2011 16:44:15 -0300, Nillehammer wrote: Hi Juan, Should I have to treat the % as a special character? I don't think the "%" is the problem. I think that Tapestry confused by the String starting with "width:" Tapestry uses the first part of a parameter before the ":" as a b

Re: Special Character in attribute.

2011-07-01 Thread Nillehammer
Hi Juan, Should I have to treat the % as a special character? I don't think the "%" is the problem. I think that Tapestry confused by the String starting with "width:" Tapestry uses the first part of a parameter before the ":" as a binding prefix. And width is not a valid binding prefix. As a

Special Character in attribute.

2011-07-01 Thread Juan Alba
Hi I am working with a mixin that uses modals and I was trying to send % for the width and height of the modal. This is the example: Link When I try to access to the page that contains the actionLink, this is the error shown: org.apache.tapestry5.internal.services.Rend