faces icon indicating copy to clipboard operation
faces copied to clipboard

RFE: make HtmlInputHidden a ClientBehaviorHolder so that it can be used as the target for AJAX change events in composite components

Open eclipse-faces-bot opened this issue 12 years ago • 4 comments

I created a JSF 2 composite component that is rendered almost entirely using JavaScript. When the user makes a selection, it sets the value of a hidden input field. I am able to use an HtmlInputHidden as the cc:valueHolder of my composite component and it works as designed.

When I try to add an AJAX change listener, I get the following error:

<cc:clientBehavior name="change" event="change" targets="#

{cc.clientId}

:selectedRoom"/>

"Unable to attach behavior to non-ClientBehaviorHolder parent:javax.faces.component.html.HtmlInputHidden@150ef67"

When I change the h:inputHidden to an h:inputText, then the AJAX functionality works as designed. Please update JSF so that an inputHidden can be used in this way as well.

eclipse-faces-bot avatar Jul 12 '12 15:07 eclipse-faces-bot

  • Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/1122
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: Unassigned

eclipse-faces-bot avatar Aug 06 '19 09:08 eclipse-faces-bot

@glassfishrobot Commented Reported by rdelaplante

eclipse-faces-bot avatar Jul 12 '12 15:07 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot avatar Aug 01 '14 14:08 eclipse-faces-bot

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1122

eclipse-faces-bot avatar May 05 '17 05:05 eclipse-faces-bot