Thursday, March 28, 2013

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

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.


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.sabrina@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+unsubscribe@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+unsubscribe@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.
 
 

No comments:

Post a Comment