Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3094059
By: sandra81

Hi everybody

I would like to create a form to insert a new data and when I put
<db:insertButton showAlways="true" styleClass="clsButtonStyle"
caption="formNew.button.insert"/> the button does not appear.
Here a piece of my code :

<db:dbform multipart="false" autoUpdate="false" followUp="/my_page.jsp"
captionResource="true">
<db:header/>
<db:body>
<table width="300" align="center" border="0" cellspacing="0" cellpadding="2">
<tr class="clsHeaderDataTableRow" valign="middle">
        <td colspan=2 class="clsHeaderDataTableCell"
style="border-style:none;border-width:0;"><db:message
key="formNew.title.new"/></td>
</tr>
<tr class="clsOddDataTableRow">
        <td style="font-weight: bold" align="left"><db:message
key="formNewEdit.supplier.displayname"/></td>
        <td align="left">Supplier name</td></td>
        </tr>
<tr class="clsEvenDataTableRow">
        <td style="font-weight: bold" align="left"><db:message
key="formNewEdit.product.displayname"/></td>
        <td align="left"><db:select fieldName="designation" 
styleClass="clsSelectStyle">
                <db:queryData
                    name="reference"
                    query="<%="SELECT ref_iph,ref_iph,designation FROM 
alter_achat_produit
WHERE id_fournisseur="+request.getParameter("id_fournisseur")%>"
                    disableCache="true"
                    dbConnectionName="iph"
                    format='%s - %s'
                />
        </db:select></td>
</tr>
<tr class="clsOddDataTableRow">
        <td style="font-weight: bold" align="left"><db:message
key="formNewEdit.quantity.displayname"/></td>
        <td align="left"><db:textField styleClass="clsInputStyle" size="11"
fieldName="quantite"/></td>
</tr>
<tr class="clsEvenDataTableRow">
        <td style="font-weight: bold" align="left"><db:message
key="formNewEdit.price.displayname"/></td>
        <td align="left"><db:textField styleClass="clsInputStyle" size="20"
fieldName="prix"/></td>
</tr>
<tr class="clsOddDataTableRow">
        <td style="font-weight: bold" align="left"><db:message
key="formNewEdit.comment.displayname"/></td>
        <td align="left"><db:textArea styleClass="clsInputStyle" rows="4" 
cols="30"
fieldName="commentaire"/></td>
</tr>

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=55830


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
DbForms Mailing List

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

Reply via email to