In the Live Update demo, live update doesn't work.
Yes, I'm using the live update run config and see the expected prompts.
BTW, this is
Version: 2.6.1.RELEASE
Build Id: 201105041000
Type: Posts; User: flawlor; Keyword(s):
In the Live Update demo, live update doesn't work.
Yes, I'm using the live update run config and see the expected prompts.
BTW, this is
Version: 2.6.1.RELEASE
Build Id: 201105041000
In the 4th step of the tutorial, it ends by saying to run the configuration.
When I do this, the tutorial directions revert back to the main workspace, but the run dialog remains open. Only when...
In the second step of the OSGi Tutorial, Workspace Setup, the perfom action opens the preferences dialog where the target platform can be specified.
When I decided to go back to look at this, I...
I'm just starting the OSGi tutorial and the Workspace Setup (step 2) has an error.
It says to select the "Srpring Synamic Modules for OSGi Service Platforms" at the bottom, but this is not how it...
I was running the task-Focused Tutorial on Integration Testing with JUnit 4 and was on the "Trannsactions" step.
I added the Navigator view and suddenly the ClinicDatabaseTests class which I was...
In one of my controllers I was using errors.rejectValue(...) to return an error to the submitted page. This was working fine.
Suddenly I am now getting a blank page.
The controller does the...
Validation is supposed to be one of the prime features of this class.
Is there no one out there who can answer this basic question?
I've read thru the examples and posts on this, but for some reason I cannot get any errors returned to my JSP using AbstractCommandController.
I have a controller based on BaseFormController and...
Interesting. I never heard of JODA before.
I'll definitely give it a try next time I have any real date handling to do.
Now if someone will clean up JDBC. Each version of that spec has gone...
I posted this last week, but it didn't seem to make it.
Reading the API doc it seems that CustomDateEditor only handles java.util.date. Unfortunately the binder just throws a rather misleading...
Did this solve your problem?
If not, just a couple of thoughts.
"List.class" might fail because List is abstract.
If your list doesn't have a property called propertry it will fail.
If...
I don't know what your problem is, but when I have this kind of problem I drop back to a simple example and work my way up. Simplify your popup to "hello world" and see if that works.
You haven't provided enough information about the controllers and forms you are using to understand what is going on, but I suspect you do not have the jsps, controllers and forms they use all...
Are you getting any other errors before this one?
I've seen this error a couple of times. The last one was when I had a date on my web page and the binder had problems mapping it to the date...
When you say "If it is necessary to keep it alive to the next request it's put back into the session" how do I indicate that this should happen?
I tried putting the command object in the session...
I tried several date formats to verify that it is acturally using my format and both the util.date and the sql.date are formatted properly. However, on input, only the sql.date has a problem. They...
I have a need to keep an object in the session. I set the sessionForm property to true in the controller bean def in action-servlet.xml:
<bean id="treatmentController"...
Fantastic! That did the trick. My date is now getting formatted properly on display.
Perhaps you can help resolve two related issues.
1) If I change the date type to java.sql.date it is...
jonnio,
Thanks for all the information.
The exception I mentioned is just the binding exception on submit - which is totally expected given the wrong date format.
The problem, as you...
jonnio,
Thanks for replying, but I don't understand what your statement "your editor must not be bound to the 'errors' collection if the <form:input isn't working." means.
I'm not sure what...
I also noticed that if I use java.util.date the suggestion by dr_pompeii works, but if I change all the types to java.sql.date it doesn't work (java.lang.IllegalArgumentException: No matching editors...
I tried the suggestion by dr_pompeii and that works. Thanks.
I also tried the suggestion by Jörg Heinicke with just
A Date: <form:input path='myDate'/>
in the JSP.
The date comes up...
I'm trying to input a date using an html text field and having trouble getting this set up right in Spring. I've spend the last several hours looking for documentation (no luck finding anything) and...
I figureed out how to do this. Just do something like:
<form:form name='foo' ... >
<script type="text/javascript">
document.forms['foo'].setAttribute('theName', 'theValue');
</script>
I want to use the TMT Validator package, but the directions say to add the attribute tmt:validate="true" to the form tag. However, if I add it to the form:form tag the jsp compiler complains that...