On 8/30/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> On 8/30/05, Luca Passani <[EMAIL PROTECTED]> wrote:
> >
> > Martin Cooper wrote:
> >
> > >
> > >and then 'TheConstants' contains a map of all constants in the class, so
> > you
> > >can use, for example:
> > >
> > >${TheConstants.URL}
> > >
> > >
> > >
> > bang on. That would be cool. I have worked my problem around in my
> > application, but your solution would be better, since it would decouple
> > my action from the underlying API. Should I hold my breath?
> 
> 
> Well, I might have a go at adding it tonight, if I have time. It's been a
> *long* time since I've tried to build Taglibs, though, so if I have trouble
> with that, it might not happen, since I don't want to break the nightly
> builds.
<snip/>

That can't stop us ;-) I'm happy to jump in, if needed.

However, couple of data points:
1) This issue is listed to be tackled in the EL 2.1-EDR [
https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=134 ]
2) Another approach that some choose is to provide a "Constants" bean
that supplies getters for the constants, which is what we ended up
doing for the RDC taglib.

-Rahul


> 
> --
> Martin Cooper
> 
> 
> Thanks
> >
> > Luca
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to