Yes, I'm here again...
>From the last mail I had recived, I now use this code:
1) form definition:
<fd:repeater id="NumeriTelefono" initial-size="2">
<fd:widgets>
<fd:field id="IDTipo" required="false">
<fd:label>Tipo</fd:label>
<fd:datatype base="long"/>
</fd:field>
<fd:field id="Valore" required="false">
<fd:label>Numero Telefonico</fd:label>
<fd:datatype base="string"/>
</fd:field>
</fd:widgets>
</fd:repeater>
2) form template
<ft:repeater id="NumeriTelefono">
<ft:repeater-rows>
<tr class="casa">
<td>
<ft:widget-label id="IDTipo"/>
</td>
<td>
<ft:widget id="IDTipo"/>
</td>
</tr>
<tr class="ufficio">
<td>
<ft:widget-label id="Valore"/>
</td>
<td>
<ft:widget id="Valore"/>
</td>
</tr>
</ft:repeater-rows>
</ft:repeater>
Now, in front of what Marc sayed in his last replay... is this what he
mean? if yes, how, and where, I need to configure the two different
resultset he's writeing about?
thanks,
Omar
On 11/15/05, Omar Adobati <[EMAIL PROTECTED]> wrote:
> On 11/15/05, Marc Salvetti <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Because... because... don't know why!! I think I need two widgets
> > > because of the need to have two kinds of telephone number... How I can
> > > use just one widget for both of them?
> > > Sorry if this is a dummy question...
> >
> > I think i see your problem now, i didn't understand you need to have several
> > different tel numbers stored for each contact, and not only one, but of a
> > different type
> > So i think, but it's just a guess, that you could have two repeaters on your
> > template, one for office numbers and one for mobile, and map them both a
> > different named resultset.
> > For instance, you get a resultset named officeNums, and a resultset named
> > mobileNums
> > Then in your form, you create to repeaters matching theses names.
> >
> > HTH,
> >
> > Marc
>
> Hi Marc,
> thanks for your answer, I think your solution will work... can you
> help me whit the code i need? Can you give me a snippet of the code
> you told me about?
>
> thanks again for your help
> --
> Omar Adobati
> [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]