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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:05:33+00:00 2026-06-15T01:05:33+00:00

How to access the state of PrimeFaces p:inplace component in Javascript ? I need

  • 0

How to access the state of PrimeFaces p:inplace component in Javascript?

I need to check if the component is in state inline or not, in order to call toggle()function when needed… AFAIK toggle() can only change the state and not set the state to desired value?

  • 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-15T01:05:34+00:00Added an answer on June 15, 2026 at 1:05 am

    Suppose you got something like thisL

    <p:inplace id="basic" widgetVar="myWidget">  
        <p:inputText value="Edit Me" />  
    </p:inplace>  
    

    You can check if the inplace was opened with the help of the widgetVar and jQuery , like this

    jQuery(myWidget.content).is(":visible")
    

    Or you can check it with the :visible selector and the id of the inplace :

    append _display to your inplace element id to check if the editor wasn’t open yet

    append _content to your inplace element id to check if the editor was already open

    jQuery("#basic_display").is(":visible")
    
    jQuery("#basic_content").is(":visible")
    

    you can check it in browser console in the showcase Primefaces Inplace

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

Sidebar

Related Questions

I need to check whether internet is available or not in Android, so I
I want a function that keeps local state in Ruby. Each time I call
I need to programmatically access the state of some of the settings in my
I need to be able to access the state of a ToggleButton seeing is
Following the solution found at Can I access session state from an HTTPModule? ,
I've always wondered how you can access the correct state of the current http
Access modifiers like public , private are not allowed on static constructors in C#.
I would like to access micro-state accounting timers programmatically on Linux. I guess the
I want to use the following code to access the state of the keyboard
I am writing an compass application but can't access the sensors needed for some

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.