Re: [S2] Avoiding nested tags / Using Sitemesh properties within Struts 2 tags

2009-01-31 Thread Randy Burgess
false, otherwise the value is true. Randy Burgess > From: Christian Priebe > Reply-To: Struts Users Mailing List > Date: Sat, 10 Jan 2009 20:30:32 +0100 > To: Struts Users Mailing List > Subject: Re: [S2] Avoiding nested tags / Using Sitemesh properties within > Struts 2 tags &g

Re: maven2 and new struts 2 project

2009-01-05 Thread Randy Burgess
aven-compiler-plugin 1.5 1.5 Randy Burgess On Sat, Jan 3, 2009 at 11:27 PM, Michael Finney wrote: > Hello, > > I was about to add to a small open source project of mine a maven > dependency >

Re: JDK Requirements for Struts 1.2 and 2.x

2009-01-03 Thread Randy Burgess
1.6. Randy Burgess On Dec 18, 2008, at 2:54 AM, Chris_W wrote: I had found this pages before. My problem is, that our software-provider tells me, that neither Struts 1.2 nor Struts 2.x runs on JDK 1.6 and Weblogic 10.3 I was not able to convince them that the statement in the below

Re: Struts2 with JDK1.4.2_19 & Tomcat 5.0.28

2009-01-03 Thread Randy Burgess
t run on 6.0. I'm glad the answer was yes until we can get the licensing issues straightened out. Randy Burgess On Dec 23, 2008, at 2:15 PM, rorostar wrote: Hi, Has anyone had any success trying to use struts2 on java4 environment? My server is using java 1.4.2, and they would not upgr

Re: how to import fragment page with html:??? tags into a form?

2008-09-06 Thread Randy Burgess
Try Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Guojun Zhu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 3 Sep 2008 10:06:54 -0500 > To: > Subject: how to import fragment page with html:??? tags into a form? > >

Re: pls help: tomcat 6 /struts 1.x hang

2008-08-21 Thread Randy Burgess
I would check on a Tomcat list since Struts 1.x is used in production in literally millions of web apps and they work perfectly well. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: john lee <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Da

Re: Action as Welcome File

2008-08-21 Thread Randy Burgess
If you use an action as the welcome file you normally would also have to create a file named welcome.action. I usually just create an empty file with the appropriate name if I want to use an action as the welcome page. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Ra

Re: Struts 2.x Forwarding To A Page Securely

2008-08-19 Thread Randy Burgess
Hiding the URL, as in showing one URL but the browser is actually at another, would be the same as phishing. I'm not saying that is what you are trying to do but that is the end result of this. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Wes Wannemacher

Re: Validation referencing problem, using annotations

2008-08-15 Thread Randy Burgess
t;[EMAIL PROTECTED] in the annotation? That should be type=RequiredStringValidator. Maybe it got screwed up posting to the list. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: "dug ." <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date

Re: Remotely passing parameters to struts

2008-08-12 Thread Randy Burgess
Have you taken a look at parameters in configuration results? http://struts.apache.org/2.0.11.2/docs/parameters-in-configuration-results.h tml You could pass in the redirectURL from your calling web app. I've never tried this but it seems like it would work. It's worth a shot. Rega

Re: Remotely passing parameters to struts

2008-08-11 Thread Randy Burgess
You can refactor your action so that the business logic in your action resides elsewhere, then expose that business logic using Spring/web services, EJB or really any remoting technology. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: jaki <[EMAIL PROTECTED]> &

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
Yep absolutely. Just my $.02. I used to use cookies all the time but found they're more trouble than they are worth compared to the session. I only use them now when they are the only good solution. :) Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Pierre Th

Re: [OT] Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
I believe so. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Dave Newton <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Sat, 9 Aug 2008 10:54:59 -0700 (PDT) > To: Struts Users Mailing List > Subject: [OT] Re: [S2] general quest

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
You're welcome. As long as you set the cookie path and stick to that path it doesn't matter where the user enters the site. I normally use either / or /context for my cookies. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Pierre Thibaudeau <[EMAIL PROTEC

Re: [S2] general question about cookies and namespace

2008-08-09 Thread Randy Burgess
s a value of "orange". If you don't set a path for the cookie it gets set for you so to stop this from happening I always set the path explicitly. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Pierre Thibaudeau <[EMAIL PROTECTED]> > Reply-To: S

Re: Struts 2 And JFreeChart

2008-07-31 Thread Randy Burgess
I don't use the Ajax theme or any of the Dojo integration but I assumed that if theme=ajax on the submit button that it would be using Ajax. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Lauri

Re: Struts 2 And JFreeChart

2008-07-30 Thread Randy Burgess
Ajax is text only so you can't use it with an image type. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: cree <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 30 Jul 2008 12:14:02 -0700 (PDT) > To: > Subject: Struts 2 An

Re: getting Session from one to another namespace - possible?

2008-07-10 Thread Randy Burgess
Is the namespace the same as what is defined in your struts.xml? Have you tried namespace="/secure" for instance? Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Michael Obster <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date:

Re: [OT] Re: Action mapping not found - eclipse configuration problem???

2008-06-10 Thread Randy Burgess
I believe it defaults to the bottom middle pane, on the left most tab of that pane. Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: piltrafeta <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 10 Jun 2008 08:05:13 -0700 (PDT) > To:

Re: How to pass OGNL expressions to JSP includes

2008-05-19 Thread Randy Burgess
or API, you would have to check the docs to be sure. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Wes Gamble <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Mon, 19 May 2008 16:48:31 + To: Struts Users Mailing List Subject: Re: How t

Re: How to pass OGNL expressions to JSP includes

2008-05-19 Thread Randy Burgess
links on the Œnet, just Google it. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Wes Gamble <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Mon, 19 May 2008 16:38:51 + To: Struts Users Mailing List Subject: Re: How to pass OGNL expressi

Re: How to pass OGNL expressions to JSP includes

2008-05-19 Thread Randy Burgess
You can use EL outside of Struts tags. Try . Properties in an action will be at the top of the stack. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Wes Gamble <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Mon, 19 May 2008 16:25:26

Re: [Struts 2] Dojo datetimepicker - simple

2008-05-14 Thread Randy Burgess
I don't have direct experience with this particular tag but normally setting the theme to simple will remove the generated tags. Have you viewed the generated source? That will show you what is being generated for you. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communica

Re: [struts 2] Table question

2008-05-13 Thread Randy Burgess
OGNL expressions. It is in the documentation. :) Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Milan Milanovic <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 13 May 2008 15:05:34 -0700 (PDT) > To: Struts

Re: [struts 2] Table question

2008-05-13 Thread Randy Burgess
Except you can't use EL expressions in struts tags in the latest versions of S2, unless you hack the taglib. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Felipe Lorenz <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date:

Re: JFreeChart plugin

2008-05-13 Thread Randy Burgess
This type of configuration would work for your scenario also. If you have a huge dataset then storing it in the session could cause an issue with scalability. With a chart I wouldn¹t imagine that the dataset would be that large though. Regards, Randy Burgess Sr. Web Applications Devel

Re: JFreeChart plugin

2008-05-13 Thread Randy Burgess
I used the example code from the documentation on WebLogic 9.2.2 and it ran fine. I built off that example code and now have several actions creating nice 3D pie charts. Which application server are you using? Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > F

Re: [struts 2] Two forms for one action

2008-05-13 Thread Randy Burgess
They could, if it were me I would have different methods on the action class to handle the different forms if I were to do it this way. Personally I would create an action class for each form. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Milan Milano

Re: Best way to access Session with regards to cluster

2008-04-30 Thread Randy Burgess
, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Brad A Cupit <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 30 Apr 2008 11:40:49 -0500 > To: Struts Users Mailing List > Subject: RE: Best way to access Session with regards

Re: Exclude interceptor

2008-04-29 Thread Randy Burgess
that way also. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Lukasz Lenart <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 29 Apr 2008 22:52:41 +0200 > To: Struts Users Mailing List > Subject: Exclude interceptor >

Re: struts2 & displayTag how to use checkBox; Problem: translating the fieldValue

2008-04-29 Thread Randy Burgess
It sounds like you are using Struts 2.0.11+ and if this is the case then EL is not allowed in Struts tags. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: xianwinwin <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 28 Ap

Re: Redirect to any URL.

2008-04-25 Thread Randy Burgess
After successful login credentials are passed into your login action you could get the URL out of the session and redirect them back to that page. This might work for you on the redirect. http://struts.apache.org/2.x/docs/parameters-in-configuration-results.html Regards, Randy Burgess Sr. Web

Re: Converting action configuration from 2.0 to 2.1 - how to convert parameters to actions

2008-04-18 Thread Randy Burgess
Make sure to set your actions in your application context with scope="prototype". Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Toni Lyytikäinen <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 18 Apr 2008 21

Re: Is it possible to make a pop up window using Struts?

2008-04-17 Thread Randy Burgess
tring should get populated in the form. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: ryan webb <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 17 Apr 2008 09:35:34 +0800 > To: Struts Users Mailing List > Subject: Re

Re: Is it possible to make a pop up window using Struts?

2008-04-16 Thread Randy Burgess
this will work fine. In this case order Is a request attribute for this action. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: ryan webb <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 16 Apr 2008 16:40:25 +0800 >

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-15 Thread Randy Burgess
ch using either annotations or XML. Randy > From: Martin Gainty <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 15 Apr 2008 17:16:03 -0400 > To: Struts Users Mailing List > Subject: Re: [S2] Spring: Interceptors, prototype or singleton? > > Ye

Re: Struts 2 + AjaxTags + DisplayTag

2008-04-15 Thread Randy Burgess
Well your requestURI is not set so the URL is set to the current JSP and not the action. I have never had any success leaving requestURI blank with DisplayTag on S1 or S2. I always set it to the name of an action. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-15 Thread Randy Burgess
/reference/beans.html#bea ns-factory-method-injection I hope I'm being clear about what I mean. :) Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Martin Gainty <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 14 Apr 20

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-14 Thread Randy Burgess
. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Don Brown <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 15 Apr 2008 01:12:49 +1000 > To: Struts Users Mailing List > Subject: Re: [S2] Spring: Interceptors, prototype

Re: [S2] Spring: Interceptors, prototype or singleton?

2008-04-14 Thread Randy Burgess
Interceptors are Singletons according to the documentation. If it were me I would come up with another method besides Spring for changing object properties. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: GF <[EMAIL PROTECTED]> > Reply-To:

Re: How do I make Tomcat send 403 Forbidden page to the client in jsp and in struts?

2008-04-11 Thread Randy Burgess
I wonder if specifying HttpServletResponse.SC_FORBIDDEN would make a difference because the HttpServletResponse has those constants and that is in the method signature for the Action class. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: ryan webb <

Re: Does Struts 2 support clustering?

2008-04-10 Thread Randy Burgess
server. However this is the best performing configuration. Another option is shared sessions and this is covered in the WebLogic documentation at http://edocs.bea.com. How or if the session is shared in a cluster has nothing to do with Struts or any web application really. Regards, Randy Burgess Sr

Re: struts.xml

2008-04-09 Thread Randy Burgess
All this is linked right from the Core Developers Guide at http://struts.apache.org/2.x/docs/guides.html. Click the result types link and there you go. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Ian Meikle <[EMAIL PROTECTED]> > Reply-To:

Re: [OT] What do you code today?

2008-04-07 Thread Randy Burgess
n the internal facing stuff. Overall we love the framework, much better than S1! Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Ted Husted <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 4 Apr 2008 07:14:33 -0400 > To: St

Re: Security @ Struts2, using Acegy or Inspector

2008-04-03 Thread Randy Burgess
ml. If you want to secure more than the actions then I think Acegi is the way to go. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Frans Thamura <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 3 Apr 2008 07:13:20 +0700 &

Re: Calling Action on form load

2008-03-27 Thread Randy Burgess
Use the tag. http://struts.apache.org/2.x/docs/action.html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: aum strut <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 27 Mar 2008 22:04:04 +0530 > To: Struts

Re: @ExpressionValidator - how to set the expression correctly ? (amount either greater than 0 or null? )

2008-03-27 Thread Randy Burgess
Did you try @ExpressionValidator(expression = "(amount > 0) || (amount == null)", message = "err message") Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: xianwinwin <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List

Re: key property of s:checkbox tag

2008-03-24 Thread Randy Burgess
Have you tried this syntax? Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Emil.I" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 24 Mar 2008 10:23:07 -0700 (PDT) > To: > Subject: Re: key property o

Re: struts 2 jsf plugin problem

2008-03-24 Thread Randy Burgess
I would take everything out of your JSF page and then start adding things in one by one until you find what is causing the missing the property editor error. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Daniel <[EMAIL PROTECTED]> > Reply-To:

Re: struts 2 jsf plugin problem

2008-03-19 Thread Randy Burgess
It seems to me that you will need to create an interceptor stack that has both portlet support and jsf support. Even though your package extends struts-portlet-default the action in question does not since you have defined interceptors specifically for the action. Regards, Randy Burgess Sr. Web

Re: struts 2 jsf plugin problem

2008-03-19 Thread Randy Burgess
he struts-portlet-default interceptors from this action by specifying the interceptors specifically *for* this action. See the portlet tutorial at http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications >

Re: not interpreted

2008-03-19 Thread Randy Burgess
Since 2.0.11. But you can still use it outside of Struts tags. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: GF <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 19 Mar 2008 15:09:16 +0100 > To: Struts Users Mailing L

Re: not interpreted

2008-03-19 Thread Randy Burgess
It is standard Expression Language (EL), which is much preferred over scriptlets. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: GF <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 19 Mar 2008 14:44:08 +0100 >

Re: More WebLogic troubles.

2008-03-18 Thread Randy Burgess
On 9.2.1 and 9.2.2 I use classpath:applicationContext.xml /WEB-INF/spring/otherAppContext.xml That is a space between the context file names. I don't use wildcards because I have contexts that I don't want loaded in WL. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Comm

Re: How to initialize business service objects?

2008-03-17 Thread Randy Burgess
r for DispatcherService in CustomerAction your struts.xml would look like this. > > > > > > /CustomerLogin.jsp > /CustomerChat.jsp > ... Application context: ... Regards, Randy Burgess Sr. Web Applications Developer Nuvox Co

Re: How to initialize business service objects?

2008-03-13 Thread Randy Burgess
For a POJO you can use dependency injection such as Spring or Guice or you can instantiate the object the normal way BusinessServiceObject bso = new BusinessServiceObject(); in your action class. There is nothing special about accessing your BSO's in Struts. Regards, Randy Burgess Sr

Re: Business object in the action form?

2008-03-12 Thread Randy Burgess
The action form should only be used for transferring values between the different MVC layers. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date:

Re: Business object in the action form?

2008-03-11 Thread Randy Burgess
I wouldn't put a DAO or a business object there. Here is a good example. http://struts.apache.org/1.x/faqs/actionForm.html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> > Reply-To: Struts

Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread Randy Burgess
, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: mojoRising <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 6 Mar 2008 12:29:42 -0800 (PST) > To: > Subject: STRUTS 2: Possible to have two actions called from one JSP? > >

Re: Struts1 forms with empty Strings

2008-02-29 Thread Randy Burgess
Since Strings are immutable you get a new String whenever an operation is performed on said String, so that seems to me that you would still get the empty string. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Dave Newton <[EMAIL PROTECTED]> &

Re: expression validator

2008-02-29 Thread Randy Burgess
-validate.ftl in the xhtml template. String matching javascript is trivial to write. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: mojoRising <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 29 Feb 2008 06:55:51 -

Re: Struts serving both HTML requests and web service?

2008-02-28 Thread Randy Burgess
If you have shared functionality then it sounds like a good candidate for web services. I wouldn't do the shared JAR deal. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Allen, Daniel" <[EMAIL PROTECTED]> > Reply-To: Struts User

Re: expression validator

2008-02-28 Thread Randy Burgess
http://struts.apache.org/2.0.11/docs/pure-javascript-client-side-validation. html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: mojoRising <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 28 Feb 2008 14:45:37 -0800 (PST)

Re: expression validator

2008-02-28 Thread Randy Burgess
>From the validator documentation. email.equals(email2) Email not the same as email2 Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: mojoRising <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 28

Re: Struts serving both HTML requests and web service?

2008-02-28 Thread Randy Burgess
b app. There is an STP Eclipse plugin that will work with CXF but AFAIK there is no direct integration between CXF and Struts 1/2. http://incubator.apache.org/cxf/ Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Allen, Daniel" <[EMAIL PROTECTED

Re: Radio button with two boolean choices

2008-02-28 Thread Randy Burgess
Yes it is. Have you tried something like this: ? Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Paranoid_Fabio <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 28 Feb 2008 09:17:45 -0800 (PST) > To: > Subject:

Re: HOw to send form parameters to dao in struts2 with hibernate?

2008-02-28 Thread Randy Burgess
reference the service bean as a property of your action or you need to instantiate Spring using ClassPathXmlApplicationContext or one of the other Spring context objects. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: RajiR <[EMAIL PROTECTED]> > Repl

Re: Struts 2 Custom Validation

2008-02-27 Thread Randy Burgess
This is server side though so it may not be what you need. You will need your own javascript for the client as it is not generated for this validator. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Randy Burgess <[EMAIL PROTECTED]> > Reply-To:

Re: Struts 2 Custom Validation

2008-02-27 Thread Randy Burgess
t this validation on the setter for confirmPwd along with a @RequiredStringValidator for both. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Thaminda Karunanayake <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 27 Feb 2

Re: java.util.ConcurrentModificationException at IteratorComponent

2008-02-26 Thread Randy Burgess
Or just use a Vector instead of an ArrayList, which is synchronized. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Eduardo Dela Rosa <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 27 Feb 2008 09:59:25 +1100 >

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
on SOA or checking out some of the excellent web sites devoted to it. I googled and came up with this, which looks pretty good for a start. This is a huge topic in and of itself but it doesn't really have anything to do with Struts. http://java.sun.com/developer/technicalArticles/WebServices/

Re: java.util.ConcurrentModificationException at IteratorComponent

2008-02-26 Thread Randy Burgess
I believe this exception occurs when you try and modify an ArrayList while iterating over said list. ArrayList is not thread safe. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Othon Reyes Sanchez <[EMAIL PROTECTED]> > Reply-To: Struts Users

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
o be a POJO. In general there should be no business logic in your action, it should be in some external class such as a POJO, EJB or web service of some sort. Randy This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
entation. http://cwiki.apache.org/CXF20DOC/index.html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Richard Sayre <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 26 Feb 2008 14:19:26 -0330 > To: Struts Users Mailing List

Re: Struts 2 and SOA

2008-02-26 Thread Randy Burgess
Especially if you are using Spring then it will be very simple using CXF to expose your business logic as a web service. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Richard Sayre <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List >

Re: Is it post or get?

2008-02-20 Thread Randy Burgess
If the user types in the URL it is a GET. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "semaj.najraham" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 20 Feb 2008 08:52:11 -0800 (PST) > To:

Re: Update from 2.0.9 to 2.0.11

2008-02-20 Thread Randy Burgess
Yeah I apologize for the bad advice, I whipped that out too fast. It should be: Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Dave Newton <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 20 Feb 2008 07:55:24 -0800 (PS

Re: Update from 2.0.9 to 2.0.11

2008-02-20 Thread Randy Burgess
If you have a getter for 'chapter' in your action then this should work. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: jcleve <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 20 Feb 2008 07:09:26 -0800 (

Re: S2 NESTED iterators & FLAT HashMaps:

2008-02-19 Thread Randy Burgess
One is JSTL, the other is using OGNL and they are not the same. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: ravi_eze <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 19 Feb 2008 08:44:06 -0800 (PST) > To: > S

Re: struts2 s:if and displaytag question

2008-02-19 Thread Randy Burgess
It's because you have the property set on that column. Remove that attribute and if your condition is found then it will display that text. I don't think that if statement is correct either. This should look like: ... Regards, Randy Burgess Sr. Web Applications Developer Nuvox Comm

Re: serializable and exceptions

2008-02-14 Thread Randy Burgess
I wonder if making your object implement serializable will have any affect on the Xwork object. Have you tried to see what happens? Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Brian Relph <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing

Re: serializable and exceptions

2008-02-14 Thread Randy Burgess
That would be the first thing I would do and generate a serialVersionUID for the pojo. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Brian Relph <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 14 Feb 2008 10:38:28 -06

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
A portal implementation is typically quite an undertaking. Frames would be a whole lot easier. :) Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Marc Eckart <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 13 Feb 2008

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
this option I have been creating plain old S2 actions that also run as portlets. We have also created interceptors to facilitate providing portal services to actions that require them. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Marc Eckart <[EMAI

Re: How to redirect to the same page

2008-02-13 Thread Randy Burgess
There is a good article on a login interceptor here: http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor. A question is posted further down the page on how to redirect to the originally requested page after a successful login. Regards, Randy Burgess Sr. Web Applications

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
I would imagine that it is portal specific. It is up to the developer with AquaLogic. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Frank W. Zammetti" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 13 Feb

Re: How to redirect to the same page

2008-02-13 Thread Randy Burgess
I would save the action name as a string in the users session and then redirect to that location once auth is complete. That is the way I have done it in the past. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Dravid <[EMAIL PROTECTED]> > Repl

Re: Get current URL on a page

2008-02-13 Thread Randy Burgess
I'm not sure how to get it with OGNL but you could make your action implement ServletRequestAware, call request.getRequestURL() somewhere in your action and set that value in an instance variable with a getter and then call the getter in your action. Regards, Randy Burgess Sr. Web Applica

Re: Struts + Maven + Eclipse problem

2008-02-13 Thread Randy Burgess
n the list not long ago. mvn archetype:create -DgroupId=com.s2.anu -DartifactId=s2proj -DarchetypeGroupId=org.apache.struts-DarchetypeArtifactId=struts2-archetype- starter -DarchetypeVersion= 2.0.11 -DremoteRepositories= http://people.apache.org/builds/struts/m2-staging-repository Regards, Randy

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
, etc. Here we are developing for the BEA AquaLogic portal and we use the portlet id, which is numeric and unique for each portlet. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: "Frank W. Zammetti" <[EMAIL PROTECTED]> > Reply-To: Str

Re: Get current URL on a page

2008-02-12 Thread Randy Burgess
If the value is not going into a struts tag then just use JSTL. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Tommy Becker <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 12 Feb 2008 10:31:09 -0500 > To: Struts

Re: Struts 2 equivalents?

2008-02-11 Thread Randy Burgess
Seems like it should be "home" instead of "home.jsp", assuming you have a def for "home" in your tiles-defs.xml file. I'm assuming that the tiles definitions file is still tiles-defs.xml. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications

Re: takes more time for populating values.

2008-02-11 Thread Randy Burgess
list before displaying it. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Jayaveeran <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 11 Feb 2008 06:03:47 -0800 (PST) > To: > Subject: takes more time for populat

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-08 Thread Randy Burgess
ary. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Dave Newton <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 8 Feb 2008 06:17:42 -0800 (PST) > To: Struts Users Mailing List > Subject: Re: Struts 2 and Weblogic 9.2 - j

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-06 Thread Randy Burgess
ns/j2ee/web-app_2_4.xsd";> I would use the 2.4 XSD. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Vigneswar <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 5 Feb 2008 21:15:38 -0800 (PST) > To: > Su

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-06 Thread Randy Burgess
I've rearranged your web.xml to the correct order below. Context params come first, then listeners and then filters/filter mappings, servlets/servlet mappings, etc. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Vigneswar <[EMAIL PROTECTED]&

Re: Struts 2 and Weblogic 9.2 - java.net.ConnectException

2008-02-05 Thread Randy Burgess
We need to see your web.xml. I'm running Struts 2 projects on WebLogic 9.2 without any problems. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Vigneswar Nagarathinam <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue,

Re: Custom OGNL PropertyAccessor

2008-02-05 Thread Randy Burgess
My bad. I just did a search for ognl and came up with that real quickly. I didn't go through my search results very thoroughly. :) Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Dave Newton <[EMAIL PROTECTED]> > Reply-To: Struts Users Mai

Re: Custom OGNL PropertyAccessor

2008-02-05 Thread Randy Burgess
log4j.logger.com.opensymphony=debug, stdout This will give you quite a bit more than just OGNL. You could change the above line to this log4j.logger.com.opensymphony.xwork2.util=debug, stdout To narrow it down. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: <[EMAIL PROTECTED]>

Re: dispaytag + Struts 2.1.x: encoding parameters into requestURI

2008-02-05 Thread Randy Burgess
All you should need is a getter in your action for simulationKey and then >requestURI="/SimulationReport.action?simulationKey=${simulationKey}" Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Giovanni Azua <[EMAIL PROTECTED]> &g

  1   2   >