W dniu 08.10.2010 03:02, Ross Sargant pisze:
If you split a complex action bean whose events currently share bean
properties into multiple beans, then you'll probably wind up with
duplication across the beans. Possibly even more then you would having
to duplicate event names in
Anyway, I guess it wouldn't hurt to have choice of the method
(property or parameter binding) as long as it didn't need bending
all the framework. But if someone would go on and implement this, I
believe that would be quite difficult to do so that it doesn't break
current Stripes-based code.
. That would allow full flexibility.
What do you think?
Christian
-Message d'origine-
De : Evan Leonard [mailto:evan.leon...@gmail.com]
Envoyé : October-05-10 5:42 PM
À : Stripes Users List
Objet : Re: [Stripes-users] Associating Parameters to Specific Actions
I was thinking
Users List
Objet : Re: [Stripes-users] Associating Parameters to Specific Actions
I was thinking it would be possible to use both. Either by adding a second
type of binder to the configuration, so they both run, or potentially by
subclassing the existing binder to overlay the functionality
Fair enough, but I think that is largely a matter of personal preference.
If you split a complex action bean whose events currently share bean
properties into multiple beans, then you'll probably wind up with
duplication across the beans. Possibly even more then you would having to
duplicate
Users List
Objet : Re: [Stripes-users] Associating Parameters to Specific Actions
I was thinking it would be possible to use both. Either by adding a second type
of binder to the configuration, so they both run, or potentially by subclassing
the existing binder to overlay the functionality
-Message d'origine-
De : Evan Leonard [mailto:evan.leon...@gmail.com]
Envoyé : October-05-10 5:42 PM
À : Stripes Users List
Objet : Re: [Stripes-users] Associating Parameters to Specific Actions
I was thinking it would be possible to use both. Either by adding a second
type of binder
Evan / Christian / Remi et al.
This thread is very interesting and I am enjoying it... and hope it
continues...
However, can we rename this thread to something more aligned to the
discussion?
If no one minds I have taken the liberty to rename it to the above ;-)
Regards,
--Nikolaos
Evan
Certainly!
I started doing a little prototyping with this today while waiting for another
build to finish. I'm trying the approach of having one annotation on the method
like this:
@ParamBinding({aString, aNumber})
public Resolution myAction(String aString, int aNumber) { ... }
The
; Stripes Users List
Objet : Re: [Stripes-users] Associating Parameters to Specific Actions
Certainly!
I started doing a little prototyping with this today while waiting for another
build to finish. I'm trying the approach of having one annotation on the method
like this:
@ParamBinding({aString
: Re: [Stripes-users] Associating Parameters to Specific Actions
Certainly!
I started doing a little prototyping with this today while waiting for
another build to finish. I'm trying the approach of having one annotation on
the method like this:
@ParamBinding({aString, aNumber
11 matches
Mail list logo