what is getInstance() and how does it relate to the panelAccordion?
What does your view look like (jspx/xhtml)?

On Mon, Sep 21, 2009 at 10:24 AM, John Benson <[email protected]> wrote:
> Has anyone noticed the following:
>
> panelAccordion tag with three showDetailItem panels. I'm using Trinidad
> v1.2.11, Facelets v1.1.14, and Seam v2.1.1.
>
> User enters values in the first panel (address fields on the
> getInstance().getAddress() in the EntityHome), values in the second panel
> (address fields on the getInstance().someClassVariable.getAddress()), and
> values in the third panel (address fields on the
> getInstance().someOtherClassVariable.getAddress()).
>
> Save entries, submit to framework, some validation error occurs that I set
> up in the methods of the EntityHome class.
>
> Then, when the validation error is handed back to the page and I'm
> redirected back to the page that contains the panelAccordion, something
> inexplicable happens.
>
> All the entries made in the first panel are cascaded down to the remaining
> panels. It's as if the values from getInstance().getAddress() have
> overwritten the values in getInstance().someClassVariable.getAddress() and
> getInstance().someOtherClassVariable.getAddress(). I'm unable to determine
> if the values are truly different in the Java objects (I've stepped out of
> the debugger at this point because I returned "failed"), or if they just got
> overwritten on the XHTML page tags themselves.
>
> Sure seems like a bug in the tr:panelAccordion tag to me.
>
> Appreciate any help
>

Reply via email to