[jboss-user] [JBoss Seam] - Re: Using page parameters instead of Seam remoting
asookazian
do-not-reply at jboss.com
Tue Dec 11 13:40:00 EST 2007
Well I just did a simple POC using f:param.
| <h:form>
| <h:commandLink actionListener="#{test.testParams}">
| <h:outputText value="#{test.defaultText}" />
| <f:param name="column" value="name" />
| </h:commandLink>
| </h:form>
public void testParams() {
| // TODO Auto-generated method stub
| FacesContext facesContext = FacesContext.getCurrentInstance();
| String columnName = (String)facesContext.getExternalContext().getRequestParameterMap().get("column");
| log.info("columnName = " + columnName);
| }
Now the complication is that the f:param values need to be submitted from a rich:modalPanel component. So I may have to pass the param values from the launch code:
Richfaces.showModalPanel('mpEmployeeSubmit',{width:450, top:200});
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112049#4112049
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112049
More information about the jboss-user
mailing list