Surely there's a way to use spring ws with spring 3.0 now. Anyone?
Type: Posts; User: sambrodkin; Keyword(s):
Surely there's a way to use spring ws with spring 3.0 now. Anyone?
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,...
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...
> 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
>...
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:
...
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...
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...
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:...
Howabout disabling the link after click?
Try
<c:forEach var="customer" items="${Customers}">
<c:out value="${customer.street1}"/>
<c:out value="${customer.street2}"/>
...
</c:foreach>
Why is this not working with a regular List?
Can you post a piece of your flow.xml?
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...
what was the solution?
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...
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
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...
Look at the suppressValidation() method
try using method="get" in the JSP on your search criteria form
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)...
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.
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...
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.
Could you post some code? I can't quite follow your question.
Assuming your FBO looks like this:
public class MyFbo implements Serializable {
private B b;
private List<C> cList;
...//getters for b and cList