Pre-populating html:select from request object

2003-10-29 Thread Leon King
(outageEndDateFromMonth) % html:options collection=monthList property=value labelProperty=label / /html:select Any suggestions on how this can be achieved? Thanks Leon - To unsubscribe, e-mail: [EMAIL PROTECTED

How can I set the defualt selection?

2003-07-06 Thread leon
I am a beginner of struts. I can't use the 'selected' property of the select tag in struts to set the default selection like I used it in a normal html. It's happened in 'checked' property of struts radio tag. Could you tell me how to set a defualt selection.

How can I review the message I posted before?

2003-06-17 Thread Leon
Hi, I posted a few message before and I got replies. Now, I want review these message. How can I do that? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can I review the message I posted before?

2003-06-17 Thread Leon
Message- From: Leon [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:10 PM To: Struts Users Mailing List Subject: How can I review the message I posted before? Hi, I posted a few message before and I got replies. Now, I want review these message. How can I do that? Leon

Re: ActionErrror messages from relational database

2003-06-06 Thread Leon
out? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts-menu-1.2 on Weblogic 7.0

2003-06-06 Thread Leon
) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage r.java:780) at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46) at java.lang.Thread.run(Thread.java:536) It seems problem with loading menu-config.xml? Could anyone help out? Leon

What is block me?

2003-06-06 Thread Leon
? Regards Leon 406 [Thread-8] INFO validator.ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validator-rules.xml' 469 [Thread-8] INFO validator.ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validation.xml' 547 [Thread-8] ERROR digester.Digester - Begin event threw

Re: What is block me?

2003-06-06 Thread Leon
Sorry, I got it. - Original Message - From: Leon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 06, 2003 3:49 PM Subject: What is block me? Hi, It may not be the right news group where I post this message. I am using Eclipse2.1, Struts1.1

Re: Login

2003-06-02 Thread Leon
Hi Matt, Would you know the password of username, tomcat, in the demo of struts-resume0.7? - Original Message - From: Raible, Matt [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:52 AM Subject: RE: Login I prefer form-based

how can I find the Scaffold package?

2003-05-31 Thread Leon
Hi, What is the download link of the Scaffold package? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A quick question

2003-05-31 Thread Leon
Hi, Could I get MessageResources instance in a JavaBean? I want to get messages from ApplicationResources bundle using a key inside my JavaBean class. Could anyone give some suggestrions? Eric - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List'

Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Leon
should I do for this? Thanx. Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie question: how does MyAction class handle Exceptions?

2003-05-27 Thread Leon
: Leon [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 2:45 PM To: Struts Users Mailing List Subject: Newbie question: how does MyAction class handle Exceptions? Hi, I have DataAccessException thrown by DAO class and catched by BusinessDeligate class. ApplicationException thrown

RE: Problem forwarding from a Tile or Template.

2003-04-02 Thread Anthony . Leon
I assume you mean, add the following to the struts-config.xml controller contentType=text/html;charset=UTF-8 debug=3 locale=true nocache=true processorClass=org.apache.struts.tiles.TilesRequestProcessor

RE: how to add a new record to a table

2003-04-02 Thread Anthony . Leon
I do something like this. It may not compile (esp. myformbean.getListSize()) and should use logic:iterate. Hope it helps; JSP; % int i; for (i = 0; i myformbean.getListSize(); i++) { String fieldName = value( + i + ); % html:text property=%=name% / br/ % } String

Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
I am using struts 1.1rc1 TomCat 3.3. In my struts-config.xml I have the following line; message-resources parameter=messages / I have messages.properties in /WEB-INF/classes. If I call a JSP straight after a Tomcat 3.3 restart, I get javax.servlet.ServletException: Cannot find message

Problem forwarding from a Tile or Template.

2003-04-01 Thread Anthony . Leon
I get Cannot forward because the response has already been committed. I get the same response using Templates or Tiles. Here is a simplistic version of my problem. My JSP is ... %@ taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles % tiles:insert page=/one-pane-template.jsp tiles:put

RE: Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
Works now - thanks. -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 14:08 To: Struts Users Mailing List Subject: Re: Message resources are not loaded until an action is called. is your ActionServlet load priority set as 1 or maybe 2 to ensure

RE: JBoss-3.0.4 and Tomcat-4.1.12,Problem with Deployment and ApplicationREsources

2003-04-01 Thread Anthony . Leon
You have ; param-valuede.picasso.client.PicassoProperties/param-value INF/classes/de/picassoclient/PicassoProperties.properties So the XML should read; param-valuede.picassoclient.PicassoProperties/param-value -Original Message- From: Thilko Richter [mailto:[EMAIL

Struts-Apache Config utilizing mod_jk

2002-10-09 Thread Leon King
/taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib /web-app Thanks, Leon King -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Help With Mod_JK config with struts

2002-10-09 Thread Leon King
taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib /web-app Thanks, Leon King -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

presentation logic

2001-06-19 Thread Leon Kao
Does anyone know an easy way or other tag libraries to handle the AND, OR, and ELSE conditions for presentation logic in JSP. The struts-logic.tld seems not so easy. Thanks, -Leon