Search:

Type: Posts; User: lindbird; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    722

    Simple Bean Loading question

    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...
  2. Replies
    3
    Views
    1,005

    Binding Multiple Fields to One Property

    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"...
  3. Replies
    2
    Views
    1,745

    with my jsp showing multiple inputs for submit: ...

    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...
  4. Replies
    1
    Views
    1,327

    Redirecting to custom Exception Controller

    Hello, I am trying to implement a controller which handles all exceptions resolved by a SimpleMappingExceptionResolver:


    <bean id="exceptionResolver"...
  5. Replies
    1
    Views
    745

    Best place to put data for the jsp?

    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...
  6. Replies
    5
    Views
    1,260

    do you want this to happen without a page...

    do you want this to happen without a page refresh? If so, check out dwr:
    http://getahead.ltd.uk/dwr/
  7. Thread: Now what?

    by lindbird
    Replies
    7
    Views
    1,083

    the best way I learned the method call hierarchy...

    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...
  8. Replies
    8
    Views
    2,018

    I agree, we just needed a way to display a large...

    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.
  9. Thread: Now what?

    by lindbird
    Replies
    7
    Views
    1,083

    YIKES!!! I had never actually looked at this...

    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...
  10. Thread: Now what?

    by lindbird
    Replies
    7
    Views
    1,083

    the value for the prop tags is the name of the...

    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"...
  11. Replies
    2
    Views
    909

    I think I understand your question. In your bean...

    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...
  12. Replies
    8
    Views
    2,018

    Okay so the initial feedback I am getting is...

    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...
  13. Replies
    8
    Views
    2,018

    hey, thanks a lot everyone. I will try and get...

    hey, thanks a lot everyone. I will try and get something going and post anything I find.

    Ryan
  14. Replies
    8
    Views
    2,018

    Spring with DWR, AJAX

    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...
  15. Replies
    3
    Views
    1,158

    I know that Apress is coming out with a new book...

    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...
  16. Replies
    5
    Views
    1,638

    this sounds more like a filter or something......

    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.
  17. Replies
    3
    Views
    2,157

    I don't see any spring bind tags... so maybe that...

    I don't see any spring bind tags... so maybe that is your problem:


    <spring&#58;bind path="myCommand.springIsFun">
    <input type="hidden" name="_$&#123;status.expression&#125;">
    <input...
  18. Replies
    4
    Views
    2,107

    ha, thanks for the info I'll check it out and...

    ha, thanks for the info I'll check it out and post back if I find anything
  19. Replies
    4
    Views
    2,107

    thanks for the pointer... it seems like you are...

    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...
  20. Replies
    4
    Views
    2,107

    Binding to Dynamic Lists

    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...
  21. Have you considered sotring this data in the...

    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.
  22. Thread: MVC

    by lindbird
    Replies
    1
    Views
    714

    what sort of assignments do you have to do? I...

    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.
  23. Replies
    7
    Views
    1,293

    I don't know if this might be the problem, but...

    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....
  24. okay, stupid question... I believe I found an...

    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...
  25. Binding to Wrapper Classes without rejecting ""

    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...
Results 1 to 25 of 38
Page 1 of 2 1 2