You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by M�ris Orbid�ns <M....@datapro.lv> on 2001/12/11 20:17:50 UTC

always true ?

These lines between <logic:present> tags always are printed regardless
of name I use in <logic:present  tag. I had specified scope="request"
but it didnt help a bit.

Any ideas ?

Maris Orbidans




<logic:present name="SearchResultsadasdsadasdasdasd">
    <tr><td>
    Number: <%-- ((java.util.Vector)
request.getAttribute("SearchResult")).size() --%>
    </td></tr>

    <tr>
        <td></td>
    </tr>

</logic:present>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: always true ?

Posted by Keith Bacon <ke...@yahoo.com>.
<%@ taglib uri="/WEB-INF/struts-logic.tld"
prefix="logic" %>

Have you got the taglib defined as above?

Keith.

--- M�ris Orbid�ns <M....@datapro.lv> wrote:
> 
> These lines between <logic:present> tags always are
> printed regardless
> of name I use in <logic:present  tag. I had
> specified scope="request"
> but it didnt help a bit.
> 
> Any ideas ?
> 
> Maris Orbidans
> 
> 
> 
> 
> <logic:present
> name="SearchResultsadasdsadasdasdasd">
>     <tr><td>
>     Number: <%-- ((java.util.Vector)
> request.getAttribute("SearchResult")).size() --%>
>     </td></tr>
> 
>     <tr>
>         <td></td>
>     </tr>
> 
> </logic:present>
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>