Re: T5: HiddenField?

2009-01-21 Thread Andreas Andreou
https://issues.apache.org/jira/browse/TAP5-265

On Thu, Jan 22, 2009 at 2:41 AM, Thiago H. de Paula Figueiredo
 wrote:
> Em Wed, 21 Jan 2009 20:15:01 -0300, Fernando Padilla 
> escreveu:
>
>> thank you. :)
>
> Gracias de novo! :)
>
>> onSuccess would be WAY too late. :)  The whole point to have hidden
>> variables is to make sure state is carried through so that we have something
>> to work with.. :)
>
> It just happened to me that the client persistence strategy could be used
> for this kind of scenario. I haven't used that yet, though.
>
>
>> thank you for pointing out Chenillekit, maybe I'll look into it, but we
>> already had to create our own HiddenField, just wondering why it's not there
>> by default in Tapestry.. because I think it's a pretty valid usecase.. :)
>
> Maybe a JIRA for that. :)
>
> --
> Thiago H. de Paula Figueiredo
> Consultor, desenvolvedor e instrutor em Java
> http://www.arsmachina.com.br/thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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



Re: T5: HiddenField?

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 20:15:01 -0300, Fernando Padilla   
escreveu:



thank you. :)


Gracias de novo! :)

onSuccess would be WAY too late. :)  The whole point to have hidden  
variables is to make sure state is carried through so that we have  
something to work with.. :)


It just happened to me that the client persistence strategy could be used  
for this kind of scenario. I haven't used that yet, though.



thank you for pointing out Chenillekit, maybe I'll look into it, but we  
already had to create our own HiddenField, just wondering why it's not  
there by default in Tapestry.. because I think it's a pretty valid  
usecase.. :)


Maybe a JIRA for that. :)

--
Thiago H. de Paula Figueiredo
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

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



Re: T5: HiddenField?

2009-01-21 Thread Fernando Padilla

thank you. :)

onSuccess would be WAY too late. :)  The whole point to have hidden 
variables is to make sure state is carried through so that we have 
something to work with.. :)


thank you for pointing out Chenillekit, maybe I'll look into it, but we 
already had to create our own HiddenField, just wondering why it's not 
there by default in Tapestry.. because I think it's a pretty valid 
usecase.. :)


later

'nando


Thiago H. de Paula Figueiredo wrote:
Em Wed, 21 Jan 2009 19:47:55 -0300, Fernando Padilla  
escreveu:


Since if I use a form context, then I think I have to then create a 
special event listener to deal with that context right? 
onActionFromForm(context)...


Not right! :) It would be passed to you onSuccess method, AFAIK.

I just want to add hidden fields, and have the component take care of 
serializing and deserializing the values appropriately..


There's the Hidden component in Chenillekit: 
http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/Hidden.html. 
By the way, there are some really nice components there.



thank you :)


Gracias!



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



Re: T5: HiddenField?

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 19:47:55 -0300, Fernando Padilla   
escreveu:


Since if I use a form context, then I think I have to then create a  
special event listener to deal with that context right?  
onActionFromForm(context)...


Not right! :) It would be passed to you onSuccess method, AFAIK.

I just want to add hidden fields, and have the component take care of  
serializing and deserializing the values appropriately..


There's the Hidden component in Chenillekit:  
http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/Hidden.html.  
By the way, there are some really nice components there.



thank you :)


Gracias!

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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



Re: T5: HiddenField?

2009-01-21 Thread Fernando Padilla

.. but yet not really..

Since if I use a form context, then I think I have to then create a 
special event listener to deal with that context right? 
onActionFromForm(context)...


I just want to add hidden fields, and have the component take care of 
serializing and deserializing the values appropriately..


thank you :)


Thiago H. de Paula Figueiredo wrote:
Em Wed, 21 Jan 2009 14:43:31 -0300, Fernando Padilla  
escreveu:



So.. Is there really ho HiddenField component for Tapestry 5?
Is this just a minor oversight, or is there a different way to add 
values to be passed through form?


One option is to use Form's context parameter. AFAIK, it works exactly 
like the context parameter found in PageLink, ActionLink and EventLink.




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



Re: T5: HiddenField?

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 14:43:31 -0300, Fernando Padilla   
escreveu:



So.. Is there really ho HiddenField component for Tapestry 5?
Is this just a minor oversight, or is there a different way to add  
values to be passed through form?


One option is to use Form's context parameter. AFAIK, it works exactly  
like the context parameter found in PageLink, ActionLink and EventLink.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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



T5: HiddenField?

2009-01-21 Thread Fernando Padilla

So.. Is there really ho HiddenField component for Tapestry 5?
Is this just a minor oversight, or is there a different way to add 
values to be passed through form?


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