Login  Register

Re: Users - Minilang "set" syntax for env-name

Posted by Vinay Agarwal on Jan 29, 2006; 12:51am
URL: http://ofbiz.116.s1.nabble.com/Users-Minilang-set-syntax-for-env-name-tp137113p137116.html

Al,

Thanks for a quick response. I am using XMLBuddy that does prompt for
allowed syntax. But my confusion comes from the fact that previously env and
fields seemed to have formed separate scopes and which is no longer true.

Regards,
Vinay

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Al Byers
Sent: Saturday, January 28, 2006 4:23 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - Minilang "set" syntax for env-name

Vinay,

It would just be:

<set from-field="productStore.allowPassword" field="allowPassword"/>

You should be using an XML editor that recognizes the schema and prompts you
for allowed attributes and tags.

-Al



Vinay Agarwal wrote:

>Hello,
>
>Since ent-to-env tag is deprecated, what would the following statement
(from

>ecommerce/scripts/org/ofbiz/ecommerce/CustomerEvents.xml) become?
>
><env-to-env env-name="productStore.allowPassword"
>to-env-name="allowPassword"/>
>
>Is the following conversion correct (I am unclear whether field can be used
>in place of env-name)?
>
><set from-field="productStore.allowPassword" to-field="allowPassword"/>
>
>Regards,
>Vinay Agarwal
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users