RE: tomahawk tabbed pane problem

2007-04-24 Thread Nanabolu, Bhvaharan
Faces Discussion Subject: Re: tomahawk tabbed pane problem Hi, there is the "tabContentStyleClass" attribute of panelTabbedPane component. Try to set a corresponding width style in the stylesheet. This should affect all tab-bodies. Alternatively, you can try to play around with putting

Re: tomahawk tabbed pane problem

2007-04-24 Thread Gerald Müllan
faces.apache.org Subject: tomahawk tabbed pane problem Hi JSF Experts, Can Someone please help me with this issue. I am using tomahawk Tabbed Pane in an application and I am having a problem in setting the size of tab itself.The size of the tab depends on

Re: tabbed pane problem

2005-05-31 Thread Werner Punz
Alexander 'Alfe' Fetke wrote: Hi, Werner ... On Fri, 27 May 2005, Werner Punz wrote: I have a form with lots of entry fields, in the form there is a tabbed pane with four tabs all of them containing fields. The JSF tabbed panes are implemented using a form themselves. HTML does not allo

Re: tabbed pane problem

2005-05-29 Thread Alexander 'Alfe' Fetke
Hi, Philipp ... On Fri, 27 May 2005, Philipp Ahlner wrote: > You should enclose your x:tabbedPane - tag in a x:form like this: > > > > > . > > > >

Re: tabbed pane problem

2005-05-29 Thread Alexander 'Alfe' Fetke
Hi, Werner ... On Fri, 27 May 2005, Werner Punz wrote: > I have a form with lots of entry fields, in the form there is a tabbed pane > with four tabs all of them containing fields. The JSF tabbed panes are implemented using a form themselves. HTML does not allow forms within forms. Lots of s

Re: tabbed pane problem

2005-05-28 Thread Philipp Ahlner
2005/5/28, Werner Punz <[EMAIL PROTECTED]>: > Actually the problem is caused by this, in a midnight debugging session > it seemed to me, that only the visible elements get submitted over > the tab change, but the problem itself is much deeper nested, than on > the tabbing pane, I have not debugged

Re: tabbed pane problem

2005-05-28 Thread Werner Punz
Ok thanks, I am currently thinking about another solution to the problem which might make x:saveState and Serialisation obsolete in the long run. Maybe I will find time after the 15th to implement it. Sort of what shale does with their dialog system. The idead would be to have some kind of scope t

Re: tabbed pane problem

2005-05-28 Thread Enrique Medina
Yes, you have to ;-) On 5/28/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Enrique Medina wrote: > > Yes, I experienced that problem with request scoped beans and tabbed > > panes. There are several solutions to the problem: > > > > a) Scope the beans as being session scoped > > b) Use some kind of

Re: tabbed pane problem

2005-05-28 Thread Werner Punz
Csík Norbert wrote: Hi! I think this is becase your backing beans are request scope. When you display the second tab it is empty, because submitting the page with the first tab doesn't set those values. Actually the problem is caused by this, in a midnight debugging session it seemed to me, th

Re: tabbed pane problem

2005-05-28 Thread Werner Punz
Enrique Medina wrote: Yes, I experienced that problem with request scoped beans and tabbed panes. There are several solutions to the problem: a) Scope the beans as being session scoped b) Use some kind of object that holds the model of the tabbed beans, put it in session and inject it to the req

Re: tabbed pane problem

2005-05-28 Thread Werner Punz
Csík Norbert wrote: Hi! I think this is becase your backing beans are request scope. When you display the second tab it is empty, because submitting the page with the first tab doesn't set those values. Yes that sounds reasonable they are indeed request scoped. I think what we need is somethin

Re: tabbed pane problem

2005-05-27 Thread Enrique Medina
Yes, I experienced that problem with request scoped beans and tabbed panes. There are several solutions to the problem: a) Scope the beans as being session scoped b) Use some kind of object that holds the model of the tabbed beans, put it in session and inject it to the request scoped beans throug

Re: tabbed pane problem

2005-05-27 Thread Csík Norbert
Hi! I think this is becase your backing beans are request scope. When you display the second tab it is empty, because submitting the page with the first tab doesn't set those values. I've implemented a tab change eventlistener, which reloads the request scope backing bean's data. It is working f

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
I will try to isolate the problem in a few days (I currently am in crunch time :-( ) Implemented the tabbing with a bunch of javascript and css now :-) That is more elegant anyway than having to have a full round trip for switching tags. Werner Philipp Ahlner wrote: I use the tabbedPanes

Re: tabbed pane problem

2005-05-27 Thread Philipp Ahlner
I use the tabbedPanes in a complex project at work. I've fixed a bug in the tabbedPane: http://issues.apache.org/jira/browse/MYFACES-214 but this bug is only fixed on trunk (next version) and not in the actual 1.0.9. Maybe this bug is your problem (I can't really imagine). Without a example snipp

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
I have it like that, but there seems to be another problem which causes this behavior, I will try to isolate the problem to nail it down whether it is my code or the tabbed pane. Werner Philipp Ahlner wrote: Hi Werner! You should enclose your x:tabbedPane - tag in a x:form like this:

Re: tabbed pane problem

2005-05-27 Thread Philipp Ahlner
Hi Werner! You should enclose your x:tabbedPane - tag in a x:form like this: . . and not a form pe

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
Werner Punz wrote: Hi... Hi have following problem: I have a form with lots of entry fields, in the form there is a tabbed pane with four tabs all of them containing fields. No when i open the page, the fields are set correctly in the fields outside the tab and in the first tab, but as soon a

tabbed pane problem

2005-05-27 Thread Werner Punz
Hi... Hi have following problem: I have a form with lots of entry fields, in the form there is a tabbed pane with four tabs all of them containing fields. No when i open the page, the fields are set correctly in the fields outside the tab and in the first tab, but as soon as I switch tabs not