Re: Trouble calling action methods from FreeMarker

2009-11-10 Thread Christopher Maloof
Oh, that's much nicer! Yes, using the "action" built-in variable works perfectly. Thank you very much - Chris On 11/10/2009 12:53 PM, Musachy Barroso wrote: can you try "${action.someMethod()} ? I think that should work musachy On Tue, Nov 10, 2009 at 9:46 AM, Christ

Re: Trouble calling action methods from FreeMarker

2009-11-10 Thread Christopher Maloof
tp://markmail.org/message/jjkic23knjk5tnpx. Best, Chris On 11/10/2009 11:20 AM, Haroon Rafique wrote: Hi Chris, See reply embedded below... On Today at 10:32am, CM=>Christopher Maloof wrote: CM> I guess no one recognizes the problem. Next question: Has anyone CM> gotten th

Re: Trouble calling action methods from FreeMarker

2009-11-10 Thread Christopher Maloof
:13 AM, Christopher Maloof wrote: I'm just starting to use FreeMarker (2.3.15) with Struts 2.1.8. It mostly works fine: my templates are retrieving bean information with no problem. However, I can't figure out how to call methods defined in my action classes. If my action class looks

Trouble calling action methods from FreeMarker

2009-11-09 Thread Christopher Maloof
I'm just starting to use FreeMarker (2.3.15) with Struts 2.1.8. It mostly works fine: my templates are retrieving bean information with no problem. However, I can't figure out how to call methods defined in my action classes. If my action class looks like this: public class MyAction extends

checkboxlist initial selection

2009-06-15 Thread Christopher Maloof
I'm confused by the documentation for checkboxlist (http://struts.apache.org/2.1.6/docs/checkboxlist.html). I want to set three things for each checkbox in the list: 1) The label seen by the user 2) The "value" attribute to be posted to the form 3) Whether it's initially checked By analogy wit

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Solved; it turns out that the tags in the form were somehow causing this problem. Chris On 2/2/2009 11:06 AM, Christopher Maloof wrote: Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the in

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
and they get cleared, is there any javascript error on the page? musachy On Mon, Feb 2, 2009 at 11:06 AM, Christopher Maloof wrote: Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fi

clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fields and errors don't clear after a submission. (Ideally, errors should always clear, and input fields should clear if validation succeeds.) The er