Re: MyFaces and templates

2008-02-08 Thread Martin Marinschek
Hi Ognjen, use Facelets, Shale-Clay or JSF-Templating. regards, Martin On 2/8/08, Ognjen Blagojevic [EMAIL PROTECTED] wrote: Hi all, Is there an integrated templating solution for MyFaces? Or one should use independant framework like Facelets? Regards, Ognjen --

[Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread wolfgang . toepfer
Hi, Generally I wonder what the concept/design of PPR is when a timeout has occurred because the current default PPR behaviour does not fit in this scenario and one gets an error, actually two JS errors TypeError: a5 has no properties message=a5 has no properties Invalid PPR response. The

Antwort: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread wolfgang . toepfer
Hi, I see. Well as I've said a full login form page is returned that does not seem to fit in the scheme of what PPR expects as response. Thus I thought that I need to differentiate in the listener if it is a PPR request or a normal one. [EMAIL PROTECTED] schrieb: - An: MyFaces

Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
like public class SessionListener implements Filter { /** * session timeout page */ private final String SESSION_TIMEOUT_PAGE = sessionTimeout.jsp; /** * do filter method * @param servlet request * @param servlet response * @param filter chain */

(Trinidad) Refreshing error messages

2008-02-08 Thread sandeep gururaj
Hello All, I have a form with 3 input fields and a command button. All 3 input fields are mandatory (i.e required=true is set). Now when I enter values for all 3 input fields and click on the command button, I invoke an action method that compares the values for the first 2 input fields. If

Antwort: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread wolfgang . toepfer
Yes, that is what I meant. And I use the Seam built-in redirect to a login page. But in this case would I need an extra listener? How would be the Trinidad usage e.g. for a tr:commandButton (where the problem actually occurs ;) ? Thanks a lot, Wolfgang. [EMAIL PROTECTED] schrieb: -

Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
Hi, you mean like you have a page, with some PPR triggers (like button) and after 40 minutes you click a button to finally see the JS errors ? Have you tried to implement a session listener to redirect (to start/login page) after timeout? -M 2008/2/8 [EMAIL PROTECTED]: Hi, Generally I

Re: MyFaces and templates

2008-02-08 Thread Ognjen Blagojevic
Thanks for the hints. Ognjen Matthias Wessendorf wrote: Hi, On Feb 8, 2008 11:14 AM, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Ognjen, use Facelets, Shale-Clay or JSF-Templating. using Facelets is almost safe, since lot of people (not only here) are using it. Facelets /

Re: MyFaces and templates

2008-02-08 Thread Matthias Wessendorf
Hi, On Feb 8, 2008 11:14 AM, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Ognjen, use Facelets, Shale-Clay or JSF-Templating. using Facelets is almost safe, since lot of people (not only here) are using it. Facelets / JSF-Templating also inspire the JSF.NEXT release -M regards, Martin

[Trinidad] Skinning - can't get browser hacks working...

2008-02-08 Thread Carsten Pieper
Hi, in some cases the nice @agent feature can't help your skinning efforts for different browsers, for example if you want to differentiate between different versions of Internet Explorer (see this thread: http://www.nabble.com/Skinning-for-specific-%40agent-_versions_---to13572999.html) or

MyFaces and templates

2008-02-08 Thread Ognjen Blagojevic
Hi all, Is there an integrated templating solution for MyFaces? Or one should use independant framework like Facelets? Regards, Ognjen

Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
at the moment I sent it, I saw that the redirect might be handled by trinidad itself. A worth enhancement, IMO -M 2008/2/8 [EMAIL PROTECTED]: Hi, I see. Well as I've said a full login form page is returned that does not seem to fit in the scheme of what PPR expects as response. Thus

RE: MyFaces and templates

2008-02-08 Thread mario.buonopane
I'm using successfully Tiles Integration... Mario -Original Message- From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED] Sent: 8 febbraio 2008 12.08 To: MyFaces Discussion Subject: Re: MyFaces and templates Thanks for the hints. Ognjen Matthias Wessendorf wrote: Hi, On Feb 8,

RE: (Trinidad) Refreshing error messages

2008-02-08 Thread sandeep gururaj
I just wanted to add that I am not sure if this is really an issue. If Yes and if it can be solved, please let me know the same. If No, I would like to know experiences from people who have observed such behavior. Thanks ~Sandeep From: sandeep gururaj

Re: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
On Feb 8, 2008 1:15 PM, [EMAIL PROTECTED] wrote: Hi, The problems that I then still have is to find out a) how to recognize in the listener that it is a Trinidad PPR request the requestHeaderMap has a Tr-XHR-Message : true entry. The big problem in checking the Params before our

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Zied Hamdi
Hi Volker, I confirm it works fine under ff. I'll try to upgrade asap. Regards, Zied 2008/2/8, Volker Weber [EMAIL PROTECTED]: Hi Zied, in IE? if this problem does not exsist in FF this may be http://issues.apache.org/jira/browse/TOBAGO-611 Regards, Volker 2008/2/8, Zied Hamdi

RE: License Question: web-facesconfig.dtd for MyFaces Impl 1.2 Jar

2008-02-08 Thread Barb Cochrane
Thanks for clarifying! -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 6:53 PM To: MyFaces Discussion Cc: Leonardo Uribe Subject: Re: License Question: web-facesconfig.dtd for MyFaces Impl 1.2 Jar Hi Barb, they will not reflect the

[trinidad] tr:navigationTree questions

2008-02-08 Thread Mark Struberg
Hello! I'm a complete noob to trinidad and myfaces, so please excuse any obvious or stupid questions. At least I've searched yahoo, google and read through nabble, so hopefully my asking is not too dumb :) I'm currently writing a sample for a standard business application which also contains

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Matthias Wessendorf wrote: On Feb 8, 2008 6:03 AM, Shane Petroff [EMAIL PROTECTED] wrote: Any ideas why the partialTriggers aren't working? are you using tr:document OR trh:html/head/body tags ? They ensure all required CSS (Skinning) and JS files are sent down to the client. I'd go

RE: MyFaces 1.1 not working on Websphere 5.1.1.15 with Classloader set to PARENT_LAST

2008-02-08 Thread mchandir
I just thought i would update regarding this issue. Damon thanks for taking time to giving me some suggestions. What i found in all this painful experiment is i had no luck running the application with Application Classloader as PARENT_LAST, WAR Classloader policy as MODULE Web Module

Implications of reducing size of org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS

2008-02-08 Thread William Keicher
Hi, What are the implications of having a very small value for org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS? I read the documentation provided here: http://myfaces.apache.org/trinidad/devguide/configuration.html but I'm not sure I fully understand what will happen if say

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Andrew Robinson wrote: What trinidad build are you using? Trinidad 1.0.5, MyFaces Core 1.1.5 colons should not be necessary for components in the same naming container. Tried with and without. Using the colons clearly does not work because it issues the warning: WARNING: Could not

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Matthias Wessendorf wrote: ah, I just noticed, that finalMarkField is inside a table (naming container). haven't read your code carefully, sorry. can you *try* partialTriggers=:::finalMarkField ? No joy... cleared the browser cache first, then dumped tomcat's cache, did a full build and

Antwort: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread wolfgang . toepfer
Hi, The problems that I then still have is to find out a) how to recognize in the listener that it is a Trinidad PPR request b) when I write in the listener sth. like if i(sTrinidadRequest){ request.getRequestDispatcher(SPECIAL_PPR_SESSION_TIMEOUT_PAGE).forward(request,response); }

Re: Custom DataScroller (t:dataScroller)

2008-02-08 Thread Tathagat
Stupid me. Why didn't I call getValue() before :). This works fine: ListDataModel listDataModel = (ListDataModel)scroller.getUIData().getValue(); ArrayList dataList = (ArrayList)listDataModel.getWrappedData(); Mission accomplished. Thanks a ton again. Tathagat On 2/8/08, Martin Marinschek

Re: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
The problems that I then still have is to find out a) how to recognize in the listener that it is a Trinidad PPR request the requestHeaderMap has a Tr-XHR-Message : true entry. The big problem in checking the Params before our TrinidadFilter is that you can't (due to issue in Servlet

Antwort: Re: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread wolfgang . toepfer
Ok, thanks again Matthias :) I will try it out and see if I can fix it that way soon.. perhaps I can provide sth. closer to a general solution ;) [EMAIL PROTECTED] schrieb: - An: MyFaces Discussion users@myfaces.apache.org Von: Matthias Wessendorf [EMAIL PROTECTED] Gesendet von:

Re: Re: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
hey On Feb 8, 2008 2:01 PM, [EMAIL PROTECTED] wrote: Ok, thanks again Matthias :) I will try it out and see if I can fix it that way soon.. perhaps I can provide sth. closer to a general solution ;) I am playing with a TimeoutConfigurator (via

[tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Zied Hamdi
Hi, I have a problem when I attemp to render partially a box with a checkbox menu popup: in (tradition mode) the checkbox's state is updated normally as expected. But When I attemp to do it in ajax mode, the menu stays always checked (in my case: it's its first state). tc:panel

Re: Re: Re: Re: [Trinidad] problem with PPR behaviour after timeout

2008-02-08 Thread Matthias Wessendorf
just created: https://issues.apache.org/jira/browse/TRINIDAD-943 -M On Feb 8, 2008 2:06 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: hey On Feb 8, 2008 2:01 PM, [EMAIL PROTECTED] wrote: Ok, thanks again Matthias :) I will try it out and see if I can fix it that way soon.. perhaps

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Andrew Robinson
I think I know your problem. It is a phase issue and why value change listeners (VCL) suck in JSF (really bad architecture) 1. page submit 2. apply request values finalMarkField decoded as A (for example) withdrawalDate decoded as blank (I presume you are not setting this) 3. validation

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Volker Weber
Hi Zied, in IE? if this problem does not exsist in FF this may be http://issues.apache.org/jira/browse/TOBAGO-611 Regards, Volker 2008/2/8, Zied Hamdi [EMAIL PROTECTED]: Hi, I have a problem when I attemp to render partially a box with a checkbox menu popup: in (tradition mode) the

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Matthias Wessendorf
ah, I just noticed, that finalMarkField is inside a table (naming container). haven't read your code carefully, sorry. can you *try* partialTriggers=:::finalMarkField ? you want to check this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg29646.html (please note, that there is an

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Andrew Robinson wrote: I think I know your problem. It is a phase issue I'll take your word for it, but I guess the only thing I could do to try and trace it through was to set a breakpoint in the decode method and step through everything. and why value change listeners (VCL) suck in JSF

Re: [Tomahawk] non-unique IDs in t:tree2 /

2008-02-08 Thread Ɓukasz Budnik
Hi Andrew, Sorry for bothering ;) I've made some progress and I can display it now. Last question. In the example from: http://www.irian.at/myfacesexamples/tree2.jsp.source there are defined 4 different f:facet / - for every node in tree. This can be troublesome if someone has a complex

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Andrew Robinson
Shane, What trinidad build are you using? colons should not be necessary for components in the same naming container. On Feb 8, 2008 10:31 AM, Shane Petroff [EMAIL PROTECTED] wrote: Matthias Wessendorf wrote: ah, I just noticed, that finalMarkField is inside a table (naming container).

anyone used t:inputFileUpload with s:modalDialog?

2008-02-08 Thread Adam Jenkins
Hi All, I've got a file upload component inside a modal dialog (sandbox modalDialog). Weirdest thing...upload works fine when just on the page...works fine with value change listeners and binding by value=#{mybean.file} triggered by commandLink. However when I put exactly the same tag inside