cvs commit: jakarta-struts/src/doc installation-sas.xml installation.xml

2001-02-27 Thread husted
husted 01/02/27 05:58:13 Modified:src/doc installation-sas.xml installation.xml Log: Resolve bug with Siverstream installation instructions, submitted by John Rousseau. Refactor index of products on installation page, so that there is a single list. Revision Changes

RE: reclaiming Connections/GenericDatasource enhancement

2001-02-27 Thread Higginbotham, James
I agree with Johan, this is a matter of responsibility with the developer. It should be part of your code reviews within your team to check that streams, JDBC connections, and other items are properly closed and returned to any object pools. If this is an issue, it may be wise to perform closer co

recursive tag

2001-02-27 Thread Young, Wayne
Does anyone know how to create a tag that produces struts tags & then recursively processes them. Something like: is processed and returns which is then processed to HTML. Any help would be appreciated. Thanks. Wayne [EMAIL PROTECTED]

CheckboxTag value problem

2001-02-27 Thread Michael Hackett
Hi -- newcomer to the list here... I was trying to figure out why my checkboxes were always enabled initially, and discovered that the code for the CheckboxTag class does not match the description in the HTML Tag Reference. Specifically, the value attribute is supposed to give the value submitted

RE: recursive tag

2001-02-27 Thread Sukachevin, Stoehr
You could have your tag simulate being the JSP container by instantiating an instance of org.apache.struts.taglib.html.TextTag and invoking it based upon what the javadocs say is the invocation sequence for Tags [http://www.javasoft.com/j2ee/j2sdkee/techdocs/api/javax/servlet/jsp/tagext/ Tag.html]

Re: recursive tag

2001-02-27 Thread Craig Tataryn
This brings up a sub point I was wondering about. Does the Digester handle namespaces in it's matching? If so, how? I could see using the digester to catch the embedded struts tag and instantiate the appropriate TagLib classes if it supported namespaces. Craig T. "Sukachevin, Stoehr" wrote:

Re: recursive tag

2001-02-27 Thread martin . cooper
You should be able to do this by creating a custom tag that writes your initial output (the tags you suggested from your example) to the body, and then returns EVAL_BODY_TAG from doAfterBody() to cause the body to be reevaluated. Take a look at the JSP spec (e.g. the section on Actions with B

Re: recursive tag

2001-02-27 Thread Nick Pellow
Martin, I do not believe that what you suggest would work. My understanding is that when a jsp is compiled, all the custom taglibs and the jsp are compiled into one huge servlet. So at runtime, the container knows nothing about custom tags or taglibs, just

Re: recursive tag

2001-02-27 Thread martin . cooper
When a JSP page is compiled, the JSP code itself is turned into a servlet, but the custom tags remain external to that servlet. The class files for these must be a part of the web app for it to work. Regardless, you do raise a good point. If things worked the way I had supposed, then you would

RE: recursive tag

2001-02-27 Thread Mallari Kulkarni
Title: RE: recursive tag Hi, Struts "enumerate"  tag does that -Original Message- From:   Young, Wayne [SMTP:[EMAIL PROTECTED]] Sent:   Tuesday, February 27, 2001 8:22 AM To: Struts-Dev@Jakarta. Apache. Org (E-mail) Subject:    recursive tag Does anyone know how to creat

RE: recursive tag

2001-02-27 Thread martin . cooper
Actually, the tag doesn't produce tags, although it does iterate over the tags in its body. What Wayne wants to do, as I understand it, is have a tag that can actually generate some JSP containing other tags (in this case Struts tags). Those tags would then be evaluated, and may in fact produ

Re: Stupd question about Struts and EJB.

2001-02-27 Thread Nick Pellow
Martin, [EMAIL PROTECTED] wrote: > > At 11:17 AM 2/28/01 +1100, Nick Pellow wrote: > >I am very new to struts as is, but as I far as I can tell from reading > >the implementation of the above method, > >the ActionForm can only have String properties. Is this correct? > > > >If so, it would be n

Validating bean properties (WAS: Re: Stupd question aboutStruts and EJB.)

2001-02-27 Thread martin . cooper
Actually, the plan is to build exactly this type of validation into Struts 1.1. In particular, I am hoping to incorporate it into the automated bean creation tool, one way or another. The idea is to define your bean(s) in an XML file, and have the tool generate the actual bean code for you. Wh

Re: Validating bean properties (WAS: Re: Stupd question aboutStruts and EJB.)

2001-02-27 Thread Nick Pellow
Martin, [EMAIL PROTECTED] wrote: > > Actually, the plan is to build exactly this type of validation into Struts > 1.1. In particular, I am hoping to incorporate it into the automated bean > creation tool, one way or another. Yup, I minutes after my lost post, I received the post for Volunteer

RE: Validating bean properties (WAS: Re: Stupd question aboutStruts and EJB.)

2001-02-27 Thread Rey Francois
See also the posting I made a few days ago regarding validation. I've pasted it below. The main idea is to use the java.text.Format class to do the validation and transformation between Strings and objects (both ways). The XML customization you're talking about should achieve this double goal: val

PROPOSAL: Template Screens

2001-02-27 Thread David Geary
Joel Regen wrote: > David, > Wouldn't it make sense to introduce a few attributes to the template tags > that allow specification of values using references to beans? This idea is > used extensively in the other struts tags. Look at the html:link tag, for > example. It allows you to specify a