Re: bean:include doesn't work but jsp:include does

2005-05-17 Thread James Mitchell
First, you should ask on the proper list. That would be the Struts Users List (CC'd on this reply). I'll help you over there. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitc

Re: Subclassing ActionForward

2005-05-17 Thread Robert Taylor
Look into using Filters. They are great for this kind of stuff. /rober Lee Harrington wrote: I want to check to see if the user is logged in before performing any action, and redirect to the login page if they are not. For example...they have a page open and their session times outand then they

How to populate / validate dynaform?

2005-05-17 Thread Shirish
Dyna form -- -- Genrated HTML code using logic:iterate , indexed="true" 7464264327 BARKSDALE,JACK 150.00 // This is still under const

Re: Subclassing ActionForward

2005-05-17 Thread Yan Hu
Hello: I would suggest that you use servlet filters. --- Lee Harrington <[EMAIL PROTECTED]> wrote: > I want to check to see if the user is logged in before performing any > action, and redirect to the login page if they are not. > > For example...they have a page open and their session times ou

Re: Way of reading this mailing list as a heirachy

2005-05-17 Thread Adam Hardy
On 16/05/05 19:24 Michael Jouravlev wrote: Gmail actually works pretty well for me. Can send an invitation, have 50 of them ;) Gmail is AJAX, right? Does it do heirarchies then? Never used it myself. I've written AJAX apps and I've always been suspicious of Javascript. Adam -

Re: Subclassing ActionForward

2005-05-17 Thread Josh
Lee Harrington wrote: I want to check to see if the user is logged in before performing any action, and redirect to the login page if they are not. For example...they have a page open and their session times outand then they click a button. Right now an error occurs because they are no longer

Re: Subclassing ActionForward

2005-05-17 Thread Joe Germuska
From my first take on your description of the problem, I don't think that subclassing ActionForward is the area of Struts where you would enforce this. For a new app, the simplest solution is an abstract subclass of Action which all of your classes extend; your subclass implements execute, whe

Re: Subclassing ActionForward

2005-05-17 Thread Frank W. Zammetti
Use a filter. Or, write an Action base class and have all your Actions subclass it. The filter is the better answer. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Lee Harrington wrote: I want to check to see if the user is logged in before

Re: Subclassing ActionForward

2005-05-17 Thread Dave Newton
Lee Harrington wrote: I wrote a bit of code that if I put it in the beggining of an action class...does just that. But I don't want to have to put this in the front of each of my actions (particularly since I've already written a good portion of the app). Do I solve this by subclassing the action

Re: Saving context in web application with exception-driven authentication

2005-05-17 Thread Michael Jouravlev
Just define the form with "session" scope, it will retain values for you. The catch: now you need to clean these values in reset() method when they are not needed. So, you need to distinguish when they are needed (refresh) and when not (you show that page for the first time. > I need something lik

LookupDispatchAction and html:image tag

2005-05-17 Thread Dean, Michael
I've been reading the API docu...trying to figure out how implement LDA where one of my "submit" buttons is an html:image tag...when I dump the request for the standard "html:submit" tag, I can see "method=year" (where property="method" in tag)...of course, when I dump the request for html:image, I

sTRUTS 1.3 - chain flow

2005-05-17 Thread Marco Mistroni
Hello Joe, I am trying to port an app (Frank Zammetti's strutsws)that was using Struts 1.1 to Struts 1.3. I have a quick question: in which class/method the ActionForm is populated with parameters from request? Thanx and regards marco ---

Reports

2005-05-17 Thread Rafael Taboada
Hi folks. I want ur experiences making reports. I'm doing reports in my project and i want to know if there are some reports tools. Is it possible to use Crystal Reports with struts? Any experience? THanks for help me -- Rafael Taboada ---

Re: tree structure with struts

2005-05-17 Thread Pham Anh Tuan
Hi Charles, I couldn't get ur lib Show me how to get it, plz Thanks Anh Tuan - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, May 17, 2005 3:34 AM Subject: RE: tree structure with struts Hi Pankaj, In one of ours applications, we use the com.bea.tree lib. I don't know i

Re: Link on Struts Page broken

2005-05-17 Thread Hubert Rabago
In the meantime, you can use: http://nagoya.apache.org/eyebrowse/SummarizeList?listId=241 or the one people here use more often: http://marc.theaimsgroup.com/?l=struts-user http://www.mail-archive.com/user%40struts.apache.org/ Hubert On 5/15/05, Ingo Adler <[EMAIL PROTECTED]> wrote: > The link

RE: Reports

2005-05-17 Thread Jimmy Emmanual
Rafael, Try BIRT (Business Intelligence and Reporting Tools) by Eclipse. It is developed jointly with Actuate which is a Enterprise Reporting Infrastructure. http://www.eclipse.org/birt/ Jimmy -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005

Dynamic links with nested:link

2005-05-17 Thread sebastian.steinfeld
Hi, I display a databse structure in a tree and try to open a context by clicking a link. But I don't know how to add the id of the selected context to a bean. I use the nested tld to display the structure. Anybody can give me some suggestions on this? Thanks in advance, Sebastian

help loading struts webapp on iplanet

2005-05-17 Thread Richard Reyes
hello guys, I seem to have a newbie error here please help. The webapp is perfectly running under tomcat, then i copied all contents of webapps/mywebapp/* folder to iplanet/servers/my-instance/* . Anything else i should do? thanks richard JSP11 Log:Could not load TagExtraInfo class org.apache.

Re: [OT] JSP custom taglib issue in duplicate environments

2005-05-17 Thread Hubert Rabago
Tag instances are sometimes pooled and reused by servers. You should reset your instance data at the right time (you determine which depending on how you use your tags) or clear certain flags when certain variables are set to certain values (affecting which section should display). Sorry for the

Re: Reports

2005-05-17 Thread Rafael Taboada
I want to show results and graphics in a jsp. For example in PHP I use phplot in order to show graphics showing data. I want to show tables showing records too. In general, showing data in pages. If the user wants to export to pdf or doc, it must be an option to do that. Is there a tool to help

Subclassing ActionForward

2005-05-17 Thread Lee Harrington
I want to check to see if the user is logged in before performing any action, and redirect to the login page if they are not. For example...they have a page open and their session times outand then they click a button. Right now an error occurs because they are no longer logged in. I wrote a

RE: Reports

2005-05-17 Thread Frank W. Zammetti
Yes, you can integrate Crystal Reports with Struts... I did a proof of concept of this a while back... actually, it wasn't in Struts, it was just straight servlets, but it will work the same. It requires getting the SDK, which they don't make easy to find for some reason. It's pretty simple thoug

[OT] context-param

2005-05-17 Thread Frank W. Zammetti
Not really Struts-related, but there's some smart folks here, so... You can have a element under in web.xml, and this is perfect for a task I have (I'm initializing some things in a ServletContextListener that have to be initialized even before ActionServlet initializes - see, it IS Struts-relat

Re: [OT] context-param

2005-05-17 Thread Frank W. Zammetti
Never mind, I found it... // ServletContextEvent sce sce.getServletContext().getInitParameter("myParam") It was a little less than obvious because when you see a method getInitParameter() of a SERVLET context, at least my interpretation is that I am accessing the init params of a element (and in

Re: Reports

2005-05-17 Thread Woodchuck
hihi, in my project i have template-driven reports as well as reports totally made from scratch, and these are outputted in PDF format mainly. take a look at these: http://www.lowagie.com/iText/ http://ireport.sourceforge.net/ with iText, i scanned a form to create a template, then i populated t

Re: Saving context in web application with exception-driven authentication

2005-05-17 Thread Yaroslav Novytskyy
Hi! No, because there is no place to login here... You propose (if I anderstand correctly) such a way: case 1: jsp submit (1)-> form validate -> APIcall() returns no errors -> action case 2: jsp submit (1)-> form validate -> APIcall() returns _errors_ -> validation fails -> back to calling jsp wit

Re: session-problem

2005-05-17 Thread Hubert Rabago
When you switch from "session" to "request", do you remember to change the scope where you set the form in your action class? What I mean is, in your action class, you should also change session.setAttribute("exForm", exForm); to request.setAttribute("exForm", exForm); Hubert On 5/16/05, Mo

Need all functionality in one screen/form (check box , dynamic rows , user inputs , validation) & all using dynaform.

2005-05-17 Thread Shirish
Need all functionality in one screen/form (check box , dynamic rows , user inputs , validation) & all using dynaform. Here is the code. -- * Dynaform This form is in request scope. * Not yet reach to validatio

Re: Reports

2005-05-17 Thread Martin Gainty
Rafael- what format are you looking for output? PDF? doc? rtf? Saludos! Martin- - Original Message - From: "Rafael Taboada" <[EMAIL PROTECTED]> To: "Struts List" Sent: Monday, May 16, 2005 3:20 PM Subject: Reports Hi folks. I'm doing reports for my project and I was asking me if there ar

Re: Reports

2005-05-17 Thread Martin Gainty
FOP: Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is PDF http://xml.apache.org/fop/

Re: sTRUTS 1.3 - chain flow

2005-05-17 Thread Joe Germuska
At 10:05 AM +0100 5/17/05, Marco Mistroni wrote: Hello Joe, I am trying to port an app (Frank Zammetti's strutsws)that was using Struts 1.1 to Struts 1.3. I have a quick question: in which class/method the ActionForm is populated with parameters from request? org.apache.struts.chain.comman

RE: Reports

2005-05-17 Thread Sachin Bhutada
hi, Try out JReports. Sachin -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 12:50 AM To: Struts List Subject: Reports Hi folks. I'm doing reports for my project and I was asking me if there are tools in order to help to do

validating two fields HELP

2005-05-17 Thread Metal KoRn
Hi guys Im having this error but I dont know why is this happening can u help me?? ERROR: May 16, 2005 10:14:06 PM org.apache.struts.validator.ValidatorForm validate SEVERE: validator.FMvalidator org.apache.commons.validator.ValidatorException: validator.FMvalidator at org.apache.commons.validato

Re: AjaxTags v1.0 beta 1 released

2005-05-17 Thread Dakota Jack
Congratulations! Good work! On 5/12/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Finally got it all set up on http://struts.sf.net. The first "official" > release is up! > > AjaxTags is a project to add AJAX functionality to the existing Struts > HTML taglib. It allows a developer to jum

[OT] JSP custom taglib issue in duplicate environments

2005-05-17 Thread Mark Benussi
I have two environments with the same mysql DB, both running the same war on tomcat 5.0 and I have a problem which I can only think may lie in my JSP taglib and its extra info. Essentially I call a tag three times in the same page, and depending on taglib arguments the tag should display data b