jsf - OrderList <p:ajax> Unable to attach behavior to non-ClientBehaviorHolder parent -


I am related to a problem that has been resolved here. I want to use the order list because it is in an example but it does not work at all, for example i & lt; P: ajax & gt; Order is nested in the list.

That is, I got an error:

javax .servlet.Servlet.ScheletException: /resources/abc/rankingAnswer.xhtml @ 21,85 & lt; P: ajax & gt; Unable to attach behavior to non-client BehaviorHolder parent

My primary configuration in Pom.xml is

   

My view

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;; DOCTYPE HTML PUBLIC "- // W3C // DTT XHTML 1.0 Transcription // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" xmlns: composite = "http://java.sun.com/jsf/composite" xmlns: p = "http: // primases org / ui "Xmlns: f =" http://java.sun.com/jsf/core "xmlns: ui =" http://java.sun.com/jsf/ "" xmlns: h = "http: // Java. Sun.com/jsf/html"> & Lt; Overall: Interface & gt; & Lt; Composite: attribute name = "question" /> & Lt; / Mixed: Interface & gt; & Lt; Overall: Implementation & gt; & Lt; Ui: To decorate template = "answerDecorator.xhtml" & gt; & Lt; Ui: define name = "component" & gt; & Lt; P: command list value = "# {cc.attrs.question.possibleAnswers}" var = "answer" itemLabel = "# {answer.text}" itemValue = "# {answer}" control location = "left" edit = " True "& gt; & Lt; F: Aspect Name = "Caption" & gt; # {Msg ['survey.default.makeOrder']} & lt; / F: Aspect & gt; & Lt; P: Ajax incident = "re-organized" listener = "# {cc.attrs.question.onReorder}" /> & Lt; P: column & gt; & Lt; H: output text value = "# {answer.text}" /> & Lt; / P: column & gt; & Lt; / P: orderList & gt; & Lt; / Ui: defined & gt; & Lt; / Ui: Decorate & gt; & Lt; / Mixed: Implementation & gt; & Lt; / Html & gt;  

My model is

  Public category ranking Q & A applies DTO AbstractQuestion DTO Serializable {Private Arrayist & lt; Ranking EnsertiTO & gt; possible answers; Private Boolean Random Answer; Private string text; Public Ranking Q & A (DTO) {Super (question type) ranking; This.text = MessageUtils.getBundle ("survey.default.text"); This possibleAnswers = new arreelist & lt; & Gt; (); this. Possible Answers.add (New Ranking AnswersDTO (MessageUtils.getBundle ("survey.default.text"))); this. Possible Answers.add (New Ranking AnswersDTO (MessageUtils.getBundle ("survey.default.text"))); This.randomizeAnswers = true; } Selection on Public Zero (Selection Event) {System.out.print (event.getObject (.) ToString ()); } Unsecurity on public Zero (Unaccept event event) {System.out.print (event.getObject (.) ToString ()); } Reorder on Public Zero () {} Public Zero addEmptyPossibleAnswer () {this.possibleAnswers.add (New Ranking AnswersDTO (MessageUtils.getBundle ("survey.default.text")); } Public array list & lt; Ranking EnterDTDO & gt; GetPossibleAnswers () {Return possible possible; } Public string getText () {return text; } Public Zero Set PossibleAnswers (ArrayList & lt; Ranking AnsverDTO & gt; Potential Answers) {this.possibleAnswers = Possible answer; } Public Zero Setdownmigration Angers (Boolean Random Record) {this.randomizeAnswers = randomizeAnswers; } Public Boolean getRandomizeAnswers () {return randomizeAnswers; } Public Zero Set Text (String Text) {this.text = text; }} 

Answer (emphasis is my):

PoO support with clip effects, captions, custom content, reorder control and events ( since v5.1.5 )

As (emphasis my) Select

  • Select
  • Reorder
  • Strong> Target 5.1.5 Elite and 5.2 Community .


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -