Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    4,434

    What?

    Surely there's a way to use spring ws with spring 3.0 now. Anyone?
  2. What I was thinking was that you could save the...

    What I was thinking was that you could save the FBO (Form Backing Object) each time the user submits a page (the same way you save the last pageId of the user). When the user re-enters the wizard,...
  3. As your entry action, call a method that forwards...

    As your entry action, call a method that forwards the user to the appropriate page (flow state) based on the pageId you return for that user. You could also save the FBO for each user with each page...
  4. Replies
    5
    Views
    1,300

    > First in SWF 1.5.x if I could put business...

    > First in SWF 1.5.x if I could put business objects in forms command name.

    I'm not sure what you mean by this

    > I make a validate method in model how I know what form I submitted to
    >...
  5. Replies
    3
    Views
    2,399

    The structure of the project looks fine. For the...

    The structure of the project looks fine. For the unit testing of the data access and service without bootstrapping via the webapp, take a look in spring-mock.jar at extending:
    ...
  6. Replies
    5
    Views
    1,300

    In the case of multiple forms, we usually...

    In the case of multiple forms, we usually aggegrate corresponding domain objects into one form backing object to cover all forms. So yeah you have to make the model contain the data from all the...
  7. Replies
    2
    Views
    1,010

    The only way you're going to have a problem with...

    The only way you're going to have a problem with large datasets if if your grid component load all of the data at once. Check out JMesa or displaytag. They both have paging strategies and give you...
  8. Just define two datasources with different names....

    Just define two datasources with different names. Look at the JtaTransactionManager since it can deal with mutliple datasources. This article by Juergen Hoeller gives a lot of specifics:...
  9. Howabout disabling the link after click?

    Howabout disabling the link after click?
  10. Replies
    5
    Views
    969

    Try

    Try



    <c:forEach var="customer" items="${Customers}">
    <c:out value="${customer.street1}"/>
    <c:out value="${customer.street2}"/>
    ...
    </c:foreach>
  11. Replies
    5
    Views
    969

    Why is this not working with a regular List?

    Why is this not working with a regular List?
  12. Replies
    3
    Views
    926

    Can you post a piece of your flow.xml?

    Can you post a piece of your flow.xml?
  13. Replies
    1
    Views
    924

    When you use the spring:bind tag, Spring...

    When you use the spring:bind tag, Spring populates a variable called status with value ("joe" in your case). You can also use ${status.errorMessage} if you want to show errors on a...
  14. what was the solution?

    what was the solution?
  15. Oh yeah that's a better idea. I'm not sure which...

    Oh yeah that's a better idea. I'm not sure which FlowExecutionListener method you'd have to define to get called on a refresh. Maybe loaded or requestSubmitted. Perhaps you could just throw away...
  16. It might be easier said than done but perhaps you...

    It might be easier said than done but perhaps you could plug in your own FlowExecutorImpl and override refresh() - which seems to be called when someone reloads a page
  17. If I understand your question correctly, you want...

    If I understand your question correctly, you want to know how to bind the user's selection to your Form Backing Object so you can retrieve and display the list item.

    See...
  18. Replies
    4
    Views
    1,036

    Look at the suppressValidation() method

    Look at the suppressValidation() method
  19. Replies
    4
    Views
    1,036

    try using method="get" in the JSP on your search...

    try using method="get" in the JSP on your search criteria form
  20. If you're using Java 5, the method singure of...

    If you're using Java 5, the method singure of query is



    query(String sql, ParameterizedRowMapper<T> rm, Object... args)


    The last parameter is a "varargs" (variable length argument lists)...
  21. Replies
    8
    Views
    1,441

    Take a look at the AbstractWizardFormController...

    Take a look at the AbstractWizardFormController which supports mutlipage validation. Your use case is not necessarily a wizard, but you can still take advantage of this feature.
  22. Replies
    8
    Views
    1,441

    Acutally, we get reuse by aggegating our key...

    Acutally, we get reuse by aggegating our key abstractions (domain objects) into our form backing objects. That way every form that has an address simply includes address as a member.

    You could...
  23. Replies
    8
    Views
    1,441

    instead of having two form backing objects why...

    instead of having two form backing objects why don't you make one that aggregates the two? Then you won't have the confusion of two form controllers and their two FBOs on the same page.
  24. Replies
    4
    Views
    1,066

    Could you post some code? I can't quite follow...

    Could you post some code? I can't quite follow your question.
  25. Replies
    1
    Views
    774

    Assuming your FBO looks like this: public...

    Assuming your FBO looks like this:



    public class MyFbo implements Serializable {
    private B b;
    private List<C> cList;
    ...//getters for b and cList
Results 1 to 25 of 63
Page 1 of 3 1 2 3