Controller navigation

2009-07-30 Thread mfiandesio

Hi Crux developers,
I am having a look at the framework and it seems great!

I easily integrate my service factory using spring and the declarative
UI system is very intuitive.
I have only a couple of questions for you :

1)Using the valueObject binder i receive an error at compilation time
on field types different from String

The method setDateOfBirth(Date) in the type Profile is not applicable
for the arguments (String)

I have a class called Profile annotated with @ValueObject with
autobinding disabled

@ValueObject(bindWidgetByFieldName=false)
public class Profile implements Serializable{

@ScreenBind(profile.firstName)
private String firstName;
@ScreenBind(profile.lastName)
private String lastName;
@ScreenBind(profile.email)
private String email;
@ScreenBind(profile.homeNumber)
private String homeNumber;
@ScreenBind(profile.mobile)
private String mobileNumber;
@ScreenBind(profile.birthDate)
private Date dateOfBirth;

[getters and setters]
}

Is there anything missing?

2)How do I navigate between screens?

I have a working form with a service invocation : it works fine but i
don't know how to navigate to another screen when onComplete is
called?

Congratulations for your work,
Ciao
Matteo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Controller navigation

2009-07-30 Thread Matteo

Sorry...wrong group.

:)

Anyway,have a look at the Crux Framework...it's a nice piece of code.
Bye

On Jul 30, 1:19 pm, mfiandesio matteo.fiande...@gmail.com wrote:
 Hi Crux developers,
 I am having a look at the framework and it seems great!

 I easily integrate my service factory using spring and the declarative
 UI system is very intuitive.
 I have only a couple of questions for you :

 1)Using the valueObject binder i receive an error at compilation time
 on field types different from String

 The method setDateOfBirth(Date) in the type Profile is not applicable
 for the arguments (String)

 I have a class called Profile annotated with @ValueObject with
 autobinding disabled

 @ValueObject(bindWidgetByFieldName=false)
 public class Profile implements Serializable{

     @ScreenBind(profile.firstName)
     private String firstName;
     @ScreenBind(profile.lastName)
     private String lastName;
     @ScreenBind(profile.email)
     private String email;
     @ScreenBind(profile.homeNumber)
     private String homeNumber;
     @ScreenBind(profile.mobile)
     private String mobileNumber;
     @ScreenBind(profile.birthDate)
     private Date dateOfBirth;

     [getters and setters]

 }

 Is there anything missing?

 2)How do I navigate between screens?

 I have a working form with a service invocation : it works fine but i
 don't know how to navigate to another screen when onComplete is
 called?

 Congratulations for your work,
 Ciao
 Matteo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---