Re: Status of the GenericDataSource

2003-12-04 Thread Barry Volpe
Did you include the struts-legacy.jar found in struts 1.1 Final? Barry - Original Message - From: Scott McClure [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:29 PM Subject: Status of the GenericDataSource I am trying to connect to a Postgresql database

Re: Validator's sucks ??

2003-11-14 Thread Barry Volpe
I'm not a struts guru but I can tell you I have coded in php and only did simple validation with alot of trouble. Now I use struts validation and get expert validation with no trouble at all! Barry - Original Message - From: Jerome Sevrin [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Eclipse Sysdeo Tomcat Plugin Problem

2003-11-14 Thread Barry Volpe
I am using the Sysdeo plugin with no problems. The great thing about it is if you require a Tomcat upgrade it is a painless transition. As for Netbeans you are at the mercy of the version of Tomcat that happens to be in the current release. Barry - Original Message - From: Navneet

DynaAction form and ArrayList

2003-11-03 Thread Barry Volpe
Only Last row is available in my ArrayList? Have the following: ArrayList teachers = new ArrayList(); DynaActionForm teacherForm = (DynaActionForm)form; while ( rs.next() ) { System.out.println(firstname.rs: + rs.getString(firstname)); System.out.println(lastname.rs: +

Re: DynaAction form and ArrayList

2003-11-03 Thread Barry Volpe
); request.setAttribute (teachers, teacherList.toArray()); Cheers Mark On Monday, November 3, 2003, at 07:35 PM, Barry Volpe wrote: Only Last row is available in my ArrayList? Have the following: ArrayList teachers = new ArrayList(); DynaActionForm teacherForm = (DynaActionForm)form; while

Using a form for a view

2003-10-29 Thread Barry Volpe
Okay I create a form to collect information and store it in a database. form-bean name=cityForm type=org.apache.struts.validator.DynaValidatorForm form-property name=type type=java.lang.String initial=/ form-property name=state type=java.lang.String

Re: Using a form for a view

2003-10-29 Thread Barry Volpe
Question answered. Found a good example in Mastering Jakarta Struts. - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:39 PM Subject: Using a form for a view Okay I create a form to collect

Action to Action

2003-10-28 Thread Barry Volpe
I have a form and an action that queries the city when the state is provided. Now once I have the state and city I want to call another action that displays information associated with that state and city. I am going to have multiple views that require the same state and city so I wanted to

Can an action foward be an action?

2003-10-28 Thread Barry Volpe
Like the following? action path=/ViewCity type=com.childrencare.CityAction name=cityForm scope=request input=/citypage.jsp validate=false set-property property=loginRequired value=false/ forward name=myView path=/View.do/ forward name=error

Re: Forward Cannot Be Achieved In One Step

2003-10-28 Thread Barry Volpe
I go directly to the welcome page this way: struts-config: action path=/Logoff type=com.childrencare.LogoffAction forward name=success path=/index.jsp/ /action In action: public final class LogoffAction extends Action { public ActionForward execute(ActionMapping mapping,

form attributes available to action

2003-10-28 Thread Barry Volpe
Hi, I have the following: request.setAttribute(mapping.getAttribute(), eForm); in one action. Now I forward this to another action and want to retrieve the eForm request parameters. How do I do this in the forwarded action? I keep getting null. Thanks, Barry

input type=hidden works with struts tags?

2003-10-24 Thread Barry Volpe
I am able to initialize a standard html hidden tag in a struts tag. html-el:form action=myaction input type=hidden name=type value=type1 /html-el:form Was wondering if all standard html tags can be used in struts html form tags? I am using a request parameter myrequest.jsp?type=type1 to do

Re: input type=hidden works with struts tags?

2003-10-24 Thread Barry Volpe
Subject: Re: input type=hidden works with struts tags? How about this? input type=hidden name=type value=c:out value=${param.type} / I'm still new to JSTL, Struts and all... so if I'm wrong, please correct... Yong-Tze Barry Volpe wrote: I am able to initialize a standard html hidden

html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
Hi, In my example type=ViewResults and the following line will work (I could not get it to work with a c:out or a bean:write): html-el:form action=/${param.type} ${param.type} is translated into /ViewResults and that's okay. Not complaining since I can directly put the JSTL in the

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 2:45 PM To: Struts Users Mailing List Subject: html-el:form action=${param.type} Hi, In my example type=ViewResults and the following line will work (I could not get it to work with a c:out

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
, I wonder if you're using Resin. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 12:48 PM To: Struts Users Mailing List Subject: Re: html-el:form action=${param.type} The error I get is cannot retrieve mapping for action

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
)' - Original Message - From: Greg Dunn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:17 PM Subject: RE: html-el:form action=${param.type} Try html-el:form action=${'/View' + param.type} Greg -Original Message- From: Barry Volpe

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
Tomcat 4. Thanks, Barry - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:32 PM Subject: RE: html-el:form action=${param.type} Tomcat 4 or 5? -Original Message- From: Barry Volpe

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
PROTECTED] Sent: Thursday, October 23, 2003 1:39 PM Subject: RE: html-el:form action=${param.type} Do you only have one form tag on the page? Have you walked through the ELFormTag execution in your debugger? -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent

Re: html-el:form action=${param.type}

2003-10-23 Thread Barry Volpe
Go figure! It's working now! I restarted my Tomcat container and it works. Had restarted it before and it did not make a difference. Thanks for all the help! Barry - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent

Re: DynaForms and java.util.ArrayList

2003-10-23 Thread Barry Volpe
an extra String object here: //Create list (in a loop) cityList.add(new String(rs.getString(city))); instead, just use cityList.add(rs.getString(city)); -Richard -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 2:39 PM

Re: DynaForms and java.util.ArrayList

2003-10-22 Thread Barry Volpe
} c:out value=${blah}/ /c:forEach -Tim -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:14 PM To: Struts Users Mailing List Subject: DynaForms and java.util.ArrayList When I define this in my struts-config: form-property

Re: DynaValidatorForm ArrayList problem

2003-10-22 Thread Barry Volpe
Here is a portion of the following link: If need be, you can extend the DynaActionForm to add custom validate and reset methods you might need. Simply specify your subclass in the struts-config instead. However, you cannot mix conventional properties and DynaProperties. A conventional getter or

Re: DynaValidatorForm ArrayList problem

2003-10-22 Thread Barry Volpe
Sorry after reading further It looks like you have defined correctly in your struts-config. - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 3:37 PM Subject: Re: DynaValidatorForm ArrayList problem

DynaForms and java.util.ArrayList

2003-10-21 Thread Barry Volpe
When I define this in my struts-config: form-property name=city type=java.util.ArrayList initial=/ I get this error: [ServletException in:/tiles/locationselection.jsp] Exception creating bean of class org.apache.struts.validator.DynaValidatorForm: {1}' Can I access city

Re: DynaForms and java.util.ArrayList

2003-10-21 Thread Barry Volpe
and java.util.ArrayList Remove initial= Then in your jsp do: c:forEach var=blah items=${myFormBean.map.city} c:out value=${blah}/ /c:forEach -Tim -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:14 PM To: Struts Users Mailing List Subject

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
Do you have the struts-legacy.jar in your WEB-INF/lib directory? - Original Message - From: Paul Idusogie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:44 AM Subject: Please Please Help! -- DataSource Error I have the following setup within my

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
They way I got it working was including the struts-legacy.jar commons-dbcp.jar commons-pool.jar and it works. Barry - Original Message - From: Rajat Pandit [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 11:07 AM

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
the struts legacy package? Sincerely, Paul Idusogie -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: Please Please Help! -- DataSource Error They way I got it working was including

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
to retrieving database data without using ejbs.? Sincerely, Paul Idusogie -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:20 PM To: Struts Users Mailing List Subject: Re: Please Please Help! -- DataSource Error In the struts

Drop down selection without submit?

2003-10-20 Thread Barry Volpe
Hi, I would like to make a selection from a drop down menu and call an action without using a submit button. The action is called by a change in the menu selection. Any suggestions? Thanks, Barry

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
... onchange=submit() -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:33 PM To: Struts Users Mailing List Subject: Drop down selection without submit? Hi, I would like to make a selection from a drop down menu and call an action without

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
? I've populated the option list. But I want one of the options marked as selected, how could I do that? Thanks, Katelyn --- Nicholson, Robb [EMAIL PROTECTED] wrote: html:select ... onchange=submit() -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
oops! like this: eForm.setCountry(US); - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 1:47 PM Subject: Re: Drop down selection without submit? I think you do something like this in your action

Re: [FRIDAY] Free Dog.....

2003-10-17 Thread Barry Volpe
I've seen some freaky shht but that's freaky!! - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 9:02 AM Subject: RE: [FRIDAY] Free Dog. oh man! that's cold! ru related to Andrew?

How to retrieve messages from default bundle?

2003-10-17 Thread Barry Volpe
Hi, Want to expose a message in my action: In my action I have: throw new Exception(I have an error); want to use message resource: message.error=I have an error (in applcation.properties) throw new Exception(message.error); (I know this doesn't work directly) Not sure how to set this

Re: How to retrieve messages from default bundle?

2003-10-17 Thread Barry Volpe
= getResources(request); String msg = resources.getMessage(message.error); throw new Exception(msg); Quoting Barry Volpe [EMAIL PROTECTED]: Hi, Want to expose a message in my action: In my action I have: throw new Exception(I have an error); want to use message resource

Using fmt:message with struts

2003-10-17 Thread Barry Volpe
Hi, Want to replace: bean:message key=view.title / with fmt:message key=view.title / I put: %@ taglib uri=http://java.sun.com/jstl/fmt; prefix=fmt % in my jsp. All I get is ???view.title??? What am I missing? Thanks, Barry

Re: Using fmt:message with struts

2003-10-17 Thread Barry Volpe
That worked Thanks Wendy, Barry - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 17, 2003 2:51 PM Subject: RE: Using fmt:message with struts Barry Volpe wrote: Want to replace: bean:message key=view.title

Re: display struts tag in Deamveaver design view

2003-10-16 Thread Barry Volpe
Haven't used them but here are some products: Not free http://www.fwasi.com/ free? http://www.jahia.org/jahia/Jahia/cache/offonce/pid/234 Barry - Original Message - From: Rong Yu [EMAIL PROTECTED] To: Struts-Jakarta [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 12:07 PM Subject:

Re: Validator

2003-10-16 Thread Barry Volpe
**Use the struts-validator.war example in the struts 1.1 release to learn more.** make sure you have this in your jsp: html:errors / This is where the validation error gets outputted. You should have this in your struts-config at the bottom where plug-ins go. !-- Add multiple validator

Re: display struts tag in Deamveaver design view

2003-10-16 Thread Barry Volpe
- Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 3:16 PM Subject: Re: display struts tag in Deamveaver design view Haven't used them but here are some products: Not free http

Re: only Strings appear to be validated by Validator

2003-10-16 Thread Barry Volpe
I only have experience using the following in my validator.xml: field property=distance depends=required,integer arg0 key=form.displayname/ /field field property=rate depends=required,float arg0 key=form.displayname/ /field integer and float are in the

Re: How to i make the default selection of radio button

2003-10-15 Thread Barry Volpe
In your Action: If using DynaValidatorForm: DynaValidatorForm eForm = (DynaValidatorForm)form; eForm.set(radioButtonName,radioButtonValue)); now foward to your form and the radio button will be selected. If using a Form: nameOfForm eForm = new nameOfForm();

Re: [REPOST] basic question about global forward

2003-10-15 Thread Barry Volpe
It is defined in the Action in the struts-config. If you want a more detailed answer past the config code in your post. Barry - Original Message - From: Julien Martin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 9:10 AM Subject:

Re: IMPORTANT: how to tell

2003-10-15 Thread Barry Volpe
The list does have an abundance of valuable information. Am I correct in saying that the list only archives about a weeks worth of posts? It would be great if the list had a way of cataloging the information. I find that a topic could be discussed for two days and then go away. The next day

Re: IMPORTANT: how to tell

2003-10-15 Thread Barry Volpe
-Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 17:23 To: Struts Users Mailing List Subject: Re: IMPORTANT: how to tell The list does have an abundance of valuable information. Am I correct in saying that the list only archives about a weeks worth

Re: [REPOST] basic question about global forward

2003-10-15 Thread Barry Volpe
Julien, What I see is that the /logoff is fowarded to the index.jsp. not the logon.jsp. I'm guessing that you have disabled the foward and expect the index.jsp to not be displayed? I'm not saying that this will solve your problem but once in awhile you might want to clear out your browser

Re: IMPORTANT: how to tell

2003-10-15 Thread Barry Volpe
;-) http://jakarta.apache.org/struts/resources/archives.html Steve -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: October 15, 2003 9:23 AM To: Struts Users Mailing List Subject: Re: IMPORTANT: how to tell The list does have an abundance of valuable

Re: IDE

2003-10-15 Thread Barry Volpe
Eclipse, Tomcat, JBoss, Xdoclet all open and free. Works for me.. Barry - Original Message - From: Voinea, Marina [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 2:19 PM Subject: RE: IDE But that's expensive : 2000 $ (or else,

Re: javax.servlet.ServletException: Missing message for key index.title

2003-10-15 Thread Barry Volpe
Have not looked at the struts-example in awhile but here is the entry for the web.xml file: init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param Barry - Original Message - From: Timothy Stewart [EMAIL PROTECTED] To: [EMAIL

Re: ActionForm

2003-10-14 Thread Barry Volpe
You an ActionForm or a DynaActionForm Barry - Original Message - From: Mariano García [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 9:18 AM Subject: ActionForm Hi all, I have a jsp page with a form, so I want to fill dinamically

Re: [Slightly OT] Where/how to start?

2003-10-13 Thread Barry Volpe
I'm actually in the same boat. I began with the internet in Perl/CGI, PHP. I realized the new and improved JSP/Servlet/J2EE is the way to go. I have looked at jobs and many of the J2EE are senior level (at least this is what the job requirement is). So I decided to learn STRUTS which was a

Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out value=${status.count} / /html-el:option /c:forEach /html-el:select

Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out value=${status.count} / /html-el:option /c:forEach /html-el:select

Re: Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
} Quoting Barry Volpe [EMAIL PROTECTED]: This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out value=${status.count

Re: JBoss

2003-10-09 Thread Barry Volpe
the move to EJB, you only have to change the Business Delegates, not any of your other code. Wiebe http://frontierj.blogspot.com -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:29 AM To: Struts Users Mailing List Subject: Re: JBoss I

Can I get parameter using bean tag?

2003-10-03 Thread Barry Volpe
I have the following fowarding jsp's myjsp.jsp?type=type1 myjsp.jsp?type=type2 I'm not sure if this is valid but I would like to use a tag(bean tag?) in my jsp to identify if type = type1 or type = type 2. I wanted to use this information to set radio button default values. One default when

Re: EJB's vs. Hibernate vs. Torque vs. custom DTO's

2003-10-03 Thread Barry Volpe
In case your interested object relational bridge is covered in this book. http://www.amazon.com/exec/obidos/tg/detail/-/1861007817/102-1389031-0729721?vi=advice - Original Message - From: Sasha Borodin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday,

Re: EJB's vs. Hibernate vs. Torque vs. custom DTO's

2003-10-03 Thread Barry Volpe
This book comes out in December... http://www.amazon.com/exec/obidos/search-handle-form/102-1389031-0729721 - Original Message - From: Sasha Borodin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 03, 2003 12:09 PM Subject: EJB's vs. Hibernate

Re: EJB's vs. Hibernate vs. Torque vs. custom DTO's

2003-10-03 Thread Barry Volpe
This book comes on Object Relational Bridge comes out in December: http://www.amazon.com/exec/obidos/tg/detail/-/1590592557/qid=1065209603/sr=1-2/ref=sr_1_2/102-1389031-0729721?v=glances=books - Original Message - From: Sasha Borodin [EMAIL PROTECTED] To: Struts Users Mailing List

Initializing Form bean values in jsp

2003-10-03 Thread Barry Volpe
Hi, I am trying to avoid duplicating the same form for the sake of two radio buttons. I call (no actions) the following: mypage.jsp?type=1; or mypage.jsp?type=2; I can determine which parameter value is passed using: bean:parameter id=idType name=type value=type not found/ bean:write

Initializing Form bean values in jsp

2003-10-03 Thread Barry Volpe
Hi, I am trying to avoid duplicating the same form for the sake of two radio buttons. I call (no actions) the following: mypage.jsp?type=1; or mypage.jsp?type=2; I can determine which parameter value is passed using: bean:parameter id=idType name=type value=type not found/ bean:write

ANY TAKERS?? Initializing Form bean values in jsp

2003-10-03 Thread Barry Volpe
Hi, I am trying to avoid duplicating the same form for the sake of two radio buttons. I call (no actions) the following: mypage.jsp?type=1; or mypage.jsp?type=2; I can determine which parameter value is passed using: bean:parameter id=idType name=type value=type not found/

Re: ANY TAKERS?? Initializing Form bean values in jsp

2003-10-03 Thread Barry Volpe
Hi Wendy, Thanks for responding. I have gotten closer to what I want to accomplish but not quite. To give you a little background. I have a menu with an action that has multiple fowards to simple select several jsp pages. That works fine. Two of the selections use the same form. So the

Re: Role of Action Classes when using EJB and Struts

2003-09-26 Thread Barry Volpe
I have done some research at the book store and have not found any book only covering struts and Ejb's. I have found books that dedicate a chapter or two on the subject. This book uses the open source Object Relational bridge to connect to Ejb's from a struts Action. It has some interesting

How to expose DynaValidator in Action?

2003-09-25 Thread Barry Volpe
For an action form I use: MyForm eForm = (MyForm)form; eForm.getEmail() In my DynaValidatorForm: form-bean name=myForm type=org.apache.struts.validator.DynaValidatorForm form-property name=email type=java.lang.String initial=No/ How do I expose the

Re: How to expose DynaValidator in Action?

2003-09-25 Thread Barry Volpe
. DynaValidatorForm dynaForm = (DynaValidatorForm) form; String email = (String) dynaForm.get(email); -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 14:08 To: Struts Users Mailing List Subject: How to expose DynaValidator in Action? For an action form I

Re: How to expose DynaValidator in Action?

2003-09-25 Thread Barry Volpe
form So String submittedEmail = (String) ((DynaActionForm) form).get (email); Should do it for you. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:08 PM To: Struts Users Mailing List Subject: How to expose

Re: Tiles and ControllerClass

2003-09-25 Thread Barry Volpe
The problem I ran into with this is if you are using the controllerClass you are required to implement Controller even though you are extending Action. If you are extending Action or Tiles Action and not implementing Controller then I was required to use ControllerUrl. This required me to add an

Here is an example TilesAction

2003-09-25 Thread Barry Volpe
- Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 3:41 PM Subject: Re: Data Source issue in tiles controller execute() TYPO: This: tiles:insert definition=.penguin.view flush=true / should

Re: Tiles and ControllerClass

2003-09-25 Thread Barry Volpe
I addition if you implement Controller you will need to declare the (interface requirement) perform method. - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 11:32 AM Subject: Re: Tiles

How do I populate a DynaValidatorForm?

2003-09-25 Thread Barry Volpe
With an Action Form we do the following: form = new UserForm(); form.setUserid(5); What is the equivalent for a DynaValidatorForm? Let's say my DynaValidatorForm is myForm Of course this does not work (compiler does not know what myForm is.) DynaValidatorForm dynaForm =

Re: How do I populate a DynaValidatorForm?

2003-09-25 Thread Barry Volpe
inside the action: ( ( DynaActionForm ) form ).set( Constants.USER_ID_KEY, 5); --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
Hi, In the following (SEE CODE BELOW) when I attempt to inititialize getDataSource(request) in the Tiles Controller execute method it causes a null in the fowarding JSP which looks for the string TEST initialized by this: tilesContext.putAttribute(TEST , TEST); If I remove the

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
not pass the database results from the Action class to the Controller class. Hope this helps anyone looking to use the tilesAction with database connectivity! Barry - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
TYPO: This: tiles:insert definition=.penguin.view flush=true / should be (correct name of definition): tiles:insert definition=.sample.view flush=true / - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September

Changes for Nightly builds

2003-09-22 Thread Barry Volpe
Hello, Trying to upgrade from struts 1.1Final to nightly build. I'm getting the following error for html:form action=Login.do name=loginForm type=com.childrencare.LoginForm Attribute name invalid according to the specified TLD If I remove the name and type tags form appears to work.

Re: Changes for Nightly builds

2003-09-22 Thread Barry Volpe
Did further investigating and it looks like name and type are no longer used when defining a Form tag. Makes sense since they are already defined in struts-config. - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday

[OT] JAVA question in tiles controller

2003-09-19 Thread Barry Volpe
Hi, In the following: I declare myString outside of the execute and perform methods I Initialize myString to TEST; in execute() and check the value of myString in perform() method and it is not initialized to TEST. Why? What is missing??? HERE IS THE CODE: public class

Tiles implements Controller does not work with execute()

2003-09-19 Thread Barry Volpe
Hi, docs say not to use the depracated perform(). Use execute() instead. I require execute() because perform() does not handle SQL exception. I get a compile error class LoadUserCategoriesController must use abstract interface perform(). HERE IS THE CODE: REQUIRE THIS (get an error that

Re: Tiles implements Controller does not work with execute()

2003-09-19 Thread Barry Volpe
oops typo below last execute() should be perform() - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 19, 2003 11:07 AM Subject: Tiles implements Controller does not work with execute() Hi, docs say

Re: Tiles implements Controller does not work with execute()

2003-09-19 Thread Barry Volpe
I did try the struts.jar from the lastest nightly build 20030919.zip Is this 1.2? It looks like the implements Controller abstract interface for execute is not being recognized? Barry - Original Message - From: Yann Cébron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

Re: Tiles Controller execute() does not work

2003-09-19 Thread Barry Volpe
If execute is used. The compiler wants the peform() method. If perform is used. The compiler wants the execute() method.?? Barry - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 19, 2003

Re: Tiles implements Controller does not work with execute()

2003-09-19 Thread Barry Volpe
Hi Yann, Thanks for your input. I'm sorry... when you say current are you talking about Relase1.1Final or the nightly build (was trying to avoid that need to make some additional other changes to compile)? I was able to get rid of the compile errors in Release 1.1Final extending

Simple Tiles Controller not working!

2003-09-18 Thread Barry Volpe
Trying to implement example from: http://www.theserverside.com/resources/articles/Tiles101/article.html Getting the following error: ** Exception in:/tiles/penguinview.jsp] null ** Basically trying to put a hashtable in request and tiles context cannot display in

Re: [OT] M7 Development tool

2003-09-17 Thread Barry Volpe
cool but a few thousand dollars! - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 12:15 PM Subject: RE: [OT] M7 Development tool Thanks :-) snip M7 lets you develop web applications in

Re: How to fill textfields from FormBean?

2003-09-16 Thread Barry Volpe
Use the form bean in your action something like this: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { RegForm form = null; form = new RegForm(); //The following is an

Dynamic links, Tiles and Actions

2003-09-16 Thread Barry Volpe
Let's say I have several groups of links grouped as tiles. The displayed links will be dynamic based on the current state of the database. I have read what may be a possible solution: Tiles Controller feature here is an article: http://www.theserverside.com/resources/article.jsp?l=Tiles101

DynaForms and validation

2003-09-10 Thread Barry Volpe
Hi, I have setup a DynaActionForm and wish to perform validation. How is this done when I do not have an ActionForm which requires extending org.apache.struts.validator.ValidatorActionForm Thanks, Barry

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
For J2ee developing I am investingating MyEclipse ($30.00) per year. It uses XDoclet for rapid development. Barry - Original Message - From: Bill Chmura [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 6:50 PM Subject: RE: J2EE IDE

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
I agree for next to nothing ($30.00 per year) you can develop in J2EE with Xdoclet (rapid dev) and use an app server like JBoss (free). Barry - Original Message - From: Riaan Oberholzer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 28, 2003

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
$30.00 because www.genuitec.com does not provide the plugin stand-alone anymore. It is now part of the MyEclipse plugin which is only available in a free 30 day trial offer. Barry - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED

Resin and struts 1.1 Final tiles error

2003-08-14 Thread Barry Volpe
This error does not occur in Tomcat 4.1 (struts 1.1 Final). Resin works fine using the struts.jar from struts 1.1b2 When upgrading to struts 1.1 Final the following error occurs in Resin: 500 Servlet Exception javax.servlet.jsp.JspException: Can't get definitions factory from context. at

[OT] Resin does not work with Struts 1.1 Final

2003-08-11 Thread Barry Volpe
Resin does not work with Struts 1.1 Final Question by Barry on Fri, 08 Aug 2003 14:05:26 -0700 (PDT) [ edit | delete ] When upgrading to Struts RC2 or 1.1 Final the following error occurs: (further description of problem below) 500 Servlet Exception

Re: JSTL in html-el:option

2003-08-01 Thread Barry Volpe
problem, but the value attribute of html-el:option should be ${status.count} and not c:out That's the whole point of the library :) . What web container are you using? -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] I get the same problem: Attribute

Re: JSTL in html-el:option

2003-07-31 Thread Barry Volpe
I get the same problem: Attribute ${status.count} has no value Barry - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 1:31 PM Subject: RE: JSTL in html-el:option You need to use varStatus to get

Re: Please Help With Simple Tiles Problem

2003-07-31 Thread Barry Volpe
Tiles can function stand alone from struts but is incorporated in struts 1.1. Here is the website of the originator of tiles. Part way down the page are some example tiles war files that I found helpful. http://www.lifl.fr/~dumoulin/tiles/ Barry - Original Message - From: Terry Brick

[OT] IDE with easy tomcat upgrade?

2003-06-13 Thread Barry Volpe
Hi, Looking for an IDE that if it does not already have Tomcat 4.1 I can upgrade with little trouble. Although I have used Tomcat stand alone I have little experience with it in an IDE. Thanks, Barry

Re: [OT] IDE with easy tomcat upgrade?

2003-06-13 Thread Barry Volpe
: [OT] IDE with easy tomcat upgrade? Eclipse 2.1 -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 4:18 PM To: Struts Users Mailing List Subject: [OT] IDE with easy tomcat upgrade? Hi, Looking for an IDE that if it does not already

  1   2   >