-
1. Re: Need Help..ASAP...
johnboy Feb 13, 2008 3:47 PM (in response to johnboy)I should also add I am trying to do this on the JBOSS portal server 2.6.3...
I need the selection mech to populate a bean and make a lengthy request to a remote location for information. -
2. Re: Need Help..ASAP...
carlosgg Feb 14, 2008 10:22 AM (in response to johnboy)Maybe is "onchange" instead of "onclick" what you need to catch...
-
3. Re: Need Help..ASAP...
johnboy Feb 15, 2008 12:53 PM (in response to johnboy)Here is the full printout..
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<a4j:form id="SVPSelection">
<h:panelGrid columns="1">
<h:selectOneListbox id="pickSVP" value="#{SVPBean.currentSvp}" >
<a4j:support event="onchange" actionListener="#{SVPBean.process}" ajaxSingle="true" reRender="SVPSelection" />
<f:selectItems value="#{SVPBean.sig}" />
</h:selectOneListbox>
</h:panelGrid>
</a4j:form>
</f:view>
It does the same basic thing I am afraid. I am on the JBoss portal server.
Does the basic idea look right? I am really new. -
4. Re: Need Help..ASAP...
johnboy Feb 15, 2008 1:00 PM (in response to johnboy)One more side not change the form to:
<h:form id="SVPSelection">
Instead the message goes away.