Shale, Spring & Tiger Annotations

2006-07-04 Thread Enrique Medina Montenegro
Hi, I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation regarding the integration between Spring and Shale, in terms of the delegating VariableResolver. Furthermore, I've been reading the documentation regarding Tiger extensi

RE: The content of element type "web-app" must match

2006-07-04 Thread David Friedman
My container usually gives a better error in the log files with the "web-app must match" warning. What was yours? Regards, David -Original Message- From: A. Lotfi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 04, 2006 7:28 PM To: Struts Users Mailing List Subject: The content of element

The content of element type "web-app" must match

2006-07-04 Thread A. Lotfi
Hi, I have a web.xml , I am using Netbeans, I got this error : The content of element type "web-app" must match Here is my web.xml , I will appreciate if you can help me : http://java.sun.com/dtd/web-app_2_3.dtd";> edu.mit.coeuslite.utils.SessionListener X

tomahawk + shale clay

2006-07-04 Thread Daniel del Río
Hello all, I'm trying to use tomahawk components with clay, is it possible? ...

Re: AW: Object field validation

2006-07-04 Thread Laurie Harper
If 'domain' is of type integer, this is expected behaviour. Struts uses BeanUtils under the covers to convert the form inputs and set them on the bean. The standard behaviour for an input that can't be converted to an integer is to return 0. You have two choices: make 'domain' a String instead

Re: How to take care of session mgmt

2006-07-04 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hi *, I am new to struts and to this group. Is there any standard way of doing session management. For eg, user is not allowed to access any resource(jsp pages directly) unless he logins. When he tries he should be directed to login page. Is there any standard way of do

Re: Reloading certain things in cahce

2006-07-04 Thread Laurie Harper
Fredrik Andersson wrote: Hi all I'm using getRequest().getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, new java.util.Locale("sv","SV") ); To change the language on my page (using struts i18n internationalization). Now my page is storing the pages inside it's cache and I was woun

Re: Displaying £ sign with bean:message

2006-07-04 Thread Laurie Harper
Ross Gardler wrote: I'm sure this is just a character encoding problem, but am struggling with the solution: my applicationResources.properties file contains: accounts.points.value=1 point is equivalent to £0.01 I have a tile which contains: The result is a double character for th '£' (ind

RE: Struts Development on ColdFusion Server

2006-07-04 Thread David Friedman
Until you posted this question and I googled it, I didn't know you could even do that on a ColdFusion server. Then again, the last time I used Cold Fusion was probably 5 years ago. :) Thanks since I found this article 'enlightening': http://www.adobe.com/devnet/coldfusion/articles/struts.html

RE: Validation problems: again...

2006-07-04 Thread David Friedman
Have you deleted your server's work directory to ensure that all new classes are being invoked next time you run it? And of course try it again before replying. Can you post all together: a) Your complete related form bean mappings (from <... to /> for each mapping, you can cut out any private d

Re: Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
yes both of em, I've post a pice of the config file ;) yes either, both has validate(ActionMapping arg0, HttpServletRequest arg1) signature. My struts version is 1.2.9. Looking at the logs, for the action/form that just skip validation: [java] [OPDIGITAL] DEBUG [HttpRequestHandler-6148719] Re

Re: seeking quick start struts tutorial

2006-07-04 Thread hicham
Hello I've tried this tutorial in "http://www.roseindia.net/struts"; i've downloaded the struts tutorial source code beside that the example use an old version of tomcat and struts I'm using tomcat 5.0.28 & struts 1.2.9 I've deployed the example on tomcat webapps directory but I get an "HTTP ERR

RE: Validation problems: again...

2006-07-04 Thread David Friedman
Do they both have action mapping with 'validate="true"'? Do they both have the same signature for you personal validate() method in ActionForm? (i.e. not in Action but ActionForm). Remember, the method signature must match YOUR version of struts. Are there any errors in your log files that migh

AW: Eclipse-Struts configuration.

2006-07-04 Thread Martin Kindler
For me Eclipse is marvelous for Struts development (Struts 1.2.x). I use the Sysdeo tomcat plugin (www.sysdeo.com) and have Struts Console from James Holmes (http://www.jamesholmes.com/struts/console/installed). The first gives you integration of Tomcat for debugging and support for the creation of

Re: Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
Hum, how could the one of them being validated them? If both extend ActionForm? I gave up from validation plugin, I'm writing my own validate method, isn't validate called even from ActionForm subclasses? Regards On 7/4/06, Paul Benedict <[EMAIL PROTECTED]> wrote: You write: >>Can someone expl

RE: [shale][clay][resolved] NullPointerException on Linux

2006-07-04 Thread Ian.Priest
Fixed. The linux box was doing hot redeploy of the app instead of restarting tomcat. I had tomcat stopped and restarted in debug mode so I could step the code and the website started working! It's fine now. Will have to get the deployers to update their ant scripts! Cheers, Ian. -Original

Re: Validation problems: again...

2006-07-04 Thread Paul Benedict
You write: >>Can someone explain me this? Both form extend ActionForm and both actions >>extend a common action. Vinicius, I think you need to refer to my previous email: ActionForm does not validate. You need to extend from ValidatorActionForm or ValidatorForm. The first valdiates based on

RE: [shale][clay] NullPointerException on Linux

2006-07-04 Thread Ian.Priest
Should have also said that when built and war'd with the shale 1.0.2 and myfaces 1.1.1 jars the same source, config files etc. run fine on both windows and Linux, so the only diff is the upgraded jars. -Original Message- From: Ian.Priest [mailto:[EMAIL PROTECTED] Sent: 04 July 2006 15:

Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
Well, I've just quit the validation on strtuts (based on commons-validator). So I've decided to use dumb manual validation. Well problem is, I still can't get one of my forms to validate! Here´ my struts-config:

Re: [shale][clay] NullPointerException on Linux

2006-07-04 Thread David Delbecq
Upper/lower case mistake in filename most probably, that's about the main difference between windows and linux, the windows filesystem is case insensitive. Ian.Priest wrote: Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just u

Re: Form validation not happening

2006-07-04 Thread Vinicius Carvalho
Nope. I'm using the default commons-validator and strus libs shipped with 1.2.9. And sorry but did not understand your XYZ example ? Regards On 7/3/06, Paul Benedict <[EMAIL PROTECTED]> wrote: Make sure you're using the correct ValidatorXYZForm base class. ValidatorActionForm uses the key

[shale][clay] NullPointerException on Linux

2006-07-04 Thread Ian.Priest
Anyone want to hazard a guess as to why I get the npe below when I deploy my application on Linux in tomcat 5? I'd just upgraded shale and clay to the latest snapshot of 1.0.3 and myfaces to 1.1.3. The same war file deploys and runs happily on my windows development box running tomcat 5.5.12. 200

Simple question regarding Action class

2006-07-04 Thread Shervin Asgari
Hello. In the top of my action class I have the following: -** * Administer Your Domain * * @struts.action name="domainAdministratorForm" path="/admin/domainAdministrator" scope="request" *parameter="method" * @struts.action-forward name="domainAdministrator.page" path=".domai

struts portlet bridge -

2006-07-04 Thread Spin
Hello, I want to use the bridge together with the jsp: <%@ taglib uri="http://portals.apache.org/bridges/struts/tags-portlet-html"; prefix="html"%> This line is only for practice, my goal is to call an action: I try to include actionURL or renderURL in the jsp and also in the

Re: Eclipse-Struts configuration.

2006-07-04 Thread Juergen Kopper
Hi, Anil Kumar T schrieb: I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea about configuring / setup of struts applications with eclipse. Any help would be appreciated. Perhaps you can try out ExadelStudio it's a plugin for Eclipse. On the we

RE: Struts validation question

2006-07-04 Thread hermod.opstvedt
Hi You also need to put in "... onSubmit="return validateValidationForm(this);" in your html:form tag. Also: you should name your forms like: validationForm, not ValidationForm. Hermod -Original Message- From: red phoenix [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 04, 2006 9:38 AM T

Re: how to start ajax in dwr

2006-07-04 Thread David Delbecq
The dwr website is full of examples and documentations Gomathi wrote: Hi i am new to ajax.I dont know dwr how to use dwr. .Is there is any sample site for creating ajax application using dwr. Kindly Regards gomes - To uns

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Now I wonder what IDE's generally people would use for struts development? Is there a better IDE than eclipse for Struts development? Can you guys please suggest me if a better IDE is available. Thanks, Anil. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesd

Re: Eclipse-Struts configuration.

2006-07-04 Thread Antonio Petrelli
Anil Kumar T ha scritto: Hi, Thanks for the info, I already tried it and WTP does not support struts. Ok, I noticed that, besides webapp support, you need some extra support for Struts. You can try Strutsbox: http://www.strutsbox.de/ HTH Antonio ---

how to start ajax in dwr

2006-07-04 Thread Gomathi
Hi i am new to ajax.I dont know dwr how to use dwr. .Is there is any sample site for creating ajax application using dwr. Kindly Regards gomes

RE: Eclipse-Struts configuration.

2006-07-04 Thread kumar.vinodh
Hi Anil, You can try out Myeclipse plugin. It is a licenced version, you can enjoy trial version for 30 days. You can download it in myeclipse.com. After installing the plug-in, try to create a new project, where you will find options like Java project Web project And many more.. Choose web pro

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Hi, Thanks for the info, I already tried it and WTP does not support struts. Anil. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 04, 2006 1:28 PM To: Struts Users Mailing List Subject: Re: Eclipse-Struts configuration. Anil Kumar T ha scritto: >

Re: Eclipse-Struts configuration.

2006-07-04 Thread Antonio Petrelli
Anil Kumar T ha scritto: Hi folks, I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea about configuring / setup of struts applications with eclipse. Any help would be appreciated. I think Eclipse WTP can help you: http://www.eclipse.org/webtools/

RE: Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
I want to try struts project this time. I think there would be some kind of struts plugin for eclipse. Am trying to get it. Any body got any idea? Anil. -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 04, 2006 1:08 PM To: Struts Users Mailing List Sub

AW: Object field validation

2006-07-04 Thread Halgurt Mustafa Ali
Hi, I have even thought that, but it still not work although taskDefinition is not null. When I enter a valid value for domain, it works, but when I enter an unvalid value like "m", the value of domain will be set to 0 without getting the validation message to tell the client, that the value of

Re: Eclipse-Struts configuration.

2006-07-04 Thread Paul Benedict
Anil, what is the problem? Struts is just a java library. Go ahead and write a standard Eclipse java project. Anil Kumar T <[EMAIL PROTECTED]> wrote: Hi folks, I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea about configuring / setup of struts

Struts validation question

2006-07-04 Thread red phoenix
I want to use struts validation,when field is invalidate,my program can raise information,like follows: Username is required. Password is required. Phone Number is required. I know it's server-side validation,I want to use client-side validation,so I put some code in my JSP files: When I run t

Eclipse-Struts configuration.

2006-07-04 Thread Anil Kumar T
Hi folks, I have eclipse 3.1.1, I'm unable to create a struts project using eclipse. Any body has any idea about configuring / setup of struts applications with eclipse. Any help would be appreciated. Thanks & regards, Anil. Information transmitted by this e-mail is proprietary to Infini