caching

2001-08-21 Thread David Corbin
Will Struts detect that the struts-configl.xml file has changed and reload it automatically? Thanks.

nbsp; with bean:write

2001-08-22 Thread David Corbin
I'm using bean:write to populate a table. When a string is empty, I (sometimes) need to put out nbsp; so that the tables borders look right. I've found that I can do this directly (setting the bean property), so what should I do? David Corbin

Re: nbsp; with bean:write

2001-08-22 Thread David Corbin
(org.apache.struts.taglib.bean.WriteTag.java). This new tag could then do the additional check on the property value, and write the default value nbsp; to the output writer if the original bean property's value is empty... Hope this inspires you :-) Patrick. -Original Message- From: David Corbin [mailto:[EMAIL

findForward failures

2001-08-23 Thread David Corbin
When a findForward(name) fails, because name isn't known, why isn't there an exception thrown? It seems like misspelling this (or my case, miscapitalizing) would be common occurrence that a programmer would like to find out about soonest Am I missing something?

Struts Fast collections, deprecation

2001-08-24 Thread David Corbin
I've just tried using FastTreeMap, and found that it had been deprecated. Why? Is there replacement (other than the standard classes)? Can someone update the online documentation to reflect this deprecation? Thanks. David Corbin

tags build upon tags

2001-08-24 Thread David Corbin
I would like to write a tag that is essentially html:select + html:options + domain data from a database. Is there a standard way to construct such a tag? Should I just write the whole thing by hand? Should I write it be calling the other tag classes? David Corbin

Re: Place all Java ServerPages below WEB-INF

2001-08-26 Thread David Corbin
If you can access ANYTHING in WEB-INF, you have a defective application server. See if you can access your .class files that way, or your web.xml file. - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 12:22 PM Subject: Place

Dynamic forwardings...

2001-08-26 Thread David Corbin
I've got a an action add, which requires a an argument code. One (at least) of the possible forwards needs to specify this code on the forward URL. How can I do that? Thanks David Corbin

Re: Place all Java ServerPages below WEB-INF

2001-08-26 Thread David Corbin
/NASApp/warName/WEB-INF/web.xml. I guess iPlanet is defective in this area. Thanks, Matt --- David Corbin [EMAIL PROTECTED] wrote: If you can access ANYTHING in WEB-INF, you have a defective application server. See if you can access your .class files that way, or your web.xml file

Re: Dynamic forwardings...

2001-08-26 Thread David Corbin
... parameter=add /action and have the action check for the code there String code = mapping.getParameter(); David Corbin wrote: I've got a an action add, which requires a an argument code. One (at least) of the possible forwards needs to specify this code

Re: Dynamic forwardings...

2001-08-26 Thread David Corbin
. In that case, the link tag can take one or more dynamic parameters, based on the collection of beans used to write it. In that case, the action usually gets the parameters from the request, and uses them to look up whatever is required. David Corbin wrote: I'm definately talking about

Re: Dynamic forwardings...

2001-08-27 Thread David Corbin
for the second ActionMapping if you forwarded the request. David Corbin wrote: I'm not sure where I'm miscommunication, so I'll go back to the beginning. I have an action list. It expects an parameter tableID, so a link to it looks like http://host/app/list.do?tableID=foo;, and if things

Original request

2001-08-27 Thread David Corbin
If I have an action, which forwards to another action, and then forwards to another action, which then forwards to a .JSP, is there any history available to the .JSP, of how it got there?

Re: findForward failures

2001-08-27 Thread David Corbin
Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Sent: Monday, August 27, 2001 7:53 PM Subject: Re: findForward failures On Thu, 23 Aug 2001, David Corbin wrote: Date: Thu, 23 Aug 2001 17:09:29 -0400 From: David Corbin [EMAIL PROTECTED] Reply

Re: tags build upon tags

2001-08-27 Thread David Corbin
separate tags (instead of one) is so you *can* compose them together. David Corbin wrote: I would like to write a tag that is essentially html:select + html:options + domain data from a database. Is there a standard way to construct such a tag? Should I just write the whole thing by hand

Re: Am i on the right lines regarding form:text/ tags

2001-08-29 Thread David Corbin
Nope. It's html:textarea. David Corbin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 4:32 AM Subject: Am i on the right lines regarding form:text/ tags Hi, I am replacing my HTML(input) tags with form:text/ tags , thus

Attribute value should be quoted

2001-08-29 Thread David Corbin
property=description / if the syntactical color is correct, my quotes are balanced. It looks just like one from another page that works fine. I do have the %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % at the top of the .JSP file. I'm baffled. Any ideas? Thanks. David Corbin

Re: Attribute value should be quoted

2001-08-30 Thread David Corbin
of your jsp, its usually a html tag just above or below the line in question -Original Message- From: David Corbin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 4:04 PM To: Struts User Subject: Attribute value should be quoted I'm getting the following exception from

Struts Sustem.output/err

2001-08-30 Thread David Corbin
Struts (Tomcat?) seems to spit out some information lines about registering some files (DTDs at least) and later resolving them. Is there a way to turn this off, so that it doesn't generate such? Thanks. David Corbin

XHTML compliant output (and, parsing HTML)

2001-09-01 Thread David Corbin
at JTidy, HEX, openxml and docuverse. I seem to have problems with all four. Thanks much. David Corbin

Action arguments

2001-09-02 Thread David Corbin
be defined by a string constant, I'd rather define it in struts-config.xml Thanks. David Corbin

Re: Action arguments

2001-09-02 Thread David Corbin
-INF/pages/Article.jsp/ /action Then in the Action: String dispatch = mapping.getParameter(); -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ David Corbin wrote: Is there anyway

Re: ActionMapping parameter

2001-09-04 Thread David Corbin
I'm not saying it's a bad idea, but be very careful what road you start down. If you're not careful, you end up programming in xml, which can have its down sides - Original Message - From: Ernest Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday,

Re: Can you get these quotes arranged correctly?

2001-09-05 Thread David Corbin
It's perfectly legitimate when the outer tag is an HTML tag. I just the other quote. - Original Message - From: Lacerda, Wellington (AFIS) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 05, 2001 12:49 PM Subject: RE: Can you get these quotes arranged correctly?

bean:define, bean:write

2001-09-06 Thread David Corbin
scope=request//TITLE /HEAD . . . --cut-- Thanks David Corbin

Re: bean:define, bean:write

2001-09-06 Thread David Corbin
, yourObject); in your ActionForm? Keith. --- David Corbin [EMAIL PROTECTED] wrote: Why does this jsp fragment generate an exception javax.servlet.jsp.JspException: Cannot find bean pageTitle in scope request --cut-- %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % bean:define id

html:link

2001-09-07 Thread David Corbin
The html:link tag doesn't seem to support a way to generate the main path from an attribute. Is this correct? In other words, I want a link to be A HREF=foobaryadda yadda yadda/A, but I want the value foobar to come from an attribute in the request scope. Any ideas? Thanks.

Re: bean:define, bean:write

2001-09-07 Thread David Corbin
creates it if not there but struts bean:define doesn't. --- David Corbin [EMAIL PROTECTED] wrote: I thought that bean:define takes care of that - Original Message - From: Keith Bacon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 11:18 AM Subject

on templates

2001-09-08 Thread David Corbin
templates? Thanks very much. David Corbin

Re: Tiles: suggestion

2001-09-12 Thread David Corbin
if attribute is not found. Otherwise, you can 'import' a tile attributes to a jsp context by using tiles:importAttribute ... /. Check tiles tag syntax (http://www.lifl.fr/~dumoulin/tiles/doc/tilesTags.html) for more. Cedric David Corbin wrote: I've begun using the tiles taglib to create

Re: Tiles: suggestion

2001-09-12 Thread David Corbin
Here's another one. Sometimes, template A which depends on template B etc. Do you mean a template A inserting a template B, etc ... Yes. When I do this, I find I'm having to re-define the attributes in each successive template. tiles:put name=footiles:getAsString

Re: Tiles: suggestion

2001-09-13 Thread David Corbin
Why not. Have to find a nice way to do that. Do you have something to propose ? How about having a an attribute on the tiles:insert that causes all of the tiles to automatically propogate? My suggestions would be either inherit=true, or cascade=true. And, the last question (hah!)

Tiles: bug?

2001-09-13 Thread David Corbin
When I use tiles:getAsString name=foo ignore=true, if foo is not specified, I'm getting null. David Corbin

Re: Several Data-Sources in struts-config.xml

2001-09-20 Thread David Corbin
I would have guessed, that instead of ds1, you'd need data-source name='ds1', but I have no specific knowledge to support my guess... - Original Message - From: Arkadiusz Janowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 20, 2001 9:15 AM Subject: Several

html:text align=....

2001-09-21 Thread David Corbin
Is there any reason that html:text doesn't support the align attribute?

Tiles: using tileContent inside another tile

2001-10-02 Thread David Corbin
I'm using the tiles library, and I've been quite happy with up 'till now. The following example is simplified-- I have a a template, standardPage.jsp which consists of standard header and footer HTML, and expects a tile named body. It uses tiles:getAsString name=body. Works great, an lets me

Re: html:text align=....

2001-10-02 Thread David Corbin
of XHTML, and is also not in the HTML 4 Strict DTD. But it might just be an oversight. :-} -- Martin Cooper - Original Message - From: David Corbin [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Sent: Friday, September 21, 2001 1:33 PM

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
David Corbin wrote: I'm using the tiles library, and I've been quite happy with up 'till now. The following example is simplified-- I have a a template, standardPage.jsp which consists of standard header and footer HTML, and expects a tile named body. It uses tiles:getAsString name

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
. (at this point). Any further ideas? - Original Message - From: David Corbin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 6:17 AM Subject: Re: Tiles: using tileContent inside another tile Hmmm... I will explore more deeply, but the three tiles I was trying

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
jsp1.1. To resume, you can't insert or get a page inside the body of a put tag. Cedric David Corbin wrote: Well, I don't think it's either of the two cases you cited. Here is what I have essentially: Ive leftout some minor niceities in the interest of space. This is not using

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
Actually tiles works reasonably well this way, AS LONG AS you only need the content from a single action per page. But, I agree this sucks. - Original Message - From: Eric Rizzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 12:24 PM Subject: Re: Tiles: using

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 12:05 PM Subject: Re: Tiles: using tileContent inside another tile I have try a lot of possibilities with Tiles, but never this one ;-). It wasn't my intent to be so

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
: Eric Rizzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 2:23 PM Subject: Re: Tiles: using tileContent inside another tile David Corbin wrote: Actually tiles works reasonably well this way, AS LONG AS you only need the content from a single action per page. Can

Re: Tiles: using tileContent inside another tile

2001-10-03 Thread David Corbin
A little. Can you give a simple example? I'm not sure what your definitions of is based on and specified 'inline with reference to... are, and I think some code might clarify them for me. I've left out all the directives for the taglibs, but each file needs the tiles prefix to be defined

more on 'include' with Struts

2001-10-04 Thread David Corbin
It has come to my attention (and I notice several threads in the archives) that one include generally doesn't work well with Struts. I've tried to work around it in a whole bunch of ways. Then I had this idea: Is there any reason that actions have to be forwarded instead of included? If I had

Re: Does struts spawn a new action class for every user?

2001-10-26 Thread David Corbin
The documentation is very clear that there is only one instance of the action class. You should not use member variables in action classes. David Corbin - Original Message - From: Greg Lehane [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 5:53 PM Subject: Does

JavaDoc

2002-03-01 Thread David Corbin
Is the struts javadoc available as a download, or as part of the binary package? I can't find it. (I know it's available on the web-site, but that's a) online, and b) the 1.1 stuff. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: JavaDocs

2002-03-01 Thread David Corbin
Galbreath, Mark wrote: The question of the location of the latest JavaDocs keeps recurring here. If you have the source code, run the JavaDoc utility yourself and voila! The latest documentation. If you don't know how to do this, look it up in any basic Java book (or type javadoc at a command

Iterating two lists

2002-05-01 Thread David Corbin
that holds one item from each and combine the two lists into one. Thanks. David Corbin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]