Search
Sunday, July 06, 2008 ..:: Forum ::.. Register  Login
 
  Forum  Templates  Tags & Template...  Use a variable to set the wr:out pattern attribute?
Previous Previous
 
Next Next
New Post 2/10/2008 1:34 PM
  scottcarpenter
3 posts
www.invoiceplace.com
No Ranking


Use a variable to set the wr:out pattern attribute? 

Hi,

I currently use a <wr:out> tag to display a currency value. For some currencies I have had to apply specific display patterns, as below -

<wr:out select="//currencyAmount" type=”CURRENCY” pattern=”#,##0.00 zł”/>

Is there a way that the pattern could be set from a <wr:query> variable? That way I would end up with something like this-

 

<wr:out select="//currencyAmount" type=”CURRENCY” pattern=”${currencyPattern}”/>

 

Thank you.

 

Regards,

Scott

 
New Post 3/22/2008 3:17 PM
  scottcarpenter
3 posts
www.invoiceplace.com
No Ranking


Re: Use a variable to set the wr:out pattern attribute? 

Just a quick follow-up on this question?

Thanks

Scott

 
New Post 3/23/2008 10:34 AM
  rfligg
40 posts
7th Level Poster


Re: Use a variable to set the wr:out pattern attribute? 

Scott,

Currently the only way to set formatting is using the OUT tag in the way you currently set with the CURRENCY attribute.  You can feel free to make a feature request at http://gemini.windward.net and vote on this feature.  If there is enough interest we will implement it.

    --Ryan

 
New Post 3/23/2008 10:01 PM
  scottcarpenter
3 posts
www.invoiceplace.com
No Ranking


Re: Use a variable to set the wr:out pattern attribute? 

Thanks for the feedback. I logged into the gemini site but couldn't see a create new issue link?

Scott

 
Previous Previous
 
Next Next
  Forum  Templates  Tags & Template...  Use a variable to set the wr:out pattern attribute?
 Old Windward Forums Minimize


 Print   
 Who's Online Maximize

 Print   
All contents copyright (c) 2002 - 2008 by Windward Studios, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement