You need to sign in to do that
Don't have an account?
Comparison operator in 'rendered' attribute of 'outputText' element causing errors
The following code is somehow causing an Internal Server Error at runtime, and is now preventing the VisualForce from successfull compiling:
<apex:outputText rendered="{!(pageCategories.size > 0)}">
Error: siteContent line 780, column 14: The value of attribute "rendered" associated with an element type "apex:outputText" must not contain the '<' character.
The variable 'pageCategories' is a List, and I am rendering this element only if the list size is greater than 0. I realize there are other ways to achieve this, but this code has been in place since Winter '11, and only stopped working after the Winter '12 upgrade. I would like to get to the root cause of this.
Thanks in advance for your insight.
Mike
Interesting...
Spoke too soon:
Thank you again for your patience and assistance. And thanks for using salesforce.com!
Error ID: 350696034-224 (-132502298)
It might be worth changing the api version to the most recent one. I had faced a similar kind of issue which got fixed by upgrading the version, not sure it will work for you or not.
I thought that might be a workaround too, but it throws the compile error for every API version from 20.0-23.0. This is really agitating. Lesson learned, test your Force.com Sites website on a sandbox prior to any release.
Have you opened a support case on this?
Yes, case #06378613 .
Thanks,
Mike