Re: How to clear ActionForm before calling mapping.forward(...)???

2005-03-21 Thread Eric Lemle
Is this what you are looking for? ActionForward cleanDisplay= new ActionForward("/myAction.do?"); cleanDisplay.setRedirect(true); return cleanDisplay; put that in your action and run it. -Eric - To unsubscribe, e-

??? find site error (action)

2005-03-15 Thread Eric Lemle
Here is what the error says: * Internet Explorer cannot download myAction.do?myparam=344 from localhost Internet Explorer was not able to open this Internet site. The requested site is either un

STRUTS PROJECT finding problem (adding attachment again, not sure why it said Part.001)

2005-03-14 Thread Eric Lemle
>>> [EMAIL PROTECTED] 03/14/05 3:24 PM >>> What could cause this error See attached error message. Why can't it find the site? -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

STRUTS PROJECT finding problem

2005-03-14 Thread Eric Lemle
What could cause this error See attached error message. Why can't it find the site? -Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

??????????? in JSP

2005-03-09 Thread Eric Lemle
My app server runs on a unix box and I am getting lots of question marks showing up in my JSP. How do I fix this problem? I downloaded the Programmers File Editor but it doesn't seem to help at all. -Eric - To unsubscribe, e-m

Re: DispatchAction - NullPointerException

2005-03-08 Thread Eric Lemle
The execute method can be used to put code that will apply to all the dispatched methods. *--- public class BasicInfoAction extends DispatchAction { private String thing1; private String thing2; public ActionForward execute(Ac

New Question Re:

2005-03-07 Thread Eric Lemle
I have a question after reading this question. What exactly does the filter=" do? -Eric >>> [EMAIL PROTECTED] 03/07/05 1:30 PM >>> Hi, I wanted to display label using . But I need to filter(or allow) selected HTML tag. For example I have to allow tag but I have to filter alert("hi"); like th

user@struts.apache.org

2005-03-02 Thread Eric Lemle
,scrollbars=yes,width=790,height=600'); ...isn't doing. And that is why it works and the js does not. ? ANYONE KNOW WHAT THE DIFFERENCE IS? -Eric Eric Lemle wrote: > Can anyone tell me why this > > target="ResumeAttachment">VeselovaNataliaECV

RE:

2005-03-02 Thread Eric Lemle
,scrollbars=yes,width=790,height=600'); ...isn't doing. And that is why it works and the js does not. ? ANYONE KNOW WHAT THE DIFFERENCE IS? -Eric Eric Lemle wrote: > Can anyone tell me why this > > target="ResumeAttachment">VeselovaNataliaECV

Re: How to reduce jsp files by using Tiles?

2005-03-02 Thread Eric Lemle
I think if you use the tiles-defs.xml configuration properly you can eliminate lots of files. But I don't use that file yet. -Eric >>> [EMAIL PROTECTED] 3/2/2005 12:53:59 PM >>> I do not think it's possible... I hope someone can prove me wrong. --- Daniel PC Leung <[EMAIL PROTECTED]> wrote: > I

Re: problem with logic:iterate

2005-03-02 Thread Eric Lemle
nd bean under name org.apache.struts.taglib.html.BEAN' What's wrong? thanks --- Eric Lemle <[EMAIL PROTECTED]> wrote: > I think this is what you are looking for > > indexId="i"> > property="description" /> > > > > -Eric > > > >

Re: problem with logic:iterate

2005-03-02 Thread Eric Lemle
I think this is what you are looking for -Eric >>> [EMAIL PROTECTED] 3/2/2005 12:09:49 PM >>> hi folks, I am trying to iterate a through a Vector of object of class Project where project has getter and setter getDescription(),setDescription(),etc In the jsp page I first created bean o

RE: One last ATTACHMENT issue

2005-03-02 Thread Eric Lemle
ACHMENT issue Shot in the dark here: IIRC, you don't need the ampersand after the initial question mark in the request URL. Try killing that & see what happens... Good luck, -- Curtis Eric Lemle wrote: > Can anyone tell me why this > > target="ResumeAttach

Re: One last ATTACHMENT issue

2005-03-02 Thread Eric Lemle
killing that & see what happens... Good luck, -- Curtis Eric Lemle wrote: > Can anyone tell me why this > > target="ResumeAttachment">VeselovaNataliaECV.doc > > works perfectly. > > > But this. > > function printAttachment( id, n

One last ATTACHMENT issue

2005-03-01 Thread Eric Lemle
Can anyone tell me why this VeselovaNataliaECV.doc ...works perfectly. But this. function printAttachment( id, name ) { childWindow=window.open( 'AttachmentAction.do?&attachment_id='+id, name, 'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,

RESOLVED FYI Re: ??? action returning multiple attachments?

2005-03-01 Thread Eric Lemle
rote: >Could it be accomplished by a single ActionForward with a path that >specifies the attachments in a query string? Sorry, I don't exactly >know what you mean by "attachments". > >Erik > > >Eric Lemle wrote: > >>Is there a way I can have an action return m

??? action returning multiple attachments?

2005-03-01 Thread Eric Lemle
Is there a way I can have an action return more than one action forward, meaning some are going to be attachments and then the normal forward is returned like usual? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111

Re: JAVASCRIPT: Object expected

2005-02-23 Thread Eric Lemle
would happen if you removed it and just left it as onClick='showlReport(81)'? I thought the same thing, so I removed the javascript: but still have same problem. thanks though!!! -- Take care, NG On Tue, 22 Feb 2005 13:09:10 -0700, Eric Lemle <[EMAIL PROTECTED]> wrote: > Ye

Re: JSP only page flow

2005-02-22 Thread Eric Lemle
- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2005 4:34:47 PM >>> Which part are you agreeing with? Setting the hidden field to be 'pageB.jsp' and having the Action return (mapping.findForward(request.getParameter("page"))? - This wouldn' put al

Re: JSP only page flow

2005-02-22 Thread Eric Lemle
sure you just forward to a .jsp or an Action. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2005 4:15:43 PM >

Re: STRUTS PROJECT

2005-02-22 Thread Eric Lemle
e file to automatically print, or display the print dialog? If so, I don't believe that's possible. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Eric Lemle wrote: > When downloading a file how do you get the users (client) co

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Eric Lemle
Did you create a template.jsp that inserts the header, footer, nav, and main tile? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EM

Re: out of memory FormFile problems after migrating to Struts 1.2.4

2005-02-22 Thread Eric Lemle
I gave you a snippet below that works for me, might help ya. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2

Re: DynaActionForms Question

2005-02-22 Thread Eric Lemle
It's a map, you have to call get("name"); Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/22/2005 1:38:02 PM >>> He

STRUTS PROJECT

2005-02-22 Thread Eric Lemle
When downloading a file how do you get the users (client) computer to use the print command/option instead of the open command/option. (Maybe the the same way you get a desktop shortcut to print instead of open when its double clicked on.) relevant code... private void downloadFile(String a

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
s though!!! -- Take care, NG On Tue, 22 Feb 2005 13:09:10 -0700, Eric Lemle <[EMAIL PROTECTED]> wrote: > Yes, already did that, and it does not even get to the function. > It seems to think the function is not there but it actually is. ??? > > > Eric D. Lemle > Senior Pr

Re: JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
oftware Architect Omnytex Technologies http://www.omnytex.com On Tue, February 22, 2005 2:40 pm, Eric Lemle said: > I have an error on this line and it use to work... > > onClick='javascript:showIReport(81);' > > > the method is in the view source file > > >

JAVASCRIPT: Object expected

2005-02-22 Thread Eric Lemle
I have an error on this line and it use to work... the method is in the view source file function showIReport( id ) { childWindow=window.open( 'SiteVisitAction.do?dispatch=display&imode=Modify&report=true&site_visit_id='+id, 'Itinerary_Report', 'toolbar=no,location=no,directories=no,

Re: ??? Please help with including two action results STUPID!!!

2005-02-18 Thread Eric Lemle
s of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> Joe Germuska <[EMAIL PROTECTED]> 2/17/2005 3:46:56 PM >>> At 10:30 PM + 2/17/05, Eric Lemle wrote: >Tried > >/> > >but nothing shows up. Is this what you meant? > >So if I ge

??? Please help with including two action results

2005-02-18 Thread Eric Lemle
/ Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> Joe Germuska <[EMAIL PROTECTED]> 2/17/2005 3:46:56 PM >>> At 10:30 PM + 2/17/05, Eric Lemle wr

??? Re: I have a jsp. that has two included jsp's, only one shows up.

2005-02-17 Thread Eric Lemle
-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/8/2005 2:20:29 PM >>> At 2:15 PM -0700 2/8/05, Eric Lemle wrote: >So how does one get the final HTML from two Actions into the same page? I am pretty sure that Tiles will do includes instead of forwards where necessary so that y

?

2005-02-17 Thread Eric Lemle

Re: how to integrate struts project with hibernate?

2005-02-17 Thread Eric Lemle
I was referring to just the LabelValueBean class not the entire Struts jar. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PR

Re: how to integrate struts project with hibernate?

2005-02-16 Thread Eric Lemle
I would say,... the LabelValueBean is just a data structure that could be in java.util, so you could just put that class in your ejb layer if you want. Marrying is relative, aren't we all married to java.util anyway. If you always have web clients it will be helpful and if not I don't think it wi

? with invalid session

2005-02-16 Thread Eric Lemle
If the session expires and then they click on something it runs the action and then the action tries to get some info from the session which causes a null pointer exception. Is there anyway to have a pre-filter rather than a post-filter to send them to the page that says, says ex.-> 'your session

Re: String from the Resource Bundle into HTML:SUBMIT value atttibute???

2005-02-16 Thread Eric Lemle
Try in your action... MessageResources mr=(MessageResources)request.getAttribute("org.apache.struts.action.MESSAGE"); request.setAttribute("submitTag ", mr.getMessage("submitTag ") ); //put it in the request or session or in your form bean the in the JSP... (maybe) //bean version

Re: String from the Resource Bundle into HTML:SUBMIT value atttibute???

2005-02-16 Thread Eric Lemle
Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/16/2005 11:23:51 AM >>> Hi, I'm new to the servlets/jsp/struts wo

STRUTS popup action jsp not finding path as normal

2005-02-16 Thread Eric Lemle
I have several jsp's in the same folder. They all have... at the top. but when one is used in a popup via window.open action it does not find the .js. I tried other paths and none work. Where is struts going in this situation as far as a home path? -Eric Eric D. Lemle Senior Programmer

Fwd: issue

2005-02-15 Thread Eric Lemle
Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> Eric Lemle 2/15/2005 5:10:00 PM >>> STRUTS project. OK I hav

Re: AW: formbean with List field

2005-02-15 Thread Eric Lemle
In the jsp you can iterate your list and give unique identifier to each one maybe via the index. In the form bean you would have each of the unique names available. May want to use the LazyDynaBean. -Eric Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street,

Re: bean:include

2005-02-15 Thread Eric Lemle
Well, what I need is the results of complete actions, the final HTML and I want to include a few of those in a report page. So tiles is not really the solution because you only get one action again. -Eric Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street,

filter ?

2005-02-11 Thread Eric Lemle
>From inside a filter how do I get the name of the jsp that was requested? Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED]

RE: argument to struts config forward mapping

2005-02-11 Thread Eric Lemle
een using this for a while. But with another fw layer on top which allows passing up to 4 args. Are you telling me that struts never support this syntax in struts config since 1.1? Where would I put parameter="dispatch"? -Betty -Original Message- From: Eric Lemle [mailto:[EM

Re: argument to struts config forward mapping

2005-02-11 Thread Eric Lemle
parameter="dispatch" Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 2/11/2005 2:58:28 PM >>> Does 1.2.4 support th

Re: argument to struts config forward mapping

2005-02-11 Thread Eric Lemle
You can use the dispatch= for one argument but the others you must find a different way Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECT

Re: How to pass variable from servlet to jsp?

2005-02-11 Thread Eric Lemle
from Mailing LIST recipient *** If you people are going to argue, please send it to each other, some of us are glad its Friday and don't give two hoots about a scriplet debate. ** Eric D. Lemle Senior Progr

Re: SessionState vs. request state.

2005-02-09 Thread Eric Lemle
Use the >> [EMAIL PROTECTED] 2/9/2005 3:47:19 PM >>> Hi, I'm planning my approach to a data driven app that I have to write in the near future. I've used struts before in more of a demo-type, proof of concept scenarios, and am no where near and expert, but now need to build a production level s

Re: I have a jsp. that has two included jsp's that are actually struts actions but the response only

2005-02-08 Thread Eric Lemle
.jsp Which should generate: content1.jsp Along with raising an IllegalStateException. Eric Lemle wrote: > I have a jsp. that has two included jsp's that are actually struts > actions but the response only returns the first one. > I have tried flush="false" (Doesn't matt

Re: wizard form and checkboxes that won't turn off

2005-02-03 Thread Eric Lemle
this might help, in your action not sure if this is in 1.1 either. ActionForward cleanDisplay= new ActionForward("add your code here"); cleanDisplay.setRedirect(true); return cleanDisplay; Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 110

I have a jsp. that has two included jsp's that are actually struts actions but the response only ret

2005-02-03 Thread Eric Lemle
I have a jsp. that has two included jsp's that are actually struts actions but the response only returns the first one. I have tried flush="false" (Doesn't matter) I have tried the Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt La