RE: Editor aware of Struts

2002-04-04 Thread Yu, Yanhui
a solution. Pim Yu, Yanhui [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Vic, is OmniCore.com CodeGuide 4 a Java IDE? We are using IBM's WSAD (combines Java IDE, like VAJ and JSP editors like Websphere studio) to edit Java code (such as the Action and ActionForm classes

RE: problem with arraylist and iterate

2002-04-03 Thread Yu, Yanhui
this with ease. If want a tutorial to walk you through it, or you're running an older version of Struts and need teh nested taglib library, go here... http://www.keyboardmonkey.com/struts After that, you shouldn't have iterating problems again. Arron. Yu, Yanhui wrote: Hi Jeff, I am similar problems

visual Struts editor

2002-04-03 Thread Yu, Yanhui
Arron, I am new to Struts but I have been following the emails on this list for a while so I think you may be a good candidate for me to post this question: We use WSAD here and the developers like the Designer it comes with that provides gui interfaces, so the developers can see where is this

RE: Editor aware of Struts

2002-04-03 Thread Yu, Yanhui
) To do things like table iterate of a resuult set, they will have to be OK with writing HTML tdtr Vic Yu, Yanhui wrote: Hi all, Does anyone out there who can recommend us a tool that is Struts aware? We are using WSAD and it can't recognize any struts tags in the Page Designer that comes

RE: problem with arraylist and iterate

2002-04-02 Thread Yu, Yanhui
Hi Jeff, I am similar problems here with ArrayList, could you please post the solution if you find any? Appreciate it very much. Yanhui -Original Message- From: Jefferson Rodrigues de Oliveira e Silva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 6:29 AM To: Struts Users

Editor aware of Struts

2002-04-02 Thread Yu, Yanhui
Hi all, Does anyone out there who can recommend us a tool that is Struts aware? We are using WSAD and it can't recognize any struts tags in the Page Designer that comes with WSAD. The developers don't really like to edit the Source page (the text editor). We would very much appreciate any

is there any visual designer tool to design a struts jsp page

2002-04-01 Thread Yu, Yanhui
Hi We are using WSAD to design our jsp pages with struts. Our problem is that all developers have to use the text version editor. We hope there is a designing tool that can offer us visualized editing capability, like the page designer in WSAD for a regular html page, where the developer can

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-28 Thread Yu, Yanhui
when it's empty or null that it blows up. Post if you find a solution and I will do the same. I am going to try to step through the source this afternoon. Mike -Original Message- From: Yu, Yanhui [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 1:03 PM To: '[EMAIL PROTECTED

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-28 Thread Yu, Yanhui
to accomplish this or there is a way to do it with version 1.0.2? Answering this question will point us to the right direction. THANKS! Yanhui -Original Message- From: Yu, Yanhui Sent: Wednesday, March 27, 2002 12:03 PM To: '[EMAIL PROTECTED]' Subject: RE: Struts 1.0.2 checkbox - Error Message

Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Yu, Yanhui
Hi All, We are using struts verions 1.0.2 here. I have a problem using checkbox in a jsp, getting No collection found error. Here is my sample code and I really appreciate if anyone can give me a hand on this. in jsp = logic:iterate id=conflicts

RE: Struts 1.0.2 checkbox - Error Message: No collection found

2002-03-27 Thread Yu, Yanhui
); } } } == Looking forward to hearing any hints, thank you very much, Yanhui -Original Message- From: Yu, Yanhui Sent: Wednesday, March 27, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Struts 1.0.2 checkbox - Error Message: No collection found Hi All, We are using

email format

2002-03-25 Thread Yu, Yanhui
Hi, I am sending my own opinion on the new attachment format on the emails. I hope I am not asking for something that no other people likes. I liked the old format where all the posted messages are listed in the preview of the email, so I can see all the posted messages with titles at a

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Yu, Yanhui
HI might not be considered a valid value? Sorry if I am wrong. Yanhui -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: How to compare a notNull string with the nullString! Subject: How to

RE: How can I used html:select with a Collection of String

2002-03-20 Thread Yu, Yanhui
Of course he means Integer types and not int since primitive types can't be stored in a Vector. - Original Message - From: Yu, Yanhui Sent: Tuesday, March 19, 2002 1:31 PM To: '[EMAIL PROTECTED]'; Struts Users Mailing List Subject: RE: How can I used html:select with a Collection of String

RE: How can I used html:select with a Collection of String

2002-03-19 Thread Yu, Yanhui
Or if you want to use Vector: 1. pass the aVector which holds your int data to jsp via request/session in the action.perform() session.setAttribute(namepassedfromaction, aVector); 2. then you can do the following in the jsp: jsp:useBean id=you call name=namepassedfromaction scope=session

RE: Iterate problem

2002-03-18 Thread Yu, Yanhui
what we did here is set up a Vector or something like that which holds the beans (each bean will populate one row in this table). Then set this Vector into your session/request depending on what you like, then in the jsp page, use logic:iterate to create the table rows so the number of table

RE: is applicationresources.properties being found?

2002-03-18 Thread Yu, Yanhui
I wonder if any one out there who uses WSAD or Websphere Studio (we use NT machines to do developement, then deploy the code to UNIX) and can share with me where to go to find the log file? Thanks very much in advance, Yanhui -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: actionerrors not showing up

2002-03-18 Thread Yu, Yanhui
two cents: 1. change an error message to an.error.message in your code. 2. make sure you have an.error.message=some error message that you want to show on jsp in the application.properties file. If you have these two things done and restart your server, it seems to me you would see the some

RE: No getter method for property managerRole of bean list

2002-03-15 Thread Yu, Yanhui
help, Yanhui -Original Message- From: Yu, Yanhui Sent: Thursday, March 14, 2002 1:44 PM To: 'Ady Das-O'Toole'; Struts Users Mailing List Subject: No getter method for property managerRole of bean list HI, I tried to search the list, but can't find a good answer (I thought I saw

RE: Iterate Bug?

2002-03-14 Thread Yu, Yanhui
I wonder if you specified redirect=true in the struts-config.xml? Yanhui -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 1:05 PM To: [EMAIL PROTECTED] Subject: Iterate Bug? I have a jsp in which I iterate over a bean... the

RE: Problem in HTML:ERROR tag

2002-03-14 Thread Yu, Yanhui
We add the following lines here: errors.header=h3font color=redValidation Error/font/h3You must correct the following error(s) before proceeding:ul errors.footer=/ulhr so you would always get Validation Error in h3 and red You must correct the following error(s) before proceeding: followed by

RE: Problem in HTML:ERROR tag

2002-03-14 Thread Yu, Yanhui
e.g., errors.header=h3font color=redValidation Error/font/h3You must correct the following error(s) before proceeding:ul errors.footer=/ulhr then Validation Error will be in red Then followed by You must correct the following error(s) before proceeding in black and all the errors will be listed

No getter method for property managerRole of bean list

2002-03-14 Thread Yu, Yanhui
HI, I tried to search the list, but can't find a good answer (I thought I saw somebody else have similar problem before, but I just can't find the answer from the archive :) I passed a Vector of ManagerBean object in the session and the JSP tries to display each ManagerBean (its fields

RE: Defining a forward path- not to a JSP, but to another Action

2002-03-14 Thread Yu, Yanhui
I am new, but my very limited experience is sometimes it does not work if I leave the .do out. Thanks, Yanhui -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 4:26 AM To: Struts Users Mailing List Subject: Re: Defining a forward path- not

RE: Tomcat/Struts Profiling results

2002-03-07 Thread Yu, Yanhui
Thanks very much for sharing this information. Is there any one out there who has similar information on struts+WSAD (websphere studio applicaton developer) of IBM? We would very much appreciate if someone can post any performance information on this combination. Yanhui -Original

RE: redirection from an action/ refreshing page

2002-03-07 Thread Yu, Yanhui
Hi, I am new to Struts, and so my question maybe too simple: Please help. I notice redirect is used often, does that mean I have to put things in session instead of request? If it is true, can I use redirect=false (assuming this way I am using forward instead of sendRedirect?) so I can put

RE: Newbie Struts and Jbuilder6

2002-03-07 Thread Yu, Yanhui
Thank you VERY MUCH Ghoot! Myself is very new to Struts and I have many questions, I know I can say this on behalf of other newcomers that we APPRECIATE your time and the help! Yanhui -Original Message- From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002

RE: Struts Community Opportunity

2002-03-07 Thread Yu, Yanhui
Ghoot, As a newcomer, I thank you for this proposal to re organizing the struts documentation. I know it is probably my own fault that I can't understand exactly what the doc says sometimes but I still hope the doc can show the new users easier way! Thanks again, Yanhui -Original

RE: Methods In Action Class

2002-03-04 Thread Yu, Yanhui
Ted, I am very much interested in this. Could you give a short sample code for this approach? We used to use Javascript here to stop multiple submission but now we are using struts and Javascript is out. Thank you very much, Yanhui -Original Message- From: Ted Husted

RE: Work around for setLocale(true) Problem

2002-02-28 Thread Yu, Yanhui
could you please try ? html:html locale=true Yanhui -Original Message- From: Adam Suber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 10:06 AM To: [EMAIL PROTECTED] Subject: Work around for setLocale(true) Problem Has anyone successfully come up with a work around

how to display a bean in struts

2002-02-28 Thread Yu, Yanhui
Hi, I am quite new to struts, now I have a session bean of type Customers and I would like to display all the fields for this Customer. I thought I can do it the following way, but I keep getting errors (Attribute aCustomer has no value): jsp:useBean id=aCustomer scope=session

RE: Memory consumption of tags

2002-02-28 Thread Yu, Yanhui
This is posted a couple of times, hope someone can help me out: What I need to do is this: I would like to display an error message to the user in a little more customized way, such as, if some special characters are not allowed in a field, if they entered any of this special character

RE: Form Bean problem

2002-02-26 Thread Yu, Yanhui
Hi there, I am new to Struts, I have this problem and please help: I would like to display an error message to the user in a little more customized way, such as, if some special characters are not allowed in a field, if the user entered any of this special character set, (say @#$), I would

RE: Struts tag for label

2002-02-22 Thread Yu, Yanhui
Could you try to change disabled=true to readonly? or there is a readonly in struts? Yanhui -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 11:39 AM To: 'Struts Users Mailing List' Subject: RE: Struts tag for label Is

RE: Development Environment

2002-02-22 Thread Yu, Yanhui
Windows 2000, WSAD (used to VAJ + WebSphereStudio) -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 11:51 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Development Environment Windows 2000, cygwin vim -

RE: action and form contract

2002-02-21 Thread Yu, Yanhui
Hi I have been reading all the emails from this mailing list, and found it quite time consuming opening one, read, closing one then opening another... I wonder if I can view these messages through a web? like something for JavaRanch and any other web sites where posting/answering questions are

struts with div tag

2002-02-21 Thread Yu, Yanhui
Hi, I have an interesting problem in the past two days and have not been able to solve it, I am seeking help from you: I have a form with three tables stacked vertically on top of each other. The table in the middle would hold dynamically many rows of data. I am thinking using div tag to

RE: EJB = bad = MS.net

2002-02-21 Thread Yu, Yanhui
Hi, I am involved in a pretty large project (we have not really started coding yet). As far as I can tell, we seem to go with Struts + WSAD + EJBs Java + JSP. Am I right to interpret that you mean the combination of Struts and EJBs are problem prone? Please help me to clarify on this. Thank

RE: \No getter method\ error when using Bean:Write

2002-02-20 Thread Yu, Yanhui
Matt, It seems to me that you have case wrong for userId. Could you make a small change, then retry it? Change the following lines bean:write name=testMatt property=id / bean:write name=testMatt property=UserId / to the following lines: bean:write name=testMatt property=id / bean:write

RE: form looses valuse when validation maps back

2002-02-20 Thread Yu, Yanhui
Hi, Could you try to specify validate=true in the struts-config.xml instead? Yanhui Yu -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:22 AM To: Struts-User Subject: form looses valuse when validation maps back Hello All, i

RE: the nightly build problem

2002-02-20 Thread Yu, Yanhui
Hi, Could you use bean:define for object2 inside the logic:iterate which then needs to have propoerty=object1 only? Yanhui Yu -Original Message- From: Christopher Cheng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:36 AM To: 'Struts Users Mailing List' Subject: the

RE: Displaying Test if html:errors is free of errors...

2002-02-19 Thread Yu, Yanhui
Hi John, I am very new to Struts, so my answer may not be the best solution... In the Action.perform(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) method, you could try to pass the success message (when action sucessful) to the forward jsp page with a request or a

question on div tag

2002-02-19 Thread Yu, Yanhui
Hi there, I have a jsp page where a session bean with a Vector of Objects is passed in. I want to display selected fields for each element from this Vector in a table somewhere in the page. The list can be large/long both vertically and horizontally. The table is to be within a html:form and