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
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
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
>
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.
.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
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
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
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
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
Hi all,
Is there any tag can be used to display message icons? I mean icons like alert,
error, info and etc.
Talos
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
"
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
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:
&
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
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
Hi all,
just as title
Thanks.
Talos
: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
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
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
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
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
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
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
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
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
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 <[
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
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
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
29 matches
Mail list logo