Re: Problem with the function editRecord in a DynamicForm (SmartGwt)

2013-03-30 Thread Sanjiv Jivan
I've been using this functionality with DateItem and it works fine. So
unless you provide a minimal testcase that reproduces the problem there's
not much I can suggest.



On Fri, Mar 29, 2013 at 5:29 PM, sahli.sabr...@gmail.com wrote:

 Thank you so much for the reply,

 I works fine in the showcase but the problem is a don't use XML for
 managing data so i think that the problem is in type of formItem used for
 displaying Date in the DynamicForm.

 I used a FormItem and DateItem but i still had this problem but now  i'm
 using DateTimeItem , and strangely it works fine!! :)


 Thank you,

 Le vendredi 29 mars 2013 01:06:56 UTC+1, Sanjiv Jivan a écrit :

 This functionality works fine even for Date type fields. You can see this
 by clicking any row in the grid which calls editRecord(..) on the form.

 http://www.smartclient.com/**smartgwt/showcase/#featured_**pattern_reusehttp://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse

 If you're still having problems then post your question on the SmartGWT
 forum including a minimal test case : http://forums.smartclient.**
 com/forumdisplay.php?f=14http://forums.smartclient.com/forumdisplay.php?f=14

 Thanks,
 Sanjiv



 On Mon, Mar 25, 2013 at 5:58 AM, sahli@gmail.com wrote:

 i have in the GUI, a ListGrid and a DynamicForm. When i click on an
 element in the listGrid, i have to display the values of the edited record
 on the Dynamic form,
 for this, i use the EditRecord(Record r) of the dynamicForm


 public void updateInstanceDetailTabPane(**Record record){
 
 
 this.editionForm.editRecord(**record);
 
 }


 it works however for the fields of type Date , the values displayed are
 the date of today and not the reel value of the field.

 My question is where is the problem and how can i display the values of
 type date with their reel values?

 thank you,

 --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+**unsubscr...@googlegroups.com.
 To post to this group, send email to google-we...@**googlegroups.com.

 Visit this group at http://groups.google.com/**
 group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Problem with the function editRecord in a DynamicForm (SmartGwt)

2013-03-29 Thread sahli . sabrina
Thank you so much for the reply,

I works fine in the showcase but the problem is a don't use XML for 
managing data so i think that the problem is in type of formItem used for 
displaying Date in the DynamicForm.

I used a FormItem and DateItem but i still had this problem but now  i'm 
using DateTimeItem , and strangely it works fine!! :)


Thank you,

Le vendredi 29 mars 2013 01:06:56 UTC+1, Sanjiv Jivan a écrit :

 This functionality works fine even for Date type fields. You can see this 
 by clicking any row in the grid which calls editRecord(..) on the form.

 http://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse

 If you're still having problems then post your question on the SmartGWT 
 forum including a minimal test case : 
 http://forums.smartclient.com/forumdisplay.php?f=14

 Thanks,
 Sanjiv



 On Mon, Mar 25, 2013 at 5:58 AM, sahli@gmail.com javascript:wrote:

 i have in the GUI, a ListGrid and a DynamicForm. When i click on an 
 element in the listGrid, i have to display the values of the edited record 
 on the Dynamic form,
 for this, i use the EditRecord(Record r) of the dynamicForm


 public void updateInstanceDetailTabPane(Record record){

   
  this.editionForm.editRecord(record);

  }


 it works however for the fields of type Date , the values displayed are 
 the date of today and not the reel value of the field.

 My question is where is the problem and how can i display the values of 
 type date with their reel values?

 thank you, 

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to 
 google-we...@googlegroups.comjavascript:
 .
 Visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Problem with the function editRecord in a DynamicForm (SmartGwt)

2013-03-28 Thread Sanjiv Jivan
This functionality works fine even for Date type fields. You can see this
by clicking any row in the grid which calls editRecord(..) on the form.

http://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse

If you're still having problems then post your question on the SmartGWT
forum including a minimal test case :
http://forums.smartclient.com/forumdisplay.php?f=14

Thanks,
Sanjiv



On Mon, Mar 25, 2013 at 5:58 AM, sahli.sabr...@gmail.com wrote:

 i have in the GUI, a ListGrid and a DynamicForm. When i click on an
 element in the listGrid, i have to display the values of the edited record
 on the Dynamic form,
 for this, i use the EditRecord(Record r) of the dynamicForm


 public void updateInstanceDetailTabPane(Record record){
   
   
   this.editionForm.editRecord(record);
   
   }


 it works however for the fields of type Date , the values displayed are
 the date of today and not the reel value of the field.

 My question is where is the problem and how can i display the values of
 type date with their reel values?

 thank you,

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Problem with the function editRecord in a DynamicForm (SmartGwt)

2013-03-25 Thread sahli . sabrina
i have in the GUI, a ListGrid and a DynamicForm. When i click on an element 
in the listGrid, i have to display the values of the edited record on the 
Dynamic form,
for this, i use the EditRecord(Record r) of the dynamicForm


public void updateInstanceDetailTabPane(Record record){
  
 
this.editionForm.editRecord(record);
  
}


it works however for the fields of type Date , the values displayed are the 
date of today and not the reel value of the field.

My question is where is the problem and how can i display the values of 
type date with their reel values?

thank you,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.