Re: using breadcrumbs

2002-08-03 Thread @Basebeans.com
Subject: Re: using breadcrumbs From: "Eric Weiss" <[EMAIL PROTECTED]> === Cal, I would like to see the Crumb.jsp and TilesAction please. Thx, Eric "Holman, Cal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Navita>> I use tiles to manage breadcrumbs. By adding a 'crumbnameX

RE: How to re-populate multiple selected options in a dropdown combo box

2002-08-03 Thread mike m
If I understand your problem, I believe you need two properties: one for html:select (String[ ]) one for html:options (List or String[ ]) because you can't store both the available items and the selected item(s) in the same property. Mike -Original Message- From: Struts Newsgroup [mailt

RE: using breadcrumbs

2002-08-03 Thread Holman, Cal
Navita>> I use tiles to manage breadcrumbs. By adding a 'crumbnameXX' and 'crumblinkXX' to the tiles page definition and extending definitions I build a tree within the page definitions. Using a TilesAction for a UrlController I load the crumbnameXX and crumblinkXX into request context. Because

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
Thanks, I´ll check it out. I´ve actually read most of the chapters already. Great work! It´s nice to actually have books being printed even if it is an open source project. The unfortunate thing with many good open source projects is the lack of documentation or books. Struts fortunately has

Re: forms, security,read only fields,autopopulation

2002-08-03 Thread Phil Steitz
John Rothfield wrote: >I have an account information screen that lets the user change their >address. The screen displays account # also, but account # is a read only >field. >Question: should account # be in the form bean? I need to populate account >#, but >I'm afraid the user will hack the for

Re: Limiting No of Records per page/view

2002-08-03 Thread Stan Baranek
I use a "scroller" class that takes an ArrayList of objects. I make the objects in the list "comparable" so the list can be sorted. The scroller class uses a simple sorting class to hold the ArrayList. The "scroller" class has public methods like scrollForward(), sortList(), getCurrentPage(),

Re: Any uses of set-property inside of global-forward

2002-08-03 Thread Craig R. McClanahan
On Sat, 3 Aug 2002, James Turner wrote: > Date: Sat, 03 Aug 2002 13:54:18 -0400 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Any uses of set-property inside of global-forward > > Hi there, > The dtd for

Any uses of set-property inside of global-forward

2002-08-03 Thread James Turner
Hi there, The dtd for global-forward and action allows for a set-property tag. I can see where this might be useful for an action, but are there any properties worth setting in a global forward? James -- To unsubscribe, e-mail: For additional commands, e-mai

RE: Commons FileUpload (was: [Off Topic] com.oreilly.servletuplo ad and WebSphere web serv er)

2002-08-03 Thread Martin Cooper
There isn't a proper sample app like struts-upload.war that uses purely the FileUpload component. The documentation for FileUpload itself is somewhat lacking at this point, although the package.html file illustrates how to use it in a servlet, with sample code for a doPost() method. The Struts ni

Re: strusts + log4j

2002-08-03 Thread chuckcavaness
Take a look at the draft logging chapter in my upcoming struts book. I cover Struts and log4j. You can find it here: http://www.theserverside.com/resources/strutsreview.jsp chuck > Craig, > > I did and it didn´t tell me very much. Anyway, as I explained later there > appeared to be a mix-up w

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
Craig, I did and it didn´t tell me very much. Anyway, as I explained later there appeared to be a mix-up with older and newer jars which led to this error. Of course it seems like a trivial error and I don´t want to waste your time with such things, but it just seemed so strange what was happen

RE: [Off Topic] com.oreilly.servlet upload and WebSphere web serv er

2002-08-03 Thread Rajesh Kalluri
Is there some sample code making use of commons-file upload package like struts-upload.war in the nightly build/ Rajesh -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 1:12 AM To: 'Struts Users Mailing List' Subject: RE: [Off Topic] com.or

Re: strusts + log4j

2002-08-03 Thread Craig R. McClanahan
On Sat, 3 Aug 2002, Michael Delamere wrote: > Date: Sat, 3 Aug 2002 14:53:19 +0200 > From: Michael Delamere <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: strusts + log4j > > Of course I´m using my

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
I´ve just downloaded Struts-1.1b1 again and replaced all the neccesary jars in my tomcat/common/lib folder and now it works. Log4j logging works aswell. I can only assume that perhaps one or two jars were outdated. Thanks anyway. Now the kids can go and play again ;-) ! Regards, Michael --

forms, security,read only fields,autopopulation

2002-08-03 Thread John Rothfield
I have an account information screen that lets the user change their address. The screen displays account # also, but account # is a read only field. Question: should account # be in the form bean? I need to populate account #, but I'm afraid the user will hack the form and add an accountNo input

Re: How to connect a COM environment to struts ?

2002-08-03 Thread Martin Kuypers
Greg The problem is solved and thanks to everyone who contributed to the solution Martin - Original Message - From: "Martin Kuypers" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 11:06 PM Subject: Re: How to connect a COM environme

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
no one is playing around! I´m just getting slightly confused because my app isn´t working just because I have placed the log4j-1.2.6.jar into my tomcat_home/commons/lib folder. Could the problem be that struts uses commons-logging? Is there a conflict? This may seem like a silly question to you

RE: strusts + log4j

2002-08-03 Thread Etienne, Ingo (Goetzfried AG)
Hey kids, don't play around, just ask and answer technical questions... Michael, please check if you have another log4j jar file in your classpath, this could be a possible reason. With Very Best Regards Ingo -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Sam

RE: Limiting No of Records per page/view

2002-08-03 Thread Todd G. Nist
Hello Vijay, You can use the length and offset attributes of the iterator tag. The length is used to tell the iterator the number of times/number of items to retrieve from the collection. Offset is used to indicate the offset into the collection. So for example, if you want to display only 10

Re: strusts + log4j

2002-08-03 Thread Tarun Sainanee
Do you mean that u havent yet used any logging instances in ur code. Have u just put the jar file in lib? Regards, Tarun Sainanee TCS Delhi -- Nothing gives one

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
Of course I´m using my controller servlet ;-). I will try that although I still find it a bit strange that struts suddenly stops working just because I dropped the log4j jar into my lib directory! I mean if I wasn´t logging in a servlet but say in a normal java class, why would I do the "log4j i

Re: strusts + log4j

2002-08-03 Thread Tarun Sainanee
log4j initialization servlet entry in web.xml. and a corresponding java file I hope u r also using a controller servlet!!! Regards, Tarun Sainanee TCS Delhi -- N

Re: strusts + log4j

2002-08-03 Thread Michael Delamere
What do you mean exactly with the following sentence: > Have u configured log4j initialization servlet? Thanks for your reply, Michael - Original Message - From: "Tarun Sainanee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 2:

Re: strusts + log4j

2002-08-03 Thread Tarun Sainanee
No, Struts and Log4j gel well together. Have u configured log4j initialization servlet? Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person so much ad

strusts + log4j

2002-08-03 Thread Michael Delamere
Hi, I´m trying to use log4j for logging in my application. The problem I´m facing though, is that as soon as I drop the log4j jar into any lib directory, struts doesn´t load anymore. I get the folowing message: The requested service (Servlet struts is currently unavailable) is not currently av

Re: field length for input tags

2002-08-03 Thread Tarun Sainanee
Would it be wrong to do it the same way in Struts? I mean just use the . Something wrong with this? Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person

Limiting No of Records per page/view

2002-08-03 Thread Vijay Kumar
Hi, I am using Struts 1.0.2 . I need to displays say 10 records per page/view and give user ability to click on either next button or hyperlink to display next set of 10 records. User should also have the ability to go back by clicking previous button. I am able to display all records usin

Limiting No of Records per page/view

2002-08-03 Thread Vijay Kumar
Hi, I am using Struts . I need to displays say 10 records per page/view and give user ability to click on either next button or hyperlink to display next set of 10 records. User should also have the ability to go back by clicking previous button. I am able to display all records using ite

[ANN] Starting Struts User Group in New Jersey

2002-08-03 Thread John Menke
Is anyone interested in joining? Looks like we have a group of 3-5 people already interested. We are thinking about having meetings in the New Brunswick area. I have made arrangements for website hosting for the group and have a committment from Vic Cekvenich at BaseBeans to be a guest speaker.