Re: Tapestry JSONObject : no 'function' type, any workaround ?

2009-03-09 Thread Nicolas Charles
Francois Armand wrote: Rico Landefeld wrote: Hello, I had the same annoying problem, but the patch works for me. But my question is: when will be a tapestry maintenance release which contains already this patch? btw, the same problem was solved in tapestry 4.1 long ago. I would like -

Re: Tapestry JSONObject : no 'function' type, any workaround ?

2009-03-09 Thread Nicolas Charles
I love it ! Thank you, you made my day ! Davor Hrg wrote: I have a solution :) I needed it to make my own autocomplete /** * */ package tapestryutil.mixins; /** Workarround to add raw content to JSON, like function references and such. * Number instances are not quoted and are trusted, so

Re: Localization in Services

2009-02-09 Thread Nicolas Charles
Blower, Andy wrote: Not sure how generally useful that would be, but it would solve the problem in an easy way. Thinking some more about this, would it not be easier to simply pass the messages from the page/component event handler method into the service method that's called to send the

Localization in Services

2009-02-06 Thread Nicolas Charles
Hello there, I'm currently struggling with a proper way to use localization in a service. My need is fairly simple : i'm using t5-restful-webservices from Bill Holloway (by the way great job Bill) to offer REST services. One of my service sends an email. The email is localized. Using the

Re: Localization in Services

2009-02-06 Thread Nicolas Charles
the ValidationMessagesSource and ThreadLocale services: ValidationMessagesSource validationMessagesSource; ThreadLocale threadLocale; Messages messages = validationMessagesSource.getValidationMessages(threadLocale.getLocale()); Roberto. Nicolas Charles ha scritto: Hello there, I'm currently

Re: T5: RESTful web services module

2009-01-27 Thread Nicolas Charles
Bill Holloway wrote: Well, against my better judgment, I've posted the little jar I use to make T5 services serve RESTful web service requets. It does this by shooting a RequestFilter into the pipeline that you contribute your service classes to via the IoC. The code and some documentation are

Re: [T5] Palette NPE

2008-12-01 Thread Nicolas Charles
I just had this issue; it was because the object overrided the equals method, but not hashCode, hence the selected object couldn't be found in the selected set. Nick zack1403 wrote: Bump for help on this? Is the because genericSelectModel.getOptionGroups returns null? This occurs

Re: (newbie) Tapestry generated b/

2008-11-25 Thread Nicolas Charles
You could override the MarkupWriterFactory to prevent the abreviation of the b/ tag It should look like this public class XhtmlMarkupWriterFactoryImpl implements MarkupWriterFactory { private final String applicationCharset; private final MarkupModel xmlModel = new