You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Venkat <ve...@yahoo.com> on 2006/09/22 19:45:58 UTC

tapestry - session / form management

Hi,
   
  We have been using the Tapestry 4.0, Hibernate(annotations) with Hivemind. I have a wiered bug for couple of days. Could you help me in what I am missing ?
   
  I have main page with sub-page has 2 text boxes and a button, text box 1 is disabled, when user click on button, it will go to another screen for look-up object, once we select the look-up object it has to get back the object relation to the main page. Once we come back to the main page, if we save the changes the relation is not occuring but once we come back to the main page and change any other field and save it, then the object relation will take place. I want get this relation with out touching the form field. When we change some thing on the page manually it's working as I am expecing. Could you please help me in resolving the issue.
   
  Thanks in advance.
   
  Regards,
  Venkat

 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

Re: tapestry - session / form management

Posted by CincyVenkat <ve...@yahoo.com>.
How do I get the form dirty at first time around.


karthik.nar wrote:
> 
> it appears your hibernate session is not getting flushed properly.  are
> you
> using transaction boundaries?
> 
> somehow even though your objects are getting dirtied the first time
> around,
> it is the second time dirty of the form field that's causing the hibernate
> session to flush/commit to the DB.
> 
> 
> 
> On 9/22/06, Venkat <ve...@yahoo.com> wrote:
>>
>> Hi,
>>
>>   We have been using the Tapestry 4.0, Hibernate(annotations) with
>> Hivemind. I have a wiered bug for couple of days. Could you help me in
>> what
>> I am missing ?
>>
>>   I have main page with sub-page has 2 text boxes and a button, text box
>> 1
>> is disabled, when user click on button, it will go to another screen for
>> look-up object, once we select the look-up object it has to get back the
>> object relation to the main page. Once we come back to the main page, if
>> we
>> save the changes the relation is not occuring but once we come back to
>> the
>> main page and change any other field and save it, then the object
>> relation
>> will take place. I want get this relation with out touching the form
>> field.
>> When we change some thing on the page manually it's working as I am
>> expecing. Could you please help me in resolving the issue.
>>
>>   Thanks in advance.
>>
>>   Regards,
>>   Venkat
>>
>>
>> ---------------------------------
>> All-new Yahoo! Mail - Fire up a more powerful email and get things done
>> faster.
>>
> 
> 
> 
> -- 
> Thanks, Karthik
> 
> 

-- 
View this message in context: http://www.nabble.com/tapestry---session---form-management-tf2319186.html#a6452810
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: tapestry - session / form management

Posted by Karthik N <ka...@gmail.com>.
it appears your hibernate session is not getting flushed properly.  are you
using transaction boundaries?

somehow even though your objects are getting dirtied the first time around,
it is the second time dirty of the form field that's causing the hibernate
session to flush/commit to the DB.



On 9/22/06, Venkat <ve...@yahoo.com> wrote:
>
> Hi,
>
>   We have been using the Tapestry 4.0, Hibernate(annotations) with
> Hivemind. I have a wiered bug for couple of days. Could you help me in what
> I am missing ?
>
>   I have main page with sub-page has 2 text boxes and a button, text box 1
> is disabled, when user click on button, it will go to another screen for
> look-up object, once we select the look-up object it has to get back the
> object relation to the main page. Once we come back to the main page, if we
> save the changes the relation is not occuring but once we come back to the
> main page and change any other field and save it, then the object relation
> will take place. I want get this relation with out touching the form field.
> When we change some thing on the page manually it's working as I am
> expecing. Could you please help me in resolving the issue.
>
>   Thanks in advance.
>
>   Regards,
>   Venkat
>
>
> ---------------------------------
> All-new Yahoo! Mail - Fire up a more powerful email and get things done
> faster.
>



-- 
Thanks, Karthik