dev@jsf-extensions.java.net

Re: [JSF-EXT] Getting Started, Round Two

From: Jennifer Ball <Jennifer.Ball_at_Sun.COM>
Date: Wed, 26 Jul 2006 13:10:15 -0700

This sounds almost exactly like what's happening in the cardemo example,
in which you click one of a set of buttons, causing a set of other
components to be updated. So, if I were you, I would try to use zones
instead. Take a look at optionsPanel.jsp, carDetail.jsp, and the
devtime.js file. Also, if you run the live cardemo app, you'll find
some documentation there.

Jennifer

Jason Lee wrote:

>Here's a recap from yesterday's email of what I'm trying to accomplish:
>
>"'m working a user authorization administration application. On the
>user management page, I have a list of users pulled from the model.
>When the app user clicks on a user, I need to update four different
><h:selectManyListbox> components: assigned roles, available roles,
>assigned groups, and available groups. "
>
>And here's the markup with which I'm trying to accomplish the task,
>based in part on the AJAX page on the jsf-extensions web site and a
>whole of guessing:
>
><h:selectOneListbox id="users" size="20" style="width: 175px"
> onchange="new Faces.Event(this, { render:
>'authForm:user_rules,authForm:remaining_roles,authForm:user_groups,authF
>orm:remaining_groups' });"
> valueChangeListener="#{authBean.userChanged}"
>value="#{authBean.currentUser}">
> <f:selectItems value="#{authBean.users}" />
></h:selectOneListbox>
>
>But that's not generating *any* traffic that I can see. Nothing changes
>on the form. No breakpoints are tripped in my IDE. What am I doing
>wrong? Am I even going about this in the correct way? Do I need to
>define a zone?
>
>-----
>Jason Lee
>Programmer/Analyst
>http://www.iecokc.com <http://www.iecokc.com/>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_jsf-extensions.dev.java.net
>For additional commands, e-mail: dev-help_at_jsf-extensions.dev.java.net
>
>
>