RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
> From: Bender, James [mailto:[EMAIL PROTECTED] > The user can click > Search Attributes | Search Components | Search Templates > I've provided html:link's like these respectively: > doPrepareSearch.do?searchType=attribute | > doPrepareSearch.do?searchType=component | > doPrepareSearch.do?searchTy

RE: newbie html-el question

2004-03-26 Thread Bender, James
sage. Does it make sense what I've described? Thanks again!, Jim -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:03 PM To: Struts Users Mailing List Subject: RE: newbie html-el question From: Bender, James [mailto:[EMAIL PROTECTED] &g

RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
From: Bender, James [mailto:[EMAIL PROTECTED] > I am trying to display a value from a requestAttribute in an ...> but I can't get it to work. Here is my code: > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > "Attribute searchType has no value" > Someone told me I

RE: newbie html-el question

2004-03-26 Thread Slattery, Tim - BLS
> I am trying to display a value from a requestAttribute in an > but I can't get it to work. Here is my code: > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > "Attribute searchType has no value" > Someone told me I have to do something more like this: >

FW: newbie html-el question

2004-03-26 Thread Bender, James
> I am trying to display a value from a requestAttribute in an ...> but I can't get it to work. Here is my code: > > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > > "Attribute searchType has no value" > > Someone told me I have to do something more like this: >

greetings & a newbie question

2004-03-24 Thread dasa
hi, just joined the list, and i have a newbie question about struts design. this is where i am at. i have looked at struts about a year back, and rolled my own version of mvc web architecture, stealing several basic ideas from struts. at the time, it appeared that many features of struts were

(Newbie) Separating Client From Server side errors

2004-03-16 Thread Theodosios Paschalidis
Hi all, in my application I use both the validator for client side validation and server side validation. My problem is that when validation fails, I get the error reported as server side and not in a Javascript fashion. Additionally when a validation error occurs my reset button does not work.

Re: Newbie needs help: Validator not working with Struts/Velocity

2004-03-14 Thread Marino A. Jonsson
I see nothing wrong - the actions look fine and #errorMarkup() should take care of displaying any form errors. Did you model this after the validator example in the velstruts appliction that comes with Velocity Tools 1.1-rc1? cheers, Marinó <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

Re: Newbie needs help: Validator not working with Struts/Velocity

2004-03-11 Thread Niall Pemberton
t parameter - that way if you get an validation error you should see a different page. Something like... Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 5:54 PM Subject: Newbie needs help: Validator not wo

Re: Newbie needs help: Validator not working with Struts/Velocity

2004-03-10 Thread Markus
> I'm fairly new to Struts, and have been trying to get my simple > application to work - using Struts 1.1, Velocity 1.3.1, Velocity > Tools 1.1-rc1, and Tomcat 4.1.29. The application (such as it is) > works as far as presentation and workflow - but _isn't_ working is > the Validator framework.

Newbie needs help: Validator not working with Struts/Velocity

2004-03-10 Thread andy
I'm fairly new to Struts, and have been trying to get my simple application to work - using Struts 1.1, Velocity 1.3.1, Velocity Tools 1.1-rc1, and Tomcat 4.1.29. The application (such as it is) works as far as presentation and workflow - but _isn't_ working is the Validator framework. I've spent

Re: Newbie Q

2004-03-10 Thread Mark Lowe
"> or as has been suggested on tc 5 and other jsp2 supporting containers el works without having to use an el library On 10 Mar 2004, at 04:12, Paul Stanton wrote: yes, but theres no other way (without writing your own tag) to put "myProp" into the "href" attribute. Kunal H. Parikh w

Re: Newbie Q

2004-03-09 Thread Paul Stanton
yes, but theres no other way (without writing your own tag) to put "myProp" into the "href" attribute. Kunal H. Parikh wrote: Will try this, but doesn't having <%=myProp%> mean that I am using a scriptlet ? And, shouldn't our JSP not include scriptlets as far as possible ? ---

RE: Newbie Q

2004-03-09 Thread Kunal H. Parikh
nesday, 10 March 2004 12:38 To: Struts Users Mailing List Subject: Re: Newbie Q I don't know if your construction is possible (i think it is). But try to use : Link Text Kunal H. Parikh wrote: >Hi All! > >Can someone tell me as to how do I call inside ...> > >Example: &

Re: Newbie Q

2004-03-09 Thread Daniel Henrique Alves Lima
I don't know if your construction is possible (i think it is). But try to use : Link Text Kunal H. Parikh wrote: Hi All! Can someone tell me as to how do I call inside Example: ">Link Text I investigated a little abt nested tags, but I don't think that it is applicable here. TIA, Kunal

Newbie Q

2004-03-09 Thread Kunal H. Parikh
Hi All! Can someone tell me as to how do I call inside Example: ">Link Text I investigated a little abt nested tags, but I don't think that it is applicable here. TIA, Kunal - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel H. F. e Silva
Hi all, Other possibility is to check whether 'myBean' exists in some scope. Cheers, Daniel Silva. --- Daniel Henrique Alves Lima <[EMAIL PROTECTED]> wrote: >Have you import logic taglibs ? > > steve hazelwood wrote: > > >I have an action that creates a bean. That bean has a > >proper

Re: collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
Solved, well done. I'm glad I put 'newbie' in the subject line now :-) Thanks, Steve On 9 Mar 2004 at 11:03, Daniel Henrique Alves Lima wrote: Have you import logic taglibs ? steve hazelwood wrote: >I have an action that creates a bean. That bean has a >property myS

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel Henrique Alves Lima
Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: Then I get an exception "Cannot find bean myId in any sc

collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: Then I get an exception "Cannot find bean myId in any scope". I can understand that cos myId is a String not a

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Craig R. McClanahan
Quoting Daniel Henrique Alves Lima <[EMAIL PROTECTED]>: > It sounds good to me ! > > Andrew Petro wrote: > > >Incidentally, have there been any thoughts on this list of differentiating > >out a struts-user-newbie list from the main struts-user list? > >

RE: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
ruts gurus might very well look at a new list for newbies and choose not > to subscribe. I don't see this as a problem. Struts gurus helping newbies > is a wonderful thing, but we're all volunteers here and if the gurus would > prefer not to be on the newbie list, they should be

RE: [Suggestion] struts-user-newbie list

2004-03-08 Thread Andrew Petro
x27;re all volunteers here and if the gurus would prefer not to be on the newbie list, they should be empowered to make that decision. It is true that differentiating the lists might lower the threshold for newbie effort prior to newbie posts. However, the existing infrastructure for encouraging e

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
ROTECTED]> wrote: > It sounds good to me ! > > Andrew Petro wrote: > > >Incidentally, have there been any thoughts on this list of differentiating > >out a struts-user-newbie list from the main struts-user list? > > > >I think it's wonderful to have a wel

[Suggestion] struts-user-newbie list

2004-03-07 Thread Daniel Henrique Alves Lima
It sounds good to me ! Andrew Petro wrote: Incidentally, have there been any thoughts on this list of differentiating out a struts-user-newbie list from the main struts-user list? I think it's wonderful to have a welcoming place for newbies to post questions, but I think it might al

Re: Newbie question

2004-03-03 Thread James Mitchell
age - From: "Satya Narayan Dash" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 9:31 AM Subject: Newbie question Hi, I am new to struts. I found a number of simple tutorials (with examples) to understand struts-1.0, but there seems to none for struts

Newbie question

2004-03-03 Thread Satya Narayan Dash
Hi, I am new to struts. I found a number of simple tutorials (with examples) to understand struts-1.0, but there seems to none for struts-1.1. I have gone through one struts-1.0 tutorial given at jspfinder.com, which is good. Can you please recommend for struts-1.1 (with examples)? Thanks, Sa

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Oswald Campesato
Hello, Rick: I'm joining this out-of-context, so apologies if it's been discussed. Some time ago I extended ActionServlet in order to collect some timing-related results and then generated an XML file to which I applied an XSL stylesheet in order to generate an SVG-based bar chart. Then I w

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Rick Reumann
On Sat, 2004-02-21 at 23:40, Mark Jones wrote: > In what circumstances might you want to subclass your own Action class and, > if you did, how would you handle/inherit the form data? Would you just use > different subclasses of your Action but just one ActionForm for each Action? Did you look at

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Raphaël di Cicco
I use an ActionBaseForm where I put mapped getters/setters for the properties so every sub-Form can use it without coding anything. - Original Message - From: "Mark Jones" <[EMAIL PROTECTED]> To: "Struts User" <[EMAIL PROTECTED]> Sent: Sunday, February 2

RE: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Mathew, Manoj
User Subject: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use? My application allows a user to make various different types of bookings for a (fictional!!!) hospital and logs them in a database. Each type of booking has a set of common properties but

RE: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-22 Thread Matthias Wessendorf
ws Exception; } -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Sunday, February 22, 2004 12:15 PM To: Struts Users Mailing List Subject: Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use? On 02/22/2004 05:40 AM Mark

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-22 Thread Adam Hardy
On 02/22/2004 05:40 AM Mark Jones wrote: My application allows a user to make various different types of bookings for a (fictional!!!) hospital and logs them in a database. Each type of booking has a set of common properties but also different ones depending on the type of booking being made. I hav

[Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-21 Thread Mark Jones
My application allows a user to make various different types of bookings for a (fictional!!!) hospital and logs them in a database. Each type of booking has a set of common properties but also different ones depending on the type of booking being made. I have divided my classes into a BookingActio

Re: NEWBIE: [CLOSED] difficulties getting simple no bean page working...

2004-02-12 Thread Brian Lee
That compiles because you just overloaded the execute method. Upon execution, the base Action's execute would run and nothing would call your execute. BAL From: Timothy Stone <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: NEWBIE: [CLO

Re: NEWBIE: [CLOSED] difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
List, Too close and too embarrassed to say what it was. Okay, I'll say... Timothy Stone wrote: List, I'm a Struts newbie with a lot of general hours in Tomcat. I want to advance my development with Struts 1.1 and Model 2. ...snip... Step 3. Create the Action subclass package

RE: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Daniel Kalcevich
I was thinking more of something like this: But hey, whatever works. :-) Daniel -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 10:22 AM To: Struts Users Mailing List Subject: Re: NEWBIE: difficulties getting simple no bean page

Re: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
ct, it is even shown in examples as a working action-mappings element. I really would like to understand this. Blindly leaving the problem means I may face it again without the context, of "why?". Many thanks, Tim -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent

RE: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Daniel Kalcevich
[EMAIL PROTECTED] (714) 671-6607 -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 9:15 AM To: [EMAIL PROTECTED] Subject: NEWBIE: difficulties getting simple no bean page working... List, I'm a Struts newbie with a lot of general hou

NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
List, I'm a Struts newbie with a lot of general hours in Tomcat. I want to advance my development with Struts 1.1 and Model 2. In an applied Struts scenario I have performed the following: Followed closely the suggestions for integrating Struts into an existing web application. I did d

AW: REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Otto, Frank
Hi, use the iterator tag in this way: Regards, Frank -Ursprungliche Nachricht- Von: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 5. Februar 2004 12:50 An: Struts Users Mailing List Betreff: REPOST: newbie - How to

RE: REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Andrew Hill
manage using simple iteration and a collection in the form field. Worth taking a look at the nested tutorials though. -Original Message- From: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 19:50 To: Struts Users Mailing List Subject: REPOST: newbie - How to

REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Sudip Kumar Bhattacharya
Reposting my query since nobody answered it... -Original Message- From: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 4:45 PM To: Struts Users Mailing List Subject: newbie - How to generate form controls dynamically in struts Hi friends, I need

newbie - How to generate form controls dynamically in struts

2004-02-04 Thread Sudip Kumar Bhattacharya
Hi friends, I need to create some controls dynamically which should be struts enabled. Sample output code is as follows. How can I use some collection/array to store the information, and then render the html:fields, so that they are handled by struts like normal hardcoded controls? I have seen som

Re: AW: newbie and html:form

2004-02-04 Thread Markus
rsprüngliche Nachricht- > Von: Markus [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 4. Februar 2004 11:48 > An: Struts Users Mailing List > Betreff: Re: newbie and html:form > > > > > Hi experts :), > > > > > > is it possible to add a request

AW: newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
-Ursprüngliche Nachricht- Von: Markus [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 4. Februar 2004 11:48 An: Struts Users Mailing List Betreff: Re: newbie and html:form > > Hi experts :), > > > > is it possible to add a request parameter to ? > > In i can add a bean w

Re: newbie and html:form

2004-02-04 Thread Markus
> > Hi experts :), > > > > is it possible to add a request parameter to ? > > In i can add a bean with name="params", but i cannot use > > it > > on html:form. > > Is there a trick to add the bean as request parameter ? > > Thanks for help > > Tomek > > > > > Hi, > try a hidden field. > Rega

AW: newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
: Re: newbie and html:form > Hi experts :), > > is it possible to add a request parameter to ? > In i can add a bean with name="params", but i cannot use > it > on html:form. > Is there a trick to add the bean as request parameter ? > Thanks for help &g

Re: newbie and html:form

2004-02-04 Thread Markus
> Hi experts :), > > is it possible to add a request parameter to ? > In i can add a bean with name="params", but i cannot use > it > on html:form. > Is there a trick to add the bean as request parameter ? > Thanks for help > Tomek > > Hi, try a hidden field. Regards, Markus -

newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
Hi experts :), is it possible to add a request parameter to ? In i can add a bean with name="params", but i cannot use it on html:form. Is there a trick to add the bean as request parameter ? Thanks for help Tomek

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
I was wondering if there was another struts tag that could help. Colin -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: February 3, 2004 11:04 AM To: 'Struts Users Mailing List' Subject: RE: Newbie: Problems After Deploying to Tomcat Colin

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Yee, Richard K,,DMDCWEST
Colin, Check out the html:base tag. -Richard -Original Message- From: Colin Foulkes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 8:16 AM To: Struts Users Mailing List Subject: RE: Newbie: Problems After Deploying to Tomcat Ah... I think I see the problem I need to

Re: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Shaul Siboni
: February 3, 2004 9:47 AM To: Struts Users Mailing List Subject: Newbie: Problems After Deploying to Tomcat Hi, I'm fairly new to the struts but have been able to get a small struts app working fine under the internal Tomcat(4.0.6) in Netbeans. Everything here works fine. When I try to run th

RE: Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
in my src attribute? Also, assuming this is the same problem in my filter, is there some recognized way for handling the forward in the filter. Thanks again Colin -Original Message- From: Colin Foulkes Sent: February 3, 2004 9:47 AM To: Struts Users Mailing List Subject: Newbie

Newbie: Problems After Deploying to Tomcat

2004-02-03 Thread Colin Foulkes
Hi, I'm fairly new to the struts but have been able to get a small struts app working fine under the internal Tomcat(4.0.6) in Netbeans. Everything here works fine. When I try to run the app under a standalone Tomcat (4.1.29) I get two problems with my application. 1. I have created an authent

RE: REPOST: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
cheers, -Original Message- From: Jim Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 7:29 PM To: Struts Users Mailing List Subject: Re: REPOST: newbie datasource config problems Matthias, Thanks very much for responding! It seems there's a misunderstanding on m

Re: REPOST: newbie datasource config problems

2004-01-28 Thread Jim Anderson
rs Mailing List Subject: REPOST: newbie datasource config problems (The original msg didn't seem to make it to the list.) I'm trying to configure my Struts 1.1 app (Tomcat 4) for MySQL access and getting nothing but grief. Currently, I'm showing the f

RE: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
Subject: newbie datasource config problems I'm trying to configure my Struts 1.1 app for MySQL access and getting nothing but grief. Currently, I'm showing the following error in the log file: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Cou

newbie datasource config problems

2004-01-28 Thread Jim Anderson
I'm trying to configure my Struts 1.1 app for MySQL access and getting nothing but grief. Currently, I'm showing the following error in the log file: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource Could someone please send me samples of what web.xml and struts-con

RE: REPOST: newbie datasource config problems

2004-01-28 Thread Matthias Wessendorf
://jakarta.apache.org/commons/pool/ - http://jakarta.apache.org/commons/dbcp/ greetings matthias -Original Message- From: Jim Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 6:14 PM To: Struts Users Mailing List Subject: REPOST: newbie datasource config problems (The

REPOST: newbie datasource config problems

2004-01-28 Thread Jim Anderson
(The original msg didn't seem to make it to the list.) I'm trying to configure my Struts 1.1 app (Tomcat 4) for MySQL access and getting nothing but grief. Currently, I'm showing the following error in the log file: java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource C

RE: ActionForm boolean properties - Newbie question

2004-01-20 Thread Andrew Hill
7; Subject: ActionForm boolean properties - Newbie question I have some trouble using a boolean (the primitive type) property inside an ActionForm. What I'd like to know is if Struts looks for a getProperty method or isProperty method... It seems Struts always calls the getProperty, but as I know

Re: newbie: html:form EL in action tag

2004-01-20 Thread Mark Lowe
I've used el for the value of the action attribute.. works fine. Just feed it a string. On 20 Jan 2004, at 13:08, Simon Pett wrote: Thanks Frédéric, I used the taglig import from the Jakarta JSTL 1.1 getting started doc <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> The focus="

RE: newbie: html:form EL in action tag

2004-01-20 Thread Simon Pett
Thanks Frédéric - your right of course - I was missing the point using struts-html-el now -Original Message- From: Frédéric Dreier >So I think the EL works just not in the action parameter of the html:form ?? > > > It works for me.

ActionForm boolean properties - Newbie question

2004-01-20 Thread Renato Romano
I have some trouble using a boolean (the primitive type) property inside an ActionForm. What I'd like to know is if Struts looks for a getProperty method or isProperty method... It seems Struts always calls the getProperty, but as I know it should call the isProperty!! Is the behavior with a Boolea

Re: newbie: html:form EL in action tag

2004-01-20 Thread Frédéric Dreier
So I think the EL works just not in the action parameter of the html:form ?? It works for me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: newbie: html:form EL in action tag

2004-01-20 Thread Simon Pett
Thanks Frédéric, I used the taglig import from the Jakarta JSTL 1.1 getting started doc <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> The focus="${focus}" appears to work and I was able to So I think the EL works just not in the action parameter of the html:form ?? Simon -

Re: newbie: html:form EL in action tag

2004-01-20 Thread Frédéric Dreier
i'm not sure but, do you have declared the right library (with el suffix) at the begining of your page? <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> regards, frederic Simon Pett wrote: Hi I am trying to use tile attributes for the action and focus parameters in the html:

newbie: html:form EL in action tag

2004-01-20 Thread Simon Pett
Hi I am trying to use tile attributes for the action and focus parameters in the html:form tag. So I imported the attributes to the page scope and then used EL to set them. The focus worked fine however the action gave the error ServletException in:/pages/common/layouts/formlayout.jsp] Can

Re: newbie question : cannot resolve symbol when compiling an Action class

2004-01-19 Thread lixin chu
n be found that > matches "myABC > (..)". So, be sure there is such a constructor. > > > - Original Message - > From: "lixin chu" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 19, 2004 10:04 AM > S

Re: newbie question : cannot resolve symbol when compiling an Action class

2004-01-19 Thread e-denton Java Programmer
: <[EMAIL PROTECTED]> Sent: Monday, January 19, 2004 10:04 AM Subject: newbie question : cannot resolve symbol when compiling an Action class > sorry for this newbie question, tried, googled, but > can not find an anwser: > > I have a Action class (myAction) and a utility

newbie question : cannot resolve symbol when compiling an Action class

2004-01-19 Thread lixin chu
sorry for this newbie question, tried, googled, but can not find an anwser: I have a Action class (myAction) and a utility class (myABC class), in myAction, I try to instantiate it: myABC abc = new myABC (..); when compiling, error msg: ~~~ cannot reolve symbol symbol

Re: newbie struts/ant build questions

2003-12-29 Thread Brice Ruth
What are you using as your base build.xml file? Lawrence Cryderman wrote: Hi, I'm having a heck of a time getting ant to build my simple struts app. Right now I'm getting: BUILD FAILED java.lang.ExceptionInInitializerError With the ant -v o

newbie struts/ant build questions

2003-12-29 Thread Lawrence Cryderman
Hi, I'm having a heck of a time getting ant to build my simple struts app. Right now I'm getting: BUILD FAILED java.lang.ExceptionInInitializerError With the ant -v option I get java.lang.ExceptionInInitializerError a

RE: [other] newbie question/problem

2003-12-22 Thread Noel E. Lecaros
] newbie question/problem I've been trying to modify the logon app from "Struts in Action" to use the new features in Struts 1.1 but am having a problem I haven't be able to solve. I replaced in Logon.jsp with and get the following error: org.apache.jasper.Jas

newbie question/problem

2003-12-22 Thread Jim Anderson
I've been trying to modify the logon app from "Struts in Action" to use the new features in Struts 1.1 but am having a problem I haven't be able to solve. I replaced in Logon.jsp with and get the following error: org.apache.jasper.JasperException: /pages/Logon.jsp(7,0) No such tag messag

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Ed Dowgiallo
Thank you for the translation. ;-) Ed - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 11:11 AM Subject: Re: Newbie: java.lang.boolean and DynaActionFor

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Mark Lowe
we" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 10:33 AM Subject: Re: Newbie: java.lang.boolean and DynaActionForm? No one's suggesting that anyone hangs them selves or that struts isn't good. But t

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Mark Lowe
;Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 10:33 AM Subject: Re: Newbie: java.lang.boolean and DynaActionForm? No one's suggesting that anyone hangs them selves or that struts isn't good. But the fact that this list sees a high influx of ne

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Ed Dowgiallo
a good thing or a bad thing? Thank you, Ed - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 10:33 AM Subject: Re: Newbie: java.lang.boolean and DynaActionFo

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Mark Lowe
ts is that it gives you more than enough "rope" to use wisely or hang yourself :) robert -Original Message- From: Engbers, ir. J.B.O.M. [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 9:24 AM To: '[EMAIL PROTECTED]' Subject: Newbie: java.lang.boolean and D

RE: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Robert Taylor
M. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 17, 2003 9:24 AM > To: '[EMAIL PROTECTED]' > Subject: Newbie: java.lang.boolean and DynaActionForm? > > > Hi, > > Both 'Struts in Action' and 'Programming Jakarta Struts' state that > Ac

Re: Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Mark Lowe
DynaActionForms as cool as they are are more trouble than they're worth unless its a small simple form. For one thing you don't find out what's wrong until runtime. I just use strings for dynaaction forms as it works, the problems our in part caused (i think) by the conversions done by beanutil

Newbie: java.lang.boolean and DynaActionForm?

2003-12-17 Thread Engbers, ir. J.B.O.M.
Hi, Both 'Struts in Action' and 'Programming Jakarta Struts' state that ActionForms and DynaActionForms are nearly equivalent and the main advantage of using DynaActionForms is that you don't have to declare all the getters and setters. In DynaAction Forms each property can be of a (array of a) pr

Re: Newbie can't get saveErrors() working

2003-12-13 Thread Marcus Peixoto
Instead using try to use: Em SÃb, 2003-12-13 Ãs 08:56, Sheldon Hearn escreveu: > Hi folks, > > I'm in love with the validation framework included with Struts. The > fact that I can do validation with regular expressions and have > client-side JavaScript created for me automatically is fan

RE: Newbie can't get saveErrors() working

2003-12-13 Thread Joe Hertz
My (newbie also) I'd suggest that in your struts-config.xml you mess with the null property for your message resource. Configured the right way, instead of null results, you'll see what message resource it was trying for. > -Original Message- > From: Sheldon Hear

Newbie can't get saveErrors() working

2003-12-13 Thread Sheldon Hearn
Hi folks, I'm in love with the validation framework included with Struts. The fact that I can do validation with regular expressions and have client-side JavaScript created for me automatically is fantastic. However, there's one error that I have to catch on the server-side in some cases: an att

RE: Newbie to struts with a question on text fields

2003-12-01 Thread Witt, Mike (OH35)
] Subject: Newbie to struts with a question on text fields Hi, I have a textbox which is supposed to hold a numeric value - ie the property corresponds to a numeric datatype in the Action form. If I leave this textbox empty , I want my validate method to catch it and print an error as this field is a

Newbie to struts with a question on text fields

2003-12-01 Thread Nandita Rajagopalan
Hi, I have a textbox which is supposed to hold a numeric value - ie the property corresponds to a numeric datatype in the Action form. If I leave this textbox empty , I want my validate method to catch it and print an error as this field is a required field. However, when I leave this text empt

Re: (newbie asking advice) in which order do I call my .do and .jsp?

2003-11-21 Thread Janice
Thanks Rick, While that wasn't exactly what I was asking, I think you gave me a better answer than what I was looking for :) That makes so much more sense than what I was doing!! Janice

Re: (newbie asking advice) in which order do I call my .do and .jsp?

2003-11-21 Thread Rick Reumann
Janice wrote: (1) When I want to display a list of widgets, my link is to: /projectTypes.do?action=showList (2) My mapping looks like this (ProjectTypeCodeActions extends DispatchAction): (3) So it goes off to the DB to get my list, and then forwards off to project

(newbie asking advice) in which order do I call my .do and .jsp?

2003-11-21 Thread Janice
Sorry if this is too basic, I'm really green, but trying to learn the right way to do things. First off, I'm using tiles, and I think I was doing things backwards, and I'd like to confirm that I've got things going the right way now. So this is what I have: (1) When I want to display a list of w

RE: Struts-validator.dtd, or why lame newbie questions happen.

2003-11-21 Thread Joe Hertz
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2003 5:02 AM > To: [EMAIL PROTECTED] > Subject: Re: Struts-validator.dtd, or why lame newbie > questions happen. > > > So I googled (imagine!). This

Re: Struts-validator.dtd, or why lame newbie questions happen.

2003-11-21 Thread majoko
Hi, > "Struts in Action" says to copy struts-validator.dtd into WEB-INF. > > Couldn't find it. So I checked Manning's site for errata to this (since > it was beta at the time) like the book suggested. Nothing. > > So I googled (imagine!). This changed since in the final release, to be > part of s

Struts-validator.dtd, or why lame newbie questions happen.

2003-11-21 Thread Joe Hertz
"Struts in Action" says to copy struts-validator.dtd into WEB-INF. Couldn't find it. So I checked Manning's site for errata to this (since it was beta at the time) like the book suggested. Nothing. So I googled (imagine!). This changed since in the final release, to be part of struts-html.tld, d

Re: [newbie] Access to message resources from tile controller class

2003-11-17 Thread Mark Lowe
I tend to stick to using plain old actions rather than extending tile action for tiles stuff.. You can forward to your definitions. .. This way you don't need to store anything in a properties file, just in tiles-defs and struts config. Cheers Mark On 17 Nov 2003, at 10:50, Michal.s

[newbie] Access to message resources from tile controller class

2003-11-17 Thread Michal.s
Dear Group How can i retrieve a message from application.resources from a tile controller class ? I need to enable the end user of my website/application to modify its structure (add new pages and so on). The pages (unique id and corresponding file name) could be kept in application.resources fil

Re: Utter Newbie Question

2003-11-12 Thread Arne Brutschy
- display the logout form --%> <%-- the requested page parameter is used to return to this page after logout --%>

Utter Newbie Question

2003-11-12 Thread Joe Hertz
uot; object in the session and check for it's presence? That way, if it's there, one can utilize the data in the User object for whatever sordid little purpose said developer comes up with. Is this a good idea? If so, how do I go about doing this in the view? (I told you I was a newbie

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 05, 2003 4:06 PM Subject: Re: Newbie questionredirect > Nicolas, > > I think your reply will help me with my post too -> trying to switch web > modules - help > but I don't see a sendRedirect() method of the reque

  1   2   3   4   5   6   7   8   9   10   >