Topic
  • No replies
triyoggg
triyoggg
1 Post

Pinned topic backing bean properties not recognized in xhtml in RSA

‏2012-05-09T00:24:26Z |
I am using primefaces 3.1. When I use <p:commandButton>, the backing bean property is not recognized, but if I use <h:commandButton>,then it is recognized.

My header of the page is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">

Using cntrl + shift also gives me option of the backing bean at

<h:commandButton id="test" styleClass="testClass" type="submit" value="HButton" action="#{myBean.(cntl+shift)
but when I use

<p:commandButton id="test" styleClass="testClass" type="submit" value="PButton" action="#{myBean.(cntl+shift)
it doesn't give me option....

Any help is appreciated...thanks