On 9/4/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
>
> > > I've just noticed the xOffset and YOffset properties of the panelPopup
> are
> > > behaving strangely.  It seems like they are not correctly generated
> > > somewhere in build process.
> >
> > Is this 1.1 or 1.2?
>
> 1.1 trunk.
>
> > > If I try and use them in JSP page, then page
> > > errors, and in Facelets they are available in the bean, but only as
> > > Strings.  In addition, in the demo page, they appear at the top of the
> > > attribute table and are capitalized as XOffset and YOffset and not
> correctly
> > > sorted.
> >
> > Eh, that last one doesn't surprise me.  Bean property naming rules
> > have some weird side cases for initial caps, and the demo page doesn't
> > make a strong effort to handle this.
>
>
>
> Yeah, but I can't understand why it has decided to capitalize these
> properties that are not actually capitalized in the component.  ...maybe
> that's what you're saying.

setXOffset() -> bean property name is XOffset.  This is to deal with,
for example, getURL(), where we want a bean property name of "URL",
not "uRL".  We can provide a BeanInfo if we want better naming.

-- Adam


>
>

Reply via email to