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

  • Home
  • SEARCH
  • 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 8528305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:46:19+00:00 2026-06-11T08:46:19+00:00

I have problem with dynamic generated ids in f:ajax tag in render parameter. I

  • 0

I have problem with dynamic generated ids in f:ajax tag in render parameter. I get error:

Component with id:pak_Internet not found

viewId=/start.xhtml
location=C:\servers\apache-tomcat-7.0.29\temp\tst-web-war\start.xhtml
phaseId=RENDER_RESPONSE(6)

Caused by:
javax.faces.FacesException - Component with id:pak_Internet not found
at org.apache.myfaces.renderkit.html.HtmlAjaxBehaviorRenderer.getComponentId(HtmlAjaxBehaviorRenderer.java:411)

code:

<ui:repeat var="servicesPhones" value="#{cc.attrs.limits.servicesLimits}">  
            <h:selectOneMenu
                value="#{cc.attrs.limits.phoneSelected}">
                **<f:ajax render="pak_#{servicesPhones.name}" event="change" execute="@this"/>**
                <f:selectItems value="#{cc.attrs.limits.getPhones(servicesPhones.name)}" />
            </h:selectOneMenu>

            <h:panelGroup id="pak_#{servicesPhones.name}">
                <ui:repeat var="pak" value="#{cc.attrs.limits.getPackages(servicesPhones.name)}">
                    #{pak.name}<br/>
                </ui:repeat>
            </h:panelGroup>
</ui:repeat>

Any idea how to resolved this?

  • 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-11T08:46:20+00:00Added an answer on June 11, 2026 at 8:46 am

    Just remove those EL expressions from the id attribtue. The <ui:repeat> will by itself already ensure the uniqueness of those IDs and already update the right one.

    <f:ajax ... render="pak" />
    ...
    <h:panelGroup id="pak">
    

    If you used those EL expressions with the sole reason to be able to identify/select the JSF-generated HTML representation in JavaScript or CSS, then you’d need to look for an alternate approach via styleClass.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a problem. I have windows forms application with dynamic generated layout,
I have this problem where I can't get my dynamic data web app to
I have a page that has primarily dynamic content generated by Ajax . It
Problem I have some pages that need dynamic data from website to generate output
I'm using jqGrid and I have a problem getting Dynamic Linq to work. I
I have a problem on using LinqToSQL with paging + dynamic sorting. These are
I have a problem with calling a property() inside a dynamic model in Django.
I'm generating dynamic HTML inside Delphi. I have no problem displaying UTF-8 strings inside
I have a curious problem with IE, IIS 6.0 dynamic PNG files and I
This is an Amazon interview Question.I have solved this problem in O(n) using dynamic

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.