Which framework's validate if preferred? Struts - JSTL

2003-12-01 Thread ZYD
Dear all, Struts and JSTL both have validator framework, which one is preferred if I'm using struts and JSTL in one web application? Thanks. bruce

Re: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on 11/5

2003-11-26 Thread ZYD
dear all, I went to http://www.theserverside.com/events/library.jsp#mcclanahan and clicked DSL to watch the video, but no video there, only one picture. Did you find the video? Could you please tell me how to find watch it? Thanks - Original Message - From: Steve Raeburn [EMAIL

Re: [ANN] Struts and JavaServer Faces talk by Craig McClanahan on 11/5

2003-11-26 Thread ZYD
on the right side to see his answer... Am Mittwoch, 26.11.03 um 03:12 Uhr schrieb ZYD: dear all, I went to http://www.theserverside.com/events/library.jsp#mcclanahan and clicked DSL to watch the video, but no video there, only one picture. Did you find the video? Could you please tell

Iterate problem

2003-11-16 Thread ZYD
Hi, I hava a userForm that has a ArrayList of User objects, each User object has several properties: fistname, lastname, age. How can I get all User's firstname, lastname, age in an iterate? Thanks. bruce

Re: Problem of nested logic:iterate

2003-11-16 Thread ZYD
I have a similiar problem. I hava a userForm that has a ArrayList of User objects, each User object has several properties: fistname, lastname, age. How can I get all User's firstname, lastname, age in an iterate? - Original Message - From: Sumit S. [EMAIL PROTECTED] To: Struts

Re: Where to get the latest Scaffold jar and documentation?

2003-11-16 Thread ZYD
included with the Artimus example app in Struts 1.1 contrib. I wouldn't advise using those chapters as anything more than a general introduction to the framework. and AFAIK ted considers the framework finished. c On Saturday 15 November 2003 09:20, ZYD wrote: I downloaded a file

Where to get the latest Scaffold jar and documentation?

2003-11-15 Thread ZYD
I downloaded a file called scaffold-lib_1_1_b1.zip, there are two jar files inside: commons-scaffold.jar and struts-scaffold.jar In Struts in Action, page 434, org.apache.scaffold.text.MessageUtils is metioned. Does anybody knows where is it? It's not in the two jar files above. I cannot

Multibox + iterate + design question

2003-11-13 Thread ZYD
Dear all I have a design question: there are three columns in a database table: category_id, category_description, is_main_category I want to iterate all the records in this table in a jsp page using one check box for each record. category_id is the checkbox's value,

multibox - Null attribute name ServletException

2003-11-06 Thread ZYD
I tried to use multibox. I copied the code snippet from Struts in Action, but I got: [ServletException in:/WEB-INF/jsp/form/multiboxTest.jsp] Null attribute name' --- This is my multiboxTest.jsp: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean

Can the name attribute be omitted form html:iterate tag ?

2003-11-06 Thread ZYD
Hi The following two code snippets are from Struts in Action, I copied them to my JSP page and ActionForm. but I cannot get it work. I got : [ServletException in:/WEB-INF/jsp/form/multiboxTestSubmit.jsp] Null attribute name' What's wrong with it? What do I need to pay attention to? Please

Re: multibox - Null attribute name ServletException

2003-11-06 Thread ZYD
ServletException store the properties in a bean and recall them in your action. F. - Original Message - From: ZYD [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 3:52 AM Subject: multibox - Null attribute name ServletException

Re: multibox - Null attribute name ServletException - SOLVED

2003-11-06 Thread ZYD
I change html:iterate tag to: logic:iterate id=item name=multiboxTest property=items the =multiboxTest is the ActionForm bean's name in struts-config.xml. and add getter/setter for items, now it works. Thanks. bruce - Original Message - From: ZYD [EMAIL PROTECTED] To: Struts Users

How to get the latest Scaffold jar and documentation?

2003-11-06 Thread ZYD
This question puzzled me for a long time, hope can get some help from you. I downloaded a file called scaffold-lib_1_1_b1.zip, there are two jar files inside: commons-scaffold.jar and struts-scaffold.jar In Struts in Action, page 434, org.apache.scaffold.text.MessageUtils is metioned. Does

Re: [OT] Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
that implementation instead. - Original Message - From: David Graham [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 3:10 AM Subject: [OT] Re: What's the best choice for connection pooling with Struts and PostgreSQL --- ZYD [EMAIL PROTECTED] wrote

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
tag for example) J2EE designed real nice and you should leverage it, not fight it. hth, ZYD wrote: Dear all, I'm writing my Struts application using PostgreSQL as the backend database. Could you give me some advice on choosing the connection pooling framework/methods? I

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-04 Thread ZYD
. - Original Message - From: Paul Thomas [EMAIL PROTECTED] To: ZYD [EMAIL PROTECTED] Cc: struts-user [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:10 AM Subject: Re: What's the best choice for connection pooling with Struts and PostgreSQL On 04/11/2003 02:43 ZYD wrote: I

Re: setting DataSource

2003-11-03 Thread ZYD
Did you solved this problem? what's wrong with it? I didn't get load exceptions - Original Message - From: Funicelli Aldo [EMAIL PROTECTED] To: 'struts user' [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:41 PM Subject: setting DataSource Using struts 1.1 I'm able to set a

What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-02 Thread ZYD
Dear all, I'm writing my Struts application using PostgreSQL as the backend database. Could you give me some advice on choosing the connection pooling framework/methods? I wrote my own connection pooling classes, but if there are some good frameworks from jakarta, it definitely worth a try.

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-02 Thread ZYD
and PostgreSQL Hi Bruce, I personally prefer C3P0 over DBCP. I've had problems with DBCP in the past, and the support for C3P0 seems to be better. You can find it on Sourceforge. On Sun, Nov 02, 2003 at 08:56:43AM +0800, ZYD wrote: Dear all, I'm writing my Struts application using

Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Dear all, Question 1: How to provide a Back button on a page? Is there a html tag like the one for Cancel button: html:cancel ? Question 2: How to provide two submit buttons on one JSP page, when click on the 1st button, the page is submitted to 1st action, when click on the 2nd button, it's

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
=adjrecordsdispatch.do type=aaa.ers.struts.forms.RecordsForm so U can create a dispatch action and call two different action changing value for methodtocall.If you are not using dispatch action then just set your forms action to whatever action U want to go to.. ZYD [EMAIL PROTECTED

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Hi my friend, you solve my problem, thanks!! bruce - Original Message - From: ishmael riles [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: ZYD [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:11 AM Subject: Re: Help please -- How to provide a Back button

Reset button not always working

2003-10-29 Thread ZYD
Dear all, I have a Reset button on a Jsp page: html:reset bean:message key=button.reset/ /html:reset It works at first load. But when I forward to this page from other pages, this Reset button does nothing, it does not reset anything. Does this problem sound familiar to you guys?

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
and call two different action changing value for methodtocall.If you are not using dispatch action then just set your forms action to whatever action U want to go to.. ZYD [EMAIL PROTECTED] 10/29/2003 01:18 AM Please respond to Struts Users Mailing List To: Struts

Re: How to validate html:radio is selected on a JSP page?

2003-10-26 Thread ZYD
: How to validate html:radio is selected on a JSP page? Lets hope for someone to reply to this! :D -Original Message- From: ZYD [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2003 10:50 AM To: Struts Users Mailing List Subject: Re: How to validate html:radio is selected

How to validate html:radio is selected on a JSP page?

2003-10-25 Thread ZYD
Hi friends, How to make sure a radiobox is selected on a JSP page using validator? I cannot use: field property=prjType depends=required arg0 key=newProject.label.prjType/ /field Thanks -bruce

Re: How to validate html:radio is selected on a JSP page?

2003-10-25 Thread ZYD
Subject: RE: How to validate html:radio is selected on a JSP page? I couldn't find a workaround for that so far. I use the validate() method of the actionform. Pretty lame! Eh! -Original Message- From: ZYD [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2003 10:33 AM To: Struts

How to write a multi steps wizard web application?

2003-10-24 Thread ZYD
Hi, I'm wondering how to write a multi-step wizard web app. In Struts in Action, it's mentioned that ActionForm should be set to scope session when writing a wizard. no more. Does any body have some advice on how to achive it? bruce

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
have? I believe that complete unicode support is only present in the latest perhaps even beta versions. Adam On 10/18/2003 07:43 PM ZYD wrote: No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
that complete unicode support is only present in the latest perhaps even beta versions. Adam On 10/18/2003 07:43 PM ZYD wrote: No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday

Re: i18n - Chinese charactor problem

2003-10-19 Thread ZYD
. Adam On 10/18/2003 07:43 PM ZYD wrote: No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:49 PM Subject: Re: i18n - Chinese charactor problem UTF-8

Re: i18n - Chinese charactor problem

2003-10-18 Thread ZYD
No, UTF-8 does not work. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 4:49 PM Subject: Re: i18n - Chinese charactor problem UTF-8 On 10/16/2003 07:25 PM ZYD wrote: Now I use UTF-8 everywhere

i18n - Chinese charactor problem

2003-10-16 Thread ZYD
Hi, I have a problem in getting the Chinese charactors from html:text, The following is my jsp file: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action=/submit focus=email head/head body html:text

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
: i18n - Chinese charactor problem I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding on request parameters. Maybe googling that would turn up something. Greg ZYD wrote: Hi, I have

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
that would turn up something. Greg ZYD wrote: Hi, I have a problem in getting the Chinese charactors from html:text, The following is my jsp file: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
Are you still using that? or UTF-8? Everything has to match. ZYD wrote: Hi Jason, Thank you for your response. I did exactly the same thing as the article said, but still, not working properly. Chinese can be displayed, but not in the text box. If I change %@ page contentType=text

Hi Ted, where is scaffold.ExistsAttributeAction??

2003-10-11 Thread ZYD
Hi Ted, I'm studying your artimus_1_1 codes. I'm confused by some scaffold classes, such as org.apache.struts.scaffold.ExistsAttributeAction. I cannot find it's source code, compiled class file and it's documentation anywhere. There are some other classes like this one. I noticed that