Grails-ui + Grails 1.2 snapshot / M3

View: New views
4 Messages — Rating Filter:   Alert me  

Grails-ui + Grails 1.2 snapshot / M3

by bald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To Matthew mostly.
I am testing the latest version and this are some problems:

Datepicker
In my project I am having problems with dates, can not be binded, request have the correct value on my locale (f.e. "01/01/09" ).
Neither did in a test project with the a scaffolded controller:

def albumInstance = new Album(params)


org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'Album' on field 'released': rejected value [null]; codes [typeMismatch.Album.released,typeMismatch.released,typeMismatch.java.util.Date,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [Album.released,released]; arguments []; default message [released]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'released'; nested exception is java.lang.IllegalArgumentException: Could not parse date: Unparseable date: "01/01/09"]

And two observations:
Why there isn't anymore the buttons in the calendar to move to prev/next month?
Should I open a JIRA to request a button to close the calendar? I remember to do not accomplished successfully supplying YUI options/configuration directly in the gsp.

Resources
Being this line generated:
<script type="text/javascript" src="/testgui-date/plugins/grails-ui-1.1/js/grailsui/grailsui.js" ></script>

Tomcat can't find it. I have to copy the folders 'js', 'images' and 'css' of the plugin to:
$PROJECT_DIR/web-app/plugins/grails-ui-1.1/

I used grails-ui 1.1 and 1.1.1, grails 31/10/09 snapshot

Thanks

 

Re: Grails-ui + Grails 1.2 snapshot / M3

by Matt Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would like to see these.  Can you run "grails bug-report" and attach them to a JIRA?

Thanks,
---
Matthew Taylor
http://dangertree.net


On Mon, Nov 2, 2009 at 3:49 AM, bald <destrozao@...> wrote:

To Matthew mostly.
I am testing the latest version and this are some problems:

Datepicker
In my project I am having problems with dates, can not be binded, request
have the correct value on my locale (f.e. "01/01/09" ).
Neither did in a test project with the a scaffolded controller:

def albumInstance = new Album(params)


org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'Album' on field 'released': rejected value [null];
codes
[typeMismatch.Album.released,typeMismatch.released,typeMismatch.java.util.Date,typeMismatch];
arguments
[org.springframework.context.support.DefaultMessageSourceResolvable: codes
[Album.released,released]; arguments []; default message [released]];
default message [Failed to convert property value of type 'java.lang.String'
to required type 'java.util.Date' for property 'released'; nested exception
is java.lang.IllegalArgumentException: Could not parse date: Unparseable
date: "01/01/09"]

And two observations:
Why there isn't anymore the buttons in the calendar to move to prev/next
month?
Should I open a JIRA to request a button to close the calendar? I remember
to do not accomplished successfully supplying YUI options/configuration
directly in the gsp.

Resources
Being this line generated:
<script type="text/javascript"
src="/testgui-date/plugins/grails-ui-1.1/js/grailsui/grailsui.js" ></script>

Tomcat can't find it. I have to copy the folders 'js', 'images' and 'css' of
the plugin to:
$PROJECT_DIR/web-app/plugins/grails-ui-1.1/

I used grails-ui 1.1 and 1.1.1, grails 31/10/09 snapshot

Thanks


--
View this message in context: http://old.nabble.com/Grails-ui-%2B-Grails-1.2-snapshot---M3-tp26156649p26156649.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Parent Message unknown Re: Grails-ui + Grails 1.2 snapshot / M3

by bald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message





The problem with resources appears only in 1.2-SNAPSHOT.

David




---------- Forwarded message ----------
From: Matthew Taylor <rhyolight@...>
Date: 2009/11/2
Subject: Re: [grails-user] Grails-ui + Grails 1.2 snapshot / M3
To: user@...


I would like to see these.  Can you run "grails bug-report" and attach them to a JIRA?

Thanks,
---
Matthew Taylor
http://dangertree.net



On Mon, Nov 2, 2009 at 3:49 AM, bald <destrozao@...> wrote:

To Matthew mostly.
I am testing the latest version and this are some problems:

Datepicker
In my project I am having problems with dates, can not be binded, request
have the correct value on my locale (f.e. "01/01/09" ).
Neither did in a test project with the a scaffolded controller:

def albumInstance = new Album(params)


org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'Album' on field 'released': rejected value [null];
codes
[typeMismatch.Album.released,typeMismatch.released,typeMismatch.java.util.Date,typeMismatch];
arguments
[org.springframework.context.support.DefaultMessageSourceResolvable: codes
[Album.released,released]; arguments []; default message [released]];
default message [Failed to convert property value of type 'java.lang.String'
to required type 'java.util.Date' for property 'released'; nested exception
is java.lang.IllegalArgumentException: Could not parse date: Unparseable
date: "01/01/09"]

And two observations:
Why there isn't anymore the buttons in the calendar to move to prev/next
month?
Should I open a JIRA to request a button to close the calendar? I remember
to do not accomplished successfully supplying YUI options/configuration
directly in the gsp.

Resources
Being this line generated:
<script type="text/javascript"
src="/testgui-date/plugins/grails-ui-1.1/js/grailsui/grailsui.js" ></script>

Tomcat can't find it. I have to copy the folders 'js', 'images' and 'css' of
the plugin to:
$PROJECT_DIR/web-app/plugins/grails-ui-1.1/

I used grails-ui 1.1 and 1.1.1, grails 31/10/09 snapshot

Thanks


--
View this message in context: http://old.nabble.com/Grails-ui-%2B-Grails-1.2-snapshot---M3-tp26156649p26156649.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email







Re: Grails-ui + Grails 1.2 snapshot / M3

by Matt Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you.
---
Matthew Taylor
http://dangertree.net


On Mon, Nov 2, 2009 at 3:28 PM, David <destrozao@...> wrote:




The problem with resources appears only in 1.2-SNAPSHOT.

David




---------- Forwarded message ----------
From: Matthew Taylor <rhyolight@...>
Date: 2009/11/2
Subject: Re: [grails-user] Grails-ui + Grails 1.2 snapshot / M3
To: user@...


I would like to see these.  Can you run "grails bug-report" and attach them to a JIRA?

Thanks,
---
Matthew Taylor
http://dangertree.net



On Mon, Nov 2, 2009 at 3:49 AM, bald <destrozao@...> wrote:

To Matthew mostly.
I am testing the latest version and this are some problems:

Datepicker
In my project I am having problems with dates, can not be binded, request
have the correct value on my locale (f.e. "01/01/09" ).
Neither did in a test project with the a scaffolded controller:

def albumInstance = new Album(params)


org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'Album' on field 'released': rejected value [null];
codes
[typeMismatch.Album.released,typeMismatch.released,typeMismatch.java.util.Date,typeMismatch];
arguments
[org.springframework.context.support.DefaultMessageSourceResolvable: codes
[Album.released,released]; arguments []; default message [released]];
default message [Failed to convert property value of type 'java.lang.String'
to required type 'java.util.Date' for property 'released'; nested exception
is java.lang.IllegalArgumentException: Could not parse date: Unparseable
date: "01/01/09"]

And two observations:
Why there isn't anymore the buttons in the calendar to move to prev/next
month?
Should I open a JIRA to request a button to close the calendar? I remember
to do not accomplished successfully supplying YUI options/configuration
directly in the gsp.

Resources
Being this line generated:
<script type="text/javascript"
src="/testgui-date/plugins/grails-ui-1.1/js/grailsui/grailsui.js" ></script>

Tomcat can't find it. I have to copy the folders 'js', 'images' and 'css' of
the plugin to:
$PROJECT_DIR/web-app/plugins/grails-ui-1.1/

I used grails-ui 1.1 and 1.1.1, grails 31/10/09 snapshot

Thanks


--
View this message in context: http://old.nabble.com/Grails-ui-%2B-Grails-1.2-snapshot---M3-tp26156649p26156649.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email