I have a problem when using any of these type of components. It has multiple PPR triggered components on it, all components work except the PanelRadio and other Panel(Type) components. Now if I enclose the PanelRadio in a subForm and the other components in their own subform, everything works. But if I don't enclose both, then the PanelRadio stops working. It isn't spitting out any debug information, it just triggers the event, and then goes back to the unchanged form as if something had caused a roll back. Here is my page minus the subForm tags. Any help would be greatly appreciated. I can't enclose them in subForms because then the information doesn't get submitted when I click the submit button that is on the enclosing page of this subView.
Chris <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:g="http://www.talentgrabber.com" xmlns:tr="http://myfaces.apache.org/trinidad"> <f:loadBundle var="text" basename="#{baseBean.bundleName}" /> <f:subview> <!-- <tr:subform submitted="true">--> #{text.billing_address} <br /> <input id="sameAddress" value="#{formBean.sameAsPrimaryAddress}" jsfc="tr:selectBooleanCheckbox" label="#{text.same_as_billing}" autoSubmit="true" valueChangeListener="#{formBean.sameAddressChange}" immediate="true"/> <br /> <tr:inputText value="#{formBean.primaryAddress.address1}" label="#{text.address1}" readOnly="#{!editMode}" required="true" partialTriggers="sameAddress" binding="#{formBean.address1Component}"/> <br /> <tr:inputText value="#{formBean.primaryAddress.address2}" label="#{text.address2}" readOnly="#{!editMode}" required="true" partialTriggers="sameAddress" binding="#{formBean.address2Component}"/> <br /> <tr:inputText value="#{formBean.primaryAddress.city}" label="#{text.city}" readOnly="#{!editMode}" required="true" partialTriggers="sameAddress" binding="#{formBean.cityComponent}"/> <br /> <tr:selectOneChoice id="country" value="#{formBean.primaryAddress.country}" readOnly="#{!editMode}" label="#{text.country}" unselectedLabel="Select Your Country" autoSubmit="true" showRequired="true" valueChangeListener="#{formBean.countryChange}" immediate="true" binding="#{formBean.countryComponent}" partialTriggers="sameAddress"> <f:selectItems value="#{formBean.countryItems}" /> </tr:selectOneChoice> <br /> <tr:selectOneChoice value="#{formBean.primaryAddress.state}" label="#{text.state}" readOnly="#{!editMode}" unselectedLabel="Select Your State" required="true" binding="#{formBean.stateComponent}" partialTriggers="country sameAddress"> <f:selectItems value="#{formBean.stateItems}" /> </tr:selectOneChoice> <br /> <tr:inputText value="#{formBean.primaryAddress.zipCode}" label="#{text.zipcode}" required="true" readOnly="#{!editMode}" partialTriggers="sameAddress" binding="#{formBean.zipCodeComponent}"/> <br /> <!-- </tr:subform>--> <br /> #{text.terms_and_conditions_title} <br /> #{text.terms_and_conditions_instructions} <a href="#" jsfc="h:commandLink" value="#{text.printer_friendly}" action="printerFriendly" /> <br /> #{text.terms_and_conditions_text} <br /> <input id="conditions" value="#{formBean.acceptTermsAndConditions}" jsfc="tr:selectBooleanCheckbox" label="#{text.terms_and_contidtions_checkbox}" required="true" immediate="true" /> <br /> <br /> #{text.promo_code_instructions} <br /> <tr:inputText value="#{formBean.promoCode}" label="#{text.promo_code}" readOnly="#{!editMode}" /> <br /> <br /> #{text.paymentInstructions_part1} <a href="#" jsfc="h:commandLink" value="#{text.other_forms_of_payment}" action="otherPaymentforms" immediate="true" /> #{text.paymentInstructions_part2} <br /> <!-- <tr:subform>--> <tr:panelChoice id="billing" position="top" label="#{text.billing_method}" > <tr:showDetailItem id="component1" text="#{text.credit_card}"> <h:panelGroup id="creditCardGroup"> <tr:inputText value="#{formBean.cardNumber}" label="#{text.card_number}" readOnly="#{!editMode}" /> <br /> <tr:selectOneChoice value="#{formBean.expirationMonth}" label="#{text.expiration_month}"> <f:selectItems value="#{formBean.monthsList}" /> </tr:selectOneChoice> <br /> <tr:selectOneChoice id="expirationYear" label="#{text.expiration_year}" value="#{formBean.expirationYear}"> <f:selectItems value="#{formBean.yearsList}" /> </tr:selectOneChoice> <br /> <tr:inputText value="#{formBean.amount}" label="#{text.amount}" readOnly="#{!editMode}" /> </h:panelGroup> </tr:showDetailItem> <tr:showDetailItem id="component2" text="#{text.e_check}"> <h:panelGroup id="echeckGroup"> <tr:inputText value="#{formBean.echeckCheckNumber}" label="#{text.echeck_number}" readOnly="#{!editMode}" /> <br /> <tr:inputText value="#{formBean.routingAndTransitNumber}" label="#{text.RTN}" readOnly="#{!editMode}" /> <br /> <tr:inputText value="#{formBean.echeckAccountNumber}" label="#{text.echeck_account_number}" readOnly="#{!editMode}" /> <br /> <tr:inputText value="#{formBean.amount}" label="#{text.amount}" readOnly="#{!editMode}" /> </h:panelGroup> </tr:showDetailItem> </tr:panelChoice> <!-- </tr:subform>--> <br /> </f:subview> </ui:composition>
