You need to sign in to do that
Don't have an account?
ravikanth321
Radio within a Radio
Please help me with the below code,I want to show the belowpageblocksection only when "continue" button is clicked .
<apex:pageBlock id="show">
<apex:pageBlocksection title="Select Card Type :">
<apex:pagemessages />
<apex:selectRadio value="{!cardType}" layout="pageDirection" >
<apex:selectOptions value="{!cardOption}" >
</apex:selectOptions>
</apex:selectRadio><br />
<apex:commandButton value="Continue" action="{!renderPage}" status="status" rerender="show"/>
</apex:pageBlocksection>
<apex:pageBlocksection title="Select Offer :" rendered="{!Continue}" >
<apex:selectRadio value="{!offerType}" layout="pageDirection" >
<apex:selectOptions value="{!offerOption}" >
</apex:selectOptions>
</apex:selectRadio><br />
<apex:commandButton value="Select" action="{!renderOfferPage}" status="status"/>
</apex:pageBlocksection>
</apex:pageBlock>
<apex:pageBlock id="show">
<apex:pageBlocksection title="Select Card Type :">
<apex:pagemessages />
<apex:selectRadio value="{!cardType}" layout="pageDirection" >
<apex:selectOptions value="{!cardOption}" >
</apex:selectOptions>
</apex:selectRadio><br />
<apex:commandButton value="Continue" action="{!renderPage}" status="status" rerender="show"/>
</apex:pageBlocksection>
<apex:pageBlocksection title="Select Offer :" rendered="{!Continue}" >
<apex:selectRadio value="{!offerType}" layout="pageDirection" >
<apex:selectOptions value="{!offerOption}" >
</apex:selectOptions>
</apex:selectRadio><br />
<apex:commandButton value="Select" action="{!renderOfferPage}" status="status"/>
</apex:pageBlocksection>
</apex:pageBlock>