You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alessandro Polverini (JIRA)" <my...@incubator.apache.org> on 2005/04/21 10:35:29 UTC

[jira] Commented: (MYFACES-188) Tabbed pane behaviour

     [ http://issues.apache.org/jira/browse/MYFACES-188?page=comments#action_63376 ]
     
Alessandro Polverini commented on MYFACES-188:
----------------------------------------------

Hello Mykola,
IMHO a tab control is just a fancy way of displaying a lot of input/output for the user, and a way to group related fields togheter.
Hence, I find correct that submitting the form means submitting all the data at once.
For this reason I believe that the user should be informed on the pages containg validation errors, see http://issues.apache.org/jira/browse/MYFACES-110 for details.

I also believe that a pure DHTML tab handling would be great (switching tabs client side), but I also understand that someone has to do it, and I'm not eligible (insufficient skill/time) :(

Bye,
Alex


> Tabbed pane behaviour
> ---------------------
>
>          Key: MYFACES-188
>          URL: http://issues.apache.org/jira/browse/MYFACES-188
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Tomcat 5.0.25 MyFaces 1.0.9 rc1
>     Reporter: Mykola Paliyenko

>
> When using tabbed pane all tabs are rendered each time. No matter if it is hidden or not. 
> This cause problems with form submitting because all hidden forms are validated.
> Step to reproduce. In myfaces-examples web application do following
> 1. go to page /myfaces-examples/tabbedPane.jsf
> 2. select Tab2
> 3. Click common submit button
> You'll see validation error that occures on the Tab1 pane. I think it is rather strange behaviour. 
> I have no idea how to resolve it but we need to have tabs in our application and these bags must be independent. 
> The question is following is it a bug or a feature?
> Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira