Javascript error using struts select tag

2008-03-25 Thread Joe Yuen
I am trying to use the html:select tag in my jsp page but am getting the following javascript error, Microsoft JScript runtime error: Object expected. In my jsp page I have: table align=left class=tableGold tr th align=left bgcolor=#EEE8AAfont size=-1

RE: struts 2 vs struts 1+spring

2007-12-22 Thread Joe Yuen
: [EMAIL PROTECTED] on behalf of Ted Husted Sent: Sat 12/22/2007 6:20 AM To: Struts Users Mailing List Subject: Re: struts 2 vs struts 1+spring On Dec 22, 2007 2:21 AM, Joe Yuen [EMAIL PROTECTED] wrote: Thanks that was a good analogy. I have used Spring and and I like it but then let me turn

struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
I have an application that currently is implemented using struts 1.2.8 + spring 1.2.8 + hibernate. What would be the advantages to migrate this to a struts 2 + hibernate solution?

RE: struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
List Subject: Re: struts 2 vs struts 1+spring Joe Yuen wrote: I have an application that currently is implemented using struts 1.2.8 + spring 1.2.8 + hibernate. What would be the advantages to migrate this to a struts 2 + hibernate solution? Er, huh? In my experience it's *spring

RE: struts 2 vs struts 1+spring

2007-12-21 Thread Joe Yuen
To: Struts Users Mailing List Subject: Re: struts 2 vs struts 1+spring Joe Yuen wrote: Well, that's kind of the essence of the question. What would you loose if you did? It seems to me that there is quite a bit over overlap to Struts2 and Spring. I guess it depends on the app. In most spring apps

validating a url

2007-09-27 Thread Joe Yuen
What is the right way to validated a url? In my validator.xml file, I have the following entry: field property=insWeb depends =url var var-nameallowallschemes/var-name var-valuetrue/var-value /var var var-nameallow2slashes /var-name var-valuetrue/var-value /var /field If I enter

how to handle unchecking a check box

2007-07-30 Thread Joe Yuen
I am running into a situation where once a user has checked a box and has submitted the form, there is now no way to uncheck the box. What is the proper way to handle this situation? Thanks, Joe

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error: test: [junit] Testsuite:

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe Yuen wrote: Huh??? What are you talking about? What topic being hijacked??? I am asking a question. Do you mean that this subject line has already been used in another thread??? You replied to a message in the AutoCompleter doesn't work good

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Users Mailing List Subject: Re: Advice on unit testing struts action classes -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Do not hijack topics. Please post a new message to user@struts.apache.org to ask a question. - -chris Joe Yuen wrote: Can anyone give me any advice on a good tool

Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked into StrutsTestCase but cannot get it to work. I get the following error: test: [junit] Testsuite:

RE: Advice on unit testing struts action classes

2007-06-22 Thread Joe Yuen
: Advice on unit testing struts action classes -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, Joe Yuen wrote: Can anyone give me any advice on a good tool to use for unit testing struts action classes. I am currently using struts 1.2.9 with spring 1.2.9 and hibernate. I have looked

RE: url validation

2007-06-02 Thread Joe Yuen
I am trying to validate a url. I have the following in my validation.xml file form name=LinksInputForm field property=url1 depends =url arg0 key=label.url / var var-nameallowallschemes /var-name var-valuetrue/var-value /var var var-nameallow2slashes /var-name var-valuetrue/var-value

Multi lingual web site

2007-05-30 Thread Joe Yuen
I am trying to build a mutilingual website. I'm currently using a resource file and that all work great except for some select boxes the data comes from the database where the data is in english. I was wondering how other people handle this situation? Should I have the same table also store the

RE: Multi lingual web site

2007-05-30 Thread Joe Yuen
- Hash: SHA1 Joe, Joe Yuen wrote: I'm currently using a resource file and that all work great except for some select boxes the data comes from the database where the data is in English. I was wondering how other people handle this situation? You'll need your tables to accommodate other languages

Flex front end

2007-04-20 Thread Joe Yuen
Has anyone had any experience getting Adobe's Flex product to work with struts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Flex front end

2007-04-20 Thread Joe Yuen
. Really cool stuff... -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:44 PM To: Struts Users Mailing List Subject: Flex front end Has anyone had any experience getting Adobe's Flex product to work with struts

Is it possible to mix pages that use tiles with those that do not?

2007-03-12 Thread Joe Yuen
I am trying to build an application which some pages use tiles that have a header, body and footer. I've managed to get the pages with those three tiles working but now whenever I want to forward to a page that doesn't have any tiles that page always appears in the body. Could someone explain

RE: Struts Tiles

2007-03-09 Thread Joe Yuen
/2007 4:54 PM To: Struts Users Mailing List Subject: Re: Struts Tiles Could you post the relevant section of your tiles-config struts-config ? Cheers. WiB On 3/9/07, Joe Yuen [EMAIL PROTECTED] wrote: I am using struts 1.2.9 and am trying to understand how tiles works. I am getting

Struts Tiles

2007-03-08 Thread Joe Yuen
I am using struts 1.2.9 and am trying to understand how tiles works. I am getting the following error: javax.servlet.ServletException: Can't find Tile context for 'com.chisq.vax.action.VaxAction'. TilesAction subclasses must be called from a Tile What is this Tile context that it is

RE: Using DispatchAction and Struts Tiles

2007-02-06 Thread Joe Yuen
(InsertTag.java:462) so on From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Mon 2/5/2007 4:40 PM To: Struts Users Mailing List Subject: Re: Using DispatchAction and Struts Tiles --- Joe Yuen [EMAIL PROTECTED] wrote: Does anyone know if these two can somehow

RE: Using DispatchAction and Struts Tiles

2007-02-06 Thread Joe Yuen
(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Any idea of what might be wrong? Thanks. From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tue 2/6/2007 10:17 AM To: Struts Users Mailing List Subject: RE: Using DispatchAction and Struts Tiles --- Joe Yuen

Using DispatchAction and Struts Tiles

2007-02-05 Thread Joe Yuen
Does anyone know if these two can somehow be used together? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
Does anyone have an idea as to why this URL http://localhost:8080/Chisq/Insurance.do?action=editpersonid=1001 works in Firefox but not in IE6? In my action class, I can see a personid in Firefox but in IE personid is null. I am using struts 1.2.8. Thanks, Joe Yuen

RE: Passing parameters to a struts action in URL

2007-01-18 Thread Joe Yuen
? -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 4:12 PM To: Struts Users Mailing List Subject: Passing parameters to a struts action in URL Does anyone have an idea as to why this URL http://localhost:8080/Chisq/Insurance.do?action=editpersonid

problem with using dispatchaction

2006-12-05 Thread Joe Yuen
].action.value='edit'; document.forms[0].submit(); } /script Thanks, -Joe Yuen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Debugging struts applications with eclipse

2006-10-24 Thread Joe Yuen
Can anyone tell me how to debug an application running under tomcat? Is there any special setup I have to do in eclipse? Thanks.

struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
Is there any compatibility issues with struts 1.2.9 and tomcat 5.5. I upgraded to 5.5 from 5.0.28 and am now getting the following error. java.lang.ClassCastException: org.apache.struts.taglib.logic.IterateTei

RE: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
of struts jar under the shared lib dir. I would also delete the work directory too. -- James Mitchell 678.910.8017 On Oct 19, 2006, at 1:33 PM, Joe Yuen wrote: Is there any compatibility issues with struts 1.2.9 and tomcat 5.5. I upgraded to 5.5 from 5.0.28 and am now getting

RE: struts 1.2.9 and tomcat 5.5

2006-10-19 Thread Joe Yuen
The error occurs when I startup my web app. -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Thu 10/19/2006 4:46 PM To: Struts Users Mailing List Subject: Re: struts 1.2.9 and tomcat 5.5 i use TC 5.5 and Struts 1.2.9 w/o problems. but i can not tell what's wrong.

dependent drop down lists

2006-09-14 Thread Joe Yuen
I currently having trouble implementing dependent drop down lists. Do anyone know where I might see an example of how to implement such a thing? Thanks, -Joe