Struts and DOM2 question.

2006-10-16 Thread Simon Chung
Hi guys, I am trying out on how to dynamically add a struts HTML tag to a HTML page by using javascript. I manage to get it running with normal HTML but I am having some difficulties in using struts. Below are my code in HTML (it spawn a new textbox for me): function addContact(){

RE: Struts and DOM2 question.

2006-10-16 Thread Amit Kumar Singh \(C\)
Hi Simon, As I had faced this issue some times back and the conclusion is that the struts html:text is not supported by DOM. You can use simple HTML's text instead of it. Not sure if this bug has been fixed. Thanks, Amit -Original Message- From: Simon Chung [mailto:[EMAIL

RE: Struts and DOM2 question.

2006-10-16 Thread Dave Newton
As I had faced this issue some times back and the conclusion is that the struts html:text is not supported by DOM. You can use simple HTML's text instead of it. Not sure if this bug has been fixed. This isn't a bug. How would a browser know about Struts? Please move to struts-user for

Re: [tiles2] Classpath Configuration

2006-10-16 Thread Antonio Petrelli
Greg Reddin ha scritto: I looked briefly at the patch and I have no opposition to it. I originally didn't like the fact that it excluded Locale as a first class citizen when determining which definition to return. I'm still not real excited about that part. I think locale-based definitions

Re: [tiles2] Classpath Configuration

2006-10-16 Thread David H. DeWolf
Great! Thanks . . . Once you commit, I'll refactor the classpath loading support that I've been working on to leverage your changes and upload a patch for your review. David Antonio Petrelli wrote: Greg Reddin ha scritto: I looked briefly at the patch and I have no opposition to it. I

Re: [tiles2] Classpath Configuration

2006-10-16 Thread Antonio Petrelli
David H. DeWolf ha scritto: Great! Thanks . . . Once you commit, I'll refactor the classpath loading support that I've been working on to leverage your changes and upload a patch for your review. Uh wait please! I think you need also this fixed: http://issues.apache.org/struts/browse/SB-44

Re: [tiles2] Classpath Configuration

2006-10-16 Thread David H. DeWolf
Doh! That's the one I was thinking about. . . Not sure what your status is on it, but I may be able to provide a patch for it sometime today. . . David Otherwise, I can adapt to whatever you Antonio Petrelli wrote: David H. DeWolf ha scritto: Great! Thanks . . . Once you commit, I'll

Re: [tiles2] Classpath Configuration

2006-10-16 Thread Antonio Petrelli
David H. DeWolf ha scritto: Doh! That's the one I was thinking about. . . Not sure what your status is on it, but I may be able to provide a patch for it sometime today. . . Really? That's great! I removed the assignment to me for the moment, so maybe someone else can apply your patch.

Re: [s2] xwork docs

2006-10-16 Thread James Mitchell
I don't remember if I have a login on that wiki, can someone check? -- James Mitchell 678.910.8017 On Oct 14, 2006, at 6:40 AM, tm jee wrote: Hi Guys, I've got the xwork2 docs mostly filled up i guess, except for a few more pages. I'll need extra pairs of eyes to help going through

JXP Template support?

2006-10-16 Thread Patrick Lightbody
Take a look at JXP: http://jxp.sourceforge.net/ This might be very close to the template language I have been looking for that is JSP-like, but has the advantages that FreeMarker and Velocity provide in that it can be loaded from the classpath. I've wanted to select something like this as the

Re: JXP Template support?

2006-10-16 Thread Philip Luppens
Take a look at JXP: http://jxp.sourceforge.net/ This might be very close to the template language I have been looking for that is JSP-like, but has the advantages that FreeMarker and Velocity provide in that it can be loaded from the classpath. I've wanted to select something like this as

Re: JXP Template support?

2006-10-16 Thread Ted Husted
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: I'd only vote for it if a) it indeed proves to be (significally) faster than Freemarker and b) if we can't fix the caching problem in Freemarker. And if jxp is willing to change the license. * http://jxp.sourceforge.net/license.html The

Re: JXP Template support?

2006-10-16 Thread Ted Husted
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching problem: * http://article.gmane.org/gmane.comp.web.freemarker.user/2555/match=freemarker+performance+ww Do we have a JIRA ticket open for the problem?

Re: JXP Template support?

2006-10-16 Thread Philip Luppens
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching problem: * http://article.gmane.org/gmane.comp.web.freemarker.use r/2555/match=freemarker+performance+ww Yes, that's the one. There were a

Re: [s2] xwork docs

2006-10-16 Thread tm jee
Hi James, I think you'll need 'xwork-developers' to edit the pages. I don't have the access to add user as 'xwork-developer', but I could see if Pat or Phil could give you that role. What's your id? rgds James Mitchell [EMAIL PROTECTED] wrote: I don't remember if I have a login on that

Re: [s2] xwork docs

2006-10-16 Thread Rainer Hermanns
James, I could not find a user matching any of your userinfo. So I think you need to register first. As soon as you are registered, I can give you wiki write access. hth, Rainer I don't remember if I have a login on that wiki, can someone check? -- James Mitchell 678.910.8017 On Oct

Re: JXP Template support?

2006-10-16 Thread tm jee
Hi guys, I've go ahead and created an issue in Struts2 jira. https://issues.apache.org/struts/browse/WW-1473 rgds Philip Luppens [EMAIL PROTECTED] wrote: On 10/16/06, Philip Luppens wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching

Re: Struts2 - FATAL ERROR while running mvn install

2006-10-16 Thread Ted Husted
Me too. Evidentally, I managed to break something in the Maven build whilst running the Struts 2.0.1 distribution. I'll forward this to [EMAIL PROTECTED] In the meantime, you should be able to reference Struts 2.0.1 development build from your POM, if the snapshot repostiory is referenced.

RE: Struts2 - FATAL ERROR while running mvn install

2006-10-16 Thread Arevalo, Cesar \(GE Comm Fin, non-ge\)
Let me try that and check if it works. Thanks Ted Cesar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Husted Sent: Monday, October 16, 2006 9:24 AM To: Struts Developers List Cc: Struts Users Mailing List Subject: Re: Struts2 - FATAL ERROR while

[OT] OOPSLA?

2006-10-16 Thread Dave Newton
Anybody else going? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2 - FATAL ERROR while running mvn install

2006-10-16 Thread Don Brown
This issue is expected. The problem, as I see it, is you are trying to build the latest 'core' trunk, but you don't have its dependency, the struts2-parent POM version 2.0.2-SNAPSHOT, in your repository. To fix this, run 'mvn -N install' from the struts2/ directory, which will install the

[S2] Action Injection and ExecuteResult=true

2006-10-16 Thread Ted Husted
If we are injecting Action classes via Spring, bean id=actions.StoryTypeIdList class=actions.ServiceAction singleton=false/ should that work when we call an Action from an action tag using executeResult=true. [EMAIL PROTECTED] name=StoryTypeIdList executeResult=true/] I'm

Re: [S2] Action Injection and ExecuteResult=true

2006-10-16 Thread Alexandru Popescu
On 10/16/06, Ted Husted [EMAIL PROTECTED] wrote: If we are injecting Action classes via Spring, bean id=actions.StoryTypeIdList class=actions.ServiceAction singleton=false/ should that work when we call an Action from an action tag using executeResult=true. [EMAIL PROTECTED]

Re: Struts2 - FATAL ERROR while running mvn install

2006-10-16 Thread David H. DeWolf
Are you sure it's not just a matter of updating the parent pom's version? Currently it's still set back to 2.0.1. I think it should be 2.0.2-SNAPSHOT in the trunk. Once that's corrected, maven's built-in hierarchy and dependency resolution will make the build work out of the box. David

Re: Struts2 - FATAL ERROR while running mvn install

2006-10-16 Thread Don Brown
Ah, you are right - looks like a couple poms weren't changed to 2.0.2-SNAPSHOT. Fixed. Don David H. DeWolf wrote: Are you sure it's not just a matter of updating the parent pom's version? Currently it's still set back to 2.0.1. I think it should be 2.0.2-SNAPSHOT in the trunk. Once

Re: [S2] Action Injection and ExecuteResult=true

2006-10-16 Thread Ted Husted
On 10/16/06, Alexandru Popescu [EMAIL PROTECTED] wrote: I would expect it to work whatever the executeResult is. Curiouser and curiouser. Stepping through, I notice that the prepare method is being invoked, but not execute ... and yet the result page is returned. -T.

Re: [S2] Action Injection and ExecuteResult=true

2006-10-16 Thread tm jee
Hi Ted, Shouldn't it be [EMAIL PROTECTED] name=actions.StoryTypeIdList executeResult=true/] or did i miss something. rgds Ted Husted [EMAIL PROTECTED] wrote: If we are injecting Action classes via Spring, singleton=false/ should that work when we call an Action from an action tag

Re: svn commit: r464770 - in /struts/maven/trunk/struts-archetype-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml

2006-10-16 Thread Wendy Smoak
On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jmitchell Date: Mon Oct 16 19:18:34 2006 New Revision: 464770 URL: http://svn.apache.org/viewvc?view=revrev=464770 Log: STR-2899 Update README to show how to run via Jetty plugin, added Jetty config, moved version to

Re: svn commit: r464770 - in /struts/maven/trunk/struts-archetype-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml

2006-10-16 Thread Martin Cooper
On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jmitchell Date: Mon Oct 16 19:18:34 2006 New Revision: 464770 URL: http://svn.apache.org/viewvc?view=revrev=464770 Log: STR-2899 Update README to show how to run via Jetty

Re: svn commit: r464770 - in /struts/maven/trunk/struts-archetype-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml

2006-10-16 Thread Martin Cooper
On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/16/06, Martin Cooper [EMAIL PROTECTED] wrote: On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: Not volunteering, but... it would be nice to release this as 1.3.5. You mean 1.3.6, right? 1.3.5 has been released already, so it cannot

Re: svn commit: r464770 - in /struts/maven/trunk/struts-archetype-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml

2006-10-16 Thread James Mitchell
Done -- James Mitchell 678.910.8017 On Oct 16, 2006, at 10:41 PM, Martin Cooper wrote: On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/16/06, Martin Cooper [EMAIL PROTECTED] wrote: On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote: Not volunteering, but... it would be nice to

Re: [jira] Commented: (STR-2915) FileUpload of corrupt XML file results in Connection Reset / ActionServlet

2006-10-16 Thread James Mitchell
So, should I leave it alone or open it, then reclose? -- James Mitchell 678.910.8017 On Oct 16, 2006, at 9:47 PM, Wendy Smoak (JIRA) wrote: [ http://issues.apache.org/struts/browse/STR-2915? page=comments#action_38415 ] Wendy Smoak commented on STR-2915:

Re: svn commit: r464770 - in /struts/maven/trunk/struts-archetype-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml

2006-10-16 Thread Wendy Smoak
On 10/16/06, Martin Cooper [EMAIL PROTECTED] wrote: Ah. And we don't have a 1.3.5 archetype at all right now? I assume that's what you're saying, in which case I agree that we should have one. ;-) Exactly. It would be a nice introduction to release management for someone... only one jar to

Re: JXP Template support?

2006-10-16 Thread Martin Cooper
On 10/16/06, Patrick Lightbody [EMAIL PROTECTED] wrote: Take a look at JXP: http://jxp.sourceforge.net/ This might be very close to the template language I have been looking for that is JSP-like, but has the advantages that FreeMarker and Velocity provide in that it can be loaded from the

Re: JXP Template support?

2006-10-16 Thread James Mitchell
Wow, when it rains, it pours ;) -- James Mitchell 678.910.8017 On Oct 16, 2006, at 11:13 PM, Martin Cooper wrote: On 10/16/06, Patrick Lightbody [EMAIL PROTECTED] wrote: Take a look at JXP: http://jxp.sourceforge.net/ This might be very close to the template language I have been

Re: [s2] xwork docs

2006-10-16 Thread James Mitchell
I just signed up as jmitchell. -- James Mitchell 678.910.8017 On Oct 16, 2006, at 11:37 AM, Rainer Hermanns wrote: James, I could not find a user matching any of your userinfo. So I think you need to register first. As soon as you are registered, I can give you wiki write access. hth,