Is type property in tag must be filled?

2008-03-17 Thread Chen Chunwei
Hi all, I'm new to Struts. And I want to ask if the type property in tag must be filled? I mean if it's null, will the form-bean work? Thanks. Talos

Re: Is type property in tag must be filled?

2008-03-17 Thread Chen Chunwei
Thanks Antonio But I'm using Struts 1.1, then is it still required? Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, March 17, 2008 4:07 PM Subject: Re: Is type property in tag must

Re: Is type property in tag must be filled?

2008-03-17 Thread Chen Chunwei
ch 17, 2008 4:32 PM Subject: Re: Is type property in tag must be filled? > 2008/3/17, Chen Chunwei <[EMAIL PROTECTED]>: >> >> But I'm using Struts 1.1, then is it still required? > > > > Yes. See: > http://struts.apache.org/dtds/struts-config_1_1.dtd > > And learn DTD :-) > > Antonio >

About ActionErrors.GLOBAL_ERROR

2008-03-18 Thread Chen Chunwei
Hi all, Can anyone tell me that the real value of constant ActionErrors.GLOBAL_ERROR? Or where to find it? Actually, I want to use the tag to only display the error defined with ActionErrors.GLOBAL_ERROR. I have the struts javadoc api, but I cannot access the Internet. Thanks.

Re: About ActionErrors.GLOBAL_ERROR

2008-03-18 Thread Chen Chunwei
.apache.struts.action.GLOBAL_MESSAGE";** * djc On Tue, Mar 18, 2008 at 8:06 PM, Chen Chunwei < [EMAIL PROTECTED]> wrote: > Hi all, > > Can anyone tell me that the real value of constant > ActionErrors.GLOBAL_ERROR? Or where to find it? > Actually, I want to use the tag to o

Re: About ActionErrors.GLOBAL_ERROR

2008-03-19 Thread Chen Chunwei
Thanks all. I found the problem. Actually, the tag can display any ActionError found. But I confused my ApplicationResources.properties file, that is, the error I want to display was not defined in that file. So it will never be displayed until being defined. Further more, I don't need to kno

About tag

2008-03-20 Thread Chen Chunwei
Hi all, Can tag fetch the value processed by a specified ActionForm? For instance, there's an ActionForm named TestActionForm, which has a field defined with "String test". And the corresponding get-method getTest() will add a prefix "p:" to the field test. Supposing the origin value of test is

Re: About tag

2008-03-20 Thread Chen Chunwei
Subject: Re: About tag 2008/3/20, Chen Chunwei <[EMAIL PROTECTED]>: > Can tag fetch the value processed by a specified ActionForm? > For instance, there's an ActionForm named TestActionForm, which has a field > defined with "String test". And the correspondin

Re: About tag

2008-03-20 Thread Chen Chunwei
Almost. :-( Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 20, 2008 5:01 PM Subject: Re: About tag 2008/3/20, Chen Chunwei <[EMAIL PROTECTED]>: > > And this is my fou

About Message Icons

2008-03-24 Thread Chen Chunwei
Hi all, Is there any tag can be used to display message icons? I mean icons like alert, error, info and etc. Talos

Re: About Message Icons

2008-03-24 Thread Chen Chunwei
Er... I mean custom tags for free. - Original Message - From: "Chris Pratt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 25, 2008 1:26 PM Subject: Re: About Message Icons On Mon, Mar 24, 2008 at 10:03 PM, Chen Chunwei <[EMAI

Re: About Message Icons

2008-03-24 Thread Chen Chunwei
" Sent: Tuesday, March 25, 2008 1:43 PM Subject: Re: About Message Icons On Mon, Mar 24, 2008 at 10:45 PM, Chen Chunwei <[EMAIL PROTECTED]> wrote: > Er... I mean custom tags for free. > What should this custom tag

Re: About Message Icons

2008-03-24 Thread Chen Chunwei
Thanks Chris - Original Message - From: "Chris Pratt" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, March 25, 2008 2:01 PM Subject: Re: About Message Icons On Mon, Mar 24, 2008 at 10:58 PM, Chen Chunwei <[EMAIL PROTECTED]> wrote: &

The validator does not work

2008-03-25 Thread Chen Chunwei
Hi all, It seems that my struts application's validator does not work. I've add to my struts-config.xml and these two files surely exist. Actually, it did work yesterday and I don't remember there are any change applied to my application. But the validator just does not work. Have you e

Re: The validator does not work

2008-03-25 Thread Chen Chunwei
xml, the version is 1.0! So, obviously there is a version conflict which caused the validator did not work. Talos - Original Message - From: "Chen Chunwei" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 9:45 AM Subject: Th

How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Hi all, just as title Thanks. Talos

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
:39 PM Subject: Re: How to enable the client side validation? http://struts.apache.org/2.x/docs/client-side-validation.html Nils-H On Wed, Mar 26, 2008 at 9:34 AM, Chen Chunwei <[EMAIL PROTECTED]> wrote: > Hi all, > &g

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
ntonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 4:56 PM Subject: Re: How to enable the client side validation? 2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > My struts version is 1.1. And I tried to add for

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
to enable the client side validation? 2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > As I said, I've already used . Of course, I've alse done > the other stuff found in the document you refer to (offline version). But it > does not work. What exactly does not work? Give m

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
able the client side validation? 2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > Well, the case is that the Javascript code was generated well, but it was > not triggered. Well, that's strange. Can you post, the generated HTML and Javascript code? What browser are you using? Changing browser changes anything? Antonio

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Sorry for mis-typing. >But I wonder know ... should be But I wanna know... Talos - Original Message - From: "Chen Chunwei" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 5:34 PM Subject: Re: How to enable the client s

How to use in your own java file?

2008-03-27 Thread Chen Chunwei
Hi all, I've already configured a in struts-config.xml through some reference. But I don't know how to use it in my own business logic. Talos

Re: How to use in your own java file?

2008-03-27 Thread Chen Chunwei
Thanks Antonio I will try it. Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, March 27, 2008 4:23 PM Subject: Re: How to use in your own java file? 2008/3/27, Chen Chunwei <[EMAIL

Help on

2008-03-31 Thread Chen Chunwei
Hi all, I've configured a data source at struts-config.xml. This data source use oracle thin jdbc driver. And I've already included the ojdbc.jar. Also, the oracle database I'm trying to connect is OK. But I just can't make the data source get the connection. It always throws a SQLException: Ti

Re: Help on

2008-03-31 Thread Chen Chunwei
I'm using struts 1.1 - Original Message - From: "Vinny" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 01, 2008 2:52 PM Subject: Re: Help on What version of struts? Data-source got deprecated at some point. I forget the vers

Re: Help on

2008-04-01 Thread Chen Chunwei
uot;Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 01, 2008 2:58 PM Subject: Re: Help on Please Chen, the next time you post a question, say that you are using Struts 1.1 *always*. See the answers below. 2008/4/1, Chen Chunwei <[

Re: Help on

2008-04-01 Thread Chen Chunwei
t;[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 01, 2008 3:13 PM Subject: Re: Help on 2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>: > > Thanks. > > I've tried to specify minCount=2 and maxCount=4. But I've encountered a > new exc

Re: Help on

2008-04-01 Thread Chen Chunwei
Count". And the application just fetch the connection created to use? Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 01, 2008 3:27 PM Subject: Re: Help on 2008

Re: Help on

2008-04-01 Thread Chen Chunwei
i" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, April 01, 2008 3:54 PM Subject: Re: Help on 2008/4/1, Chen Chunwei <[EMAIL PROTECTED]>: > > By the way, can I say that, if I use in my struts > application, then the struts servlet manages the