If you have the solution, could you please put it up? Or if anyone else knows, I'd appreciate some input.
Ive been looking at it for a while now and cant find an easy solution : ) On 2/2/06, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > Nevermind. This was much easier than I expected. > > On 2/2/06, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > I am trying to do something I haven't done yet using tapestry. I have > > a @For component that is in a form with quite a few input fields. > > Here is the page.html so you can see what I'm trying to do: > > > > <form jwcid="[EMAIL PROTECTED]" > listener="listener:editCaseListener"> > > <tr jwcid="@For" source="ognl:processList" > value="ognl:process" > > index="ognl:index" element="tr"> > > <span jwcid="@If" condition="ognl:process != > null"> > > <td class="tableinfo" style="font-weight: > bold;"> > > <span jwcid="@If" > condition="ognl:process.trProcessType != null"> > > <span jwcid="@Insert" > value="ognl:process.trProcessType.processName"/> > > </span> > > <span jwcid="@Else"> > > <span jwcid="@Insert" > value="ognl:processName">ProcessName</span> > > </span> > > </td> > > <td class="tableinfo"> > > <span jwcid="statusSelections" /> > > </td> > > <td class="tableinfo"> > > <span jwcid="[EMAIL PROTECTED]" > value="ognl:process.scheduled"/> > > </td> > > <td class="tableinfo"> > > <span jwcid="[EMAIL PROTECTED]" > value="ognl:process.completed"/> > > </td> > > <td class="tableinfo"> > > <textarea jwcid="[EMAIL PROTECTED]" > value="ognl:process.notes" > > cols="60" rows="2"> > > </textarea> > > </td> > > <td class="tableinfo"> > > <textarea jwcid="[EMAIL PROTECTED]" > > value="ognl:process.internalnotes" cols="60" rows="2"> > > </textarea> > > </td> > > </span> > > </tr> > > <tr align="center"> > > <td class="tableFooter" colspan="6"><input > > jwcid="@Submit" name="Submit" label="message:submit"/></td> > > </tr> > > </form> > > > > > > I'm not quite sure how to know which field is which when I submit the > > form in order to save the correct objects. Does anyone have any > > pointers on what my editCaseListener should look like? Thanks. > > > > -- > > ~chris > > > > > -- > ~chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
