RSS

Curly vs square bracket

10 Nov

Just wasted 2 hours figuring out the issue with ‘apex:inputText’ element.

Did one mistake. instead of curly bracket ( } ), used square bracket ( ] ) and salesforce started giving me misleading error message i.e. ‘Styleclass’ is already specified for the tag inputtext. While the issue was just a bracket 😀

 

<apex:inputText styleclass=”input pull-left” value=”{!PaymentInfo.payAmount}”></apex:inputText>

<apex:inputText styleclass=”input pull-left” value=”{!PaymentInfo.payAmount]”></apex:inputText>

Advertisements
 
Leave a comment

Posted by on November 10, 2013 in Home

 

Tags: , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: