Re: Messing around with parameters

2007-11-05 Thread Brian Pontarelli
Ted Husted wrote: On Nov 1, 2007 4:10 PM, Brian Pontarelli [EMAIL PROTECTED] wrote: s:hidden name=[EMAIL PROTECTED] value=EUR/ s:textfield key=child.allowance/ c:hidden name=[EMAIL PROTECTED] value=MM/dd// s:textfield key=subscription.expireDate/ Is the use case that these facts

Re: Messing around with parameters

2007-11-04 Thread Ted Husted
On Nov 1, 2007 4:10 PM, Brian Pontarelli [EMAIL PROTECTED] wrote: s:hidden name=[EMAIL PROTECTED] value=EUR/ s:textfield key=child.allowance/ c:hidden name=[EMAIL PROTECTED] value=MM/dd// s:textfield key=subscription.expireDate/ Is the use case that these facts are embedded in the page,

Messing around with parameters

2007-11-01 Thread Brian Pontarelli
So, just wanted to toss this into the mix and see what you all thought. Here's the issue I had: Vertigo has a Money object that is a value and currency. I wanted to set the value from a form. I wanted the currency code to be definable for that specific form element. Oh, and Money is

Re: Messing around with parameters

2007-11-01 Thread Musachy Barroso
I've always wondered why all parameters are not passed to the converter. There are a lot of cases, (like yours) when the conversion depends on other parameters. If all parameters were passed to the converter you wouldn't need this right? I feel kind of uncomfortable with adding yet another syntax.

Re: Messing around with parameters

2007-11-01 Thread Brian Pontarelli
True to some degree. You still have the issue that some of the parameters don't map to properties of the JavaBean. If you did this: s:hidden name=user.allowance.currencyCode value=USD/ s:textfield key=user.allowance.amount/ You would need to specify that the currencyCode should be excluded,