Re: form initialization

2001-12-12 Thread Craig R. McClanahan
On Wed, 12 Dec 2001, Jon Burford wrote: > Date: Wed, 12 Dec 2001 20:40:34 -0800 > From: Jon Burford <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: form initialization > > Greetings! > > I have a dynamic form which needs to be initia

Re: form initialization

2001-12-12 Thread Arron Bates
The only way which I've done such a thing is with a bean nested one level inside another. The constructor is called on the root bean, and have getters and setters there waiting to handle the parameters that you're passing from your form. In your action, call another method which will then buil

form initialization

2001-12-12 Thread Jon Burford
Greetings! I have a dynamic form which needs to be initialized from the database. If I put code to initialize the attributes in the default constructor of the form bean, all this happens with no problems - the form is displayed with the proper values. My problem is that the form bean needs s

Re: Freetext attribute for all tags...

2001-12-12 Thread Colin Sharples
LOL :-) Gotta love that Parthian shot... I agree it's pointless going on, so we should agree to disagree. However, I'd like to point out that the web sites I referred to in my previous post do not necessarily reflect my point of view - and indeed they are probably contradictory to each other. I f

Documentation

2001-12-12 Thread David Morris
Developers, I appreciate all of the hard work you have done to produce Struts, which has saved me hundreds of hours. Twice now I have used an unsupported, but documented tag feature only to discover that the feature is only supported in the nightly builds. Is there some way that this could be ind

Re: Freetext attribute for all tags...

2001-12-12 Thread Arron Bates
(I do apologise for this post. It should stop. But for some reason I just can't handle misrepresentation of trying to get markup to work in the largest amount of browsers possible (both those inside and outside the spec). So, if you don't want to hear a rant in reply to a rant, read another em

Re: JSR 159?

2001-12-12 Thread Craig R. McClanahan
On Wed, 12 Dec 2001, Allen wrote: > Date: Wed, 12 Dec 2001 17:14:12 -0500 > From: Allen <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: Struts Dev <[EMAIL PROTECTED]> > Subject: JSR 159? > > Hi, > > I was just looking over JSR 159 (http://jcp.org/jsr/detail/159.js

JSR 159?

2001-12-12 Thread Allen
Hi, I was just looking over JSR 159 (http://jcp.org/jsr/detail/159.jsp) and was wondering if this will have any impact on Struts (it is still a ways off, but I thought I would ask). Specifically, I thought that this MAY be related (but, maybe I am reading too much into it):

Re: Freetext attribute for all tags...

2001-12-12 Thread Colin Sharples
One last comment on this - have a look at the following sites: http://www.anybrowser.org/campaign/ http://www.webstandards.org/upgrade/ which present two other sides to the story: 1) by using browser-specific code you actively discriminate against those who have no option but to use something

DO NOT REPLY [Bug 5395] - ActionContext class

2001-12-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 5395] New: - ActionContext class

2001-12-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: Well-formed HTML support in struts 1.01+ !!

2001-12-12 Thread Craig R. McClanahan
On Wed, 12 Dec 2001, Morten M. Christensen wrote: > Date: Wed, 12 Dec 2001 12:28:57 +0100 > From: Morten M. Christensen <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Well-formed HTML support in struts 1.01+ !! > > At our company we

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean WriteTag.java

2001-12-12 Thread oalexeev
oalexeev01/12/12 08:11:00 Modified:src/share/org/apache/struts/taglib/bean WriteTag.java Log: Remove default formatting code for numbers - pass it to the toString() method. Fixed by letter from - Deadman, Hal <[EMAIL PROTECTED]> Revision ChangesPath 1.15 +5 -7

Re[2]: format Attribute

2001-12-12 Thread Oleg V Alexeev
Hello Volker, Here is one problem... java.util.Date can hold date-time values. So if formatting process always take java.util.Date values to format as Date then time part of value always will be unaccessable. I agree with you - java.util.Date values must be converted as Date values too. But how

RE: role based actions

2001-12-12 Thread Phase Communcations
That's good advice. Thanks. I currently am "required" to run Tomcat 3.2.3 so I decided to go the "hack path" and include my security in struts and hide all my views(jsp) behind command style urls (no *.do). Yet my code is flexible enough to take advantage of the container managed security when I m

RE: role based actions

2001-12-12 Thread Taylor Cowan
Struts is a J2EE add on, thus it should only be aware of J2EE concepts like "roles". J2EE provides security through the app server, and the concrete security scheme may be ldap, jdbc, or other means. Struts doesn't need security, it just makes use of J2EE security. I was just looking over Tomcat

RE: role based actions

2001-12-12 Thread Phase Communcations
The ldap portion is under development. It will be a bit. My code is a struts centric security at this point. I am experimenting with extending it to support ldap. I can still show you the code for the security if you would like. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862

Re: format Attribute

2001-12-12 Thread Volker Krebs
Volker Krebs wrote: > Hello, > > I wanted to use the new format mechanism, > I specified my format strings in the message resources. > So far so good ... everything was fine, but when I changed the > user locale with Action.setLocale() nothing happend for > FLOAT_FORMAT_KEY. > The Problem is in

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean WriteTag.java

2001-12-12 Thread oalexeev
oalexeev01/12/12 06:11:30 Modified:src/share/org/apache/struts/taglib/bean WriteTag.java Log: Change formatting logic for numeric values according a letter from Volker Krebs <[EMAIL PROTECTED]> (Abas Software AG) Revision ChangesPath 1.14 +12 -5 jakarta-stru

cvs commit: jakarta-struts/doc struts-bean.xml

2001-12-12 Thread oalexeev
oalexeev01/12/12 06:10:03 Modified:doc struts-bean.xml Log: Insert additional description of format attribute and formatting logic in bean:write tag. Revision ChangesPath 1.8 +14 -5 jakarta-struts/doc/struts-bean.xml Index: struts-bean.xml

Well-formed HTML support in struts 1.01+ !!

2001-12-12 Thread Morten M. Christensen
At our company we have been using struts 1.0 since the release and very glad for it... Until recently, where we have shocked by the discovery that structs 1.0 breaks all out attempts at produce well-formed HTML! Our situation is that we now need to output well-formed HTML (we will probably use

format Attribute

2001-12-12 Thread Volker Krebs
Hello, I wanted to use the new format mechanism, I specified my format strings in the message resources. So far so good ... everything was fine, but when I changed the user locale with Action.setLocale() nothing happend for FLOAT_FORMAT_KEY. The Problem is in org.apache.struts.taglib.bean.WriteT