[jboss-user] [JBoss Seam] - Re: expression language empty parameter
EverlastX1
do-not-reply at jboss.com
Mon Jan 21 06:19:21 EST 2008
Thank you,
Did try it but without any changes
If s:link is used function gets called with the null parameter
with h:commandLink function is not called at all.
|
| <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:rich="http://richfaces.org/rich"
| xmlns:a="http://richfaces.org/a4j"
| template="layout/template.xhtml">
|
| <ui:define name="body">
|
| <h:form>
| <h:inputText id="value" required="false" value="#{searcher.searchString}" style=" width : 300px; "/>
| <h:commandButton id="search" value="search" action="#{searcher.search}" style="width : 50px; "/>
| </h:form>
|
| <!-- RESULT LIST -->
| <h:form>
| <h:dataTable var="resultElem" value="#{searchResult}">
| <h:column>
|
| <!-- Creator -->
| <h:outputText value="Creator:" rendered="#{not empty resultElem.doc.creator}" />
| <ui:repeat var="a" value="#{resultElem.doc.creator}" >
| <s:link value="[#{a}]," action="#{searcher.searchByCreator(a)}" />
| <h:commandLink value="[#{a}]," action="#{searcher.searchByCreator(a)}" />
| </ui:repeat>
|
| </h:column>
| </h:dataTable>
| </h:form>
|
|
| </ui:define>
| </ui:composition>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121781#4121781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121781
More information about the jboss-user
mailing list