In data sabato 2 febbraio 2013 14:54:41, Andrea Del Bene ha scritto:
> Hi,
> 
> if you are planning to subclass a FormComponent (let's say a TextField
> for the id and a TextArea for the description) you don't need to use
> panels and you will bind your custom components to standard form's tags
> <input type="text"/> and <texarea>...</textarea>

Does that mean I'll have A.html like

<form>
  <input type="text" ... />
  <textarea>...</textarea>
</form>

and then add my FormComponentA and FormComponentB instances directly to that 
Form? And that I won't have any FormComponentA.html / FormComponentB.html?


> IMHO the second component should uses both models: IModel<B> as main
> model and IModel<A> to retrieve the A object to assign to manyBToOneA.

Makes sense.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to