Re: Nested Form Submission

2010-11-08 Thread LLTYK

How about just using form fragments, they let you selectively send parts of a
form (basically partial form submission like you're talking about). I'm
guessing they may work for you (or may not, since it hides the inactive
parts of the form) but I'm not sure what you are trying to do.
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Nested-Form-Submission-tp5715543p5717514.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Nested Form Submission

2010-11-08 Thread Thiago H. de Paula Figueiredo

On Mon, 08 Nov 2010 14:36:37 -0200, LLTYK ll...@mailinator.com wrote:

How about just using form fragments, they let you selectively send parts  
of a form (basically partial form submission like you're talking about).  
I'm

guessing they may work for you (or may not, since it hides the inactive
parts of the form) but I'm not sure what you are trying to do.


Another option is to have the components not use Form components, just  
declaring the form fields. Nested forms don't look like a good idea to me  
. . .


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Nested Form Submission

2010-11-08 Thread Taha Hafeez
This is not about what I am trying because if i am convinced that nested
form is violating the concept of Component based framework I will start
otherwise..

I tried FormFragment but it is not what i want..

What i want is to create a full CRUD component where in a bean can contain a
collection. For a simple collection, I can use
a Palette but if the number of fields of the collection object to be
displayed are more than one, i need a crud component for
the collection object inside the outer component Form in a form ...

regards
Taha


On Mon, Nov 8, 2010 at 10:24 PM, Thiago H. de Paula Figueiredo 
thiag...@gmail.com wrote:

 On Mon, 08 Nov 2010 14:36:37 -0200, LLTYK ll...@mailinator.com wrote:

  How about just using form fragments, they let you selectively send parts
 of a form (basically partial form submission like you're talking about). I'm
 guessing they may work for you (or may not, since it hides the inactive
 parts of the form) but I'm not sure what you are trying to do.


 Another option is to have the components not use Form components, just
 declaring the form fields. Nested forms don't look like a good idea to me .
 . .

 --
 Thiago H. de Paula Figueiredo
 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
 and instructor
 Owner, Ars Machina Tecnologia da Informação Ltda.
 http://www.arsmachina.com.br


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: Nested Form Submission

2010-11-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Nov 2010 23:19:15 -0200, Taha Hafeez tawus.tapes...@gmail.com  
wrote:


What i want is to create a full CRUD component where in a bean can  
contain a collection. For a simple collection, I can use

a Palette but if the number of fields of the collection object to be
displayed are more than one, i need a crud component for
the collection object inside the outer component Form in a form ...


Take a look at BeanEditor: it generates form fields automatically for a  
given object. BeanEditForm is basically a Form with a BeanEditor inside.  
You can nest BeanEditors without any problem.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org