6 Replies Latest reply on Aug 15, 2007 3:56 PM by sergeysmirnov

    Can we render Tabs Of PanelTab at bottom

    mitesh

      Hi all,

      I have one specific requirement. I want to show all the tabs at bottom of the TabPanel.
      How can i do it?

      Another issue with TabPanel is selectedTab attibute is not working in RichFaces 3.0.1 june release. Alternative i found is that i have to bind rich:panelTab comonent with HtmlTabPanel and then i have to use setValue/getValue to change tab dynamically. But problem in this approch is .....
      Example:
      Assume I have a PanelTab and in which i have 5 Tabs. each tab has "Next" and "Previous" CommandButton.
      Now when i click on Next Button in some of the case it shows same Tab. In the bean HtmlPanelTab object has new tab value.
      And if I click again on that same button then directly i jumped next to next tab.
      This behavious is not specific in some of the cases it works but in some of the cases its not working. behaviour is uncertain....

      How can i resolve this issue??

      Thanks in advance.........

      Mitesh




        • 1. Re: Can we render Tabs Of PanelTab at bottom

          'selectedTab' and 'value' are the same. 'value' will be marked as deprecated

          commandButton might not have a visual effect in JSF if validation is failed.

          ....behaviour is uncertain....

          I do not believe in miracle :-)

          • 2. Re: Can we render Tabs Of PanelTab at bottom
            mitesh

            Hi thanks for the quck reply..

            commandButton might not have a visual effect in JSF if validation is failed


            I am using <a4j:commandButton> and In page. And I am using <h:messages> too. If i have validationError in page then it shows me directly.
            I know that when there is validationError on the page then it will not navigate to next tab. Thats what i want. but if there is no validationError then also some times it fails to navigate to next tab.

            Lets say in first shot all the five tabs navigated properly but when i click on previous and next combination then in some of the cases it got failed..

            While failing it shows on the status bar of the browser Error on Page and javascript error is Object not found on so and so line....


            is there any thing that i need to take care...

            Thanks
            Mitesh


            • 3. Re: Can we render Tabs Of PanelTab at bottom
              mitesh

              And How can i show tabs at the bottom??

              Thanks
              Mitesh

              • 4. Re: Can we render Tabs Of PanelTab at bottom

                 

                "mitesh" wrote:
                And How can i show tabs at the bottom??

                Thanks
                Mitesh

                No such feature is implemented yet.

                • 5. Re: Can we render Tabs Of PanelTab at bottom
                  mitesh

                  Can this will be a future requirement?

                  And How can I check wheather page has validation error or any other type of error in Bean.

                  Thanks
                  Mitesh





                  • 6. Re: Can we render Tabs Of PanelTab at bottom

                     

                    "mitesh" wrote:
                    Can this will be a future requirement?

                    It used to be. However, as soon as you are only one person who asks about it for the entire year ....
                    Now, the position limits to top left, top center and top right

                    "mitesh" wrote:

                    And How can I check wheather page has validation error or any other type of error in Bean.


                    Usually:
                    <a4j:outputPanel ajaxRendered="true">
                    <h:messages />
                    </a4j:outputPanel>
                    


                    Starting from 3.1, it will be just:
                    <rich:messages/>