RE: Arrgh!!! my property has been cursed and my bean doesnt like the field on my farm , uhh form I mean

2002-07-18 Thread Andrew Hill
Ah well now, its funny you should be mentioning that. As it happens Old Mc Andrew did once have a method to set the field with a boolean, but changed it to take a string instead as he is quite set in his ways and has never liked booleans (as he learnt from a young age that providing a certain

Model 2 and Caching

2002-07-18 Thread Jacob Hookom
Hey, For a prelude: I was chatting with my dad over a beer about how the company he works for is training all of their HR people on how to use Dreamweaver to generate content for their internet/intranets. Appalled, I asked him whose bright idea was it; to which he responded some independent

RE: Model 2 and Caching

2002-07-18 Thread Andrew Hill
lol Reminds me of something I heard a year or two back (from a friend of a friend...) about how one of the state governments in Australia paid a consultant $30k or some such ridiculous figure to study how government departments could improve their service. The resulting reports main recomendation

RE: Re[2]: Pre-Populating Form

2002-07-18 Thread Mahesh Kumar K G
Hi, - Your user submits a form to an action that takes a long time, but gets impatient, presses STOP, and submits the form again. You now have two simultaneous requests to deal with. But is there any specific set of methods to deal with the Multiple requests simultaneously from a user ?

Re: Stxx opencode

2002-07-18 Thread Konstantina Stamopoulou
Hi, The packages that I have in my lib dir are the following: Xerces.jar,xalan.jar,stxx-.1.0.0.jar,struts.jar,servlet.jar,orion.jar,logkit .jar,jdom.jar,jaxp.jar,fop.jar,batik.jar,avalon.jar. I had to rename some of these because they had a different name from the ones that it was refered in

Two articles about Struts

2002-07-18 Thread Keld Helbig Hansen
Some of you might be interested in knowing that I have published two new articles about Struts on www.javaboutique.com: Stepping through Jakarta Struts: http://javaboutique.internet.com/tutorials/Struts/ Coding your second Jakarta Struts Application:

RE: HTML special characters in options tags

2002-07-18 Thread John Reid
try filter=false James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta My designer wants me to pad labels in option tags with nbsp;. I am using the html:options / custom tag with two Vectors to

Re: Tiles exceeding JSP size limit

2002-07-18 Thread Cedric Dumoulin
Hello, The JSP size limit is per page, not per request. You should be able to split a little bit more the faulty page/tiles, using tiles insert ... to stay coherent with your approach, or jsp:include Also, considering using less tags is a good option (like options ... instead of

RE: HTML special characters in options tags

2002-07-18 Thread Andrew Hill
A quick and dirty solution might be to cut and paste the code for the entire html:options tag to create your own version which doesnt encode the option text. (Im sure there is a better way though!) -Original Message- From: John Reid [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18,

Re: Tiles and subapps in Struts 1.1

2002-07-18 Thread Cedric Dumoulin
No, it is not the case. I am currently in the process of porting Tile to the main struts core, and in the same time I am taking care of the subapps problems. I am about to resolve it and will provide a solution soon. Cedric Ditlinger, Steve wrote: Is this the case, Cedric, tiles no good

Tag Iterate and jsp:include

2002-07-18 Thread @Basebeans.com
Subject: Tag Iterate and jsp:include From: Guido [EMAIL PROTECTED] === Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1 : Illegal to flush within a custom tag. The code involved is : logic:iterate name=myBean id=my_id property=my_property type=

Tag Iterate and jsp:include (ERRATA)

2002-07-18 Thread @Basebeans.com
Subject: Tag Iterate and jsp:include (ERRATA) From: Guido [EMAIL PROTECTED] === Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1 : Illegal to flush within a custom tag. The code involved is : logic:iterate name=myBean id=my_id property=my_property type=

RE: Re[2]: Pre-Populating Form

2002-07-18 Thread Jon.Ridgway
Hi Kumar, You should be able to use the 'transaction token' support build into struts. Search the list archive for transaction token. http://www.mail-archive.com/struts-user@jakarta.apache.org/ Hope this helps... Jon Ridgway -Original Message- From: Mahesh Kumar K G [mailto:[EMAIL

RE: Indexed Properties - soluce :-)

2002-07-18 Thread Arnaud HERITIER
Craig. Can you give us some news about the JSR 127 ?? Do you have planned a draft for the JavaServer Faces ?? Thx Arnaud -Message d'origine- De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Envoye : mercredi 17 juillet 2002 17:11 A : Struts Users Mailing List Cc : [EMAIL

RE: RES: Objects In Session

2002-07-18 Thread DeVincentiis Giustino
Hi Craig, What about using database session state caching (see http://martinfowler.com/isa/databaseSessionState.html) Oracle too, in his Oracle 9iAS Best Practices White Paper, posted last week on OTN, suggests considering database session state (BP- SESSIONS-1: PERSIST SESSION STATE IF

Need some help

2002-07-18 Thread Asit Kumar Padhi
All, I am new to the Struts Framework.I am involved in extending the framework for Object Mapping and Testing (Cactus or JUnit).Can anyone tell me how to extend the Struts framework and integrate them.I want some good resources in this regards. Thanks Asit

Re: Tag Iterate and jsp:include (ERRATA)

2002-07-18 Thread Cedric Dumoulin
Check your jsp specification version. You can't do a jsp include inside the body of a tag in jsp1.1. You should be able to do it in jsp1.2. Cedric Struts Newsgroup (@Basebeans.com) wrote: Subject: Tag Iterate and jsp:include (ERRATA) From: Guido [EMAIL PROTECTED] === Hi all, i'm

RE: HTML special characters in options tags

2002-07-18 Thread Homer, Christopher
You could modify the getXXX method in your ActionForm to format the special characters prior to the return statement. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 10:00 To: Struts Users Mailing List Subject: RE: HTML special characters in options

Re: TilesRequestProcessor (WAS: Re: How do I navigate from one subAppto another in Struts1.1?)

2002-07-18 Thread Cedric Dumoulin
The hooks you use (doForward and doInclude methods) have been introduce to let Tiles catch the calls to RequestDispatcher() ;-). It is true that actually Tiles don't provide similar hooks. I am currently working on a new version of the RequestProcessor to solves some problems with multi

RE: HTML special characters in options tags

2002-07-18 Thread John Reid
You could modify the getXXX method in your ActionForm to format the special characters prior to the return statement. That's the wrong way round - I DON'T want them modified. John -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 10:00 To:

RE: Need some help

2002-07-18 Thread Jon.Ridgway
Hi Asit, For testing have a look at http://strutstestcase.sourceforge.net/. For object mapping the commons-digester provides xml - object mapping. Ted Husted provides links to OR mapping tools that work with struts on his site, see http://www.husted.com/struts/links.htm#data_access Jon Ridgway

RE: Latest Nightly build - corrupt Class-Path entry in manifest.m f

2002-07-18 Thread Jon.Ridgway
Hi Graig, As requested I have tried splitting the Class-Path entry over two Class-Path entries in manifest.mf. This works fine in WebLogic 6.1sp2, I'll try on JBoos 3.0, OC4J 9 WebSphere 4.0.3 and let you know... Jon Ridgway -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

Retrieving mapping props as a Map

2002-07-18 Thread MacLeod, Kenny
Folks, Is it possible to obtain the set-property items of an action mapping as a Map object, rather than have the digester attempt to invoke them as bean properties? I have a situation where I need to be able to pass arbitrary properties to the mapping, so the reflection mechnaism won't work.

extending Action issue

2002-07-18 Thread Melzer, Steven
Our company has been using struts for about a year now. We have subclassed Action and created our own BaseAction to support some additional functionality and to create an abstraction between changes to Action in the future and our existing code. We have done the same with most core Struts

RE: Display tag library/font size in tables?

2002-07-18 Thread Mark Nichols
-Original Message- From: Dave Hodson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 8:36 PM To: Struts Users Mailing List Subject: Display tag library/font size in tables? I'm using the display tag library (cool thing) and would like to change the font size of the

RE: extending Action issue

2002-07-18 Thread Andrew Hill
I tried using your first suggested approach and got tired of it rather quickly. I found a third approach was the best bet. This is to copy and paste the source for struts DispatchAction into a new class in your application (you could call it BaseDispatchAction or something like this.) The only

[Struts 1.1] Exception Handler

2002-07-18 Thread Arnaud HERITIER
Hi all. I saw in the struts config DTD the global-exceptions element which allows to catch exceptions throwed in the execute method of Action classes. I don't understand how I can use it, and what I can do with this new feature. The doc about the exception handler is TODO in the last nightly

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread @Basebeans.com
Subject: Re: CachedRowset with logic:iterate tag From: David Chu [EMAIL PROTECTED] === Hi, When first using struts, I first tried to use a CachedRowSet object as well. However, based on other people's recommendations, I just went with a simple Vector of Beans, one representing each row in the

Re: [Struts 1.1] Exception Handler

2002-07-18 Thread James Holmes
Take a look at Chapter 10 of Chuck Cavaness' book: http://www.theserverside.com/resources/strutsreview.jsp -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Arnaud HERITIER [EMAIL PROTECTED] wrote: Hi all. I saw in the struts config DTD the global-exceptions element which

RE: html:form weirdness in Websphere 3.5.5

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
H I'm not sure what to tell you. Are you saying it works with the proxy servlet, or that's what's not working? ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 6:25 PM To: [EMAIL

Struts ActionServlet extension processActionForward method problem

2002-07-18 Thread Frederik Dierickx
Hi, In order to add some extra functionality that we needed generically, we extended the org.apache.struts.action.ActionServlet class and coded an overridden version of the processActionForward method. In our current project we needed another extra thing, to use only in this project so we

AW: Reusing forms and redirecting to specific actions

2002-07-18 Thread Clauss, Arne
Hello! I've been lurking a long while and I think I decided to take up the Struts thing entirely. I've got an application that will needs to use several forms which are pretty much related, or in other words they look quite the same. But the action attached to it is different. Can I

How to import Struts tag lib into Dreamweaver MX?

2002-07-18 Thread Jason Zhou
Best Regards, J. Jason Zhou Business Intelligence Platform Division (BIP), R D, SAS Institute, 100 SAS Campus Dr. Cary, North Carolina 27513-8617 Voice: 919-531-0568(O) Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Difference between DynaValidatorActionForm and DynaValidatorForm

2002-07-18 Thread Hemanth Setty
Is there any difference between the two classes in terms of functionality? Why does DynaValidatorActionForm extend DynaValidatorForm? Am I missing something here?? -h -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread @Basebeans.com
Subject: Re: CachedRowset with logic:iterate tag From: Vic C. [EMAIL PROTECTED] === I have extendend and made cached row set work with the iterator. See webPIM on sourceforge, basebeans.com or downloads.com David Chu wrote: Hi, When first using struts, I first tried to use a CachedRowSet

Override processPreprocess or ActionServlet? (Best Practices)

2002-07-18 Thread Jerry Jalenak
Following a web application security presentation yesterday, it became apparent to me that I needed to further my security model to ensure that a user has a valid session at the beginning of every action. What is the recommended 'best practice' to do this? Should I write a BaseAction that

Good/Bad Practices

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I've been trying to get in the habit of using good struts programming practices, (without making things too hard on myself). I have another question for anyone that could give me some input on it. I'm working on a data entry application, and the user can make three

dynamic links

2002-07-18 Thread Graham Lounder
Hello All, I'm trying to make a link that sends a parameter containing the URL of the page which called it. I have all the URLEncoding figured out, my problem is getting it into the html:link tag. I have tried html:link page=/bla/bla.jsp?returnURL=%= returnURL %bla/html:link and html:link

RE: dynamic links

2002-07-18 Thread Bartley, Chris P
The key is in the crazy single and double quotes--your second example is really close, just change the outer double quotes to singles, like this: html:link page='%= /bla/bla.jsp?returnURL= + returnURL %'bla/html:link That should do it. -Original Message- From: Graham Lounder

RE: dynamic links

2002-07-18 Thread Graham Lounder
Yes, thats right! I remember this problem now :) I just don't have enuf post-its on my computer to remind me of all these things. Thanks for the insight! Graham -Original Message- From: Bartley, Chris P [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:42 AM To: 'Struts

Form bean properties data types and conversions

2002-07-18 Thread JensStutte
I have seen, that in Struts 1.0 there is some support for automatic conversion of request parameters to form bean properties, which seems to be extending in the 1.1beta (i did not use it, but i navigated through the sources). There seem to be converters for date and time data types in the beta.

Re: How to import Struts tag lib into Dreamweaver MX?

2002-07-18 Thread Shane Witbeck
Edit Taglibs click on the + button JSP then you have the choice of importing from the taglib descriptor (*.tld) or the application descriptor (web.xml) assuming you have already defined the struts taglib. HTH, Shane Best Regards, J. Jason Zhou Business Intelligence Platform Division

Re: Model 2 and Caching

2002-07-18 Thread John Nicholas
Jacob Hookom wrote: Would writing the xml data out statically and storing it, then using translets for XSLT offer any speed improvements over simply caching with OSCache or other similar tags? Check out Cocoon at http://xml.apache.org/cocoon/index.html. It's dynamic xml/xslt publishing

Dynamic Forms FormBeans

2002-07-18 Thread Neil.Axtell
Hello Struts-World. Here's a Struts Newbie query I've got. I really like being able to associate a FormBean with a Struts form and then doing the validation etc. at the server end. I understand about having to have attributes in the FormBean that match the names of the input elements in the

Re: Dynamic Forms FormBeans

2002-07-18 Thread JensStutte
Hi, i had quite the same problem, one method is to use normal, non-struts input boxes within a struts form for the dynamic part of the form. The generated parameters can then be evaluated in the FormBeans validate function, since you get the HttpRequest object there. I do not know a pure struts

Re: Model 2 and Caching

2002-07-18 Thread John Nicholas
Jacob Hookom wrote: Hey, For a prelude: I was chatting with my dad over a beer about how the company he works for is training all of their HR people on how to use Dreamweaver to generate content for their internet/intranets. Appalled, I asked him whose bright idea was it; to which he

RE: Form not keeping changed values

2002-07-18 Thread Wilinski, Pamela M.
That's where the issue lies...it forwards to an action. It seems that an action calling an action isn't a workable solution. I'll have to revisit the design and see if I can come up with a better solution. Thanks for your help. -Original Message- From: James Mitchell [mailto:[EMAIL

Re: html:form weirdness in Websphere 3.5.5

2002-07-18 Thread @Basebeans.com
Subject: Re: html:form weirdness in Websphere 3.5.5 From: Reginald Ister [EMAIL PROTECTED] === Oh, let me clarify, In the VisualAge WTE, html:form action=login ... is correctly rendered as: form name=loginForm action=/app/do/login ... while in WebSphere 3.5.5, it is being rendered as: form

Re: TilesRequestProcessor (WAS: Re: How do I navigate from one subApp to another in Struts1.1?)

2002-07-18 Thread @Basebeans.com
Subject: Re: TilesRequestProcessor (WAS: Re: How do I navigate from one subApp to another in Struts1.1?) From: Kevin Henrikson [EMAIL PROTECTED] === Thanks for the reply Cedric. So basically what we've tried is to subclass TilesRequestProcessor so we ignore tiles definitions and apply our path

Re: Struts/Container-Managed Authentication Question

2002-07-18 Thread Mete Kural
Hello Craig, --- Craig R. McClanahan [EMAIL PROTECTED] wrote: If you are using container-managed security, you either declare a security constraint (to force a login) or you don't -- there is no middle ground. However, if the user went to your second sub-app first, and then went to the

Re: Difference between DynaValidatorActionForm and DynaValidatorForm

2002-07-18 Thread David Winterfeldt
The key used to look up a set of validation rules is different. DynaValidatorForm -- The key passed into the validator is the action element's 'name' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml.

Re: Struts/Container-Managed Authentication Question

2002-07-18 Thread Mete Kural
Hello Max, --- Max Cooper [EMAIL PROTECTED] wrote: One thing that you cannot do with container-managed security is direct the users to the login form page to force them to login. As an alternative, you can protect a page and send users there, so the container will send them through the

RE: Good/Bad Practices

2002-07-18 Thread Mark Nichols
I prefer the more granular approach, with many actions and JSPs over a more complex and generalized approach. In my case I find that having single-function actions and JSPs leads to easier coding today (and therefore easier maintenance tomorrow). I can also split the work up over more developers,

RE: Struts/Container-Managed Authentication Question

2002-07-18 Thread Joe Celentano
Max Cooper wrote: Another alternative is to use a filter to mimic container-managed security [including wrapping the request with your implementations of getRemoteUser() and isUserInRole()]. This way, you could provide a programmatic interface to log users in with an Action, ... I have

RE: Indexed Properties - soluce :-)

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Arnaud HERITIER wrote: Date: Thu, 18 Jul 2002 11:09:24 +0200 From: Arnaud HERITIER [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Indexed Properties -

RE: Arrgh!!! my property has been cursed and my bean doesnt likethe field on my farm , uhh form I mean

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Andrew Hill wrote: Date: Thu, 18 Jul 2002 14:29:22 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Arrgh!!! my property has been

Advantages of Container-Managed Authentication ??

2002-07-18 Thread Mete Kural
Hello, So far I thought that container-managed authentication was the way to go. Why I thought so? I thought: 1) Since such authentication is implemented by experts in the field there's a much greater chance that their implementation would be much more secure to attacks then my own

RE: RES: Objects In Session

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, DeVincentiis Giustino wrote: Date: Thu, 18 Jul 2002 11:31:35 +0200 From: DeVincentiis Giustino [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: RES: Objects In Session Hi Craig,

Re: Need some help

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Asit Kumar Padhi wrote: Date: Thu, 18 Jul 2002 15:29:28 +0530 From: Asit Kumar Padhi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Need some help All, I am new to the Struts

Re: Retrieving mapping props as a Map

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, MacLeod, Kenny wrote: Date: Thu, 18 Jul 2002 12:00:29 +0100 From: MacLeod, Kenny [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Retrieving mapping props as a Map Folks, Is it possible to

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread Chad Johnson
You could use the forEach tag from JSTL (http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html). forEach can iterate over ResultSet's (and RowSet's via inheritance) with the assistance from the helper class: javax.servlet.jsp.jstl.sql.ResultSupport . ResultSupport can convert ResultSet's

Re: Form bean properties data types and conversions

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002 [EMAIL PROTECTED] wrote: Date: Thu, 18 Jul 2002 16:52:28 +0200 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Form bean properties data types and conversions I have seen, that in

Re: Struts/Container-Managed Authentication Question

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Mete Kural wrote: Date: Thu, 18 Jul 2002 08:46:46 -0700 (PDT) From: Mete Kural [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts/Container-Managed Authentication Question Hello

RE: html:form weirdness in Websphere 3.5.5

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
I see... I don't know why you're using html:form action=login ... though. You should have the 'do' extension in your JSP. You shouldn't have to forward like that, or expect it to be outputted when run. So if I'm understanding your situation correctly, you should just have html:form

RE: Good/Bad Practices

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
Yeah, that's what I prefer too, but I didn't know if having a shitload of JSP's and action mappings meant that I was doing something wrong. Thanks for the input and the reassurance that I'm not doing something stupid. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From:

RE: Struts/Container-Managed Authentication Question

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Joe Celentano wrote: Date: Thu, 18 Jul 2002 12:02:27 -0400 From: Joe Celentano [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts/Container-Managed Authentication Question Max

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread aps olute
Ok from what I gather from the responses, it is not necessary to use Struts Tags to iterate the contents of the CachedRowSet. However I would still like how to do this. I've looked at webPIM, and were not able to download as there are no jar files or zip files package I saw at sourceforge.net,

RE: Struts event sequence

2002-07-18 Thread Roman Fail
I don't personally agree with your philosophy on setting autoCommit to true, but I liked the page other than that :-) We only use stored procedures on our database, so autoCommit(true) is appropriate for us since all transactions are committed/rolled back within the stored procs

RE: Struts/Container-Managed Authentication Question

2002-07-18 Thread Nelson, Laird
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] I do not believe there will ever be such a thing as a generic application security solution that meets a large majority of people's needs. The problem is that the needs (well, at least their wants :-) vary

[ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread chuckcavaness
Chapter 18 Logging in a Struts Application has been posted on theserverside.com. http://www.theserverside.com/resources/strutsreview.jsp The EJB Chapter is finished and will be posted within the next day or so, followed by Tiles and the Performance chapter. Chuck -- To unsubscribe,

(newbie) html:text tag, enforcing numeric input

2002-07-18 Thread Glen Mazza
Quick question (I couldn't find the answer in the Struts documentation): How do I enforce numeric (as opposed to alphanumeric) entry into html:text tags. For example: html:password property=Employee Number size=5 maxlength=5/ I would the user just to be able to type numbers for this field.

RE: Struts/Container-Managed Authentication Question

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Nelson, Laird wrote: Date: Thu, 18 Jul 2002 13:14:49 -0400 From: Nelson, Laird [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Struts/Container-Managed Authentication Question

RE: (newbie) html:text tag, enforcing numeric input

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
You should generally use Strings for your form bean properties. When you validate it, check to see if the numbers were entered. Then in either the form or the action, you can convert the String to some kind of number, using the Integer class. The class has some kick ass methods for type

RE: (newbie) html:text tag, enforcing numeric input

2002-07-18 Thread René Eigenheer
have a look at struts validator -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 18. Juli 2002 19:38 To: [EMAIL PROTECTED] Subject: (newbie) html:text tag, enforcing numeric input Quick question (I couldn't find the answer in the Struts

RE: Model 2 and Caching

2002-07-18 Thread Jacob Hookom
Thanks, I will take a look! Jacob Hookom -Original Message- From: John Nicholas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:18 AM To: Struts Users Mailing List Subject: Re: Model 2 and Caching Jacob Hookom wrote: Would writing the xml data out statically and storing

RE: Struts/Container-Managed Authentication Question

2002-07-18 Thread Nelson, Laird
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] (First off, I take your point, but am just stupid enough to think that an implementation is nevertheless possible. The following is just to spur further thought.) What'a a user (i.e. what properties does one

RE: What does locale=true really do?

2002-07-18 Thread Kurosaka, Teruhiko
Unless the application overrides it. However, AFAIK, containers will all implement ServletRequest.getLocale() in terms of the highest priority Let me see if I understand it properly. If a Japanese user sets browser so that his preferred language is Japanese (accept-language: ja), and sends

Lost bean ?

2002-07-18 Thread Bugra Cakir
Hi, I have forwarded to jsp from an action servlet a bean called modform then in this jsp file I populated a form with information in this bean. Then post to another action servlet. But within this servlet it is lost i think. What is the matter ? BUGRA CAKIR -- To unsubscribe, e-mail:

Struts problem

2002-07-18 Thread olivier . fousse
Hi , I am using Struts framework to fecilitate MVC architecture for my application. After runing my tomcat server it is not finding ApplicationResources.properties file. its in tomcat\jakarta-tomcat-3.2.3\webapps\struts-blank\WEB-INF\classes dir where index.title is defined in

[OT] Keystrokes

2002-07-18 Thread Mark Nichols
I know it's not Friday (here) (yet) but I wanted to share this mindless bit of fluff. Go to http://dolphin.bitdevil.com and download the client there and install it on your PC. It counts the keystrokes you make and ranks you against the other dolphin users. Some parts of web application

Setter Methods not being called in nested:iterate scenario :+(

2002-07-18 Thread hemant
Comrades, I am trying to Iterate over a Collection of Collections of ValueObjects and after some real painful experimentation (With VA 3.5.3 + Apache Tomcat + Poolman ), I got the page to come up properly :). So far so good. I went out and celebrated for a few minutes... The getter methods

RE: Form not keeping changed values

2002-07-18 Thread Brian Holzer
Hi Pam, I believe that if you set the scope of your form to session, rather than request and set redirect=true for the definition of your local forward in the struts-config.xml file. I think that your changes should remain in tact when you get to the next Action ( this assumes, of course

Newbie Struts requirements question

2002-07-18 Thread Ballard
I've got a question. I want to run this Struts sample app at home but I'm running Windows ME. I've downloaded the Apache web server but it isn't really supported on ME. I don't want to make this exercise any harder than it needs to be, so I'm thinking of upgrading my OS to Windows XP

Re: Problem with session ojects: memory size, updates

2002-07-18 Thread Adam Hardy
Value objects that can be serialized can be automatically saved to disk by your application server, if it provides memory management configuration options. If your session fills up with data, then the app server can be configured to remove the data from memory and store it on disk. I think!

Using Struts Tags in Dreamweaver MX

2002-07-18 Thread Matt Raible
This is the best tip I've seen in a long time! http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg36364.ht ml Thanks! Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Newbie Struts requirements question

2002-07-18 Thread Kamholz, Keith (corp-staff) USX
I don't do much hardcore programming on my home computer, but I do have Windows XP on it. For non-programming reasons, I couldn't live without XP. I love it. On my work computer I have Windows 2000 Pro, and all of my programming software runs fine on it. However, I am using WSAD, so I don't

Re: the context

2002-07-18 Thread Adam Hardy
Sounds like Deep Thought you're dealing with there. Similarly to Magicthighs and Broomfondle, you have unfortunately not defined your question enough and the answer would take 7.5 million years to formulate. Adolfo Miguelez wrote: Hi All, we are are developing a framework based on Struts,

Re: Related Select lists

2002-07-18 Thread Adam Hardy
I would output the data into javascript arrays in a JSP. The tags work just as well mixed in with javascript as they do with html. Depends what your target browser is. If it includes NS4 you've got more problems, but otherwise it should be fairly simple - use the onchange event on the select

RE: Newbie Struts requirements question

2002-07-18 Thread Niall Pemberton
You don't have to have a web server to run struts - you do need a servlet container such as Tomcat. I don't know anything about Windows ME, but I used to run Tomcat of Windows 98 at home, before I upgraded to Win2000. Niall -Original Message- From: Ballard [mailto:[EMAIL PROTECTED]]

Re: getting nested tags to work with DynaActionForm???

2002-07-18 Thread Adam Hardy
Arron, I wonder how your lazy initialisation works. I'm afraid I didn't look at the code - since you said you wanted to explain it to the masses anyway, perhaps you won't mind explaining, rather than telling me not to be so lazy myself. Basically, if you have your example: In the request

RE: Newbie Struts requirements question

2002-07-18 Thread Mark Nichols
For what it's worth I'm running (slow, but running) Tomcat 4.x, struts 1.1b1 on an old IBM ThinkPad with a 166MHz CPU and 80 MB RAM. It has Windows ME installed. Also I've got Eclipse 2.0 with EasyStruts loaded and running here too. Of course just as soon as some one is nice enough to gift me a

Re: getting nested tags to work with DynaActionForm???

2002-07-18 Thread Adam Hardy
I am now using nested tags everywhere and not programming my action forms with getter and setter methods for anything except one or two properties, and the nested beans of course. Is there any reason to regard this as bad practice? I also write my value beans with two properties for every

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread Chappell, Simon P
Chuck, Any word on your expected publication date yet? I have $$$ burning a hole in my pocket waiting for your book. I see that Sue Spielman's book is expected in October, according to Amazon, but I couldn't find your book on there. Simon

strange error not finding org/apache/struts/action/Action class

2002-07-18 Thread Emerson Cargnin - SICREDI Serviços
Have anyone seem this error 2002-07-18 17:14:06,737 DEBUG [org.apache.struts.action.RequestProcessor] Looking for Action instance for class br.com.sicredi.cobranca.cliente.web.PesquisaPracaAction 2002-07-18 17:14:06,737 DEBUG [org.apache.struts.action.RequestProcessor] Creating new

RE: Good/Bad Practices

2002-07-18 Thread Joseph Barefoot
My .02: I don't there's a right/wrong way to go about this, so long as you are consistent with your architecture. Our team has come to the agreement that less Actions = less files = less headaches, to a certain degree. We try to use a single Action class for screens that logically belong

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread Chuck Cavaness
Simon, I have to be finished by the end of the month. O'Reilly has done a good thing and forced me to finish the book this month. What this means is that several chapters will not make it into this first edition. They will be covered in the 2nd edition, which I've already had discussions

Re: Setter Methods not being called in nested:iterate scenario :+(

2002-07-18 Thread Adam Hardy
nested tags / indexed properties / nested beans gotcha. You have to instantiate the beans yourself in the form reset() if you want to capture the indexed properties. [this answer was automated, virtually] hemant wrote: Comrades, I am trying to Iterate over a Collection of Collections of

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread James Mitchell
I think it's taking them a long time to figure out which animal they want on the cover :) +1 for sasquatch. http://www.bfro.net/ James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original

Re: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread Adam Hardy
That's unfair - I'd have a beaver. And no smart comments on that thanks. James Mitchell wrote: I think it's taking them a long time to figure out which animal they want on the cover :) +1 for sasquatch. http://www.bfro.net/ James Mitchell Software Engineer\Struts Evangelist

RE: [ANN] Chapter 18 of the O'Reilly Struts book now available

2002-07-18 Thread Michael Marrotte
+2 for sasquatch. or maybe an ostridge... Strut -- To walk with a lofty, proud gait, and erect head; to walk with affected dignity. http://www.dictionary.com/cgi-bin/dict.pl?term=strutr=67 -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002

  1   2   >