RE: crazy struts tiles problem

2005-03-01 Thread Fogleson, Allen
I usually don't use the tiles taglib other than in my layout files... here is how I would accomplish the same thing you want to do.. 1) Modify your layout.jsp note body wasn't there before. 2) Modify the tiles-def.xml then just forward to assessment

RE: Struts or SpringFramework

2005-02-18 Thread Fogleson, Allen
We used the bean framework portion of Spring in a couple applications. It was very nice when the client decided to not use EJB Facades we could very simply (less than 10 minutes) switch the whole app over to a POJO Façade. Granted we wrote the POJO Facades at the time we were developing, and the

RE: issue

2005-02-15 Thread Fogleson, Allen
Wrap it in a tag -Original Message- From: Eric Lemle [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 6:13 PM To: user@struts.apache.org Subject: Fwd: issue Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City,

RE: How to pass variable from servlet to jsp?

2005-02-11 Thread Fogleson, Allen
Well the alternative then The action class package org.homedns.afogleson.web.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.

RE: Extending Action Mapping

2005-02-08 Thread Fogleson, Allen
A workaround - albeit maybe not the best public void setAddIgnore(String value) { ignore.add(value); } public void setIgnore(List value) { this.ignore = value; } /** * @return A list of keys to ignore */ public List getIgnore() { return ignore; } then instead of use I don't like

RE: [OT] - Blog and Forum plugin

2004-11-22 Thread Fogleson, Allen
You also could use mapleBlog which uses Struts and tiles http://www.resynthesize.com/code/ Al -Original Message- From: e-denton Java Programmer [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 9:54 AM To: Struts Users Mailing List; Richard Subject: Re: [OT] - Blog and Forum pl

RE: Using commons HttpUtils to call an Action, but it doesn't wor k.

2004-11-17 Thread Fogleson, Allen
Might seem silly but have you checked the firewall rules for the production server? I have seen lots of times where the firewalls or routers are set up in such a way that you cannot hit your own site(s)/boxes from within the firewall, or even resolve the DNS name (easily fixed with a etc/hosts en

RE: inheritance in tiles

2004-10-06 Thread Fogleson, Allen
I think you would have to define what you mean there, but yes, just as in calling a jsp you can add parameters to your call to the action class and they will be passed to the underlying jsp's. (of course assuming the underlying view is jsp based :) Al -Original Message- From: Jirole, Ama

RE: Tiles inheritance

2004-10-05 Thread Fogleson, Allen
Honestly pretty much like regular OO inheritance. If you define values in the "subclassed" tile then they replace the ones in the parent, if you do not then the parents value is used. Al -Original Message- From: Wylie van den Akker [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2

RE: input form

2004-10-05 Thread Fogleson, Allen
Wendy, True enough, the original question though revolved around prepopulating the form from the DB before getting to the view of the submitting page so that initial page would have data pre-populated. :) Al -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: input form

2004-10-05 Thread Fogleson, Allen
Freddy, You want to use the formName that you gave in the struts-config.xml in general. Here is a short example. Assume TestForm is an actionform named "testForm" in the struts-config.xml. In the action class you would do something like this public Actionforward execute(...) { . . .

RE: How To Upload Files from Clients' Machine?

2004-10-05 Thread Fogleson, Allen
You can look at the struts example struts-upload.war (I think that is the name in the examples directory) for how to do this. Basically you want to make your form something like this: You will of course need an actionForm and an action class. The action form would have code such as Pu

RE: input form

2004-10-04 Thread Fogleson, Allen
Anna, What I would do is start with an action (lets call it PopulateCreateAction) that gets the collection from the DB, creates a new ActionForm and populates that action form with the collections. I would place that in the request scope and then do a standard action forward to the create.jsp. Y

RE: WEB-ROOT

2004-10-01 Thread Fogleson, Allen
Normally I would think of it as the root folder of your web archive. For instance if I have the following / ---WEB-INF ---classes ---lib /images /docs / would be my web-root. I think that is what Exadel is using. I haven't used it in over 6 months as I prefer to just use some basics to do

RE: within , how to use?

2004-09-29 Thread Fogleson, Allen
Optionally, What I have often done with DTO's is populate the action form from the DTO and place the action form in the appropriate scope for use by the page. Assuming that almost everything is a call to an action you can do this in the action class just prior to forwarding to the view. It gets ri

<    1   2