Re: T5 - using t:select nested inside beaneditform

2011-08-07 Thread Eric Torti
Ok, Vangel, thanks. Problem solved! I`m going to move on to your proposition of using t:selectObject. In the event of me getting stuck :] I`ll post the problems on a new thread. Thank you for the help. I greatly appreciated it. Eric Torti On Sun, Aug 7, 2011 at 8:38 AM, Vangel V. Ajanovski wro

Re: T5 - using t:select nested inside beaneditform

2011-08-07 Thread Vangel V. Ajanovski
On 08/07/2011 06:31 AM, Eric Torti wrote: ... You have to use the "add" parameter in beaneditform for each manytoone property, and then use to wrap the select (or any other custom html to be shown for this property. Just copy the structure from my example and change selectobject wit

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread Eric Torti
Thanks again, Vangel! I`m trying the simplest approach as described on the docs page (the choosing colors example). But when the page renders, the form is displayed without the select element. If you could please have a look at my code, I`ll provide it here. I`ve kept the domain in portuguese (my

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread Vangel V. Ajanovski
On 08/06/2011 04:46 PM, Eric Torti wrote: The only doubt I still have is whether the tag is supposed to work nested inside the tag. The bean model does not automatically create fields for the ManyToOne links, so they are not like standard part of the BeanEditForm, but I "add" virtual fields f

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread Eric Torti
Thank you, Vangel, That`s exactly the case! I`ll have a look at the docs you provided and have a go at it. The only doubt I still have is whether the tag is supposed to work nested inside the tag. Thanks. I`ll provide feedback as soon as I get to experiment with your suggestion. Eric On Sat,

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread Vangel V. Ajanovski
On 08/06/2011 02:54 PM, Eric Torti wrote: Thank you, based2. I am following the jumpstart examples. But in my case, the property I need to choose from a t:select is not an enum. It`s a complex type. Official documentation has the easiest way if your situation is not very complex. https://tapes

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread Eric Torti
Thank you, based2. I am following the jumpstart examples. But in my case, the property I need to choose from a t:select is not an enum. It`s a complex type. The t:beaneditform should generate the select all by itself? Thanks Eric On Sat, Aug 6, 2011 at 4:44 AM, based2 wrote: > > http://jumps

Re: T5 - using t:select nested inside beaneditform

2011-08-06 Thread based2
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/morecontroledit1/1 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-using-t-select-nested-inside-beaneditform-tp4671749p4671987.html Sent from the Tapestry - User mailing list archive at Nabble.com.

T5 - using t:select nested inside beaneditform

2011-08-05 Thread Eric Torti
Hello, guys, I`m struggling to get a beaneditform to show a t:select element. I`ve accomplished the creation of the GenericSelectModel but I don`t know if I`m on the right track. My template reads as follows: The form is displayed but no is rendered. Is this the right wa