Re: s2 and DispatchAction

2007-11-12 Thread Randy Burgess
data eventually selected from the list method. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Mon, 12 Nov 2007 17:08:14 +0100 (CET) > To: Struts Users Mailing List >

Re: How to preselect a radio button in Struts 2

2007-11-14 Thread Randy Burgess
Use the value attribute and the radio button with that value will be selected. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Pankaj Gupta <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 14 Nov 2007 10:42:20 +0530 > T

Re: How to preselect a radio button in Struts 2

2007-11-15 Thread Randy Burgess
Here is a working example. The value coming from the bean is always 1 or 2. HTH Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Pankaj Gupta <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 15 Nov 2007 11:53:53 +0530 >

Re: portlet css

2007-11-30 Thread Randy Burgess
t was correct, it is implementation specific. :-) Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Martin Gainty <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 30 Nov 2007 16:11:30 -0500 > To: Struts Users Mailing List >

Re: portlet css

2007-11-30 Thread Randy Burgess
ctory/myimg.gif. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Brian Relph <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Fri, 30 Nov 2007 11:25:43 -0600 > To: Struts Users Mailing List > Subject: portlet css > > D

Re: S2 - using display tag with Struts

2007-12-11 Thread Randy Burgess
ns);. That error is from the missing itext library. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Serge Bornow <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 11 Dec 2007 15:28:21 -0500 > To: Struts Users Mailing List >

Re: rendering

2007-12-12 Thread Randy Burgess
If you leave the theme set to the default and use the label attribute in the textfield that value will be placed in the first table column. Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: wild_oscar <[EMAIL PROTECTED]> > Reply-To: Struts Users

Re: S2 - using display tag with Struts

2007-12-12 Thread Randy Burgess
This is working code. No try to it. :) Regards, Randy Burgess Web Applications Developer Nuvox Communications > From: Serge Bornow <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 11 Dec 2007 23:07:24 -0500 > To: Struts Users Mailing List

Re: substitute for JSP EL tags in struts 2.0.11

2007-12-12 Thread Randy Burgess
Have you tried this: Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Swathi Ram <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Wed, 12 Dec 2007 10:11:04 -0800 (PST) > To: > Subject: Re: substitu

Re: Poor Performance & Hangs in IE

2007-12-18 Thread Randy Burgess
would rise up above the rest. 7 And then Favicon did say that he would strike down upon the others with his great vengence, and that he would smite them. 8 Then Caesar Romero did look upon the child Favicon, and verily he did feel in his breast a welling of fear. Regards, Randy Burgess Sr. Web

Re: Struts 1.3.8 Plugins initializing twice

2008-01-03 Thread Randy Burgess
cannot remember why but I believe that load on startup should always be 0 for Struts 1. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Edward Song <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Thu, 3 Jan 2008 10:56:40 -0500 To: Subject:

Re: struts2: interceptor - validation doesn't work :-(

2008-01-04 Thread Randy Burgess
st enter a password.") @StringLengthFieldValidator(type = ValidatorType.SIMPLE, trim = true, minLength = "6", maxLength = "100", fieldName = "pwd", message = "Password must be at least 6 characters") public void setPwd(String password) { thi

Re: logic:iterate - editable table

2008-01-16 Thread Randy Burgess
I would check out the LazyActionForm for this which was added to Struts 1.2.6 and upwards in classic Struts. http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Oliver Thoms <[EMAIL PROTECTED]>

Re: Java Script in JSP pages

2008-01-23 Thread Randy Burgess
Try this. You need to check your file paths and understand relative links in your web application. If that isn't it then you will have to figure it out. The syntax is correct. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: naveen k <[EMAI

Re: Java Script in JSP pages

2008-01-24 Thread Randy Burgess
Yeah that works great with Struts 1. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Alexandru BARBAT <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 24 Jan 2008 14:07:17 +0200 > To: Struts Users Mailing List &

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-30 Thread Randy Burgess
The documentation covers using images in submit buttons. http://struts.apache.org/2.0.11/docs/submit.html * input: renders as html * image: renders as html * button: renders as html Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: John

Re: Struts2 tags loops

2008-02-01 Thread Randy Burgess
That limitation is only for struts tags, for example , otherwise you shouldn't have problems with JSTL. I haven't run into any on 2.0.11. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Filipe David Manana <[EMAIL PROTECTED]> > Reply-To

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

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: 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: 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: 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-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-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: 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 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: 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 + 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: 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: 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
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: 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: 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: 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: 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: 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: 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: 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: 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: 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
> From: Richard Sayre <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 26 Feb 2008 14:08:18 -0330 > To: Struts Users Mailing List > Subject: Re: Struts 2 and SOA > > Could you elaborate a bit. Would the POJO contain the Business logic > for calling My DAO and other classes

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
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
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 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: 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: 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: 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: 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: 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: 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-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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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-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: 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: @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: 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: 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: [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: 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: 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: 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: [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: [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-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: 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
ty to set > the properties once. There is no opportunity for the container to provide > bean A with a new instance of bean B every time one is needed. > > So if prototype bean B changes A has no clue.. > > I think I'll stay with the scope="prototype/singleton" in the decl

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: 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: 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: 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: 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: 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: 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: [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: 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: 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: [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: [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] 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: 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

  1   2   >