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 9067501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:57:24+00:00 2026-06-16T16:57:24+00:00

I have a Primefaces picklist, and when I try moving all items from the

  • 0

I have a Primefaces picklist, and when I try moving all items from the source to the target list (move right all) or from the target to source (move left all), I get a warning when I use Mozilla Firefox –

Warning - Unresponsive Script. 
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: http://localhost:9090/...../faces/javax.faces.resource/jquery/jquery.js?ln=primefaces:23

It then prompts me to Continue, or

Stop Script

This happens only when the number of items in the list is really large.. In my case I have nearly 260 items. Also, this issue occurs only Mozilla Firefox, not when I use Google Chrome. This is my picklist code –

<p:pickList id="picklist1"
            value="#{picklistFields}"
            iconOnly="true" var="layout" itemLabel="#{layout}"
            itemValue="#{layout}" showTargetControls="true"
            effect="highlight">
            <f:facet name="sourceCaption">Source</f:facet>
            <f:facet name="targetCaption">Target</f:facet>
        </p:pickList>

Please let me know if there is a way to avoid the warning.

  • 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-16T16:57:25+00:00Added an answer on June 16, 2026 at 4:57 pm

    Figured out the solution!

    When I clicked on Continue in the Warning Message, moving all items from source to target (or from target to source) was working perfectly. It meant that the script required more time to be processed, so here’s what I had to do –

    1. Type about:config in Mozilla Firefox address bar
    2. Find dom.max_script_run_time, and reset the value to 20 (this is the integer value that worked for me, you can reset it to a higher value if required)

    When I tried moving all items after completing the above settings, I didn’t get the warning message again.

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

Sidebar

Related Questions

My primefaces pickList source and target values do not change, I have followed the
I am trying to learn pickList from Primefaces . What I have jsf file,
I am working with MyFaces/Primefaces and I have a problem to get information using
First of all, I use Java EE, Hibernate with EntityManager and PrimeFaces. I have
I have tried to implement a picklist like the one in primeFaces with jQuery
I have primefaces autocomplete which is fetching values from database. When I type in
I'm using primefaces layout component and have a dropdown List in north layout unit.
I have a small piece of code that produce PrimeFaces dropdown List p:selectOneMenu ,
I have a JSF view that lists items in a collection in a Primefaces
I have two primefaces (p:layoutUnit) widgets: a tree in the layoutUnit on the left

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.