Dynamic indexed field name in validation?

2008-02-07 Thread Hodgins, Grant
I have a dynamic multi line collection of dates with a date converter doing its job perfectly - populating dates or reporting conversion errors by field as it should. What I'm wondering is if it's possible to dynamically reference these fields without providing individually fixed definitions

RE: AjaxTag 1.3 support?

2008-02-04 Thread Hodgins, Grant
://xstream.codehaus.org/ [5] http://struts.apache.org/2.0.11/docs/result-configuration.html regards Jeromy Evans Hodgins, Grant wrote: I was able to get the AjaxTags stuff working (with Tiles2 although I don't think that matters at all). As Dave said, your action should return null since you

RE: AjaxTag 1.3 support?

2008-02-01 Thread Hodgins, Grant
I was able to get the AjaxTags stuff working (with Tiles2 although I don't think that matters at all). As Dave said, your action should return null since you want the action to return XML in the response. Instead, in addition to returning a null result, I simply wrote the xml to the

RE: Struts 2.x: Redirecting input result

2007-12-17 Thread Hodgins, Grant
I believe this is expected behavior. The redirect-action / redirectAction type will lose the context of the initial request since the redirect literally spawns a new request. I've used type=chain to remedy this issue. Perhaps the experts would suggest otherwise. Cheers, Grant -Original

RE: Ajax Call from a html link

2007-10-10 Thread Hodgins, Grant
Not to detract at all from the great JWP project but you can also do this with AjaxTags. The ajax:select tag is described here: http://ajaxtags.sourceforge.net/usage.html I used ajax:select to call an action that returned XML using the handy AjaxXmlBuilder that came with AjaxTags. Cheers, Grant

RE: [S2] ScopedModelDriven issues [newbie]

2007-10-01 Thread Hodgins, Grant
Based on the documentation I didn't think so. The interceptor appears to be correctly persisting the object in the session. It just seems that the model is not being populated on form submission. Is there something obvious I should check to ensure that the model is being properly populated? Is

[S2] - How to populate select box contents from initial selection?

2007-09-24 Thread Hodgins, Grant
Hi, I have two select boxes and I was wondering if anyone has a working example of populating a second select box from the selection of the first using AJAX? Thanks in advance! -Grant Notice Regarding Confidentiality This email, including any and all attachments, (this Email) is