I have the following code that prints something like this:
BLN, BCard, SecCard, EquipExp

There may be any combination of any of these 4 items, or non at all.
And what I want is the ability to properly add commas after each item, or not 
print a comma if there is not an item:

<logic:equal name="creditApplicationListDto" property="businessLine" 
value="true">
    <bean:message key="label.bln"/>&nbsp;,
</logic:equal>
<logic:equal name="creditApplicationListDto" property="businessCard" 
value="true">
    <bean:message key="label.bcard"/>&nbsp;,
</logic:equal>
<logic:equal name="creditApplicationListDto" property="securedCard" 
value="true">
    <bean:message key="label.seccard"/>&nbsp;,
</logic:equal>
<logic:equal name="creditApplicationListDto" property="equipmentExpress" 
value="true">
    <bean:message key="label.equipExpress"/>&nbsp;
</logic:equal>


--------------------
Mick Knutson
Wells Fargo Business Direct Information Systems
(415) 222-1020

"This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation."
--------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to