cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Adobati <>
Subject Re: CForms, databinding and databases
Date Tue, 15 Nov 2005 13:43:01 GMT
On 11/15/05, Marc Salvetti <> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message