[jboss-user] [JBoss Seam] - s:link and expression language #{}

tkalactomo do-not-reply at jboss.com
Tue Jun 12 09:07:34 EDT 2007


I have a tomahawk tree component which I'm trying to use as a navigator for my application....This tree component uses as value my katalog.katalog which is my type of implementation of treenode.I did that because i need one more proprety to get one more value besides, description and  identifier, and that is which pageflow should i use on s:link tag to know whic pageflow to start.
But when I through expresion language try to get to that value(pageflow) on s:link tag <s:link pageflow="#{node.pageflow}" i get non value....can someone please help...??

  <t:tree2 id="clientTree" value="#{katalog.katalog}" var="node" 
	varNodeToggler="t">
   
        <f:facet name="orka">
            <h:panelGroup>
                <f:facet name="expand">
                    <t:graphicImage value="/slike/ikone/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
                </f:facet>
                <f:facet name="collapse">
                    <t:graphicImage value="/slike/ikone/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
                </f:facet>
                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
            </h:panelGroup>
        </f:facet>
        <f:facet name="grana">
            <h:panelGroup>
                <f:facet name="expand">
                    <t:graphicImage value="/slike/ikone/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
                </f:facet>
                <f:facet name="collapse">
                    <t:graphicImage value="/slike/ikone/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
                </f:facet>
                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
            </h:panelGroup>
        </f:facet>
        <f:facet name="posao">
            <h:panelGroup>
            <t:commandLink action="#{node.getIdentifier}">
    		 <t:graphicImage value="/slike/ikone/document.png" border="0"/>
    		 <t:outputText value="#{node.description}"/>
            </t:commandLink>
            
            <f:verbatim>: </f:verbatim>

<<<<<<<<<THIS IS THAT WHAT MATTERS I NEED TO KNOW WHICH PAGEFLOW TO START>>>>>>>>>>>>>>>
            <s:link value="#{node.pageflow}"
             view="#{node.identifier}"
             propagation="begin"
    		 pageflow="#{node.pageflow}"/> 

<<<<<<<<<<<THIS WAY WORKS BUT IT'S TOTALY FIX>>>>>>>>>>>>>>>>
			 <s:link 
			 value="#{node.pageflow}"
             view="#{node.identifier}"
             propagation="begin"
    		 pageflow="operater"/> 
            </h:panelGroup>


        </f:facet>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053527#4053527

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053527



More information about the jboss-user mailing list