myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonhard Holzer <leonhard.hol...@abuscom.com>
Subject [trinidad] detail action in table does not work
Date Tue, 17 Jul 2007 10:26:56 GMT
Hello,

I use trinidad together with spring webflow and I try to create a table 
-> edit row web flow

my jsp code is the following

                    <tr:table value="#{tableData.collectionModel}"
                        varStatus="rowStat"
                        rows="5"
                        var="row">
                        <tr:column headerText="id">
                            <tr:outputText value="#{row['id']}" />
                        </tr:column>
                        <tr:column>
                            <f:facet name="header">
                                <tr:outputText value="#{global.actions}" />
                            </f:facet>
                            <tr:column>
                                <tr:commandLink id="newRow" 
action="newRow" text="#{global.cmdNew}">
                                    <f:param name="tableNameId" 
value="Test2"/>
                                    <f:param name="rowId" value="1"/>
                                </tr:commandLink>
                            </tr:column>
                            <tr:column>
                                    <tr:commandLink id="editRow" 
immediate="true" action="newRow" text="#{global.cmdNew}" >
                                        <tr:setActionListener 
from="Test2" to="#{pageFlowScope.tableNameId}"/>
                                        <tr:setActionListener 
from="#{row['id']}" to="#{pageFlowScope.rowId}"/>
                                    </tr:commandLink>
                            </tr:column>
                        </tr:column>
                    </tr:table>
                <tr:panelButtonBar>
                        <tr:commandButton id="globalBack" action="back" 
text="#{global.cmdBack}"></tr:commandButton>
                        <tr:commandLink id="newRow" action="newRow" 
text="#{global.cmdNew}">
                            <f:param name="tableNameId" value="Test2"/>
                            <f:param name="rowId" value="1"/>
                        </tr:commandLink>
                </tr:panelButtonBar>

The action in the tablerow works fine but the two test links within the 
table don't work.

Does anybody have some suggestions.

Thanks for your help
 Leo

-- 
----------------------------------
 Leonhard Holzer
 ABusCom GmbH
 Kapuzinerplatz 9
 I 39031 Bruneck
 Tel.:  +39 0474 538 000
 Fax.:  +39 0474 538 000
 mobil: +39 335 83 28 041
 web:   www.abuscom.com
----------------------------------


Mime
View raw message