this is sample code

<tr jwcid="@For" element="tr"
source="ognl:productForEdit.productHeaderForSpec" value="ognl:header"
index="ognl:headerIndex" converter="ognl:headerConverter">
 <td>
  <fieldset>
   <legend>
    
   </legend>
   <div style="PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px;
PADDING-TOP: 6px">
    <table border="0" width="90%">
     <tbody>
      
       
      <tr align="left">
       <td>
        <table border="0" cellpadding="1" cellspacing="1" width="100%">
         <tr>
          <td class="button">
           <!-- span jwcid="@FieldLabel"
field="component:number">Error</span-->
           
           *
            
             <input tabindex="0" type="text" class="smallInput"
element="input" jwcid="@Any" size="1" id="ognl:'rpt' + attributeIndex + '_'
+ headerIndex" />
             <input tabindex="0" type="button" class="smallButton"
jwcid="@Any" value="Add" onclick="ognl:'javascipt:addRepeatableSet(' +
headerIndex + ', ' + attributeIndex + ',\'rpt' + attributeIndex + '_' +
headerIndex + '\');'"/>
             <!-- input type="submit" jwcid="@Submit" value="Delete"
listener="listener:removeRepeatableSets"/-->
            
          </td>
         </tr>
         <tr jwcid="@For"
source="ognl:attribute.productParametersSets.values()"
value="ognl:parametersSet" index="ognl:parametersSetIndex"
converter="ognl:parametersSetConverter" element="tr">
          <td>
           <table border="0" cellpadding="0" cellspacing="0">
            <tr>
            
            <input type="hidden" jwcid="@Hidden"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).exceptionCodeId" id="ognl:'id_' +
parameterCount + '_e'" />

            
             <td>
              
               <select tabindex="0" jwcid="[EMAIL PROTECTED]"
model="ognl:autocompleteBoxModel"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount" 
onchange="ognl:'javascript:document.getElementById(\'id_' + parameterCount +
'_e\').value = \'l0\';'" />
               <input class="bigButton" value="a" type="button" tabindex="1"
jwcid="@Any" onclick="ognl:'javascript:addNewCodedValue(\'' + headerIndex +
'\',\'' + attributeIndex + '\', \'' + parametricDefIndex + '\', \'' +
parametersSetIndex + '\', \'' + 'id_' + parameterCount + '\', true);'"  />
              
              
               <select tabindex="0" jwcid="[EMAIL PROTECTED]"
model="ognl:manufacturerModel" value="ognl:productForEdit.manufacturerId"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
disabled="true" />
              
              
               <select tabindex="0" jwcid="[EMAIL PROTECTED]"
model="ognl:codedValueModel"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount"
onchange="ognl:'javascript:document.getElementById(\'id_' + parameterCount +
'_e\').value = \'l0\';'" />
               <input class="bigButton" value="a" type="button" tabindex="1"
jwcid="@Any" onclick="ognl:'javascript:addNewCodedValue(\'' + headerIndex +
'\',\'' + attributeIndex + '\', \'' + parametricDefIndex + '\', \'' +
parametersSetIndex + '\', \'' + 'id_' + parameterCount + '\', false);'"  />
              
              
               <input tabindex="0" class="normalText" type="text"
jwcid="[EMAIL PROTECTED]" onFocus="this.select();"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value" size="10"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount"
onchange="ognl:'javascript:document.getElementById(\'id_' + parameterCount +
'_e\').value = \'l0\';'" />
              
              
               <input tabindex="0" class="normalText" type="text"
jwcid="[EMAIL PROTECTED]" onFocus="this.select();"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value" size="10"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount"
onchange="ognl:'javascript:document.getElementById(\'id_' + parameterCount +
'_e\').value = \'l0\';'" />
              
              
               <input tabindex="0" class="normalText" type="text"
jwcid="[EMAIL PROTECTED]" onFocus="this.select();"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value" size="10"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount"
onchange="ognl:'javascript:document.getElementById(\'id_' + parameterCount +
'_e\').value = \'l0\';'" />
              
              
               <textarea tabindex="0" class="normalText"
jwcid="[EMAIL PROTECTED]" onFocus="this.select();"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).value" rows="3" cols="40"
displayName="ognl:parametricDefinition.parameterNameOrConstant"
id="ognl:'id_' + parameterCount" />
              
             </td>
            

             0">
             <td>
              <select tabindex="1" jwcid="[EMAIL PROTECTED]"
model="ognl:codedValueModel"
value="ognl:attribute.getParameterValue(parametersSetIndex,
parametricDefinition.parameterId).unitvalue"
displayName="ognl:parametricDefinition.parameterNameOrConstant" />
             </td>
            
            
            
             <td>
              &nbsp;<input class="bigButton" value="e" type="button"
tabindex="1" jwcid="@Any" onclick="ognl:'javascript:addExceptionCode(\'id_'
+ parameterCount + '\');'" />
             </td>
            

             <td>&nbsp;&nbsp;&nbsp;</td>
            
            
            
             0">
             <td><input tabindex="0" jwcid="@Any" element="input"
type="button" class="smallButton" value="Delete"
onclick="ognl:'javascript:deleteRepeatableSet(' + headerIndex + ', ' +
attributeIndex + ', ' + parametersSetIndex + ');'"/></td>
            
            </tr>
           </table>
          </td>
         </tr>
         <!-- span jwcid="@InvokeListener"
listener="listener:updateParametersSet"/ -->
        </table>
       </td>
      </tr>
      
      
     </tbody>
    </table>
   </div>
  </fieldset>
 </td>
</tr>







<page-specification>

    <description>add a description</description>
    <asset name="stylesheet" path="/includes/style.css"/>

        <property name="currentFieldTracking"/>

        <component id="errors" type="For">
                <binding name="source" value="beans.delegate.fieldTracking"/>
                <binding name="value" value="currentFieldTracking"/>
        </component>
        <component id="error" type="Delegator">
                <binding name="delegate" 
value="currentFieldTracking.errorRenderer"/>
        </component>
    <component id="isInError" type="If">
                <binding name="condition" value="currentFieldTracking.inError"/>
                <binding name="element" value="literal:li"/>        
        </component>

        <component id="addUpdateProductForm" type="Form">
           <binding name="delegate" value="beans.delegate"/>
           <binding name="listener" value="listener:doSubmit"/>
        </component>

</page-specification>


Andrea Chiumenti wrote:
> 
> plz. give a sample code of your .page and .html
> 
> On 3/29/07, Amir Kamran <[EMAIL PROTECTED]> wrote:
>>
>>
>> In my application there are some complex forms generated by loops and
>> conditions.
>> Every thing is working fine using tapestry 4.0 ... but after switching to
>> 4.1 on form submit Stale Link Error occurs.
>>
>> What needs to be done for switching to 4.1 ?
>>
>> thnx
>> --
>> View this message in context:
>> http://www.nabble.com/Converting-From-tapestry-4.0-to-4.1.-Stale-Link-Errors-tf3485803.html#a9731379
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Converting-From-tapestry-4.0-to-4.1.-Stale-Link-Errors-tf3485803.html#a9732515
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to