Hi,
I've a db:form and I'd like to add a db:filter but I haven't found the point in the 
db:form where to put it.  Besides my db:filter is without user input then I'd like 
don't show it in the html page.
This is my db:form:
        <db:dbform multipart="false" autoUpdate="false" 
followUp="/CONTENT_VIEW_1_list.jsp" maxRows="*" tableName="CONTENT_VIEW_1">
                <db:header>
                        <db:errors/>
                        <table align="center" >         
                                <tr class="clsHeaderDataTableRow">
                                        <td 
class="clsHeaderDataTableCell">CLIENT_ID</td>
                                        <td 
class="clsHeaderDataTableCell">SERVICE_ID</td>
                                        <td 
class="clsHeaderDataTableCell">CONTENT_NAME</td>
                                        <td 
class="clsHeaderDataTableCell">DESCRIPTION</td>
                                        <td class="clsHeaderDataTableCell">AGE</td>
                                        <td 
class="clsHeaderDataTableCell">INSERT_TIME</td>
                                        <td 
class="clsHeaderDataTableCell">SERVICE_FREE</td>
                                        <td 
class="clsHeaderDataTableCell">CONTENT_ID</td>
                                        <td class="clsHeaderDataTableCell">MIME</td>
                                </tr>
                </db:header>
                <db:body allowNew="false">
                        <tr class="<%= (i++%2==0) ? "clsOddDataTableRow" : 
"clsEvenDataTableRow" %>">
                                <td><a href="<db:linkURL 
href="/CONTENT_VIEW_1_single.jsp" tableName="CONTENT_VIEW_1" position="<%= 
position_CONTENT_VIEW_1 %>"/>" ><%= currentRow_CONTENT_VIEW_1.get("CLIENT_ID") 
%></a>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("SERVICE_ID") 
%>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("CONTENT_NAME") 
%>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("DESCRIPTION") 
%>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("AGE") 
%>&nbsp;</td>
                                <td><db:dateLabel fieldName="INSERT_TIME"/>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("SERVICE_FREE") 
%>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("CONTENT_ID") 
%>&nbsp;</td>
                                <td><%= currentRow_CONTENT_VIEW_1.get("MIME") 
%>&nbsp;</td>
                        </tr>
                </db:body>
                <db:footer>
                </table>
                <center>
                        <hr width="400"/>
                        <db:navNewButton styleClass="clsButtonStyle" 
followUp="/CONTENT_VIEW_1_single.jsp" caption="Prrrrrrrr!!!!!!!"/>
                </center>
                </db:footer>
        </db:dbform>
        
and this is my filter:

<db:filter>
        <db:filterCondition label="filter without user input">
                CONTENT_VIEW_1.CLIENT_ID = 393492226187
        </db:filterCondition>
</db:filter>

Thanks for the help.

Giannandrea



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to