Hi,
I use Tiles2.1 + SWF + jQuery.
There is AjaxHandler which defines is request ajax or not. The only implementation is SpringJavascriptAjaxHandler uses request header or parameter to define....
Type: Posts; User: _ado; Keyword(s):
Hi,
I use Tiles2.1 + SWF + jQuery.
There is AjaxHandler which defines is request ajax or not. The only implementation is SpringJavascriptAjaxHandler uses request header or parameter to define....
First of all which controller did you extend? Command of Form controller?
Do you use Spring Web Flows? which version?
Here you can read about conversion.
Also here is example from my app
Custom converter. It gets Role object from db by id and returns it as new value (see toObject() method)
@Component...
Here is my solution, it works with all Collection implementations
public class CollectionIterator implements Iterator<Object>, Serializable {
private static final long serialVersionUID =...
For custom object binding you have to implement Converter (see org.springframework.binding.convert.converters.Converter). Using this interface you can parse string and create your objects. But if you...
There is one problem with iterator, it doesn't implement Serializable interface. So I can't put it in flow or view scope.
I don't know about 1.0.6. But for 2.0.6 it's very simple task. You should create method with name like validate<View state id> in your command object or in validator.
public class MyCommand {...
There is simple solution for for primitive type and Strings
HTML form
<form>
<input type="text" name="vals">
<input type="text" name="vals">
<input type="text" name="vals">
<input...
It looks like you should use exact parameter names when. Here is method from org.springframework.webflow.mvc.view.AbstractMvcView class:
private void addModelBindings(DefaultMapper mapper,...
Hi everyone,
I need to write a wizard to edit a set of identical objects. Each object is edited on a separate page. The question is how to iterate over collection. The only way I found is use...