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
>

Reply via email to