Hi,
I am doing a query in orderview.groovy as follows, where i am getting a retreiving a order from a table amazonfps:
amazonOrder = delegator.findByAnd("Amazonfps", [orderId : orderId]);
context.amazonOrders = amazonOrder.orderId;
Now, when i use the context amazonOrders, in the orderview.ftl, the orderID retreived in enclosed in square brackets eg. [CO10652], which i am unable to get rid off. I cannot use the data in this format and have to remove the square brackets.
I am not sure what and where the issue is. Any help will be appreciated.
Thanks
Rohit