Re: (FRIDAY) Struts in Action Live

2009-04-03 Thread Chris Pratt
OK, that's the coolest thing I've seen in a long time. Thanks for the pointer. (*Chris*) On Fri, Apr 3, 2009 at 5:57 PM, Ted Husted wrote: > Hey, I posted a blog the other day about Gliffy, which I use all the > time now. Turns out, it's based on Struts! A great example of "what > goes around

(FRIDAY) Struts in Action Live

2009-04-03 Thread Ted Husted
Hey, I posted a blog the other day about Gliffy, which I use all the time now. Turns out, it's based on Struts! A great example of "what goes around comes around" ... but in a good way. * http://tedhusted.blogspot.com/2009_03_01_archive.html Keep the faith, Ted. http://twitter.com/tedhusted

Re: Creating a grid component in Struts 2

2009-04-03 Thread stanlick
Take a look at the DisplayTag control. It kicks bootie. Peace, Scott On Fri, Apr 3, 2009 at 2:58 AM, Manoj Dhore wrote: > Hi, > > > > Is there anyway to create a grid control in Struts 2 or any default > implementation of grid layout. > > > > Thanks in ad

Making two URLs map to the same action

2009-04-03 Thread laredotornado
Hi, I'm using Struts 1.3 with WebLogic 9.2.2. I would like my URL http://mydomain.com/context-path/refresh to do the same thing, or at least point to the same place that http://mydomain.com/context-path/refresh.do goes. How can I set this up? Thanks, - Dave -- View this message in context

Re: Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
I think as I was typing a response I may have discovered the issue. We had a wildcard catch all for the root namespace which was throwing things off. /ftl/{1}.ftl Once I created a stand alone package com.xm.web.struts2.test.HelloAction I was able to use both /test/h

Re: Mixing convention plugin and legacy action mappings

2009-04-03 Thread Musachy Barroso
Convention configuration just gets mixed with xml configuration, they should not conflict. What kind of problem are you having? musachy On Fri, Apr 3, 2009 at 12:52 PM, Ryan Chichirico wrote: > We've recently migrated to Struts 2.1.6 and started looking into the > convention plugin.  Since our a

Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
We've recently migrated to Struts 2.1.6 and started looking into the convention plugin. Since our application is far along the 2.0.x way of doing things it's difficult to make whole sale changes immediately. We'd like to start introducing new features with the convention plugin and slowly ada

Stumped on form field

2009-04-03 Thread Security Management
I cannot figure this out, days is never set, and the debug logging does not show up for setting days, but it does for name. Anyone have any idea? JSP page: <%@ taglib prefix="s" uri="/struts-tags" %>

Struts 2.1.6, Convention plugin, and Scope interceptor

2009-04-03 Thread Patrick Aikens
I'm trying to go with an all-annotation based configuration for a project I'm working on, and now have the desire to use a scope interceptor in my app. The following is an example of my current ideas, but I'm not sure it's working correctly (I have a sneaking suspicion that I'm modifying the stack

Result Params not getting set in redirect

2009-04-03 Thread srinivasch
Hi, I am using a simple action which reads the xml, xml has data as to where my resultant action would be. So I am able to read the xml file and set the parameters in the @Result like below @Result(name="redirect",location="${url}", type="redirect", params={"REQUEST_TYPE","${requestType}","us

Re: No getter method available for property

2009-04-03 Thread elyes sallem
the message is clear, it didn't find a getter for the TVShowSelect property just one remark, u should choose a name of property begining with lowercase (for example tvShowSelect). and if u have a getter named getTvShowSelect() in your form, u won't have this error Regards Elyes 2009/4/3 NR031

No getter method available for property

2009-04-03 Thread NR031
Hi, I am new to struts and I need help for solving my problem. I have created a weapplication project using NetBeans with struts framework. I am following the tutorial given http://www.javabeat.net/articles/21-ajax-support-in-struts-20-2.html HERE . When I run my code I am gett

Re: S2: latest Struts 2.1.x and latest CXF dont play nice together

2009-04-03 Thread Marc Logemann
Ahh here we go. Just read the struts 2.0 -> 2.1 migration guide and saw this: "The default action extension list (struts.action.extension) has changed from just 'action' to 'action' plus "" (no extension). If your application has servlets or other requests that have no extension then they

Re: how to re-init / update parameter of an interceptor during runtime?

2009-04-03 Thread musomesa
An interceptor has access to application via ActionContext so it is easy to rig up. From anywhere in your application you can manipulate an entry in application and have the interceptor check if it matches the value it currently has. I still think it is an unorthodox approach though. It al

Re: how to re-init / update parameter of an interceptor during runtime?

2009-04-03 Thread musomesa
Since interceptors are not thread safe I would look at manipulating fields from a given thread with a jaundiced eye. Chris M. -Original Message- From: Nils-Helge Garli Hegvik To: Struts Users Mailing List Sent: Fri, 3 Apr 2009 1:46 am Subject: Re: how to re-init / update param

S2: latest Struts 2.1.x and latest CXF dont play nice together

2009-04-03 Thread Marc Logemann
Hi, i have the following web.xml: struts2 class > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterfilter-class> struts2 /* CXFServlet org.apache.cxf.transport.servlet.CXFServlet

Creating a grid component in Struts 2

2009-04-03 Thread Manoj Dhore
Hi, Is there anyway to create a grid control in Struts 2 or any default implementation of grid layout. Thanks in advance. Regards Manoj Dhore _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This email and any files transmitted with it are confidential and