hmm. The css links in load-scripts.tagx is:
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}"><!-- required for FF3 and Opera --></link>
<link rel="stylesheet"...
Type: Posts; User: dailer; Keyword(s):
hmm. The css links in load-scripts.tagx is:
<link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}"><!-- required for FF3 and Opera --></link>
<link rel="stylesheet"...
so I found that if I remove the following from the dijit.css
.dijitTextArea[cols] {width: auto;}
it works correctly. However I can't seem to override this css. Not sure how to do that but...
the problem is, to fix it, you need to fix both css "width" and "cols"
Using 1.1.0.RELEASE a text area generated by scaffolding seems to default to cols="20". If I change textarea.tagx to include a "cols" property, it doesn't have any affect:
<form:textarea...
Ended up with two configs which I think ends up being a good way to split an admin app from the consumer facing app. No more worrying about a change to the web context config breaking something roo...
well, I'm not sure how to fix this. I need "<mvc:annotation-driven/>" for roo conversions to work, which creates a AnnotationMethodHandlerAdapter behind the scenes I believe. But I need to wire up my...
this post describes the issue I'm having:
http://forum.springsource.org/showthread.php?t=81238
I just need to figure out how to manually configure the converters.
unfortunately, I can't seem to get my webmvc-config.xml order set up correctly to both use XStream and get the roo converters working.
I'm using 1.1.0.RELEASE
I figured it out. As part of this project, I was also creating an Xstream based REST api. When I added the Xstream OXM config to webmvc-config.xml, I moved this line:
<mvc:annotation-driven/>
...
anyone? There's too much magic between the time the http request is made and my controller is called. Normally I'd expect a PropertyEditor to handle converting a String to an object here, but there...
I have a simple OneToMany relationship between two entities (Licensee has many AppUsers) that I have created web scaffolds for. When I try to save an AppUser with a reference to a Licensee, I get:
...
as a work around, ended up copying those js and css files from the spring jar into my webapp dir.
roo> controller scaffold --entity ~.domain.AppUser --class ~.web.admin.AppUserController --path admin/appusers
Created SRC_MAIN_JAVA/com/webappname/web/admin
Created...
it seems that if I create a controller like so:
controller scaffold --entity ~.domain.AppUser --class ~.web.admin.AppUserController --path admin/appusers
the links in the jsp files are...
I have a basic roo project that and I'm getting 404 errors on the css and js files in scaffolded controllers. These are all pulled in via the load-scripts.tagx:
<spring:url...
am I missing something basic here? It seems like there should be a way to have a standalone jar file that uses spring and have it load an application context, including loading some resources from...
well, I know why it's happening. The javadoc for org.springframework.core.io.ClassPathResource says:
Supports resolution as java.io.File if the class path resource resides in the file system, but...
thanks for the suggestion, but that didn't seem to have any affect.
I have some spring config and a resource in another jar I'm trying to load but it can't find one of the resources.
my-spring.xml contains;
<beans>
<bean id="mySource"...