Re: The field name in jsp

2005-05-12 Thread Cliff Lam
method let me try ?? Cliff this is your last method: HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); ModuleConfig moduleConfig = (ModuleConfig)request.getAttribute(Globals.MODULE_KEY); FormBeanConfig formBean = moduleConfig.findFormBeanConfig

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
Thx a lot !! Really thank you to everyone =) !!! Cliff - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 11, 2005 12:05 AM Subject: Re: [OT] Help !! Too many select-box in one page > I

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
woo... Thx a lot ^^ Cliff - Original Message - From: "James Neville" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 5:21 PM Subject: Re: [OT] Help !! Too many select-box in one page > Cliff, > > If you truly hav

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
haha.. ='( really Thx a lot !!! Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 5:16 PM Subject: RE: [OT] Help !! Too many select-box in one page > the

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
o big ? Thanks a lot !!!! Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 4:58 PM Subject: RE: [OT] Help !! Too many select-box in one page > yes you won't b

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
Thank you for your reply I get the options from the db But the main concern is in the client side ... It loaded about 1min for the 17XXX lines html ... Cliff - Original Message - From: "rmanchu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" S

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
thank you for you reply I really want to solve the problem in the client side. It load for 1 min for the page = ( kill me please X.X Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tue

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
er 88 select-box =( Cliff - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, May 10, 2005 4:31 PM Subject: RE: [OT] Help !! Too many select-box in one page > You need to decide also whether

[OT] Help !! Too many select-box in one page

2005-05-10 Thread Cliff Lam
Hi, My page has too many select-box in one page. The .html has 17XXX lines. This make the page load for a long time to appear =( Anyone face this problem too?? Please give me some idea > <" Thx a lot Cliff

Re: The field name in jsp

2005-05-09 Thread Cliff Lam
Thx a lot. This is a good method but I'm not using DynaActionForms = ( ..... Cliff - Original Message - From: "rmanchu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 1:48 PM Subject: Re: The field name in jsp > h

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
I think I can do it like this 1. create my own textTag 2. override the setProperty function 2.1 save the property name 3. finally get it back using a tag But I don't know it is a good idea ..... Cliff - Original Message - From: "Jonathan Wright" <[EMAIL PROTECTED]&

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
But if I do the reflection to check the field in my form how can I know which field is not used in the jsp /.\ if the form is extended to the other form, I think the case is more complex. >< Cliff - Original Message - From: "Jonathan Wright" <[EMAIL PROTECTED]

Validation of indexed property

2005-05-08 Thread Cliff Lam
Hi, Any one can send me some examples to do the validation of indexed property ?? As I find that JavascriptValidationTag just skip it . I'm using struts 1.1 Thanks a lot =) Cliff

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
Should I hard code the field name in the collection ? I want to do it in each page in my web application =.=" Cliff - Original Message - From: "Jonathan Wright" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:37 PM

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
I'm talking the field is like And I'm finding method to print all the field name (propertyName) at the end of the page. eg. <> This page's Field: propertyName1 propertyName2 propertyName3 .... Thanks a lot ^^ Cliff - Original Message - From: "Jonathan Wrig

The field name in jsp

2005-05-08 Thread Cliff Lam
Hi, How can I know the fields in jsp dynamically. eg. I want to print the all the field name at the end of each page dynamically. Should I override the setProperty to do it? Thanks a lot =) Cliff

The field name in jsp

2005-05-08 Thread Cliff Lam
Hi, How can I know the fields in jsp dynamically. eg. I want to print the all the field name at the end of each page dynamically. Should I override the setProperty to do it? Thanks a lot =) Cliff - To unsubscribe, e

Re: Way of reading this mailing list as a heirachy

2005-05-08 Thread Cliff Lam
This function is so useful But I cannot find it in my Outlook Express 6 =.=" Cliff - Original Message - From: "Rafael" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 11:17 AM Subject: Re: Way of reading this mailing

Re: Overwriting HtmlTag

2005-05-06 Thread Cliff Lam
I bind the onchange function dynamically at the client side using javascript. But I don't know if it is a good idea. Cliff - Original Message - From: "Nancy Lin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 04, 2005 11:59

Re: modules

2005-05-02 Thread Cliff Lam
http://struts.apache.org/userGuide/configuration.html#dd_config_modules =) Cliff - Original Message - From: "Lucas Bern" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, April 30, 2005 5:39 AM Subject: modules > > Any resourc

Re: problem with checkbox values and map backed properties

2005-05-02 Thread Cliff Lam
You can try to set a "unlicked value" in the reset function in the form. When the click-box is clicked the unlicked value will be covered. Hope this is useful for you. =) Cliff - Original Message - From: "Günther Wieser" <[EMAIL PROTECTED]> To: "&#x

Validate indexed property problem

2005-04-19 Thread Cliff Lam
Hi all, could any one send me some best practice about Validating indexed property? Thanks a lot =) Best wishes, Cliff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validator with more than one module

2005-03-11 Thread Cliff Lam
If you not trying to use multi-module, you can try to include your all validation.xml into one config.xml. Lucky Cliff - Original Message - From: "Diego Espada" <[EMAIL PROTECTED]> To: Sent: Saturday, March 12, 2005 2:22 AM Subject: Validator with more than one modul

Re: filter ?

2005-02-11 Thread Cliff Lam
Hi, I have encounter this problem before too. I have tried to get the destination jsp using a tag. 1. The tag can get the information of jsp and put it in the session. 2. Get the jsp information from the filter. Hope this help =) Cliff - Original Message - From: "Eric

JAAS implement RBAC in struts

2005-01-11 Thread Cliff
Hi, could anyone get me some idea to implement a RBAC (role base access control) using JAAS in struts ?? I have no idea to implement it and try to find a lot of information about security of J2EE, JAAS login module . to read. Anyone can help me ?? Best wishes, Cliff Lam Reinfo Technology

Re: Attributes Initialization

2005-01-05 Thread Cliff
Hi, May be you can try to use the reset() in the Form. Good Luck Cliff - Original Message - From: "elisegev1" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 3:12 AM Subject: Attributes Initialization > > I have a form that needs some initialization

Re: Security question

2005-01-04 Thread Cliff
Hi, You may find some information in http://pow2acl.sourceforge.net/ Good Luck Cliff - Original Message - From: "Barnett, Brian W." <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, January 05, 2005 4:50 AM Subject: RE: Secu

Re: HOw to avoid validations for certain submit buttons on a single form?

2005-01-04 Thread Cliff
Hi, Could I ask where to set the bCancel ? as a parameter in the request ?? Thx a lot. Cliff - Original Message - From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 05, 2005 2:27 AM Subject: Re: HOw to avo

Re: HOw to avoid validations for certain submit buttons on a single form?

2005-01-04 Thread Cliff
Hi, You may get the reference from the Cancel Button in CancelTag. The Tag will set a parameter in the request to block the validation in the servlet. Good Luck Cliff - Original Message - From: "Krishna Mohan Radhakrishnan" <[EMAIL PROTECTED]> To: "Struts User

Re: validation issues when using multiple modules

2005-01-03 Thread Cliff
Hi, I havn't use multi-module but multi-config.xml. My setting of Validator is centralised in one config.xml. You may try. Good Luck. Cliff - Original Message - From: "Leigh Estes" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 04, 2005 8:06 AM Subject: v

Re: Validation Post-Back help

2004-12-30 Thread Cliff
e. It is just cover all the null fields from previous form which is saved in session. Cliff --- In [EMAIL PROTECTED], Daniel Kies <[EMAIL PROTECTED]> wrote: > Greetings. I am using the Validation Framework and I am having > problems when the validator is finding an error. When the p

Re: prevent reset of bean after submit

2004-12-30 Thread Cliff
want. But you need to really consider the Validation and using the Same Form or the two form have a Extend Relationship. Hope that can help you. Happy New Year!! Good Luck Cliff --- In [EMAIL PROTECTED], "sachin" <[EMAIL PROTECTED]> wrote: > hi Cliff , > > > You

Re: Validation Failure

2004-12-30 Thread Cliff
displaying the message in jsp != it can read in the Validator I also encountered this problem before. Cliff --- In [EMAIL PROTECTED], "elisegev1" <[EMAIL PROTECTED]> wrote: > > I am learning how to use Struts and have encountered the following > problem. I ha

Re: prevent reset of bean after submit

2004-12-24 Thread Cliff
You may consider put all the fields which are populated from frist.jsp in the second.jsp using hidden field. I think there are so many solutions can solve this problem. Good Luck Merry Christmas Cliff --- In [EMAIL PROTECTED], Hubert Rabago <[EMAIL PROTECTED]> wrote: > It's pos

Re: Page navigation links

2004-12-18 Thread Cliff
path will include this 'Bcode' If not I need to think the other way to get it back. Thanks a lot Cliff --- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: > Presumably you would want such a construct to work regardless of what path a user took to get to a specific page (assuming t

Re: struts1.1 validation in nested tag elements

2004-07-26 Thread Cliff
multi-properties is supported in server side validation but not in client side. the message will be null or empty in the javascript. Cliff --- In [EMAIL PROTECTED], "Bharathiraja" <[EMAIL PROTECTED]> wrote: > In our project in a place we have to set multiple properties

multi-properties in validator support in struts 1.2.1?

2004-07-14 Thread Cliff
I have traced the code in the JavascriptValidatorTag.java and found that the defeat bundle is used to select the message resources. Anyone can tell me more?? Thanks a lot !! Cliff

Re: use multiple resource bundles in Validator

2004-07-10 Thread Cliff
.java. If anyone have a better idea please tell me. Thanks a lot. --- In [EMAIL PROTECTED], Van <[EMAIL PROTECTED]> wrote: > On Fri, 9 Jul 2004 14:44:08 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > > From: cliff [mailto:[EMAIL

RE: use multiple resource bundles in Validator

2004-07-09 Thread cliff
I have tried 1.2 but it cannot work. could anyone tell me how to do ? Thanks a lot From: "Jim Barrows" <[EMAIL PROTECTED]> Date: Fri Jul 9, 2004 4:37 am Subject: RE: use multiple resource bundles in Validator > -Original Mes

multi-porterties problem

2004-07-07 Thread cliff
n.xml Thanks. Best wishes, Cliff