Paging through a collection on a page

2005-01-07 Thread Donie Kelly
HI all Anybody got some sample code that allows me to display multiple pages from a collection with next and previous page links. The collection is stored in the form class so I’m wondering how easy this is to do. If there are some samples on the web I’d be interested in having a look. I’m not

Flash buttons in struts???

2004-12-23 Thread Donie Kelly
Hi all I have lovely pages made with flash buttons but does anybody know how to submit forms etc using flash buttons??? Thanks Donie -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.4 - Release Date: 22/12/2004

RE: Accessing my form from an included page

2004-12-23 Thread Donie Kelly
[Donie Kelly] Hi Guys OK, I ran through most of what your are telling me and must first thank you all for the detailed responses. I'm sure I need to explain my case a bit more clearly and please let me know if what I am trying to do is easier if I take some other approach as I'm new

Accessing my form from an included page

2004-12-22 Thread Donie Kelly
Hi all I have the following jsp layout for my pages Included header.jsp STRUTS PAGE Included footer.jsp Now in the header.jsp I have my site logo and I also want to add breadcrumbs. I want to establish and maintain a session throughout the app and if the session is invalid i want to r

Page navigation links

2004-12-17 Thread Donie Kelly
Hi all Anybody got an example of how to implement a page navigation link for the top of a page like so... Home > MainFgorm > wizardpage1 > wizard page 2 The last entry would be the name of the current page and would not be a link. I'm thinking of a session object where the page inserts

Usign displaytag

2004-12-14 Thread Donie Kelly
Hi all I'm trying to use displaytag http://demo.raibledesigns.com/appfuse/demos/users-edit.jsp and I'm trying to reproduce the table on this page. I need the checkboxes to select/deselect all the other ones and I need the checkbo

RE: Form validation

2004-12-08 Thread Donie Kelly
t: 08 December 2004 17:36 To: Struts Users Mailing List Subject: RE: Form validation > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 08, 2004 10:22 AM > To: Struts Users Mailing List > Subject: RE: Form validation > > &g

RE: Form validation

2004-12-08 Thread Donie Kelly
n the form I cannot reset the page. What can I do in this case? Thanks Donie -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 08 December 2004 17:28 To: Struts Users Mailing List Subject: RE: Form validation > -Original Message- > From: Donie Kelly [ma

Form validation

2004-12-08 Thread Donie Kelly
Hi all I have a form that uses the standard form validation based on the validation.xml file. It all works fine except for when I'm pre-populating the form on first showing. The validation is kicking in before the data is retrieved from the database. Can anybody show me how to initialise t

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
Hi Niall I upgrade my tomcat to 4.1.31 and now it works as you'd expect. Ps: I had reveresed the tags that you mention in the last mail to invoke struts into an exception to double check if I was seeing errors. Sorry I forgot to re-order it before I sent it to you last time. I was adding to

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
mmons digester, commons collections, etc). If you do all that and its still not working then I'm at a loss. Maybe look at the SAX parser implementation your using. Also, whats the servlet container you're deploying on - maybe theres some kind of config issue with it? Thats all I can th

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
.xml, /WEB-INF/validation-extends-rule.xml, /WEB-INF/validation.xml}) So the problem is in your strus-config. You said it looked like this Which looks fine. Are you 100% certain this is what you're deploying? Somethings not right somewhere in this struts-config Niall

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
ng modules and is your > validation stuff configured for the module thats trying to use them? > > Niall > > - Original Message - > From: "Donie Kelly" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> &

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
which extends ValidatorForm What about your struts-config.xml - do you have the validator PlugIn - can you show us the entry? If you do have the Plugin are you getting any errors when the webapp starts up - check your logs. Niall - Original Message - From: "Donie Kelly" <[EM

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
And the commons-validator.jar is 1.1.3 Donie -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 10:51 To: Struts Users Mailing List Subject: RE: Exception when app goes to form which extends ValidatorForm Hi David, thatnks for that. I'm only sta

RE: Exception when app goes to form which extends ValidatorForm

2004-12-07 Thread Donie Kelly
27;t tell if it is a problem with the form name of one of the fields. I recommend you post some of your validation.xml file for feedback. Regards, David -Original Message----- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 9:49 AM To: Struts Users Mailing L

RE: Exception when app goes to form which extends ValidatorForm

2004-12-06 Thread Donie Kelly
bject: Re: Exception when app goes to form which extends ValidatorForm Do you have your resource file specified in your struts-config? On Fri, 3 Dec 2004 16:42:09 -0000, Donie Kelly <[EMAIL PROTECTED]> wrote: > Hi all > > I'm getting this error when accessign a form which extend

Exception when app goes to form which extends ValidatorForm

2004-12-03 Thread Donie Kelly
Hi all I'm getting this error when accessign a form which extends ValidatorForm and I'm having trouble figuring out what;s wrong. Anybody know why this might happen. I'm following the tutorial at http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html

RE: Pre-populating a form from a database

2004-12-03 Thread Donie Kelly
Thanks, that worked. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 17:12 To: Struts Users Mailing List Subject: RE: Pre-populating a form from a database > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent:

RE: Pre-populating a form from a database

2004-12-02 Thread Donie Kelly
ing a form from a database The form bean is a not a data access object!!! Get the data in the action class, populate the form bean from that. FormBeans are for display only. > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 02, 2004 9

Pre-populating a form from a database

2004-12-02 Thread Donie Kelly
Hi all I've been going through the tutorials at http://www.coreservlets.com/Apache-Struts-Tutorial/index.html which shows how to pre-populate forms. However, as I'm new to this, is there a "proper" way to access the database t

Any good struts tutorials online?

2004-11-25 Thread Donie Kelly
Hi all I've been given a half finished struts project to develop further and I havn't used struts before. Is there any good resources where I can learn how to get up to speed quickly. Overviews are especially important to me as it help me to learn quicker. Is there any good books that lead me i

RE: Refreshing a page

2004-11-19 Thread Donie Kelly
spatchAction. -----Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: 19 November 2004 16:01 To: Struts Users Mailing List Subject: RE: Refreshing a page Hi Colm Yes, this is what I was thinking too but I was hoping add this functionality to every page in our app. Doing th

RE: Refreshing a page

2004-11-19 Thread Donie Kelly
flag, in the session (as per your suggestion) or preferably in the form bean, then forward back to where you came from. -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: 19 November 2004 15:46 To: Struts Mailing List ([EMAIL PROTECTED]) Subject: Refreshing a page Hi

Refreshing a page

2004-11-19 Thread Donie Kelly
Hi all I'm a struts newbie and I want to add a graphic button on a page (which is done) which, when pressed, will refresh the page and display some help for various items. I know how to add the help uisng logic tags etc but what I need to figure out (I already tried searching the archives)