Hello, I'm getting back into Spring after a long hiatus. Just wondering the best way to load a list of objects in my appContext file.
I know I can do this:
<!-- List of Countries -->
<bean...
Type: Posts; User: lindbird; Keyword(s):
Hello, I'm getting back into Spring after a long hiatus. Just wondering the best way to load a list of objects in my appContext file.
I know I can do this:
<!-- List of Countries -->
<bean...
Hello,
I am having trouble binding multiple fields from my jsp to one property.
Here is my situation:
<spring:bind path="inquiryCommand.asOfDate">
<input type="text"...
with my jsp showing multiple inputs for submit:
<input type="Submit" name="Add" value="<spring:message code="form.add"/>">
<input type="Submit" name="Remove" value="<spring:message...
Hello, I am trying to implement a controller which handles all exceptions resolved by a SimpleMappingExceptionResolver:
<bean id="exceptionResolver"...
Hello, I am curious as to what you all think about this. I am having trouble deciding where to put read-only data that the jsp needs. Let me explain:
- When we are creating a form with fields...
do you want this to happen without a page refresh? If so, check out dwr:
http://getahead.ltd.uk/dwr/
the best way I learned the method call hierarchy was to slap a debugger on to my app and attach the spring source.
The way to pass data from one controller to the other is usually sending the data...
I agree, we just needed a way to display a large table of editable rows and didn't want the page to reload on every save.
YIKES!!!
I had never actually looked at this tutorial and it seems like there are some problems:
String now = (new java.util.Date()).toString();
logger.info("returning from PriceIncreaseForm...
the value for the prop tags is the name of the bean you what to handle a request to a url(which is represented as the key)
<bean id="urlMapping"...
I think I understand your question. In your bean declaration for the controller, you specify a value for the view:
<bean id="myController" class="org.....MyController">
...
<property...
Okay so the initial feedback I am getting is great. I am pretty impressed with the ease of integration between dwr and spring. The dwr web site has a lot of simple examples to get you started and...
hey, thanks a lot everyone. I will try and get something going and post anything I find.
Ryan
Anyone created any pages using DWR with Spring. I am going to start a part of my app which needs AJAX and am considering using going this route. I have found and introduction by Bram Smeets (one of...
I know that Apress is coming out with a new book dedicated to spring and the web. Check out their site http://apress.com/book/bookDisplay.html?bID=10048
Maybe this book's scope will do better for...
this sounds more like a filter or something... but if you wanted to use Spring, you could extend Dispatcher servlet and do some checking in that.
I don't see any spring bind tags... so maybe that is your problem:
<spring:bind path="myCommand.springIsFun">
<input type="hidden" name="_${status.expression}">
<input...
ha, thanks for the info I'll check it out and post back if I find anything
thanks for the pointer... it seems like you are all over this message board, which is Awesome! I like your example, but I am having trouble understanding is how I could adapt that solution to this...
Hello everyone, I have been looking through the forums and been unable to find simple solution to my problem (maybe there is none). I have a table of inputs for the user. Each row consists of 3...
Have you considered sotring this data in the command? This is the natural place to keep your data. You would be able to store any type of array then.
what sort of assignments do you have to do? I would assume that once the page has been rendered you would put a javascript statement in to take care of your processing.
I don't know if this might be the problem, but there is a know bug in 6.0 that does not include taglibs declarations correctly. I found this out after a good while of having my pages fail to render....
okay, stupid question... I believe I found an answer in the API where when a CustomNumberEditor is created, you pass it the class to bind and whether or not to allow empty values. so in my...
Hello, just a quick question about binding. I am creating a search page which takes in a product number which I am storing as a Long object. I don't want to make the user always type in the product...