Re: The field name in jsp

2005-05-12 Thread Cliff Lam
gt; easily by using a RequestUtils.createActionForm method > > riyaz > > > Cliff Lam wrote: > > Thx a lot. > > > > This is a good method but I'm not using DynaActionForms = ( . > > > >

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'd suggest doing some testing

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

2005-05-10 Thread Cliff Lam
&q=java+compression+filter&btnG=Google+Search&meta= > > Works well for us on some heavily scripted pages, and I don't need to > worry about splitting/slimming down large css files too ;) > > James > > > Cliff Lam wrote: > > > Thank you

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

2005-05-10 Thread Cliff Lam
or application, but I am in a position to tell you that there is nothing you can do about making 17,000 lines of HTML quicker (unless you buy a new desktop PC for every user and increase network bandwidth ;) ). > > Re-factor Re-factor Re-factor > > > > -Original Message- &g

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

2005-05-10 Thread Cliff Lam
t"); > %> > > <%= select.replaceAll("PLACEHOLDER", "selectNameA") %> > <%= select.replaceAll("PLACEHOLDER", "selectNameB") %> > > This method therefore hits the database ONCE (since you say you can reuse the select lists) and should

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

2005-05-10 Thread Cliff Lam
ent: Tuesday, May 10, 2005 5:27 PM Subject: Re: [OT] Help !! Too many select-box in one page > > how r u rendering you select boxes? ie, database call for each render? > > riyaz > > Cliff Lam wrote: > > Hi, > > > > My page has too many select-box in one pag

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

2005-05-10 Thread Cliff Lam
; > > ... > > > > > ... > > > However, this will not reduce your HTML page size, because you are still using 88 select blocks. You should understand the difference between reducing page size (less code) and producing re-usable code (includes) > > Cheers,

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

2005-05-10 Thread Cliff Lam
s into perhaps a "series" of forms rather than one page. > > You might like to provide more information to the list with regard to how your page is built, what it's function is, the type of info it collects and the type of info it shows. > > Allistair. > > > -Orig

[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
nfig.findFormBeanConfig(formName); > FormPropertyConfig[] formProps = formBean.findFormPropertyConfigs(); > for (int i = 0; i < formProps.length; i++) { > // get property > FormPropertyConfig prop = formProps[i]; > System.out.println(prop.getName()); > } > > Cliff Lam wrote: > > S

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
gt; To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:51 PM Subject: Re: The field name in jsp > You could do something clever and use reflection to look at the method names > in you action form objects I guess > > Jonathan Wright > ----- Original Message -

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:51 PM Subject: Re: The field name in jsp > You could do something clever and use reflection to look at the method names > in you action form objects I guess > > Jonathan Wright > - Original Message

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
han Wright > - Original Message - > From: "Cliff Lam" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday, May 09, 2005 4:33 PM > Subject: Re: The field name in jsp > > > > I'm talking the field is like > > &

Re: The field name in jsp

2005-05-08 Thread Cliff Lam
ht" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 09, 2005 12:26 PM Subject: Re: The field name in jsp > Define "fields". Are you talking about form fields? > > Jonathan Wright > - Original Message - > From: "Cli

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-mail

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 list as a heirachy > I always th

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 PM Subject: Overwriting HtmlTag >

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 resource that explains how to configure modules

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: "'Struts Users Mailing List'" Sent: Satu

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 module > Hi > > I'm tr

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 Lemle" <[EMAIL