Re: JBoss two Web Apllications Actions overlapping

2004-05-06 Thread Brad Balmer
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/application/StartApplicationAction" ApplicationB has an

Re: How to display error msgs in a pop up window

2004-06-02 Thread Brad Balmer
Instead of using a pop-up I use a block to format my messages. Inside my I have my 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 to be hidden and moves it off the page. This is a non-javascript way of

RE: ActionServlet class loading problem

2004-08-02 Thread Brad Balmer
I used to have lots of issues with the JBoss classloader until I found out about how to turn it off and use the Tomcat one instead. Under the \jbossweb-tomcatXX.sar\META-INF is the jboss-service.xml. Look for the UseJBossWebLoader attribute (towards the top). This, by default is set to true. Tr

DynaValidatorForm help

2004-04-09 Thread Brad Balmer
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 the action getting the values. My struts-config.xml: My validation.xml:

Re: DynaValidatorForm help

2004-04-09 Thread Brad Balmer
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 setu

Design Issue/Question

2004-05-12 Thread Brad Balmer
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

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
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:[

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
t in the iframe page updates 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: Str

bean:write removes double spaces

2004-05-14 Thread Brad Balmer
This isn't a struts issue as it seems to be an issue with how browsers (IE) don't display two spaces in a row. I'm using bean:write to display a variable to the page. The problem is that the value sometimes contains double-spaces which are being displayed as a single-space. Does anybody know

Re: Eclipse plug-in for Struts

2005-06-22 Thread Brad Balmer
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

Re: tag usage?

2005-06-28 Thread Brad Balmer
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 Arra

Re: Printing Bills

2005-07-06 Thread Brad Balmer
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 object:

Re: html:messages help

2005-07-12 Thread Brad Balmer
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: footer="message.footer">

Output PDF

2005-03-14 Thread Brad Balmer
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 = JasperRunMana

RE: Output PDF

2005-03-14 Thread Brad Balmer
s helps. Oh, and you can read all about the "feature" of IE here: http://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&

Links to external files not in web application

2005-03-28 Thread Brad Balmer
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 applicati

RE: Links to external files not in web application

2005-03-28 Thread Brad Balmer
ruts application): http://myserver.mydomain.com/pdfs/mypdf.pdf";>Read Me! 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: &#

RE: Anxiously awaiting...

2005-04-07 Thread Brad Balmer
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} - Gl

Use of tokens

2005-04-09 Thread Brad Balmer
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 disable

ModuleConfig issue with 1.1 -> 1.2 upgrade

2004-11-01 Thread Brad Balmer
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 [org.apache.stru

RE: Select Multiple Issues

2005-01-24 Thread Brad Balmer
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: Value1

New session on submit?

2005-01-28 Thread Brad Balmer
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 s