RE: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
Oh, i just saw that trinidad automatically rewrites the url when using an absolute path like /icons/foo.png - cool. That solved my problem Felix From: Becker, Felix Sent: Thursday, January 08, 2009 8:34 AM To: users@myfaces.apache.org Subject: Skinning

Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
Hi Guys, i'm using an own css file (defined in the trinidad-skins.xml) for many of my components. My faces application pages are available on different paths, e.g. the news page is on /appname/pages/news/news.jsf and the login page is on /appname/pages/security/login/login.jsf. In my style.css

trinidad tr:document body onload javascript issue

2009-01-07 Thread AjayMundra
i'm using trinidad 1.0.7 if i use http://www.nabble.com/trinidad-tr%3Adocument-body-onload-javascript-issue-tp21346365p21346365.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Matt Cooper
I imagine that your Java code will look something like this (do this for each showDetailItem in the panelTabbed): FacesBean facesBean = showDetailItem.getFacesBean(); FacesBean.Type type = facesBean.getType(); PropertyKey disclosedKey = type.findKey("disclosed"); if (disclo

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Enrique Medina Montenegro
Thanks, I'll go for the binding approach then. On Wed, Jan 7, 2009 at 5:35 PM, Andrew Robinson < andrew.rw.robin...@gmail.com> wrote: > Unfortunately, the best way is to use component binding of the tab > component to a bean and update the disclosed properties of the > children show details manua

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Andrew Robinson
That only works if the user never clicks on a tab. This is because the renderer for the show detail item calls setDisclosed which sets the components local value. Once this is set, the EL will never be evaluated again. -Andrew On Wed, Jan 7, 2009 at 10:17 AM, Walter Mourão wrote: > As I remember

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Walter Mourão
As I remember I used something like disclosed="#{form.disclosedTab == 1}" and set the disclosedTab number in the backing bean action. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Jan 7, 2009 at 2:09 PM, Enrique Medina Montenegro < e.medin...@gmail

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Andrew Robinson
Unfortunately, the best way is to use component binding of the tab component to a bean and update the disclosed properties of the children show details manually. The other way is to use JavaScript on the client to manually fire a click event of the desired anchor element (tab) from the button, but

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Enrique Medina Montenegro
But how would I set that property from the button? Through an actionListener and then finding the component in the ViewRoot? Is there any way to mimic the exact behaviour as when you click the tab itself? Thanks. On Wed, Jan 7, 2009 at 4:41 PM, Walter Mourão wrote: > You can use the "disclosed

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Walter Mourão
You can use the "disclosed" property in showDetailItem to show/hide its content. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Jan 7, 2009 at 1:22 PM, Enrique Medina Montenegro < e.medin...@gmail.com> wrote: > Hi, > > I'm using a panelTabbed compo

[TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Enrique Medina Montenegro
Hi, I'm using a panelTabbed component, and I would like to allow the user to change between the tabs not only by clicking the tab itself, but also using a button in order to simulate a wizard, let's say. Let me put an example. Imagine we have a 3 tabs panelTabbed component, so in the content for

Re: [MyFaces][Core] MyFaces configuration file

2009-01-07 Thread Guy Bashan
Done. On Tue, Jan 6, 2009 at 5:46 PM, Mike Kienenberger wrote: > Hi Guy, > > I'd say that's a bug that needs to be fixed if the configuration file > is never loaded. We should have a boolean flag to verify that it's > always loaded at least once on initial startup. > > Can you open a JIRA issue