html escape codeing in widgets.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

html escape codeing in widgets.

BJ Freeman
looked at /applications/party/widget/partymgr/commforms.xml
saw this ~line 90
 
use-when="(parameters.get("communicationEventTypeId")!=null)&&(parameters.get("communicationEventTypeId").equals("EMAIL_COMMUNICATION"))">

so we can use escape coding?
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

Oleg Kozyrev Jr.
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.
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

BJ Freeman
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.
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

BJ Freeman
Oh.. this is from the latest SVN

BJ Freeman sent the following on 7/27/2006 12:59 AM:

> 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.
>
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

Oleg Kozyrev Jr.
In reply to this post by BJ Freeman
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.
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

Oleg Kozyrev Jr.
Oh, I see the problem!

My browser shows " like " and all of others escape sequences, that's why I didn't understand what you mean.

Sorry.
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

Oleg Kozyrev Jr.
I mean shows &quot; like "
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

BJ Freeman
In reply to this post by Oleg Kozyrev Jr.
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(&quot;communicationEventTypeId&quot;)!=null)&amp;&amp;(parameters.get(&quot;communicationEventTypeId&quot;).equals(&quot;EMAIL_COMMUNICATION&quot;))"
> with escade codeings. Actually, I don't understand what is the problem.
>
> When you want to use &, <, >, ", etc. in XML you need to use &amp;, &lt;,
> &gt;, &quot; 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.
Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

Oleg Kozyrev Jr.
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.

Reply | Threaded
Open this post in threaded view
|

Re: html escape codeing in widgets.

BJ Freeman
I personally don't like it, it make coding harder.
so if it is not a standard, or is not required, I probably won't follow it.


Oleg Kozyrev Jr. sent the following on 7/27/2006 1:23 AM:

> 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.
>
>