You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rodrigo Lins <li...@gmail.com> on 2009/02/17 19:44:15 UTC

Struts Tags

Hello,
I don't know what i'm doing wrong.
The return in NavigationAction.BRAS_STATUS_HELPER is a boolean.
The method it i'll put in the attibute request return a boolean.
Please Help me.
Sorry for my poor english.
Thank a lot,
Rodrigo
                 <logic:present name='<%=
NavigationAction.BRAS_STATUS_HELPER %>'>
                    <bean:define name='<%=
NavigationAction.BRAS_STATUS_HELPER %>' id="brasStatusHelper" />
                    <TABLE CELLSPACING="5" CELLPADDING="5" BORDER="0"
bgcolor="#008800" width="80%">
                        <TR>
                            <TD ALIGN="CENTER">
                                <!-- Status OK -->
                                <logic:equal parameter="brasStatusHelper"
value="true">
                                    <B><FONT>BRAS OK</FONT></B>
                                </logic:equal>
                                <!-- Status Down -->
                                <logic:equal parameter="brasStatusHelper"
value="false">
                                    <B><FONT>BRAS Não OK</FONT></B>
                                </logic:equal>
                                <bean:write name="brasStatusHelper"/>

                            </TD>
                        </TR>
                    </TABLE>
                </logic:present>

-- 
Rodrigo Lins de Oliveira
+55 21 8610-8297