Re: Parsing error processing resource path

2006-10-10 Thread Antonio Petrelli
Sandeep Gupta ha scritto: Hi I am using Struts 1.1 and Weblogic 8.1 SP1. The problem is while deploying my WAR (in the exploded form only) after modification of struts-config.xml. I have this project running for the past 6 years now. As soon as I add another form bean to the struts-config.xm

Validator framework javascript error messages

2006-10-10 Thread Puneet Lakhina
Hi, I have the following key value pair in ApplicationResource.properties required = {0} is required. I used this when I was doing only server side validation, to display a list of error messages when some validation failed. Now Im using the to do the same thing on client side also. But my pro

RE: setup file

2006-10-10 Thread Medicherla Lakshmi
Ok , Thank you. Will get back to u if i have more doubts. Wesslan <[EMAIL PROTECTED]> wrote: Or try Maven, http://maven.apache.org/. Hth, Peter -Original Message- From: RAJESH THIHARIE [mailto:[EMAIL PROTECTED] Sent: den 11 oktober 2006 07:25 To: Struts Users Mailing List Subject: RE:

RE: setup file

2006-10-10 Thread Wesslan
Or try Maven, http://maven.apache.org/. Hth, Peter -Original Message- From: RAJESH THIHARIE [mailto:[EMAIL PROTECTED] Sent: den 11 oktober 2006 07:25 To: Struts Users Mailing List Subject: RE: setup file Use Ant. http://ant.apache.org is where you should head. -Original Message

Re: Copy Data From Resource Message to JSP variable

2006-10-10 Thread Puneet Lakhina
On 10/11/06, Aftab Vhora <[EMAIL PROTECTED]> wrote: Hi, I have one key-value pair stored in my ApplicationResource.Properties file of struts. Now I want to copy the value of that resource key in my JSP variable. I tried with tag, but couldn't find a way. You could use something like this

RE: setup file

2006-10-10 Thread RAJESH THIHARIE
Use Ant. http://ant.apache.org is where you should head. -Original Message- From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] Sent: Wednesday, 11 October 2006 3:17 PM To: user@struts.apache.org Subject: setup file Hi All, Can anyone plz tel me how to create a setup file for a java

setup file

2006-10-10 Thread Medicherla Lakshmi
Hi All, Can anyone plz tel me how to create a setup file for a java web application? It needs to deploy everything the war and database scripts also. Thanks in Advance. Thanks and Regards, Lakshmi MSV. - Find o

Copy Data From Resource Message to JSP variable

2006-10-10 Thread Aftab Vhora
Hi, I have one key-value pair stored in my ApplicationResource.Properties file of struts. Now I want to copy the value of that resource key in my JSP variable. I tried with tag, but couldn't find a way. Please help me in this regard. -- Thanks & Regards, Aftab Vhora

Re: newbie confused by struts and ant

2006-10-10 Thread Sandeep Gupta
Rick, You can manually configure all the directorires from where ANT should pick up the source and resource files from. They need not be in any specific format. But as the directory structure of WAR is fixed you will then have to manually code in Ant Script to build the WAR (in the format specifi

RE: How to put an image into a without CSS

2006-10-10 Thread Chetan Pandey
Hey Jose: You don’t need to Use tag or tag. Use the following Just remember USE , not Chetan -Original Message- From: José Carlos Ortiz [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 4:02 AM To: user@struts.apache.org Subject: How to put an image into a without CSS

Re: newbie confused by struts and ant

2006-10-10 Thread Rick Schumeyer
After further contemplation I realized that the mailreader application is in WAR format. I'm guessing that during development, what is under the ant "build" directory is WAR format. So the example applications are equivalent to what would be under the "build" directory, plus the java code. (

newbie confused by struts and ant

2006-10-10 Thread Rick Schumeyer
I'm trying to get into the struts game, which means I'm simultaneously trying to come up to speed on at least three Apache projects: tomcat, ant, and struts. Plus servlets and jsps. I'm sorry if this is a basic question, but I'm a little flustered. Ant seems to expect a certain directory str

RE: requiredif help?

2006-10-10 Thread Strachan, Paul
try: ((lunchBreak == null) or (*this* != null)) above may work better for checkboxes which do not submit a value when unchecked... Some handy points about validwhen: 1. use it in place of "required" 2. I often come up with a "invalidwhen" logic and then reverse it for "validwhen" e.g. 1. lunch

Re: Reload properties file in plugin

2006-10-10 Thread Laurie Harper
Vishal Seth wrote: Hi, Can I reload properties file from a plug-in? Is there any specific way to reload properties file? I'm not sure what you're asking for; plugins are loaded at application startup, as are your application resources. Do you want a way to refresh / reload your application

Re: How to put an image into a without CSS

2006-10-10 Thread Laurie Harper
José Carlos Ortiz wrote: Hello, Does anybody know how to put an image inside a tag. I can't use the background-image css property because the image has transparent fragments and I need this fragments to be the same color of the text (text is white and the background is other color). Err, I do

Re: Problem with validator framework in LookupDispatchAction

2006-10-10 Thread Laurie Harper
Yariel Ramos Moreno wrote: Hi all: I have a LookupDispatchAction which can be submitted by two buttons (Update and Restore). I need to validate this form only when Update button is pressed. The form field to validate is required and most be integer. The required condition works fine, using th

Re: Does validwhen has a bug?

2006-10-10 Thread Laurie Harper
No, validwhen is server-side only. L. Walter do Valle wrote: I was looking for an information in Struts Validator site and found nothing about. Does validwhen generate client side validation like other rules like integer or intRange? I don't know if validWhen shortcircuits, but if it do

Re: select box validation in validation framework help?

2006-10-10 Thread Laurie Harper
Mallik wrote: hi friends i have to validate that the user should selected any option except default('select', this is a text to indicate the user to select options in this select box) option. how can i do it help me.. ur's Mallik Make sure the 'default' option's value is empty, and use a 'requi

Re: Validate two fields

2006-10-10 Thread Laurie Harper
Have you looked at the validwhen rule? That can do what you want without the need for a custom validation. L. grifoxx wrote: Hi I am trying to validate to password field so I want to check if they have the same values. This my StrutsValidator Class: package com.sfv; import javax.servlet.htt

Re: How to put an image into a without CSS

2006-10-10 Thread Chris Pratt
Use the tag, it renders an which works just like a except that it displays an image rather than a button. (*Chris*) On 10/10/06, José Carlos Ortiz <[EMAIL PROTECTED]> wrote: Hello, Does anybody know how to put an image inside a tag. I can't use the background-image css property because th

Re: validWhen problem?

2006-10-10 Thread Laurie Harper
Dave Newton wrote: From: Mallik [mailto:[EMAIL PROTECTED] HI friend i have problem with validwhen, it is not working What, specifically, does not work? test (noLunch == 'Y') If I understand the documentation at http://struts.apache.org/1.2.9/userGuide/dev_validat

How to put an image into a without CSS

2006-10-10 Thread José Carlos Ortiz
Hello, Does anybody know how to put an image inside a tag. I can't use the background-image css property because the image has transparent fragments and I need this fragments to be the same color of the text (text is white and the background is other color). If I try to use an inside the it d

RE: Does validwhen has a bug?

2006-10-10 Thread Dave Newton
From: Walter do Valle [mailto:[EMAIL PROTECTED] > If tipoDivisao == "I" qtPartes is mandatory and cannot be null. That's why I asked about the short-circuiting; I don't have the source in front of me to check. If tipoDivisao=="I" then the OR will always be true and it wouldn't need to evaluate th

Re: Does validwhen has a bug?

2006-10-10 Thread Walter do Valle
I was looking for an information in Struts Validator site and found nothing about. Does validwhen generate client side validation like other rules like integer or intRange? I don't know if validWhen shortcircuits, but if it does, wouldn't you want an "and" there and not an "or"? Dave

Re: Does validwhen has a bug?

2006-10-10 Thread Walter do Valle
No. It's an OR. If tipoDivisao != "I", qtParts does not matter, then the field is valid. If tipoDivisao == "I" qtPartes is mandatory and cannot be null. Correct me if I'm wrong, but this is what is said in this sentence. ( (tipoDivisao != "I") or (*this* != null) ) See the example in Struts site

RE: Does validwhen has a bug?

2006-10-10 Thread Dave Newton
From: Walter do Valle [mailto:[EMAIL PROTECTED] > Thried. Does not work. > Nuwan Chandrasoma escreveu: > > ( (tipoDivisao != "I") or (*this* != null) ) I don't know if validWhen shortcircuits, but if it does, wouldn't you want an "and" there and not an "or"? Dave ---

RE: render trademark symbol

2006-10-10 Thread Van Nguyen
Ok... setting the filter to false works. Thanks! -Original Message- From: Ed Griebel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:26 AM To: Struts Users Mailing List Subject: Re: render trademark symbol Sorry, escapeXml is for , Nuawn is right, filter="false" is what you

Re: Does validwhen has a bug?

2006-10-10 Thread Walter do Valle
Thried. Does not work. This was my first test. Nuwan Chandrasoma escreveu: try this ( (tipoDivisao != "I") or (*this* != null) ) - Original Message - From: "Walter do Valle" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 6:36 PM Subject: Does validwhen has a bug? Hello a

Re: Does validwhen has a bug?

2006-10-10 Thread Nuwan Chandrasoma
try this ( (tipoDivisao != "I") or (*this* != null) ) - Original Message - From: "Walter do Valle" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 6:36 PM Subject: Does validwhen has a bug? Hello all I'm trying to use validwhen from Struts Validator without success. I trie

Does validwhen has a bug?

2006-10-10 Thread Walter do Valle
Hello all I'm trying to use validwhen from Struts Validator without success. I tried everithing it is possible, but it doesn't work. I have a radio button and a text field. My validation rule is: textfield is mandatory if certain option of my radio is cheked. See below. In other words, if radi

Re: render trademark symbol

2006-10-10 Thread Ed Griebel
Sorry, escapeXml is for , Nuawn is right, filter="false" is what you are looking for. On 10/10/06, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: hi, set the filter attribute of bean:write tag to false and try - Original Message - From: "Van Nguyen" <[EMAIL PROTECTED]> To: "Struts Users

Re: render trademark symbol

2006-10-10 Thread Nuwan Chandrasoma
hi, set the filter attribute of bean:write tag to false and try - Original Message - From: "Van Nguyen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, October 10, 2006 6:14 PM Subject: RE: render trademark symbol Is escapeXml an attribute for the bean:write tag?

RE: render trademark symbol

2006-10-10 Thread Van Nguyen
Is escapeXml an attribute for the bean:write tag? I do not see that in the Struts 1.2.9 API. -Original Message- From: Ed Griebel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:05 AM To: Struts Users Mailing List Subject: Re: render trademark symbol bean:write may be escapi

Re: render trademark symbol

2006-10-10 Thread Ed Griebel
bean:write may be escaping the & so maybe you could try adding escapeXml="false" inside the bean:write tag. -ed On 10/10/06, Van Nguyen <[EMAIL PROTECTED]> wrote: That displays: (r) We need it to display: (tm) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tue

RE: render trademark symbol

2006-10-10 Thread Van Nguyen
That displays: ® We need it to display: (tm) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:33 AM To: Struts Users Mailing List Subject: Re: render trademark symbol use ® HTH M- This e-mail communication and any attachments may co

Re: render trademark symbol

2006-10-10 Thread Martin Gainty
use ® HTH M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any r

render trademark symbol

2006-10-10 Thread Van Nguyen
Hi,   I’m using struts 1.2.9 and am running into a problem rendering the trademark symbol using the bean taglib.   I have this string stored in my lucene index as:   W.Rose™ Convex Jointer   It stores it in my bean as such… but when I use the tag, it displays it as:  

Re: ClientAbortException..urgent

2006-10-10 Thread James Mitchell
That's not really specific to file size, or even Java in general. The root of this exception stems from the lifecycle of an http request. When a browser makes a request, the connection is maintained until the server completes the bytes it told the browser it was going to send. If you hit

Re: Re: [Struts 2] s:url method attribute being ignored

2006-10-10 Thread Garner Shawn
Details is being rendered as: Details Thanks Shawn -- Forwarded message -- From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Date: Mon, 9 Oct 2006 19:33:58 -0700 Subject: Re: [Struts

Re: content management system

2006-10-10 Thread Ed Griebel
http://opensourcecms.com will tell you all you need to know, it even has demos set up for every CMS. Now, as this has absolutely nothing to do about Struts, can further conversations occur offline? Thanks. -ed On 10/10/06, Stein Erik Berget <[EMAIL PROTECTED]> wrote: On Tue, 10 Oct 2006 14:12:

RE: Custom Validation

2006-10-10 Thread Dave Newton
> From: Puneet Lakhina [mailto:[EMAIL PROTECTED] > Is this the wrong way of doing things?? "Wrong" seems a bit strong. There are any number of ways around this; creating another action mapping (perhaps just a forward) is one way. Turning off automatic validation and running it manually (for inst

Custom Validation

2006-10-10 Thread Puneet Lakhina
Hi, I have an action which extends DispatchAction. So i basically have three methods, one for displaying the page before creating a new request, one for accepting the submit of a new request and one for accepting the submit of an update request. Now i dont want validations to occure when im only d

Re: content management system

2006-10-10 Thread Stein Erik Berget
On Tue, 10 Oct 2006 14:12:05 +0200, Gomathi <[EMAIL PROTECTED]> wrote: hai, I want to use content management system in my project .We dont know about this much. Which content management tool is best one.whether it is possible to use struts and ajax and hibernate and all those things.

RE: [Struts2] generating ActionErrors in the Action?

2006-10-10 Thread Dave Newton
> From: Sébastien LABEY [mailto:[EMAIL PROTECTED] > But with Struts 2, I cannot find how to build these > ActionErrors / ActionError... ActionSupport exposes getFieldErrors for access to the field-specific map of errors (key: field name, value: *List* of String error msgs for that field). Dave

RE: validWhen problem?

2006-10-10 Thread Dave Newton
> From: Mallik [mailto:[EMAIL PROTECTED] > > HI friend > i have problem with validwhen, it is not working What, specifically, does not work? > > > > test > (noLunch == 'Y') > > If I understand the documentation at http://struts.apache.org/1.2.9/userGuide/dev_validator

RE: Validating a Positive Decimal Number

2006-10-10 Thread Dave Newton
> From: Sandeep Gupta [mailto:[EMAIL PROTECTED] > > The following regular expression should work > > [+]?[0-9]*([.][0-9]*)? for positive floating point numbers and integers IIRC the OP's requirement was to have the input be greater than zero. Dave

Re: Validating a Positive Decimal Number

2006-10-10 Thread Sandeep Gupta
The following regular expression should work [+]?[0-9]*([.][0-9]*)? for positive floating point numbers and integers as well [+]?[0-9]* for positive integral values. Hope this helps - Sandeep On 10/10/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: Hi All: I my Form I have a Field which

validWhen problem?

2006-10-10 Thread Mallik
HI friend i have problem with validwhen, it is not working this is my code snipet validation.xml - test

Re: content management system

2006-10-10 Thread Sandeep Gupta
yes it is possible. look at liferay which incorporates all three said technologies. Hope this helps - sandeep On 10/10/06, Gomathi <[EMAIL PROTECTED]> wrote: hai, I want to use content management system in my project .We dont know about this much. Which content management tool is best one

RE: Validating a Positive Decimal Number

2006-10-10 Thread Dave Newton
> From: Chetan Pandey [mailto:[EMAIL PROTECTED] > I cannot find a regular expression for Positive Decimal Number greater > than 0.0. There are many for positive Decimal Number including ZERO. > Any suggestions please. Use the built-in floatRange validation or write your own validator? http://stru

content management system

2006-10-10 Thread Gomathi
hai, I want to use content management system in my project .We dont know about this much. Which content management tool is best one.whether it is possible to use struts and ajax and hibernate and all those things. we need very urgent thanks in advance H.Gomes

RE: requiredif help?

2006-10-10 Thread Mallik
HI friend thanks for help i go through it but it is not working right this is my code snipet validation.xml -

Validating a Positive Decimal Number

2006-10-10 Thread Chetan Pandey
Hi All: I my Form I have a Field which expects any value greater than 0.0. I cannot find a regular expression for Positive Decimal Number greater than 0.0. There are many for positive Decimal Number including ZERO. Any suggestions please. Thanks. Chetan Pandey

Re: Struts Equivalent

2006-10-10 Thread Antonio Petrelli
Chetan Pandey ha scritto: So is their a way we can say: session.removeAttribute("var1"); using No, you have to use tag of JSTL. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

RE: Struts Equivalent

2006-10-10 Thread Chetan Pandey
So is their a way we can say: session.removeAttribute("var1"); using Thanks. Chetan -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 7:36 PM To: Struts Users Mailing List Subject: Re: Struts Equivalent Chetan Pandey ha scritto: > Fo

Re: Struts Equivalent

2006-10-10 Thread Antonio Petrelli
Chetan Pandey ha scritto: For the following Scriptlet: <%session.setAttribute("var1",null); %> Is the following equivalent: NO! session.setAttribute("var1", null); is equivalent to session.removeAttribute("var1"); is equivalent to session.setAttribute("var1", ""); --

Struts Equivalent

2006-10-10 Thread Chetan Pandey
For the following Scriptlet: <%session.setAttribute("var1",null); %> Is the following equivalent: Thanks and Regards. Chetan

Parsing error processing resource path

2006-10-10 Thread Sandeep Gupta
Hi I am using Struts 1.1 and Weblogic 8.1 SP1. The problem is while deploying my WAR (in the exploded form only) after modification of struts-config.xml. I have this project running for the past 6 years now. As soon as I add another form bean to the struts-config.xml file, I am getting the excep

Re: ClientAbortException

2006-10-10 Thread Philippe Schober
Hi, B.Sridhar schrieb: Sorry, for my unlcear question. Actually it was a part of my question which I posted earlier. I am writing a struts appliction to download a file that is on the server. When the user clicks the download button, its displaying the open,save cancel window. Everything is

select box validation in validation framework help?

2006-10-10 Thread Mallik
hi friends i have to validate that the user should selected any option except default('select', this is a text to indicate the user to select options in this select box) option. how can i do it help me.. ur's Mallik -- View this message in context: http://www.nabble.com/select-box-validation-in-

Help needed in writing Junit test case for Struts when DynaValidator form is used

2006-10-10 Thread kumar.vinodh
Hi, Iam writing Junit test case for Struts application using cactus and iam using dynavalidator form and have written test case given below public void testSuccessfulLogin() { setRequestPathInfo("/login"); addRequestParameter("userId","bhanu"); actionPerform(); verifyFo

Re: ClientAbortException

2006-10-10 Thread B . Sridhar
Sorry, for my unlcear question. Actually it was a part of my question which I posted earlier. I am writing a struts appliction to download a file that is on the server. When the user clicks the download button, its displaying the open,save cancel window. Everything is working fine for files of s

[Struts2] generating ActionErrors in the Action?

2006-10-10 Thread Sébastien LABEY
Hi, I was using Struts 1.x before and I was used to generate ActionErrors (that contains ActionError) from the errors returned by my 3rd party side (my own framework to access DB). But with Struts 2, I cannot find how to build these ActionErrors / ActionError... what are now the class to deal with

Re: Tag Not Working

2006-10-10 Thread Antonio Petrelli
Chetan Pandey ha scritto: <%=session.getAttribute("NoCourseChosen") %> Hehe! This is not null but "null", I mean the string containing "null", because you put an HTML value (that is a string). You should use: HTH Antonio P.S.: Saying that "something in Struts does not work" is con

RE: requiredif help?

2006-10-10 Thread Mallik
Thank you friend no i got some idea, i hope it will work ur's Mallik -- View this message in context: http://www.nabble.com/requiredif-help--tf2414782.html#a6731806 Sent from the Struts - User mailing list archive at Nabble.com.