Hello ,
For this case, i think you can use type attribute.
On 03/20/2012 01:49 AM, Paul wrote:
Hi All,
I have been batting to save a Long value to another field type="String" .
See the syntax below.
<set field="quoteId" value="${someEntity.lastSeqId}"/>
someEntity.lastSeqId is of type Long and gets saved in entity of field type
numeric. So we know it is long and gets saved without trouble.
Now the problem :
For a someEntity.lastSeqId value of say 1000010 the value assigned to
quoteId becomes 1,00,010 i.e comma separated. Unable to figure out how to
get rid of this string formatting. Any suggestions? I just need to have the
same number as string without the comma separator.
Thanks in advance
Ray
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Minilang-Long-to-String-conversion-tp4486235p4486235.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
--
Thanks& Regards
Ankush Upadhyay
[email protected]