Any chance that you are missing the include for struts-html?
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
Granted I'm using 1.2, but I'm still using the saveMessages(request,
messages) and using this to display messages and errors:
logic:messagesPresent
html:errors/
Look at jasper for creating a pdf.
Rafael Taboada wrote:
Hi folks, i'm developing a project in struts, this project is about selling
management.
When the user selects some articles in order to sell them, there is a
module with the client name and the articles list.
I need to print that
Try adding the org.apache.strtuts.util.LabelValueBean into your
Collection instead of DataBean and use the html:optionsCollection tag to
render them.
--Notice the name/value pairs switched parameters.
class MyUtilBean {
private Collection c;
public Collection getC() {
c = new
Have you tried looking at:
http://eclipse-plugins.2y.net/eclipse/index.jsp
Tony Smith wrote:
Is there an Eclipse plug-in for Struts or Tomcat so
that I can develop, debug, and test my web app all in
Eclipse? Right now, if I want to change something I
have to write my program in Eclipse, write
Do people use tokens to disable multiple requests? I have pages that use
images to submit forms, thus I cannot use javascript to disable the submit
on multiple clicks. I was reading about tokens but couldn't find a full
example except the three functions to call.
If you can use tokens to
Did you define the tag at the top of the jsp?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 11:32 AM
To: Struts Users Mailing List
Subject: Re: Anxiously awaiting...
Tried it and just writes the out the string ${emply.firstname}
-
Please feel free to scold me if I'm missing something obvious but I can't
think of a way to link to files (specifically pdf's) that have already been
generated and are sitting in a folder external to any web application.
I've tried to create a symbolic link to the directory inside my web
://myserver.mydomain.com/pdfs/mypdf.pdf;Read Me!/a
Regards,
Thad Smith
P.S. This is the recommended way of serving up the images of your
application as well.
-Original Message-
From: Brad Balmer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 8:59 AM
To: 'Struts Users Mailing List
I'm using Jasper to create PDF's through my Actions and cannot figure out a
good way to export the resulting byte[] to the user.
Currently the tail end of my Action class looks like this:
byte[] reportBytes = null;
File jasperReport = new File(location);
try {
reportBytes =
://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792
Virtually,
Andre Van Klaveren, SCP
On Mon, 14 Mar 2005 14:01:48 -0600, Brad Balmer [EMAIL PROTECTED] wrote:
I'm using Jasper to create PDF's through my Actions and cannot figure out
a
good way to export the resulting byte[] to the user
I am using the 1.2.4 release and am finding that when I submit a form to a
plain Action, a new HttpSession is automatically created and replacing the
session that I already am using.
I have a simple search form where when the form is initially brought up, the
reset() function gets called and I
I have ActionForm's that contain String array variables like:
private String[] parmTypeCd = null;
With the normal:
public String[] getParmTypeCd() {
return parmTypeCd;
}
public void setParmTypeCd(String parmTypeCd[]) {
this.parmTypeCd = parmTypeCd;
}
My form has:
html:select
Everything was going fine with my upgrade until I replaced all of my
ActionError instances with an ActionMessage instance.
Before I did this I could deploy (jboss-3.2.6) with no problems. Now I am
getting the following error during deployment:
2004-11-01 08:36:53,379 ERROR
Instead of using a pop-up I use a div block to format my messages.
Inside my logic:messagesPresent I have my div block that will
display any type of message or error that I want. I then inlude a way
to click on a close link which simply sets the div to be hidden and
moves it off the page.
I have an application where a user is adding items for a customer. The
form where the user will be on will have a list of products to choose
from, and can add a product for the customer by clicking on the checkbox.
The issue I am having is that I need to have the application do an
insert into
that the customer is currently looking at?
Thanks.
Daniel Perry wrote:
I've done similar things before.
Use javascript to open an action to add it to the database. This can be in
a new window, in another frame, or in a hidden iframe!
Daniel.
-Original Message-
From: Brad Balmer [mailto:[EMAIL
a
message box on the main page alerting the user to the fact that the
selection was saved (or not in case of error) this has worked extremely well
for us
-Original Message-
From: Brad Balmer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 8:47 AM
To: Struts Users Mailing List
Subject
added it directly under:
attribute name=LenientEjbLinktrue/attribute
Hope this helps.
--Brad Balmer
Mathies, R. (Ronald) wrote:
Hi All,
I've got a JBoss 3.2.3 server that is running two applications and i've
got a problem with the action/form objects:
ApplicationA has an action called
/main
dynaForm = (DynaValidatorForm) form;
String value = (String) dynaForm.get(myFieldName);
On 04/09/2004 02:52 PM Brad Balmer wrote:
Using the DynaValidatorForm, how do you get the form variable data
out of the form inside the action? All examples I've seen are purely
the setup and none show
19 matches
Mail list logo