Re: Problem using session var

2005-05-11 Thread Lucas Bern
Hi! bean write tag just takes a bean under "name" key form the scope where you indicates with "scope" or with findAttrinute searching in every scopes if you omit the "scope" attribute. Once the bean is found, the tag, takes the value of the "property" attribute as String and -first replace the

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
My bad... I cleaned and rebuilt and It works without logic:iterate and getStrValor and setStrValor and strValor attribute. :) But. Why does it work using logic:iterate and getstrValor and setstrValor? Thanks for help me. -- Rafael Taboada ---

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
Yes, I used logic:iterate with getstrValor and setstrValor and it worked fine.. But I tried with logic:iterate and getStrValor and setStrValor and it worked too... So, what's the problem???... Is my Has it to be inside a iteration method??? Because lstTipoCambio is a collection Id tried

RE: Problem using session var

2005-05-11 Thread David G. Friedman
: Re: Problem using session var I renamed my methods but nothing happened. My new getters and setters: getStrValor() setStrValor() But it's still the same error. But I did this: And it worked Do u know why? Because lstTipoCambio is a collection object???. And why

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
I renamed my methods but nothing happened. My new getters and setters: getStrValor() setStrValor() But it's still the same error. But I did this: And it worked Do u know why? Because lstTipoCambio is a collection object???. And why don't work renaming my methods like Larry

Re: Problem using session var

2005-05-11 Thread Larry Meadors
This has nothing to do with sessions - it is just standard bean naming, and AFAIK, all jsp tags will stick to this. The methods getXxx and setXxx create a property named xxx. One more naming issue to watch out for is this one: The methods getXName and setXName create a property named XName, no

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
I didn't know about capitalization of bean:write. So, how can i know in order to print some data in my jsp?. using session vars... Using JSTL?.. I don't know. -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTE

RE: Problem using session var

2005-05-11 Thread David G. Friedman
Rafael, Your try/catch lists YOUR setter as: tipocambio.setstrValor() This suggests you make your getter tipocambio.getstrValor(). Unfortunately, bean:write capitalizes the first letter of the property so bean:write is trying to invoke 1stTipoCambio.getStrValor(), not your 1stTipoCambio.getstrV