You need to sign in to do that
Don't have an account?
rendering issue
Here we go....
<apex:outputpanel rendered="{!errorxml}">
<apex:pageBlockSection title="Payment Result">
<apex:pageblocksectionItem >
<Label class="table">Transaction Status</Label>
<apex:outputtext value="{!cnpxmlstring.ErrorData}"/>
</apex:pageblocksectionItem>
<apex:pageblocksectionItem >
<label>Order Number</label>
<apex:outputText value="{!cnpxmlstring.TransactionNumber}"></apex:outputText>
</apex:pageblocksectionItem>
</apex:pageblocksection>
</apex:outputpanel>
<apex:commandButton value="Process payment" id="processpayment" action="{!PaymentAPIMethod}" reRender="seexml,errorxml"/>
But cant able to find the payment result values.....Any help pls
Thanks,
Hi,
the reRender attribute in the commandButton tag accepts Id of the component which needs to be redrawn.. So i think you should first assign a id to the outputPanel and use the id in the reRender attibute..
Hope this helps!
-Sam
All Answers
what if we can put <apex:pageBlockSection> inside <apex:pageBlock> and apply the rendered attribute against it.
You can give it a try...please let me know here if it works..
Thanks
Hi,
the reRender attribute in the commandButton tag accepts Id of the component which needs to be redrawn.. So i think you should first assign a id to the outputPanel and use the id in the reRender attibute..
Hope this helps!
-Sam
Need one more help.....
<apex:pageblocksection title="Personal Details" columns="1" rendered="{!hideform}" >
<apex:pageBlockSectionItem >
<label class="firstlabel">First Name<span class="req">*</span></label>
<apex:inputText value="{!BillingInfo.BillingFirstName}" maxlength="50" />
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem >
<label class="firstlabel">Last Name<span class="req">*</span></label>
<apex:inputText value="{!BillingInfo.BillingLastName}" maxlength="50"/>
</apex:pageBlockSectionItem>
</apex:pageblockSection>
For this in the constructor I have given the hideform=true; and in action method I have given hideform=false;
So whenever my action is done I want eo hide the entire padeblocksection....But unable to acheive it
Got the answer for it.....In command button I have rerender attribute which is not supposed to be given......