Wizard is not working

UI Components for JSF
Post Reply
mmishra.madhav
Posts: 1
Joined: 13 Sep 2011, 14:56

13 Sep 2011, 14:58

Hi,

As soon as i am adding wizard, it is throwing some exception if i am removing <p:wizard then it is working fine. please suggest me
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:sec="http://www.springframework.org/security/facelets/tags"
template="/templates/application.xhtml">

<!--
<ui:define name="content">
<f:loadBundle var="common-msg" basename="msg.common"></f:loadBundle>
<f:loadBundle var="msg" basename="msg.secure.users.users"></f:loadBundle> -->
<ui:define name="content">
<p:wizard widgetVar="wiz" flowListener="#{basicPaymentBean.onFlowProcess}">
<p:tab id="bpexecution">
<p:panel header="Basic Payment Execution">
<h:messages errorClass="error"/>
<h:panelGrid columns="2" columnClasses="label, value" styleClass="grid">
<h:outputText value="Name: *" />
<p:inputText required="true" label="Name"
value="#{basicPaymentBean.name}" />

</h:panelGrid>
</p:panel>
</p:tab>

<p:tab id="scheduling">
<p:panel header="Scheduling">
<h:messages errorClass="error"/>
<h:outputText value="Availabilty Schedule : " />
<h:panelGrid columns="8" border="0" rules="all" cellspacing="12" cellpadding="2">
<h:outputText value="Available" />
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Monday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Tuesday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Wednesday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Thursday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Friday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Saturday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:panelGrid columns="1" border="0" rules="all">
<h:outputText value="Sunday"/>
<h:selectBooleanCheckbox />
</h:panelGrid>
<h:outputText value="Opening Time" />
</h:panelGrid>
</p:panel>
</p:tab>
</p:wizard>
</ui:define>
</ui:composition>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests