Re: [Trinidad] State saving between applications

2007-07-16 Thread Stéphane Poirier
the feature. -- Adam On 7/12/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Sorry, my description wasn't completely right as I re-read it. I'll take it over correctly with an example : I'm in JSP 1 which contains a tr:table (with it's default navigation menu) and a tr:selectOneChoise

[Trinidad] State saving between applications

2007-07-12 Thread Stéphane Poirier
Hi, I have 2 different Trinidad applications interacting. Beeing different applications, I'm using ExternalContext.sendRedirect() to go from an application to another. It works well (tho it's not very clean) and the state of components is the same when the page is revisited (beans are in session

Re: [Trinidad] State saving between applications

2007-07-12 Thread Stéphane Poirier
, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, I have 2 different Trinidad applications interacting. Beeing different applications, I'm using ExternalContext.sendRedirect() to go from an application to another. It works well (tho it's not very clean) and the state of components is the same

Navigation between applications

2007-06-21 Thread Stéphane Poirier
Hi, I'm wondering if it's possible, using navigation-cases, to add communication between different JSF applications (or even from a JSF application to a non-JSF app)? I know an getExternalContext().redirect can be used but if there is a more standard and clean way to do this, I'd be glad to

Re: Navigation between applications

2007-06-21 Thread Stéphane Poirier
work for you (having to put that in there), you may have to use a custom navigation handler or view handler and catch the external link and send a redirect from inside those components. On 6/21/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, I'm wondering if it's possible, using

Re: Navigation between applications

2007-06-21 Thread Stéphane Poirier
. On 6/21/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, I'm wondering if it's possible, using navigation-cases, to add communication between different JSF applications (or even from a JSF application to a non-JSF app)? I know an getExternalContext().redirect can be used

[Trinidad] Submit to external link

2007-06-20 Thread Stéphane Poirier
Hi, My problem include 2 know issues in the same time: When a use hit the Enter key in a inputText, I want the form to submit. There are 2 different destinations where to redirect : - refresh the same page with an error message if input is not correct - redirect to an external link if input is

Re: [Trinidad] Submit to external link

2007-06-20 Thread Stéphane Poirier
Nice and easy solution! Thanks! On 6/20/07, Adam Winer [EMAIL PROTECTED] wrote: I'd just handle this on the server: set defaultCommand on the enclosing form, and make the actionListener on the server do the redirect. -- Adam On 6/20/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, My

Re: [Trinidad] RenderingContext Error when STATE_SAVING_METHODis client

2007-06-14 Thread Stéphane Poirier
I already got a wierd problem with client-side saving. Mine was solved by adding this to the application-config part of my web.xml. context-param param-nameorg.apache.myfaces.adf.CLIENT_STATE_METHOD/param-name param-valueall/param-value /context-param Does this helps? On 6/14/07, Adam

[Trinidad] Linking to external pages

2007-06-11 Thread Stéphane Poirier
Hi, I'm planning to use a combobox which, when changed, should redirect to an external link (a parameter is added to the link's URL (the selected item's value)). I'm confused about how to do that. Are there some automatisms from the framework of it is mostly a Java coding job? Thanks in

Re: [Trinidad] Linking to external pages

2007-06-11 Thread Stéphane Poirier
Fantastic! Thanks a lot! On 6/11/07, Adam Winer [EMAIL PROTECTED] wrote: Make a tr:selectOneChoice autoSubmit=true, and add a valueChangeListener that calls FacesContext.getCurrentInstance().getExternalContext().redirect( event.getNewValue()); -- Adam On 6/11/07, Stéphane Poirier [EMAIL

Re: [Trinidad] Data-display synchronisaion problem

2007-06-08 Thread Stéphane Poirier
updateComboBoxes() code. -- Adam On 6/7/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, I have a problem synchronizing my data with the visual result. I want to implement 2 dependent comboBoxes (tr:selectOneChoice) using partialTriggers. The components get their value from respective variables

Re: [Trinidad] Data-display synchronisaion problem

2007-06-08 Thread Stéphane Poirier
information. Any unauthorized review, use, disclosure or distribution* * is prohibited. If you are not an intended recipient, please contact the sender by reply email and* * destroy all copies of the original message*. -- *From:* Stéphane Poirier [mailto:[EMAIL PROTECTED

[Trinidad] Data-display synchronisaion problem

2007-06-07 Thread Stéphane Poirier
Hi, I have a problem synchronizing my data with the visual result. I want to implement 2 dependent comboBoxes (tr:selectOneChoice) using partialTriggers. The components get their value from respective variables of a backingBean. The problem is that when changing the master combo (which updates

Re: [Trinidad] Table navigation

2007-05-31 Thread Stéphane Poirier
(); getSessionBean().setCachedList(list); } } Hopefully that helps? Cheers, Chris. On 5/30/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, My problem is simple, yet I can't solve it : I have 2 pages in my web application. Page 1 contains a tr:table/ with page navigation

[Trinidad] Table navigation

2007-05-30 Thread Stéphane Poirier
Hi, My problem is simple, yet I can't solve it : I have 2 pages in my web application. Page 1 contains a tr:table/ with page navigation (a scroller) with items. Clicking on a item leads to Page 2 which displays the detail of the clicked item. A bean is associated to each page. I used to store

Re: Problem with Trinidad skinning

2007-05-25 Thread Stéphane Poirier
/trinidad/config http://myfaces.apache.org/trinidad/config. Check character upper/lower case in directory paths, clear browser cache, refresh page by Ctrl+F5 ... May be this help, Peter Stéphane Poirier wrote: Hi, I'm a new Trinidad user and I'm unable to get the skinning to work. Maybe I did

Re: Problem with Trinidad skinning

2007-05-25 Thread Stéphane Poirier
Stéphane Poirier wrote: Good points, yet this dows not solves the problem. are there any special libraries beyond those I need to include : * commons-beanutils-1.6.jar * commons-collections-2.0.jar * commons-logging-1.0.jar * jsf-facelets-1.1.6.jar * trinidad-api-1.0.0

Re: Problem with Trinidad skinning

2007-05-25 Thread Stéphane Poirier
PROBLEM SOLVED There WAS something to add to my JSP (I'm ashamed) I forgot the tr:document tag... now everything is fine! Thanks A LOT for your help everyone! On 5/25/07, Stéphane Poirier [EMAIL PROTECTED] wrote: I tried combining JSF 1.2 with Trinidad 1.2 and 1.0 SNAPSHOTS

Problem with Trinidad skinning

2007-05-24 Thread Stéphane Poirier
Hi, I'm a new Trinidad user and I'm unable to get the skinning to work. Maybe I did something wrong or forgot something. Trinidad tags are displayed in the webpage (but not skinned). I installed the skin beach from the demo, adding a block that would be supposed to skin a tr:inputText but it

Re: [Tomahawk] t:dataTable with dynamic columns

2007-05-24 Thread Stéphane Poirier
You have a h:outputText .../ and t:outputText .../ mixed within your table ... dunno if it could be a problem. Second, just to be sure, sometimes when elements do not display and there si no errors, be sure it's in a t:form/t:form tag. Beeing a new user, I can't help you further. Hope that