Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8431921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:59:06+00:00 2026-06-10T05:59:06+00:00

I want for user while typing name, update name field in tab id=tab4 of

  • 0

I want for user while typing name, update name field in tab id=”tab4″ of accordionPanel.
Gives me an error with java.lang.IllegalArgumentException: out – the id of the tab

    <ui:define name="contentBody">
        <h:form id="form2">

        <p:accordionPanel id="maintab" multiple="true">
        <p:tab title="New Order">
            <h:panelGrid columns="1" cellpadding="5"> 

            <p:tabView id="tabView">
                <p:tab title="Client" id="tab1">
                    <h:panelGrid columns="6" cellpadding="5">

                        <h:outputText value="Name " />
                        <p:inputText id="name" value="#{newOrderBean.name}">
                            <p:ajax update=":form2:maintab:out:name_id" />
                        </p:inputText>

                    </h:panelGrid>
                </p:tab>
            </p:tabView>

            </h:panelGrid>
        </p:tab>

        <p:tab id="out" title="View Deatails">
            <h:panelGrid id="panelgrid" columns="3" cellpadding="5">
                <p:panel id="panel1" header="Client" style="width:200px;height:200px" >
                    <h:panelGrid id="grid1" columns="1">  
                        <h:outputText id="name_id" value="#{newOrderBean.name}" />
                    </h:panelGrid>
                </p:panel>

            </h:panelGrid>
        </p:tab>
        </p:accordionPanel>

        </h:form>
    </ui:define>

could you please also clarify about the cases where i need to put my components into separate forms cause just for now i put the whole page into a single form tag. Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:59:07+00:00Added an answer on June 10, 2026 at 5:59 am

    Solved it!
    With this code:

    <h:outputText value="Name " />
    <p:inputText id="name" value="#{newOrderBean.name}">
        <f:ajax event="keyup" render=":form2:maintab:name_id" />
    </p:inputText>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Assume we want to validate user input, while user is typing in a JTextField.
I want to update an icon immediately while the user enters a value into
I want to read user input from STDIN and process the preliminary input while
I use ASP.NET I want to show percentage to user from codebehind while database
I want to exit the while loop when the user enters 'N' or 'n'.
On LoginClick I want to run the user validation in the background while my
I want to leverage the Scala's Actor Framework while I develop the user interface
I want to alert a user while the user tries to close the browser
I'm wondering about one thing : I want to ask the user while first
The NSTextView class allows the user to dis-/enable features like spelling while typing with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.