Re: Struts2 - dojo anchor error

2009-07-02 Thread Dave Newton
Kishan G. Chellap Paandy wrote: Referring to: http://struts.apache.org/2.1.6/docs/dojo-anchor.html "There's a bug in IE6/IE7 which makes impossible to use the target's attribute with a parent Div, because such Div's content's are overwritten with the tag's loadingText. Resulting in an "undefined

Hello Everybody, I am getting exception Action Class not found

2009-07-02 Thread Nagesh Reddy K
Action class [java.struts2.examples.chapter1.HelloWorld] not found - action - file:/D:/tomcat%205.0/webapps/struts2/WEB-INF/classes/java/struts2/examples/chapter1/chapter1struts.xml:9:74 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvi

Interceptor Execution Tracing

2009-07-02 Thread Stephen Turner
Is it possible to easily see a record of all the interceptors executed during an action invocation? I want to see the actual interceptors that are executed, not the config (which shows me what I _think_ is happening). Thanks, Steve -- Stephen Turner Sr. Analyst/Programmer MIT IS&T - SAIS --

Re: Interceptor Execution Tracing

2009-07-02 Thread Paweł Wielgus
Hi Stephen, turn debug on by adding ?profiling=true after any action address in browser and turning devMode. Read more here: http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/util/profiling/UtilTimerStack.html Best greetings, Paweł Wielgus. 2009/7/2 Stephen Turner : > I

Re: compatibility of various versions Tomcat, jdk, and struts2

2009-07-02 Thread Dimitrios Christodoulakis
Thanks Wes, Latest versions are always better to use for up to date compatibility. Are you using Struts 2.1.6, Spring 2.5.6 and the latest hibernate jpa with the bit older versions of jdk1.5.0_17 and Tomcat5.5.27 and Eclipse? If there are no known issues (based on versioning only) I'd be very gl

Re: applicationresources.properties with utf-8 characters

2009-07-02 Thread Wes Wannemacher
I'm not going to argue about whether or not it will work, but if you look at the Javadocs for java.util.Properties -> http://java.sun.com/javase/6/docs/api/java/util/Properties.html It does specifically state the the input (and output) streams are iso-8859-1 and that unicode chars should use the

Re: compatibility of various versions Tomcat, jdk, and struts2

2009-07-02 Thread Wes Wannemacher
I am using whatever version of Java 6 that ubuntu gives me. I'm pretty sure it bumped up a version since I started this project, but I point to /usr/lib/jvm/java-6-sun which symlinks to the specific version in-play. I am an IDEA user, but I hide those details behind apache maven. If you are unfami

Re: applicationresources.properties with utf-8 characters

2009-07-02 Thread Greg Lindholm
This question comes up often so here are some references: Take a look at the JavaDoc for Properties [1] and PropertyResourceBundle [2]. They both state that the properties file must be encoded in ISO 8859-1 with Unicode escapes when the file is loaded from an input stream. Internally Struts call

Re: applicationresources.properties with utf-8 characters

2009-07-02 Thread Yanto
we haven't go to very detail...just test in some label..and we did encounter in some others pages it come with weird character...after read your link, I would rather follow the standard, rather than have issue in the future :) On Thu, Jul 2, 2009 at 9:40 PM, Wes Wannemacher wrote: > I'm not goin

Validator

2009-07-02 Thread Odelya YomTov
Hi! I get exception when i submit a form extends ValidatorForm. the error is really funny: SEVERE: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages,

Re: Interceptor Execution Tracing

2009-07-02 Thread Stephen Turner
On Thu, 02 Jul 2009 08:37:28 -0400, Paweł Wielgus wrote: Hi Stephen, turn debug on by adding ?profiling=true after any action address in browser and turning devMode. Read more here: http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/util/profiling/UtilTimerStack.html

Getting OPTGROUP items to appear in the right order within a larger top-level SELECT list

2009-07-02 Thread mlevin
** Many apologies if this goes through twice -- I posted a few hours ago and didn't see my own post show up yet ** Hi folks, I'm having some trouble getting my SELECT menu to appear the way I want it in a new Struts 2 project. What I want is something like this: Apple Banana Cookies Ch

Re: Struts1 or Struts2

2009-07-02 Thread Paul Benedict
Either is a good framework. Do what you feel is best for productivity and supportability. Paul On Fri, Jun 26, 2009 at 8:54 AM, wrote: > SInce you are comited to a re-write, go for it. > Chris > > > > > > > > -Original Message- > From: Mitchell, Steven > To: Struts Users Mailing List >

Re: Struts 1.3: MappingDispatchAction and forms??

2009-07-02 Thread Paul Benedict
Try putting scope="request" on your action mappings. I don't think they are found because they aren't in the session (the default). On Tue, Jun 30, 2009 at 3:42 AM, Florian Rustedt wrote: > Hi, > > i want to do follwing: > after Login, i am at "showCallinggroupMembers.jsp". There, i want to implem

Re: Struts 1.3.10 problem

2009-07-02 Thread Paul Benedict
Step into the debugger. I am sure you can find out why a blank page is displayed by trapping an exception. On Mon, Jun 22, 2009 at 8:56 AM, Luis Esquivel wrote: > Hello Thank you for your response! > Yes Actually I made a mistake on my email.  We were using 1.2 prior. > We went through the link yo

Re: File "/WEB-INF/tld/struts-bean.tld" not found

2009-07-02 Thread Paul Benedict
And property names start with lower case. String getMyProperty(); void setMyProperty(String s); The property path is "myProperty" On Sun, Jun 21, 2009 at 12:41 AM, Girish Naik wrote: > If your getter is 'getShippingAddress()' then your property will be > 'shippingAddress' . > > > Regards, >

Re: Form survey problem (html:radio)

2009-07-02 Thread Paul Benedict
Did you try removing indexed="yes" ? On Fri, Jun 19, 2009 at 5:05 PM, Luis Ureña wrote: > I am working in a survey form with several questions. Each question can have > several options. That options are builded with an iterate. When I execute > the page generate one radio button name. If I add the

Re: canncellable with isCanncelled()

2009-07-02 Thread Paul Benedict
Why do you have two cancel buttons? On Fri, Jun 26, 2009 at 9:20 AM, Sam Wun wrote: > Hi, > > There are 3 buttons on the jsp web page, first one is submit (sign > in), another one is Cancel, the third one is something else. I used > for the Cancel and something else. > I also included this.isCanc

Re: using CompositeActionMapper

2009-07-02 Thread Dale Newfield
rsilva wrote: I dont not understand very much about Struts2 inject process but I fixed my problem extending the compositeActionMapper with the following one: public class DebugCompositeActionMapper extends CompositeActionMapper { @Override @Inject(StrutsConstants.STRUTS_MAPPER_COMPOSITE

RE: using CompositeActionMapper

2009-07-02 Thread Martin Gainty
good advice if the container is going null could you provide a complete dump of log Directory of $CATALINA_HOME/logs catalina.2009-07-01.log display any/all messages that say anything about configuring Web Container e.g. INFO: Configuring SomeWebApp for Web Container type 'MyTomcat' all o

Customizing "content type not allowed" error message

2009-07-02 Thread Wampole, Garrett C.
I'm trying to customize this error message for a file upload form control, and running into problems: I've created a new properties file named "msgs.properties" with the error message I'd like to show: struts.messages.error.content.type.not.allowed={1} is not of the correct type I've

Re: Hello Everybody, I am getting exception Action Class not found

2009-07-02 Thread Dave Newton
Nagesh Reddy K wrote: Action class [java.struts2.examples.chapter1.HelloWorld] not found - action - file:/D:/tomcat%205.0/webapps/struts2/WEB-INF/classes/java/struts2/examples/chapter1/chapter1struts.xml:9:74 So... does the action exist? Has it been deployed? We're not actually at your machine

Re: adding values to a variable inside iterator tag

2009-07-02 Thread Dale Newfield
Bhaarat Sharma wrote: But in this case why would I write another for loop to do something that can be done in the for loop that I already have? Maybe learning about the life cycle of even a simple tag will convince you that doing unnecessary computation within the display layer is a mistake:

missing ajax theme in 2.1.6

2009-07-02 Thread Larry Reed
I am new to struts, and have been trying to set up my project with Struts 2.1.6. I want to use the 'ajax' theme for the UI tags, but this generates an error that the ajax templates are missing. Specifically, it can't find head.ftl. I found that in the 2.1.6 release, the templates directory only

Re: missing ajax theme in 2.1.6

2009-07-02 Thread Dave Newton
Larry Reed wrote: I found that in the 2.1.6 release, the templates directory only has 'simple', 'xhtml', and 'css_xhtml'. There is an 'archive/ajax' directory, but it only seems to have what look like velocity (.vm) templates. In the 2.0.14 release, the ajax templates appear as expected. Is this

Re: compatibility of various versions Tomcat, jdk, and struts2

2009-07-02 Thread Dimitrios Christodoulakis
Thanks for the detailed information Wes, this was useful. I was able to finally integrate Struts2.1.6, Spring2.5.3 and hibernate3. WEB-INF/lib became quite bloated with all the jars though :) - I think 35 jars... is it too many perhaps? I am not sure if there is a way around it, but during this ef

RE: Struts2 - dojo anchor error

2009-07-02 Thread Kishan G. Chellap Paandy
Hi Dave, Thanks for your reply. Here is what I'm doing. <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> . .