Re: String as Index

2001-08-03 Thread Gregor Rayman
Hi Fracois, so I've hacked a bit in the beanutils package and now struts does work perfectly with your string based properties. No need to change struts, it is enough to change beanutils. What I dit was: - I've renamed the original BeanUtils class to OriginalPropertyUtils. - I replaced Propert

RE: Re[2]: String as Index

2001-08-03 Thread Rey Francois
02 August 2001 13:07 To: [EMAIL PROTECTED] Subject: Re: Re[2]: String as Index "Rey Francois" <[EMAIL PROTECTED]> wrote: > The zip file is here: http://www.husted.com/about/struts/mapper.zip. > Check the com.capco.util package, it contains a PropertyUtils class. > >

Re: String as Index

2001-08-03 Thread Gregor Rayman
"Rey Francois" <[EMAIL PROTECTED]> > If you only need the string keyed properties, then don't worry about the > mapper, just use the class com.capco.util.PropertyUtils. > > Fr. I still don't get it. Do I have to change RequestUtils.java and BeanUtils.java? -- gR

RE: Re[2]: String as Index

2001-08-02 Thread Rey Francois
www.mail-archive.com/struts-user@jakarta.apache.org/msg10858.html RF> Fr. RF> -Original Message- RF> From: Gregor Rayman [mailto:[EMAIL PROTECTED]] RF> Sent: 01 August 2001 13:55 RF> To: [EMAIL PROTECTED] RF> Subject: String as Index RF> Hi, RF> as far as I can rememb

Re: String as Index

2001-08-01 Thread Gregor Rayman
"Rey Francois" <[EMAIL PROTECTED]> wrote: > You can use the PropertyUtils that I have created (reusing the Struts one) > within the Mapper framework > (http://www.husted.com/about/struts/resources.htm#extensions). It supports > "string keyed properties", using the notation > 'simple.nested.indexe

Re[2]: String as Index

2001-08-01 Thread Oleg V Alexeev
archive.com/struts-user@jakarta.apache.org/msg10858.html RF> Fr. RF> -Original Message- RF> From: Gregor Rayman [mailto:[EMAIL PROTECTED]] RF> Sent: 01 August 2001 13:55 RF> To: [EMAIL PROTECTED] RF> Subject: String as Index RF> Hi, RF> as far as I can remember, t

Re: String as Index

2001-08-01 Thread Gregor Rayman
"Oleg V Alexeev" <[EMAIL PROTECTED]> wrote: > Now indexed properties can be used only. All properties are processed > by utilites from beanutils package at jakarta-commons. It can parse > indexed properties only. Named properties is great addition, of > course. And of course, you can refactor bea

Re: String as Index

2001-08-01 Thread Oleg V Alexeev
Hello Gregor, Wednesday, August 01, 2001, 3:55:04 PM, you wrote: GR> as far as I can remember, there was a topic about String as index in GR> property getters/setters here some time ago. GR> I'd like somethigh like this: GR> GR> and aaa{bbb} should be converted to getA

RE: String as Index

2001-08-01 Thread Rey Francois
'. See this posting about this topic. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10858.html Fr. -Original Message- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: 01 August 2001 13:55 To: [EMAIL PROTECTED] Subject: String as Index Hi, as far as I can remember,

String as Index

2001-08-01 Thread Gregor Rayman
Hi, as far as I can remember, there was a topic about String as index in property getters/setters here some time ago. I'd like somethigh like this: and aaa{bbb} should be converted to getAaa("bbb") and setAaa("bbb", value). Is there something implemented in this