String Indexed Properties

2001-08-13 Thread Gregor Rayman

Hi all,

I've used the sources from Fracois Rey and have changed the
the commons bean-utils, so that they support string indexed
properties.

Now I can use following notation:

html:text property=prop(index) /

which translates into:

getProp(index) and setProp(index, value)


It works also in combination with nested and integer indexed 
properties.

Does anybody need it? Would it be possible to add this feature
to the Apache's version of bean-utils?

It works with Struts 1.1 from CVS and needs some testing and
polishing yet.

--
gR






Re: String Indexed Properties

2001-08-13 Thread Gregor Rayman

Oleg V Alexeev [EMAIL PROTECTED] wrote:
 
 GR Does anybody need it? Would it be possible to add this feature
 GR to the Apache's version of bean-utils?
 
 Yes, of course! Its great addition! I think it needs to be added to
 the Apache's bean-utils.
 
 GR It works with Struts 1.1 from CVS and needs some testing and
 GR polishing yet.

OK, so here the alpha preview version.

It works in my application quite well, but I did not do any unit 
testing yet, that is why it is an alpha.

--
gR

P.S.: I have no idea, how submitting code changes to Apache works.

 beanutils-with-string-keyed-properties.zip


Re: Re[2]: String Indexed Properties

2001-08-13 Thread Gregor Rayman

Oleg V Alexeev [EMAIL PROTECTED] wrote:

 Hello Gregor,
 
 Are you jakarta-commons commiter? Try to start VOTE process at
 jakarta-commons for your bean-utils addition.

No I am not. I will have a look at it. Are you?

--
gR