ajax - Can't "render/not render" a4joutputpanel rendered="" "true/false" parameter by managed bean at JBoss Seam and Richfaces -
I am new on seam and richface by giving management bean to me / A shows a jutepanel / shows "right / wrong "By parameter But it is taking exception:
com.sun.facelets.tag Tag attitivx option: /testscreen.xhtml action = "# {testBean.renderActive (true)}" Not valid method intent: # {testBean.renderActive (true) } Does anyone help me Although it is valid with the EL extension provided by jboss-el.jar, though. Check that this Jar application exists in the Classpath, which is in ER or in the web-INF / Lib if you do not package the application in the form of war. (See § 30.3.1 packaging in the reference document).
& lt; A4j: commandButton action = "# {testBean.renderActive (true)}" reRender = "MyPanel" value = "start" /> & Lt; A4j: OutputPanel ID = "MyPlanel" & gt; & Lt; S: div rendered = "# {testBean.renderProperty}" & gt; ........ & lt; / S: div & gt; & Lt; / A4j: outputPanel & gt; Managed Been
Public Zero Render Active (Boolean rendeBoolean) {this.renderProperty = rendeBoolean; } Private Boolean render property; Public Boolean getRenderProperty () {Return Assign Property; } Public Zero Retributor Property (Boolean Render Property) {this.renderProperty = renderProperty; } # {testBean.render active (true)} Actually there is no valid method expression in plain JSF EL because the parameters in the method expressions can not be.
Comments
Post a Comment