Hi Turgay,

to change the panelTabbedPane to server side, you'd need to set the
following attribute:

serverSideTabSwitch="true"

do you see this attribute or not? Cause I do think that I did apply
the patch before 10/30

regards,

Martin

On 10/31/05, Turgay Zengin <[EMAIL PROTECTED]> wrote:
> Thank you,
> I tried the nightly myfaces-20051030.zip, but I guess the patch is not
> applied there yet. I will check again a few days later.
>
> Regards,
>
> On 10/28/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > Server-Side patch is applied - get it from the next nightly.
> >
> > I would suppose that yes - it should work, it has worked in the old
> > server side implementation.
> >
> > If you want to implement a listener for the client side, you'll need
> > AJAX - possible, but not the most simple thing on earth.
> >
> > regards,
> >
> > Martin
> >
> > On 10/28/05, Hans Sowa <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > The next problem is here that the tabChanged listener doesn't work for the
> > > client-side tab. Does the listener work for the new server-side? And is
> > > there a plan to implement the listener also for the client-side tab?
> > >
> > > Thanks a lot.
> > >
> > > mfg Hans Sowa
> > > PROCON DATA Datenverarbeitung Ges.m.b.H.
> > > mailto:[EMAIL PROTECTED]
> > > http://www.procon.co.at
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > > Gesendet: Freitag, 28. Oktober 2005 16:52
> > > An: MyFaces Discussion
> > > Betreff: Re: PanelTabbedPane validation problem
> > >
> > > The hard way to do this is to try to use the OptionalValidationFramework.
> > >
> > > However, I think you could also make this work by switching back to
> > > server-side tab switching.   I'm not positive, but I think server-side
> > > switching works by not rendering the other tabs.  Since the other
> > > panes aren't rendered, it's as if they don't exist and they won't be
> > > validated
> > >
> > > I don't think this changes to reenable this have be committed yet.
> > > Hopefully Sylvain or one of the other committers will commit them
> > > soon, but until that happens, you can grab the patches from here and
> > > apply them yourself.
> > >
> > > http://issues.apache.org/jira/browse/MYFACES-756
> > >
> > > -MIke
> > >
> > > On 10/28/05, Turgay Zengin <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > > Is it possible to get the effect described below programatically?
> > > >
> > > > Say I have three panelTabs in a panelTabbedPane. They are named
> > > > "Search", "Update" and "New". I have an inputText component in the
> > > > "New" panelTab, and I want it to have a validator of required="true".
> > > > But when I set required="true" for that component, it effects all
> > > > panelTabs, because when a button in any of the tabs is pressed, all
> > > > components in all panelTabs get validated. So, I get
> > > > errors/nonfunctionality from the dataTable component present in the
> > > > "Search" panelTab.
> > > >
> > > > I want to learn if the following is possible with setting some
> > > > property of the panelTab:
> > > > When a button is pressed which is in a panelTab, only the components
> > > > present in that panelTab must be validated. Other components present
> > > > in other panelTabs will not be validated.
> > > >
> > > > Regards,
> > > > Turgay
> > > >
> > > > ----------------------------------
> > > > Eric Kelm wrote on 2005-07-26 21:50:
> > > > ----------------------------------
> > > > Hi,
> > > >
> > > > I am having a problem with the validation of components in
> > > > HtmlPanelTabbedPane. Only the components on the first pane are 
> > > > validated,
> > > if
> > > > only the first pane is displayed before from submission.  If other tabs
> > > are
> > > > selected before form submission, components on those panes will be
> > > > validated.  I have seen others have had this problem.  Is there a
> > > solution?
> > > > If so, is it included in the nightly builds? Thanks.
> > > >
> > > > ---------
> > > > Eric Kelm
> > > >
> > >
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> > Your JSF powerhouse -
> > JSF Trainings in English and German
> >
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Reply via email to