RE: Help me get my boss of my back

2003-09-04 Thread Witbeck, Shane
Webalizer is free, WebTrends is not :) -Original Message- From: Carl-Jakob [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:31 AM To: [EMAIL PROTECTED] Subject: Help me get my boss of my back Hi, We have put up websites for some customers despite I said no. nooo...

RE: Request variables and validation

2003-09-03 Thread Witbeck, Shane
Why don't you create a method that gets whatever data you need to populate the form and call it from the DispatchAction methods that need it? Shane -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:54 AM To: [EMAIL PROTECTED] Subject: Request v

RE: mailto in html:link

2003-08-20 Thread Witbeck, Shane
You cannot nest taglibs in this manner. I suggest using a regular tag and put your mytag in the href attribute. -Shane -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:08 AM To: Struts Users Mailing List Subject: mailto in html:link I

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
Generally I add a virtual directory to my web container. This allows you to map a context root to any directory on the server (keeping permissions in mind). For example http://webroot/file would map to a directory /tmp/uploads. I proxy my web applications through Apache so I generally add an Al

RE: file upload problem

2003-08-18 Thread Witbeck, Shane
I had a similar problem until I realized that you must specify a file and not a folder for the upload path (i.e. /tmp/upload/upload.txt not /tmp/upload). HTH, Shane -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:24 AM To: 'Struts Users

RE: Global Forwards and Tiles

2003-08-15 Thread Witbeck, Shane
My solution to this problem is not to define any global forwards and route everything through an Action. If you are forwarding to a simple JSP defined by a tile then define an action-mapping using a ForwardAction. HTH, Shane -Original Message- From: David Holtzhouser [mailto:[EMAIL PROT

RE: Date fields?

2003-08-14 Thread Witbeck, Shane
AFIK, you must have a String data type for tags. Personally, I resort to using 2 getters (String and Date) in my ActionForm to deal with this. Also, FYI...the tag will take a Date type and allow you to format it using the format attribute. HTH, Shane -Original Message- From: Alex Shn

WebLogic 8.1.1 and Struts 1.1/Tiles

2003-08-14 Thread Witbeck, Shane
Has anyone had any issues with JSP's not compiling with WL 8.1.1 and Struts 1.1 using Tiles? I have just upgraded WL and some JSPs compile and others dont. Thanks, Shane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

extending Struts taglibs to indicate form field states

2003-07-31 Thread Witbeck, Shane
Im considering extending the Struts taglibs (specfically the form object tags). What Im thinking about doing is adding a "formStateObject" to my ActionForm beans and having it dictate the "state" of specifc elements of a form. For example, if a particular field should be disabled, then I would add

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Witbeck, Shane
hmm...someone on a rant here ;) what you want to do is something like: -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:36 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Prob:Calling a bean:write inside html:text Y

RE: tag generation

2003-07-28 Thread Witbeck, Shane
you should be using the full class path for the "type" attribute. -Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 4:57 PM To: 'Struts Users Mailing List' Subject: RE: tag generation Here it is. Thanks. -O

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Witbeck, Shane
Using tiles and 1.1 I currently am working on a project which uses DispatchAction extensively. In the action classes which extend DispatchAction I have 3 methods: 1. init() - which initializes form data, etc. 2. update() - which does some business logic based on a form selection. 3. submitForm() -

RE: DispatchAction role

2003-07-18 Thread Witbeck, Shane
Thanks for the reply Rick. The reason for my #2 submitForm() method is to handle the validation of the form submission within the same Action as the setup and update methods. This way everything is contained within one Action for a specific JSP form rather than the typical cross-pollination of th

RE: How to map multiple submit actions for a single form

2003-07-18 Thread Witbeck, Shane
Take a look at LookupDispatchAction -Original Message- From: pradeep bhargav [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 11:54 PM To: [EMAIL PROTECTED] Subject: How to map multiple submit actions for a single form Hi All, I'm creating a basic struts application. In my a

DispatchAction role

2003-07-18 Thread Witbeck, Shane
Is there any disadvantage of to letting a DispatchAction handle both the setup and submission of a form something like the following: DispatchAction contains the following methods: 1. init() - sets up the form with initial values for select lists, etc. 2. submitForm() - handles the validation and

opinion on a revised Struts application flow

2003-07-17 Thread Witbeck, Shane
A colleague of mine has suggestion a new "flow" to a wizard-like application and I thought I would ask the list for their opinion on the matter. Traditionally, the Struts convention has been to submit a form to an action that would handle that forms data and setup the next JSP. I have implemented

controlling the View state in Struts w/Tiles

2003-06-26 Thread Witbeck, Shane
Im working on a solution to create a flexible solution in Struts to accomodate highly dynamic forms and error handling. Here is what Im after: Based on selections on a form, easily change other fields in the form such as show/hide, disable/enable, mark field as required/not required. I am open to

RE: [OT] Java Trivia

2003-06-12 Thread Witbeck, Shane
umm... String.length() not String.length ? -Original Message- From: Firat TIRYAKI [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:07 AM To: Struts Users Mailing List Subject: Re: [OT] Java Trivia well, what's the message you are getting? F. - Original Message - Fro

tiles controller resources other than TSS?

2003-06-09 Thread Witbeck, Shane
I was wondering if there are any other resources other than the tutorial on TSS on Tiles Controllers ? I have also checked most of the books available on Struts and there is almost no mention of Tiles Controller, much less examples of how to use them. TIA, Shane -

changing tiles-config.xml from within an app?

2003-06-03 Thread Witbeck, Shane
Does anyone have any experience with changing a tiles-config.xml file from within an app? I have an app that has different themes based on resource bundles and a variable which changes bundles (and therefore themes). Currently, I have this variable defined in the tiles-config.xml and I change this

RE: wondering

2003-06-02 Thread Witbeck, Shane
I recommend using Dreamweaver MX or IntelliJ IDEA for JSP development. Both support code complete on taglibs. Shane -Original Message- From: Patrick Refondini [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 7:37 AM To: Struts Users Mailing List Subject: Re: wondering Have a look

RE: WebSphere Application Server weirdness

2003-05-27 Thread Witbeck, Shane
This is a known issue with WebSphere. I think I answered this question a while back so search the archive. Shane -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 4:48 PM To: Struts Mailing List (E-mail) Subject: WebSphere Application Server

RE: Redirects

2003-04-01 Thread Witbeck, Shane
This is a known issue with WebSphere. There is an e-fix for this but you also have to explicitly set a System Properties value. In the admin console under Application Servers > Default Server > JVM Settings add: name com.ibm.websphere.sendredirect.compliance value 1 This makes WebSphere compliant

RE: html:form problem

2003-03-17 Thread Witbeck, Shane
ekrar [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 10:20 AM To: Struts Users Mailing List Subject: Re: html:form problem Thank you for your response; do you speak about the session locale in the client side? - Original Message - From: "Witbeck, Shane" <[EMAIL PROTE

RE: html:form problem

2003-03-17 Thread Witbeck, Shane
I have had a similar problem and fixed it by explicitly setting the locale. Shane -Original Message- From: Noureddine Bekrar [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 9:55 AM To: Struts Users Mailing List Subject: html:form problem Hello, I have a probleme with when i sen

RE: [OT]: Best Web designing Tool which supports HTML4.01

2003-03-17 Thread Witbeck, Shane
Dreamweaver MX supports fieldset and legend along with the Struts taglibs. Shane -Original Message- From: Vinay [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 1:00 PM To: Struts Users Mailing List Subject: [OT]: Best Web designing Tool which supports HTML4.01 Hi everybody,

RE: [FRIDAY] List of sites using Struts

2003-03-14 Thread Witbeck, Shane
Bank of America can be added to the company list. We use Struts for some internal applications. -Shane -Original Message- From: Robert McIntosh [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 9:44 AM To: Struts Users Mailing List Subject: Re: [FRIDAY] List of sites using Struts I

RE: [OT]Best JSP plugin for eclipse..

2003-03-12 Thread Witbeck, Shane
I have been using nothing but IDEA for the last 1.5 - 2 years and have nothing but praise for it. You won't find a better IDE out there IMHO. There is also a Struts Console plugin available which makes things easier. Shane -Original Message- From: Roland Berger [mailto:[EMAIL PROTECTED] S

RE: How do you reinitialize struts and tiles

2003-03-12 Thread Witbeck, Shane
AFAIK you can't reload the struts-config.xml without restarting the container (someone correct me if I'm wrong about this). Tiles does allow you to reload the config using a Tiles action called ReloadDefinitionsAction. There is also another tiles action called ViewDefinitionsAction which displays

RE: unwanted emty lines in produced html

2003-03-12 Thread Witbeck, Shane
http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html -Original Message- From: Igor Lyubimov [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 10:59 AM To: Struts Users Mailing List Subject: Re: unwanted emty lines in produced html Witbeck, Shane wrote: > If you

RE: unwanted emty lines in produced html

2003-03-12 Thread Witbeck, Shane
If you are really anal ;) about line breaks, etc. you could use the regular expression tablib to get rid of them by wrapping each JSP. Im sure there is a performance hit with this but it saves you from having to change every line of source in the JSPs. Shane -Original Message- From: Bria

RE: StrutsMenu

2003-03-12 Thread Witbeck, Shane
committer wants to use it. Anybody want to become a committer? ;-) > -Original Message- > From: Witbeck, Shane [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:36 AM > To: [EMAIL PROTECTED] > Subject: RE: StrutsMenu > > > Is there any work being

RE: StrutsMenu

2003-03-12 Thread Witbeck, Shane
Is there any work being done to generate struts menu's dynamically? If so, is there an estimate for when this might be available? Thanks, Shane -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:17 AM To: 'Struts Users Mailing List' Subject:

RE: relative path problem

2003-03-11 Thread Witbeck, Shane
I generally use one of the following or using the Struts html taglib... HTH, Shane -Original Message- From: Jeff Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:35 AM To: Struts Users Mailing List Subject: Re: relative path problem I find that paths can be stated

RE: Best practices for capturing JSP errors (e.g. Tomcat or Log4j logging)?

2003-03-07 Thread Witbeck, Shane
Just a note here...I use the IntelliJ IDEA IDE which has a neat feature of parsing JSP's on make which is handy for finding problems before you deploy to production. Shane -Original Message- From: Viggio, Alex [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:25 PM To: 'Struts User

RE: treated as GET???

2002-04-26 Thread Witbeck, Shane
Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 4:21 PM To: [EMAIL PROTECTED] Subject: RE: treated as GET??? Shane, I put your code in my calling JSP and I still get the same log messages... =( Any other ideas? /\/\ark >From: "Witbeck, Shane" <[EMAIL PROTE

RE: treated as GET???

2002-04-26 Thread Witbeck, Shane
I use something like: Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Struts Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 4:02 PM To: [EMAIL PROTECTED]

RE: Calendar pop up tag

2002-04-26 Thread Witbeck, Shane
I like this one: http://www.totallysmartit.com/examples/calendar/simple.asp Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent:

RE: How to not print HTML on last iteration ?

2002-04-26 Thread Witbeck, Shane
You could cheat and use some scriptlet code to do this. Increment a counter within the iterate tag and if the counter reaches the collection size then do whatever. I would be interested in a better solution if someone has another suggestion. Sincerely, Shane Witbeck ___

RE: File-Upload - empty after validation

2002-04-25 Thread Witbeck, Shane
A good alternative to the struts file upload servlet is the one from servlets.com: http://servlets.com/cos/index.html I am currently using it in a project to upload images and it works great. Sincerely, Shane Witbeck __ Developer, Bank of America email: [EM

RE: Design Help...

2002-04-25 Thread Witbeck, Shane
This is a similar approach that I have used alot in ColdFusion. The methodology is called Fusebox. Basically there is an analogy to the electrical fusebox in your house. You can read more at http://www.fusebox.org. Although this methodology is centered around the CF community, there has been some

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Witbeck, Shane
Im just guessing but maybe something like this? log4j.category.org.apache.commons.validator=ALL Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Parmar, Dipakkumar [mailto:[E

RE: Passing parameters

2002-04-19 Thread Witbeck, Shane
you could do something like this in your action: String forwardPath = "/action/Blah?source=" + sourceValue; return new ActionForward(forwardPath, true); // which sets redirect=true OR return new ActionForward(forwardPath); // which is redirect=false Sincerely, Shane Witbeck

RE: and servlet context - doesn't get it

2002-03-26 Thread Witbeck, Shane
how about a regular HTML image tag like this: Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 2:10

RE: How do I change images (mouseover, mouseout) using the struts API

2002-03-15 Thread Witbeck, Shane
How about just including the link message with the image and just do the rollover on the image? Sincerely, Shane Witbeck Web Application Developer, Bank of America 904.987.1688 -Original Message- From: Paul Idusogie [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 2:23 PM To: [EM

RE: Global application object?

2002-03-13 Thread Witbeck, Shane
The Singleton pattern may be useful if the object will be shared across sessions. Sincerely, Shane Witbeck Web Application Developer, Bank of America 904.987.1688 -Original Message- From: Bomb Diggy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 3:06 PM To: [EMAIL PROTECTED]

RE: struts + Websphere 3.5.5 problems

2002-03-08 Thread Witbeck, Shane
Responding to my own post, I found some doc that fixed my problem which was that I needed to copy the DTD's to the websphere classes dir: http://www.distribucon.com/struts/WASInstall.htm Sincerely, Shane Witbeck Web Application Developer 904.987.1688 -Original Message- From: Wi

struts + Websphere 3.5.5 problems

2002-03-08 Thread Witbeck, Shane
Does anyone here have experience with deploying struts apps with WAS 3.5.5? I have followed the install directions (which outline WAS 3.5.2) but I still have problems. I can deploy a war successfully but when I open the app in a browser I keep getting a message like the following:

RE: Development Environment

2002-02-21 Thread Witbeck, Shane
Im using Idea from http://www.intellij.com on Win2k. Sincerely, Shane Witbeck Web Application Developer 904.987.1688 -Original Message- From: Dave Wellman [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: Development Environment Hello