RE: ActionMessages

2003-10-16 Thread Matt & Toni Willis
Would you be so kind as to send me some example code in which you utilize ActionMessages and the custom tag? I'm having a little difficulty getting mine to work. Thanks, Matt [EMAIL PROTECTED] -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16

Difficulty getting html:message tag to work.

2003-10-14 Thread Matt & Toni Willis
Hi, I'm using Struts 1.1, and am attempting to utilize the new ActionMessages class with the tag. I have the following code in my Action class: actionMessages.add("message", new ActionMessage("error.systemAuthentication.failure")); saveMessages(request, actionMessages);

RE: Unmarshalling using the Digester

2003-01-14 Thread Toni
quot;rules/definition/enforcer", "addEnforcerElement"); // put the new EnforcerDefinition somewhere for later use. digester.addSetNext("rules/definition", "set"); -Original Message- From: Toni Charlot [mailto:[EMAIL PROTECTED]] Sent:

Unmarshalling using the Digester

2003-01-13 Thread Toni Charlot
Can anyone figure out what I'm doing wrong here? Oh, please? 001 digester.addObjectCreate("rules/definition/enforcerClassName", 002 biz.isman.rule.engine.EnforcerDefinition.class); 003 004// 005digester.addCallMethod("rules/definition/enforcer", "setEnforcerClassName", 0)

RE: REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread Toni
. Happy new year. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:56 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: REPOST: Forcing the ActionForm to populate a field before the other On Thu, 2 Jan 2003, Toni

REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread Toni Charlot
I would like to have a setter method called before another. What's the best way to do that in the ActionForm Thank you. -- To unsubscribe, e-mail: For additional commands, e-mail:

Forcing the ActionForm to populate a field before the other

2002-12-17 Thread Toni Charlot
I would like to have a setter method called before another. What's the best way to do that in the ActionForm Thank you.

RE: [Struts 1.1] How to access to MessageRessources in an ActionForm ??

2002-12-17 Thread Toni
Try this: MessageResources msgres = getServlet().getResources(); -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 6:32 AM To: Struts Users Mailing List (E-mail) Subject: [Struts 1.1] How to access to MessageRessources in an ActionForm

RE: Monkey Struts

2002-12-16 Thread Toni
Try replacing the libraries with those from struts 1.1b2 and I believe you may have to edit the web.xml file to point to struts-nested.tld. -Original Message- From: Jonathan Holloway [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 9:27 AM To: [EMAIL PROTECTED] Subject: Monkey

RE: Struts-config.xml

2002-12-16 Thread Toni
You can also use XML entities to split up any XML file, example below. I have not use this with 1.0.2 but it works fine with 1.1b2 and I don't see why it wouldn't work with 1.0.2. Good luck. http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; [

Re: Java WebStart as a Strut front end

2002-11-09 Thread Toni Charlot
gt; > To be picky: Java WebStart isnt a view.. its just a Swing App Web > Deployment tool. > Swing would be your view and I believe Swing as the "V" in MVC has been > discussed in the > mailing list. > > mark > > > > > "Toni Charlot"

Java WebStart as a Strut front end

2002-11-08 Thread Toni Charlot
I'm writing an application where I need to access local resources like a camera and scanner devices. I was looking into using a Java WebStart to write the program and interact with the struts controller on the server. Has anyone used Java WebStart as a view for struts? Is that an entirely cra

Html:checkbox issue

2002-07-15 Thread Toni Nehme
Hi All, I have checkbox displayed in a table and I am trying to create a a checkbox outside the table to check All the checkboxes inside the table. My table is using the logic:iterate tag and displays the table. Please, let me know if anybody knows how to solve this. Thanks. __

Re: Referencing BeanUtils.described Mapped nested property from JSP

2002-07-14 Thread Toni Charlot
urn ((Map)getProperty(key)).get(nestedKey); } - Original Message - From: "Toni Charlot" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, July 14, 2002 3:23 PM Subject: Referencing BeanUtils.described Mapped nested

Referencing BeanUtils.described Mapped nested property from JSP

2002-07-14 Thread Toni Charlot
I have the following scenario: Class: Employee members: String: name; Address:address; Class: Address members: String:street; String:city on the Action Form I have: Map: properties, with "property" getters a la Ted's SuperForm; I populate properties using the "magical" BeanUtils: properties =

How can I refresh the values in my form bean

2002-07-05 Thread Toni Nehme
change the selected item in the second tag and click submit that submits the second action, it will pick up the old selected value of the second tag. however, if I submited the same action, it will display the correct values. Please let me know how to fix

2 html:select on the same page Error

2002-07-05 Thread Toni Nehme
Hi, I have 2 html:select on the same page. Selection of any item of the first combobox will dynamically populate the second. I have it working fine. Now, the dependant combobox, I select different item and click the submit button. I got the value of the first combobox correct. but the secon

Weird Exception while using

2002-07-05 Thread Toni Nehme
Hi All, I am getting the following exception when I submit my form in which has selectedValue and getter and setter methods. javax.servlet.jsp.JspException: No getter method available for property selectedValue for bean under name org.apache.struts.taglib.html.BE at org.apache.stru

html:checkbox in a table

2002-07-03 Thread Toni Nehme
Hi Everyone, Does anyone knows or have an example that displays a table of records with a checkbox in each row and when user submit the form, will be able to know which row is checked? If so,please let me know how to do it or send me an example. Thanks. ___

html:Checkbox tag in Logic:iterate does not work

2002-07-02 Thread Toni Nehme
Hi everyone, I have an html:checkbox in logic:iterate and I would like to know what row the user checked after I submit the form. My Form has an ArrayList of Objects. My action reads the arraylist and check to see witch item is selected. My jsp is: My Action is

Re: multibox bug (Help needed)

2002-07-02 Thread Toni Nehme
Does anybody know how to fix this bug? Thanks. >From: "Toni Nehme" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: multibox bug >Date: Tue, 02 Jul 2002 11:35:24 -0400 > >Hi,

RE: multibox bug

2002-07-02 Thread Toni Nehme
Yes, I did include teh struts-bean.tld. Toni. >From: "Xinhong Luo, NY" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: RE: mul

Re:Help Help Help multibox bug

2002-07-02 Thread Toni Nehme
>From: "Toni Nehme" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: multibox bug >Date: Tue, 02 Jul 2002 11:35:24 -0400 > >Hi, > >I am using multibox in

multibox bug

2002-07-02 Thread Toni Nehme
Hi, I am using multibox in a Logic:iterator see below: Where fruits is ArrayList of Beans Fruit in my form. Please, let me know what cause this error? javax.servlet.jsp.JspException: Cannot find bean under name org.apache.struts.taglib.html.BEAN at

Re: Struts V1.1B1 bug

2002-06-27 Thread Toni Nehme
Please disregard my question. >From: "Toni Nehme" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Struts V1.1B1 bug >Date: Thu, 27 Jun 2002 12:33:44 -0400 > >Hi, > > &g

Struts V1.1B1 bug

2002-06-27 Thread Toni Nehme
Hi, I download struts V1.1B1 and tried to use it in my project. I got the following Errors: Parsing of JSP File '/index.jsp' failed: /index.jsp(2): Error in using tag library uri='/struts-bean.tld' prefix='bea

how to get multiple value from action class

2002-06-26 Thread Toni Nehme
Hi, who can help me out on how to deal with multiple selected value from jsp in action class, how to define this property, I thought I can define it as Vector, sounds don't make sense, how bean form to handle this senario Thanks. >From: "Toni Nehme" <[EMAIL

html:select tag for multiple selection

2002-06-26 Thread Toni Nehme
Hi, I am trying to make a multiselection and get the values when I click on the submit method. I have the following in my JSP: In my form, How can I get the selected values. Do I have to create a variable names of type ArrayList in my form to get the multiple selection? Please le

Html:select tag does not set the options

2002-06-25 Thread Toni Nehme
Hi, I am trying to populate a combobox with an array of strings. I have the following in my JSP: where selectedValue is a property in my form. nameList is an ArrayList of Strings in my session. How can I use the ArrayList of Strings from my session to populate the combobox? P

RE: Html:checkbox

2002-06-25 Thread Toni Nehme
ml:checkbox Date: Tue, 25 Jun 2002 14:44:12 -0400 > >Is this the same situation as the one you just posted? If so, I think you >need to be more specific about what you want to do. > >Keith Kamholz >Moog >East Aurora, NY >(716) 687-7282 >[EMAIL PROTECTED] > > >

RE: html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
select a level. I'm assuming the >user shouldn't be able to select more than 1 level at a time, but maybe >it's >a bad assumption. Could you be more specific about what you want to do? > >Keith Kamholz >Moog >East Aurora, NY >(716) 687-7282 >[EMAIL

Html:checkbox

2002-06-25 Thread Toni Nehme
Hi All, How can I set the boolean variable in the form if I have more than one checkbox on a page? For example: checkbox with label required. checkbox with label notRequired. checkbox with label optional. Do I have to have 3 boolean variables in my form? Or I can have an array of booleans?

Re: html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
* My JSP: ****** >From: "Toni Nehme" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: html:checkbox tag does not set the ch

html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
Hi, I have a class and an action and a form, I am trying to check one of the two checkboxes and submit and display the selected checkbox value. The following code is in my form: public final class TestForm extends ActionForm { private String chkVal = "on"; private boolean isBillable

DynaActionForm submit error

2002-06-16 Thread Toni Charlot
Greetings gentlemen/women/person, I've been having some difficultied using the new dyna action form. I was able to pre-pupulate the form and display it but when I try to re-submit I get the exception below.I'm using Tomcat 4.0.3beta. The form is in the request scope although I tried puttin

Request Form Bean Resets UnExpectedly

2002-06-10 Thread Toni Nehme
es to 4 but Previous button always goes back to page 1. Is this a bug in Struts or some issue with JSP that escaped our tests. Please let us know if anyone encounter this issue or if you have a remedie. Thanks Toni *

RE: Nested iteration tags

2001-11-13 Thread Toni Charlot
yes you can. -Original Message- From: Alvin Kutttikkat Antony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 8:26 AM To: [EMAIL PROTECTED] Subject: Re: Nested iteration tags can I use nested logic:Iteration tags ? Any help would be appreciated thx Alvin alvin kuttikkat an

RE: Large form performance...

2001-11-12 Thread Toni Charlot
Do you have the tag on your pages? How big are you new compiled classes in Tomcat vs Orion? what kind of timing were you getting? thanks. -Original Message- From: John Nikolai [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 1:32 PM To: Struts Users Mailing List Subject: Re:

RE: Digister

2001-09-20 Thread Toni Charlot
Here is a sample use of the digester. //== ConfigMaker.java package isMan.util; import java.io.Serializable; import java.io.InputStream; import java.io.FileInputStream; import java.io.BufferedInputStream; import org.apache.struts.digester.Digester; public class ConfigMake

RE: Multiple config files

2001-09-13 Thread Toni Charlot
Ralf I invite you to search the archive you'll find a lot of information on that. I know you cannot use multiple config files but there are some ways around that. good luck -Original Message- From: Ralf Beier [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 10:45 AM To: Str

RE: [ANNOUNCE] Struts Console

2001-09-13 Thread Toni Charlot
't want anyone thinking I'm a bad programmer :) -james --- Toni Charlot <[EMAIL PROTECTED]> wrote: > James this is a good idea, i checked it out and > liked it. It would be nice > to have a tab where the resulted XML file can be > previewed or even manually > edited

RE: [ANNOUNCE] Struts Console

2001-09-13 Thread Toni Charlot
James this is a good idea, i checked it out and liked it. It would be nice to have a tab where the resulted XML file can be previewed or even manually edited for those power users out there. Another feature which will make it attractive is if you can have it combine the config file from differen

RE: Any idea why this form is not being submitted.

2001-08-30 Thread Toni Charlot
where did you start the tag and where are you closing the tag? the second should also be . -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:35 PM To: Struts Subject: Any idea why this form is not being submitted. Hi I have a form th

RE: How to make reset button clear all fields

2001-08-30 Thread Toni Charlot
Here is what I had to do: function clearForm(){ document.forms["personForm"].elements["person.id"].value = ""; document.forms["personForm"].elements["person.first_name"].value = ""; document.forms["personForm"].elements["person.last_name"].value = ""; document.forms

RE: Barracuda vs. Struts (request for review)

2001-08-28 Thread Toni Charlot
I'll have to agree with Ted on this one. I do think Struts and Barracuda are in the same category. One can argue that Barracuda enforces the separation of model and view more strictly by not using JSP. Some developers like myself, may appreciate the freedom of choice. They are indeed times whe

RE: URGENT: PLEASE HELP

2001-08-24 Thread Toni Charlot
maybe you're having problems with the tag, try removing it to see if you get the same complaint. -Original Message- From: Shelly Dhiman [mailto:[EMAIL PROTECTED]] Sent: Friday, August 24, 2001 2:30 PM To: [EMAIL PROTECTED] Subject: Re: URGENT: PLEASE HELP Hi, It does not work. It comp

RE: location of ApplicationResources.properties...

2001-08-22 Thread Toni Charlot
Did you also put the new uri in the web.xml file as a parameter value for the ActionServlet? -Original Message- From: Howie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 11:15 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: location of ApplicationResources.properties

RE: Antw: Re: Error 500 : No action instance could be created

2001-08-20 Thread Toni Charlot
It sounds as if Apache is not forwarding the *.do request at all. You may have to modify your httpd.conf file to add the following: JkMount /*.do ajp13 depending on the version of Tomcat you're using. I haven't try this myself, so it's probably worth a try. good luck. -Original Message--