Re: html escape codeing in widgets.

Posted by Oleg Kozyrev Jr. on
URL: http://ofbiz.116.s1.nabble.com/html-escape-codeing-in-widgets-tp140959p140964.html

I think, both, because this is the only way to do comple conditions.

See for example applications/accounting/webapp/accounting/chartofaccounts/GlAccountForm.xml at line 161 and 163. It also uses escape sequences.

================= Your previous mail
it is new.
So I am asking if this is a new standard, or best practice.


Oleg Kozyrev Jr. sent the following on 7/27/2006 1:09 AM:
> Well, actually there is:
>
> use-when="(parameters.get("communicationEventTypeId")!=null)&&(parameters.get("communicationEventTypeId").equals("EMAIL_COMMUNICATION"))"
> with escade codeings. Actually, I don't understand what is the problem.
>
> When you want to use &, <, >, ", etc. in XML you need to use &, <,
> >, " or use CDATA area.
>
> Try Nabble: http://www.nabble.com/OFBiz-f2740.html 
> It is really nice (threads, etc. ) :)
>
>
>
> ========= Your previous mail:
> my apologies
> applications/party/webapp/partymgr/communication/CommForms.xml
> BTW it is easier if the orginal messge is included. saves me having to
> hunt for it.
> I am not using snapple so don't have the luxury of seeing the thread.
>
>
> Oleg Kozyrev Jr. sent the following on 7/27/2006 12:53 AM:
>> BJ,
>>
>> Could you please specify the file more exactly? I can find it. Also I
>> can't
>> find the line you provided.
>>
>> But, it seems to me, that to put '&' in XML we have to use '&'
>>
>> Oleg.