Search
Thursday, August 28, 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
Resolved
  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
43 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

 
New Post 7/29/2008 10:20 AM
  rfligg
43 posts
7th Level Poster


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

Scott,

 

My apologies.   You now have access to post requests to Gemini.  I had the anonymous users and registered users switched.

 

    --Ryan

 
Previous Previous
 
Next Next
  Forum  Templates  Tags & Template...  Use a variable to set the wr:out pattern attribute?
Membership Membership:
Latest New User Latest: louisedean
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 55

People Online People Online:
Visitors Visitors: 58
Members Members: 0
Total Total: 58

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