RE: help implementing modules...

2004-03-12 Thread Damm, Gary
://www.theserverside.com/books/review/J2EESurvivalGuide.tss Damm, Gary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I've successfully used Struts for several applications and have been very happy with it. I am getting ready to use it for a larger project and would like to use modules but I'm

help implementing modules...

2004-03-11 Thread Damm, Gary
I've successfully used Struts for several applications and have been very happy with it. I am getting ready to use it for a larger project and would like to use modules but I'm having some problems. It appears that when I attempt to switch from the default module to a new module (module1) it

RE: help implementing modules...

2004-03-11 Thread Damm, Gary
://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_ mo du les -Original Message- From: Damm, Gary [SMTP:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: help implementing modules... I've successfully used Struts

generating struts-config.xml using xdoclet

2003-12-15 Thread Damm, Gary
I have two action tags defined in a single action class. Each action has it's own action-forward element. When the struts-config.xml is generated it generates two action elements but each action element has both action forwards (each should only have one). /** * @struts.action *

Struts Studio, M7, etc...

2003-10-17 Thread Damm, Gary
Any opinions on these tools? I code my Struts applications (4 successful projects) in Eclipse. I see these tools as a potential timesaver now that I understand the framework. Anyone using them that wants to give feedback?

Web sites using struts

2003-03-10 Thread Damm, Gary
I know this has been asked before but I'm getting errors when searching the archive. I need some examples (links) of sites currently using struts. Any help appreciated, Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Sort a collection in alphabetic order

2003-03-10 Thread Damm, Gary
Keep in mind Strings implement Comparable. So if the lastName field of your PeopleBean is a String it makes the local sorting that much easier (no need to make changes to the PeopleBean). You can just do the comparisons based on the lastName field (or any other field that implements

RE: Web sites using struts

2003-03-10 Thread Damm, Gary
-Original Message- From: Damm, Gary [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: Web sites using struts I know this has been asked before but I'm getting errors when searching the archive. I need some examples (links) of sites currently

RE: Search example of BeanUtilities.copyProperties with a form that display table

2003-02-27 Thread Damm, Gary
Here is how I understand the BeanUtil.copyProperies. 1. It expects that the src and dest beans have the same member names to be copied. (In your case the customer bean would have id,name,country and select) members. 2. It expects these members to have getter and setter methods. 3. The data type

RE: is Component a reserved word?

2003-02-27 Thread Damm, Gary
I had a similar problem but with a method getItems(). My application is using a tag bean:define name=group property=items id=items /. This actually works fine on Tomcat 4.1 with Struts 1.1b3. But when I deploy this app to WebSphere 4.0 I get the error below. If I change the method to

Struts on Jserv???

2003-02-21 Thread Damm, Gary
I've developed a Struts application on Tomcat. Now our operations folks are attempting to deploy it to an Apache/Jserv configuration but having problems. Before I attempt the installation I wondering if anyone familiar with Jserv can tell me if there are inherent issues deploying a Struts

RE: Using internationalised messages as custom tag parameters

2003-02-18 Thread Damm, Gary
Here is another way to do it: Define the I18N string: bean:define id=thIdbean:message key=label.id//bean:define Access it with a scriplet in another tag: display:column title=%=thId% property=detailLink sort=true / Still would be nicer for the later tag to support I18N but nothings perfect.

RE: Resource Path problem

2003-02-18 Thread Damm, Gary
Not sure but it looks like it may be having a problem finding your servlet config file (struts-config.xml) and not your message resources. I had a similar problem in the past and it wasn't finding my config file. Gary -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED]]

Using html taglib with unicode escaped foreign characters...

2003-02-16 Thread Damm, Gary
I'm using WINDOWS-1252 character set on my jsp pages. This is because our database is not Unicode so I have trouble using UTF-8 (this is beyond my control at this point). When I enter Korean characters into my application they are converted into Unicode escape sequences (ie. #12345;...). When I

RE: HELP! get request parameter from a custom tag

2003-02-14 Thread Damm, Gary
There's a tag for this in the struts bean taglib. Bean:parameter Check it out: http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter Gary -Original Message- From: Kevin Williams [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 3:23 PM To: [EMAIL PROTECTED]

Unicode escape character issues with custom tags...help

2003-02-13 Thread Damm, Gary
I'm having problems displaying Unicode escaped characters with html and bean tags.When I display unicode characters with html and bean tags the ampersand is being escaped so the html is displaying the escape sequence rather than the character. Example (these are Korean characters) JSP

RE: Newbie Question on Forms

2003-02-09 Thread Damm, Gary
Yes, when you define the form in your action set the scope to session. This will put the form bean into the session scope. Hope this helps, Gary -Original Message- From: Peder Jakobsen [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 10:50 PM To: [EMAIL PROTECTED] Subject:

logging

2003-01-28 Thread Damm, Gary
I've recently switched to struts 1.1-b3. My previous log configuration has stopped working and I'm wondering why. I'm using commons-logging with log4j. My previous commons-logging jar was Implementation-Version: 1.0.1 and my commons-logging.properties is as follows:

RE: The display:* tag library

2003-01-23 Thread Damm, Gary
I checked http://javawebifier.com/index.htm for examples of the taglib rewrite but it states there aren't any examples yet. Is there somewhere you can point to examples of the rewritten tags open to the public? Have you added features to incorporate titles from Struts MessageResources? I'm using

MessageResources question...

2003-01-20 Thread Damm, Gary
I'd like to be able to identify the message resources based on the ServletRequest. Is there a hook I can use to get the current MessageResources based on the ServletRequest? The class I'm using only has hooks into the ServletRequest and not and struts specific objects. I believe I can do the

RE: html:link tag

2003-01-10 Thread Damm, Gary
I agree, the Map method isn't very straight forward for simply adding 2-3 params to the link. The only thing to remember with the traditional method is to encode the parameters. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10,

RE: first action

2003-01-09 Thread Damm, Gary
Sounds more like a PlugIn. Here are the API docs: http://jakarta.apache.org/struts/api/org/apache/struts/action/PlugIn.htm l You just implement this interface, configure it in your config.xml file and you're up and running. Gary -Original Message- From: Yan Zhu [mailto:[EMAIL

html:link tag

2003-01-09 Thread Damm, Gary
Anyone know if/how to add multiple query parameters using this tag? ie: www.myserver.com/foo.jsp?id=1bar=2... Thanks, Gary -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: form scope

2003-01-07 Thread Damm, Gary
Try setting the form scope in your struts-config to request. I believe by default it is set to session. -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:25 AM To: ' ([EMAIL PROTECTED])' Subject: form scope OK, yea it

Taglib questions

2003-01-06 Thread Damm, Gary
I'm relatively new to Struts and I'm looking for an existing tag lib to do the following actions (I would like to avoid adding Java code to my JSP's): HTML Tables 1. Alternate row color for each row of an iteration. 2. Next/Previous links for a large collection that is being iterated

Validator error...

2003-01-06 Thread Damm, Gary
Can anyone explain this error? The action I'm mapping the validation to has a form with a name attribute which is what I'm validating so I'm not sure why I'm getting the no input attribute error. HTTP Status 500 - No input attribute for mapping path /CreateGroup