tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mateen <matee...@gmail.com>
Subject Submitting a value from a Form
Date Thu, 20 Dec 2012 16:13:33 GMT

I have a form that contains a invisible textfield. I set the value of the
textfield, and when i submited the form the value of the textfield should be
submited with it. Here is my code. The ${transactionQuote.XXX} contains the
value of the object. If you scroll down, you can see a form and in that form
i set the value to the textfield using
t:value="${transactionQuote.pickupQuoteID}". Now when i submit the form i
want the value in the textfield to be submitted with it. But the value seems
to be written but not read ? What am i doing wrong ? 








    <t:form t:id="processQuoteForm" t:zone="searchTransactionZone">
      <div style="visibility: hidden; display:inline;">
      <input t:type="textField" t:id="dispenseCashForQuoteID"
                t:validate="required,minlength=5" class="txtFld"
style="display:block;" />    
      <p class="transaction-chk"><input name="confirm" type="checkbox"
value="" /> Confirm recipient's identity by reviewing ID </p>
        <p class="transaction-Fld" style="margin:0 auto; width: 360px;">
        <label>Phone Number </label>
        <input t:type="textField" t:id="dispenseCashForTelephoneNumber"
                t:validate="required,minlength=5" class="txtFld"
style="display:block;" />    
        <label>Confirm Code </label>
         <input t:type="textField" t:id="dispenseCashForTransactionID"
class="txtFld" style="display:block;"/>
        <input type="submit" value="Dispense Cash" class="search-btn" />

View this message in context: http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message