Paul McCulloch wrote:
In request scope, under the key 'org.apache.struts.action.mapping.instance'
is an object of type ActionMapping. The name property of this ActionMapping
is the name of the form bean being handled by the current request.
This relates to the form bean specified for the request
Here are some links to tree controls:
http://pragmaticobjects.com/demo.html
http://www.common-controls.com/en/resources/taglib/tags/ctrl_tree.html
http://struts.application-servers.com/ (Struts Layout)
http://www.softcomplex.com/products/tigra_tree_menu/
And then of course, you have Java Server
Hi Pankaj,
In one of ours applications, we use the com.bea.tree lib. I don't
know if its a non-public lib from BEA, but you can build some nice tree with
it.
Charles
-Original Message-
From: pankaj dekate [mailto:[EMAIL PROTECTED]
Sent: May 16, 2005 4:14 PM
To:
Not sure if anyone else gave this answer yet, but I needed to do the
same thing in StrutsWS's default response template, and here's how I
wound up doing it (modified slightly to be a little better!):
String formName =
((org.apache.struts.config.ActionConfig)request.getAttribute(
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
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 jump on the
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
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
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?
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
Rafael-
what format are you looking for output?
PDF?
doc?
rtf?
Saludos!
Martin-
- Original Message -
From: Rafael Taboada [EMAIL PROTECTED]
To: Struts List user@struts.apache.org
Sent: Monday, May 16, 2005 3:20 PM
Subject: Reports
Hi folks. I'm doing reports for my project and I was
Need all functionality in one screen/form (check box , dynamic rows , user
inputs , validation) all using dynaform.
Here is the code.
--
* Dynaform
form-bean name=adjustmentForm
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, Mohan
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 with
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
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 servlet element
Not really Struts-related, but there's some smart folks here, so...
You can have a context-param element under web-app 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 -
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
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
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
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
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
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 see
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 like
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
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
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,
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
On 16/05/05 19:24nbsp;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
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
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
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:
32 matches
Mail list logo