Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Guillaume Carré
2007/3/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Seems you cannot have a tag in a tag because the generated HTML is not well-formed. Have you tried ...? With the simple theme, you're in control of the generated HTML, it doesn't generate tables. -- Guillaume Carré --

Print property of a property using bean:write?

2007-03-11 Thread David Alves
Hi all, I have a User object which has a Country object attached to it, representing the country that the user is from. If I do then I get the output of Country.toString(). However, say I want to call one of the other methods in country, like population. Is there an elegant way to do this?

[ANNOUNCE] Struts 1.3.8 GA release available

2007-03-11 Thread Paul Benedict
The Apache Struts team is pleased to announce that Struts 1.3.8 has been promoted to General Availability. This release has over 40 bug fixes and improvements since 1.3.5! New Features: [Action ID] New "actionId" attribute to uniquely identify action mappings within a module. Just as the Tiles

Session values getting lost

2007-03-11 Thread Dilip Ladhani
Hello, I have this wierd problem, I have spent a few hours debugging. I am on tomcat 5.5 struts 1.29. I was using tomcat 5.0.x and struts 1.3.5 earlier and all seemed well. I switch and encounter this strange problem. My home jsp is a simple page, where I invalidate the session, create new and

RE: [s1] handle exception in processPopulate?

2007-03-11 Thread Strachan, Paul
I resolved this myself by simply overriding the set(String, Object) method in my form, to ignore certain request parameter names that are not of type String in my LazyValidatorForm. From: Strachan, Paul Sent: Saturday, 10 March 2007 4:51 PM To: user@struts.apa

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread stanlick
You rock! Yeah, the advice was "look for the Freemarker template with the same name as your tag and simply change it to generate well-formed HTML". In all fairness, tomorrow I'll post the trivial web page that is failing. I think the reason the page does not render correctly is due to the TABLE

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Am I confused or is this support spotty at best. You are confused. Do you have a specific issue or question or just general complaints? We can't really help with those, and if you don't present any information regarding actual issues I'm not really sure what you exp

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread stanlick
Actually it appears the tag was whackily generated, not the form. Do I use the AJAX theme or not? If I don't, do I not get the dojo support? I am simply confused about the expectations. On 3/11/07, Ian Roughley <[EMAIL PROTECTED]> wrote: No - what I said was that I would be surprised if the

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread stanlick
This is awesome! I like S2 and I like AJAX. I read about how the S2 make AJAX easy. Just use the AJAX theme and dojo is masked so things work easily. I also read the docs carefully to discover that you must also use the tag to get the AJAX support to work as designed. I tried a simple examp

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Mark Menard
On 3/11/07 2:49 PM, "Ian Roughley" <[EMAIL PROTECTED]> wrote: > No - what I said was that I would be surprised if the s2 tag > DOES NOT generate a HTML tag. This was in response to your > comment "Also, is counter-intuitive for html users that a > actually renders a table, instead of simply re

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Adam Ruggles
if you are using a tag with the default theme a form tag is rendered. Inside of that form tag is a table tag. If all you want is a simple tag then use the simple theme. Ian Roughley wrote: No - what I said was that I would be surprised if the s2 tag DOES NOT generate a HTML tag. This wa

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Ian Roughley
No - what I said was that I would be surprised if the s2 tag DOES NOT generate a HTML tag. This was in response to your comment "Also, is counter-intuitive for html users that a actually renders a table, instead of simply render a tag" - which implies that no HTML tag is generated for the

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
On 3/11/07 1:20 PM, "Dave Newton" <[EMAIL PROTECTED]> wrote: > --- Mark Menard <[EMAIL PROTECTED]> wrote: >> [GroovyWorks] > > Oops, also wanted to ask [OT] about mixing Groovy/Java > actions; I'm assuming that it only does something > special if it's a .groovy action and does normal > Spring stu

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
On 3/11/07 1:17 PM, "Dave Newton" <[EMAIL PROTECTED]> wrote: > --- Mark Menard <[EMAIL PROTECTED]> wrote: >> Take a look: http://www.vitarara.org/cms/groovyworks > > Is this primarily a classloader for Groovy actions so > you don't need to define them in an applicationContext > config? Yes, beca

Re: Need more comprehensive AJAX Implementation Instructions

2007-03-11 Thread Ted Husted
On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Greetings -- Is there a document that explains the interaction and design expectations when using AJAX/Dojo/S2? As I understand it, the original goal was to make using the tags as transparent as possible. For more ambitious uses of AJAX,

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Dave Newton
--- Mark Menard <[EMAIL PROTECTED]> wrote: > [GroovyWorks] Oops, also wanted to ask [OT] about mixing Groovy/Java actions; I'm assuming that it only does something special if it's a .groovy action and does normal Spring stuff otherwise? Thanks, d.

Re: [s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Dave Newton
--- Mark Menard <[EMAIL PROTECTED]> wrote: > Take a look: http://www.vitarara.org/cms/groovyworks Is this primarily a classloader for Groovy actions so you don't need to define them in an applicationContext config? d. __

[s2] Struts 2 and Groovy: Groovy Works

2007-03-11 Thread Mark Menard
I have made a lot of progress this weekend on getting Groovy actions working with Spring's scripting support. The Spring guys have resolved a great number of issues with the scripting support in Spring 2.0.3. My goals have been to allow a development style that uses Groovy, and the scripting suppo