Hi All,
Just a brief what isblank method does.
isBlank(inputString)
Returns true if the specified String is white space, empty (''), or null; otherwise, returns false.
How to render a particular component based on the string value defined in the controller. if that string is null or blank dont rerder component.
In the class say the variable name is
Public String sStringBlankField{get;set;}
In the visualforce page use it like below
<apex:outputpanel rendered = "{!len(sStringBlankField)>0 || sStringBlankField!=null}">
</apex:outputpanel
1 comment:
This is really interesting, you’re a very skilled blogger.
I have bookmarked this article page as I received good information from this.sugarcrm wordpress integration
Salesforce Customer Portal: Guide
Post a Comment