Re: Tobago Renderer with JSF RI

2010-02-12 Thread Udo Schnurpfeil
Hi, generally Tobago can not be combined with any other tags libs freely. You can use f: tags, but not h: tags. The main reason is, that in Tobago every container has a layout-manager which set the position of the component. You may use tc:link instead of h:commandLink. An other effect is, tha

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Cédric Durmont
Thanks for the answer. So Trinidad is fine, which is good news, but I have to find another explanation as why it fails on my app. If I'm not mistaking, the browser should make the conversion on-the-fly before putting the new content into the page. But it does dot, and I have  © characters, meaning

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Rafa Pérez
Hi, we were having the same problem some time ago. We added a filter to our webapp that checks for the type of request and change the encoding properly. This is, you can call CoreRenderKit.isAjaxRequest(externalContext) to check if it is a PPR request and in that case, you can force the encoding t

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Mike Quentel (4DM)
I recommend trying to set the encoding in the web container's configuration (eg: server.xml). Mike Quentel Senior Geospatial Software Developer 4DM Inc. 671 Danforth Avenue Suite 305 Toronto, Ontario M4J 1L3 Ph/Fax 416 - 410-7569 www.4dm-inc.com Providing solutions through mapping technology...

[Trinidad] Regarding PartialTriggers attribute

2010-02-12 Thread preeti agarwal
Hi For our Application we wanted to raise partialTriggers based on three components. Accidentally till now we were using commas to separate them and it worked fine. We use : Trinidad1.2.12 jsf-facelets1.1.14 JBoss 4.2.1

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Cédric Durmont
Thanks for the tip, Rafa, now it works like a charm :o) Could not find how to get an ExternalContext from inside a filter, however. So my test is : if ("true".equals(((HttpServletRequest)(request)).getHeader("Tr-XHR-Message")) ) ... because it's basically what isAjaxRequest and ExternalContext act

RE: dramatic performance decrease after update to JSF 1.2

2010-02-12 Thread Michael Heinen
I have some news regarding the performance problem. The major performance decrease was caused by a Tomcat Bug. See https://issues.apache.org/bugzilla/show_bug.cgi?id=48600 Setting metadata-complete="true" in web.xml improved the 1.2 speed significantly! There seems to be still another problem in

[Trinidad] Help with autoSubmit

2010-02-12 Thread Jean-Noël Colin
Hi I've been working with JSF & IceFaces, but rather new to MyFaces + Trinidad. And I'm facing a problem with autoSubmit. Basically, I have two selectOneChoice elements (project and subproject), and the second should be disabled until the first one has been selected. In the same form, I also h

Re: [Trinidad] Regarding PartialTriggers attribute

2010-02-12 Thread Andrew Robinson
You cannot mix strings an EL in partialTriggers, the JSP tag will not allow it (I know, not cool). You have to either use a space-separated string or EL that points to a string array. There are no other options. I would suggest filing a JIRA ticket to fix this and then use an EL function to convert

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Rafa Pérez
Good! :D On Fri, Feb 12, 2010 at 4:57 PM, Cédric Durmont wrote: > Thanks for the tip, Rafa, now it works like a charm :o) > Could not find how to get an ExternalContext from inside a filter, > however. So my test is : > if > ("true".equals(((HttpServletRequest)(request)).getHeader("Tr-XHR-Messag