Re: dropdown values gone after validation error

2001-03-29 Thread Martin Cooper
I'm guessing that your form bean has request scope. In this case, a new bean will be created by Struts on the next request. That bean won't have your list of network types, which would explain what you are seeing. You could try putting your form bean in session scope instead. This means that it w

Flint?

2001-03-29 Thread dion
"After that, you're in like Flint." And I always thought it was Flynn, as in Erol. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au NetRexx: http://www.multitask.com.au/NetRexx.nsf

Re: focus and Navigator 4.x

2001-03-29 Thread Ted Husted
Coincidentally, I was getting ready to post this to the FAQ: -- Under Netscape 4.7 for Windows, the html:form focus feature doesn't work properly. Is there a work around? The problem is that the focus feature works all right at first, but when you press tab, it proceeds to the address bar, rat

focus and Navigator 4.x

2001-03-29 Thread Michael Hackett
A few weeks ago, Ted Husted posted the following: > BTW, I have found that the Javascript generated here does not seem to > work well with Netscape 4.7 (Windows). It focusses on the field at > first, but jumps to the browser's "Address" field when you press tab. > For this browser/platform, it do

Re: struts and cocoon

2001-03-29 Thread Michael Westbay
Ozoren-san wrote: > I_ve been trying to get cocoon and struts together, however one is using the > servlet.jar the other servlet_2_2.jar. > > Is it possible to combine these two? Yes, I've done it. I'm using Struts and Cocoon both in the same context. There are a few things you have to work o

RE: dropdown values gone after validation error

2001-03-29 Thread Young, Wayne
The property is "networkTypes" and it is a Vector. Wayne [EMAIL PROTECTED] -Original Message- From: Rob Leland [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 2:45 PM To: [EMAIL PROTECTED] Subject: Re: dropdown values gone after validation error "Young, Wayne" wrote: > > I

Re: dropdown values gone after validation error

2001-03-29 Thread Rob Leland
"Young, Wayne" wrote: > > I have the following struts/JSP fragment that creates a dropdown with values > from the networkTypes attribute. > > > > > > The networkTypes attribute is created in the "getNetworkTypes" action that Is getNetworkTypes an Iterator, Vector, ArrayList. I have notic

Re: package.html for action

2001-03-29 Thread Ted Husted
If you just want to do the token stuff now, we could work something into the User Guide about it. It really should have been in the tour (mea culpa), but it was added after I wrote the first draft, and I haven't gone back. As you probably know, we've using the package files to create the "Deve

Re: struts and cocoon

2001-03-29 Thread Incze Lajos
On Tue, Aug 29, 2000 at 10:09:31AM -0400, Ali Ozoren wrote: > Hi all- > > I’ve been trying to get cocoon and struts together, however one is using the > servlet.jar the other servlet_2_2.jar. > > Is it possible to combine these two? > > Thanks! > I guess they are the same. Struts has to differ

package.html for action

2001-03-29 Thread Rob Leland
Does org.apache.struts.action need a package.html. I would like to make a drop of documentation for the Token stuff.

Re: id attribute again

2001-03-29 Thread Rob Leland
Only one comment if for it should directly map into a standard html tag. Otherwise, you might want to place it in the taglib. I am sure we'll have a user supplied section up soon. Ted Husted might have a user contributed site, or atleast a link to user contributed items. > Michael Hackett >

dropdown values gone after validation error

2001-03-29 Thread Young, Wayne
I have the following struts/JSP fragment that creates a dropdown with values from the networkTypes attribute. The networkTypes attribute is created in the "getNetworkTypes" action that displays this page. The page displays correctly initially. But if I have a validation error & the page re

cvs commit: jakarta-struts/src/share/org/apache/struts/util package.html

2001-03-29 Thread rleland
rleland 01/03/29 10:48:14 Modified:src/share/org/apache/struts/util package.html Log: Add small section on JavaBeans for Bean and Property Utils. Might need to be moved. Revision ChangesPath 1.5 +58 -1 jakarta-struts/src/share/org/apache/struts/util/package.h

cvs commit: jakarta-struts/src/share/org/apache/struts/actions LocalStrings.properties DispatchAction.java

2001-03-29 Thread craigmcc
craigmcc01/03/29 10:41:54 Modified:src/share/org/apache/struts/actions DispatchAction.java Added: src/share/org/apache/struts/actions LocalStrings.properties Log: Add message resources required by DispatchAction. Revision ChangesPath 1.2 +4 -4 jakarta

cvs commit: jakarta-struts/src/share/org/apache/struts/actions DispatchAction.java

2001-03-29 Thread craigmcc
craigmcc01/03/29 10:40:31 Added: src/share/org/apache/struts/actions DispatchAction.java Removed: src/share/org/apache/struts/action DispatchAction.java Log: Move DispatchAction to the "actions" directory with all the other standard actions provided by Struts. Revisio

digester parse error handling

2001-03-29 Thread Deadman, Hal
I was surprised to see that the Digester ignores parsing errors by overriding fatalError(), error() and warning() and just logging the parse exception without re-throwing it. The default behavior for the HandlerBase fatalError() method is to re-throw the exception so it seems like Digester should

Re: How to refer the form bean out of the form tag or as static

2001-03-29 Thread Craig R. McClanahan
On Thu, 29 Mar 2001, Suriyanarayanan, Senthil Kumar wrote: > How do I decouple the LogonForm bean name from the jsp file. Is there any > way to identify the form name on the jsp page which has been tied to the > form? > The tag in recent nightly builds actually does this trick. It uses the

RE: id attribute again

2001-03-29 Thread Michael Hackett
I've seen no comments yet on my form tag "id" generation post from last week, so I guess no one else is very interested (though I wasn't the first to bring this up). Nonetheless, I've thought about it some more and see no problem with my plan of generating "." IDs, so unless anyone pipes up soon,

struts and cocoon

2001-03-29 Thread Ali Ozoren
Hi all-   I’ve been trying to get cocoon and struts together, however one is using the servlet.jar the other servlet_2_2.jar.   Is it possible to combine these two?   Thanks!  

Re: How to refer the form bean out of the form tag or as static

2001-03-29 Thread Suriyanarayanan, Senthil Kumar
How do I decouple the LogonForm bean name from the jsp file. Is there any way to identify the form name on the jsp page which has been tied to the form? Thanks Senthil Kumar.S -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 7:01 PM To: [E