You need to sign in to do that
Don't have an account?
canonw
How to generate ?
I have to following code snippet
This block does not generate as expected. Instead, it renders   instead.
Does anyone know the proper coding to render ?
Thanks in advance.
Code:
<apex:column ... >
{!IF(ISNULL(var.Name), " ", var.Name)}
</apex:column>
Does anyone know the proper coding to render ?
Thanks in advance.
For now one workaround item #2 above is to push the ' ' into apex code like this:
Move the method getNbsp() into your controller or extension if you are already using apex code behind your page(s).
NOTE In the Winter '09 release the following greatly simplifed (no apex code required) approach will work:
This solution doesn't solve the escaping issue but note that {!var.name} should work just fine without the need to check for null. Then even if your name is not null, it will just tack a space on the end.
Message Edited by jwetzler on 07-10-2008 10:44 AM
The reason to generate is for css styling. In IE, I need to fix look and feel on empty <td>. Otherwise. IE does not apply style to empty cell.
Even though I don't want to add unless it's necessary, this compromise would make a lot of sense.