I have the following piece of code.
<apex:commandButton action="{!AuthorModel.saveAuthorList}" id="saveButton" value="Save" rerender="pageblocktableid"/>
My requirement is that I want to refresh the entire page if x field is not null. If x field is null then only pageblocktableid is rendered.(Because otherwise the error message is not being displayed as I had to write return null) Is this possible to do so?
rerender="{!IF(ISNULL(X),'pageblocktableid','allpage')} "