RE: Problem with tiles:insert ignore=true'

2004-03-18 Thread Paul, R. Chip
No, the ignore attribute means an exception won't get thrown if the tiles attribute is not present, as it would be if you left out the put tag all together. It can't help that a valid attribute was specified that points to a nonexistant file. -Original Message- From: Scherger, Derek

RE: Can validation.xml be modularized?

2004-03-18 Thread Paul, R. Chip
Isn't the validation.xml file defined in struts config? So you could just make separate files and include the appropriate one in each module's struts config. I haven't tried it but I imagine it would work. -Original Message- From: Chan, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday,

[OT?] Integrating Multi-Module Struts Applications

2004-03-16 Thread Paul, R. Chip
We're developing a large scale Struts app along with a subcontractor. While the subcontractor produces a lot of library code in the form of common components, they are also developing some web modules. As the developer here with the best Ant background, it's falling into my lap to unite the

RE: Passing Value to Tile

2004-03-16 Thread Paul, R. Chip
More useful is another version of tiles:put tiles:insert name=tile.actionList flush=false tiles:put name=actionTileBean beanName=ActionsForm beanProperty=currentActionList beanScope=request / /tiles:insert This gets a bean from the request scoped form, and passes

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
I guess the Nova is the antithesis of the Yugo? -Original Message- From: Andreas Solarik [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 8:47 AM To: 'Struts Users Mailing List' Subject: AW: [OT] Jericho == Struts 2.0? Yeah, you're right, its just a name. Something similar can be

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
On a more on-topic note, where can I get info on the new features / differences in Struts 1.1 and 2.0? This page http://jakarta.apache.org/struts/status.html has a small bit of info, but I wanted a bit more. Is there a page set up with all the info or is it just making rounds in the dev list?

RE: error message display

2004-03-15 Thread Paul, R. Chip
There's also header and footer properties that you can set to avoid having this on every line. For instance in our project we display them as a list: errors.header=font color=redul errors.prefix=li errors.suffix=/li errors.footer=/ul/font Header goes before the first error,

RE: Validation failing when connected through Proxy???

2004-03-12 Thread Paul, R. Chip
Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:49 PM To: Struts User ([EMAIL PROTECTED]) Subject: Validation failing when connected through Proxy??? When testing our deployed app through a proxy server (clients - Proxy with SSL, then through firewall to true

Validation failing when connected through Proxy???

2004-03-11 Thread Paul, R. Chip
When testing our deployed app through a proxy server (clients - Proxy with SSL, then through firewall to true server), we've run into a problem where in some pages Validation fails for *some* clients. It looks almost as if all the form fields are blanked on submission. The confusing part is that

RE: JSF RI Final is out!

2004-03-05 Thread Paul, R. Chip
About a month ago I picked up Java Server Faces Programming by Budi Kurniawan (McGraw Hill). I haven't read through it yet though, so I can't say if it's any good or not. It just showed up on that darned Amazon suggestion page and I picked it up. -Original Message- From: Craig R.

[OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))

2004-03-01 Thread Paul, R. Chip
I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their

RE: html:link action - how to append query string

2004-02-27 Thread Paul, R. Chip
You have I think three choices, in preferred order: 1. Use the paramName, paramScope, and paramProperty attributes of html:link (see http://jakarta.apache.org/struts/userGuide/struts-html.html#link) This may not work with the page scoped variable defined the way you've done it, I

RE: FormBeans: A question of Style

2004-02-27 Thread Paul, R. Chip
Agreed. Consider these scenarios: A single form used with multiple actions (think view/edit/new) A tile that conforms to some interface implemented by multiple forms, that is used on different pages An action that manipulates data and forwards to multiple views (WML vs XML vs HTML, or maybe

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
Or use the Commons Collections LazyList which handles this problem automatically. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:09 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help shirish

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
:49 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how to use lazy list if you have one. On 26 Feb 2004, at 15:33, Paul, R. Chip wrote: Or use the Commons Collections LazyList which handles this problem automatically

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
reason i thought the Factory would involve more than it does, so i shied away from it. Cheers Mark On 26 Feb 2004, at 15:57, Paul, R. Chip wrote: Note: I think this is likely different in current versions of the commons collections lib, but this works for the version we are dependent

RE: row counts in logic:iterate...

2004-02-26 Thread Paul, R. Chip
Shouldn't that be %= index.intValue() + 1 % instead of using indexId, since you set the index variable to be called index in the iterate tag? -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:15 AM To: Struts Users Mailing List; [EMAIL

RE: Bug in Validator javascript, not showing all errors?

2004-02-25 Thread Paul, R. Chip
There's a parameter or setting somewhere that controls whether to return only the first error, or all the errors in the javascript alert window. Sorry I don't have the exact name handy. Chip -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25,

RE: data transfer from Action class to jsp page

2004-02-25 Thread Paul, R. Chip
Your four choices are: place in session place in request place in Tiles context (if a tiles context exists) pass as request parameter (i.e. on the forward url) Sounds to me like placing this in the request via request.setAttribute(name, value) is what you want, but

RE: Implementing A Search Dialog - Struts

2004-02-25 Thread Paul, R. Chip
You might look at Struts Workflow for a wizard type application. I think you hit the two main methods for doing this. Personally I'd put it in the session and remove it when you finish the wizard. Struts Workflow does this session management automatically. Alternatively if space is truly an

Form elements inside a Tile

2004-02-23 Thread Paul, R. Chip
Perhaps this is a totally bad idea, but I'd like to make Tiles out of portions of forms that get reused a lot (ala address). How I've done this is to pass a bean from my form into the tile when inserting it. However, the rendered HTML doesn't contain the name of the bean I passed in to the tile,

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Paul, R. Chip
You can't. Correct me if I'm wrong, but the html:form action= property is what let's struts know which Form object to map your .jsp to. I'm don't think this will work for you unless all the possible urls you'd submit to share the same Form. What you may want to do instead then is look at

RE: Must have action=..... in html:form tag?

2004-02-23 Thread Paul, R. Chip
=ShopWorkOrderBean scope=request class=com.cat.sdl.fdd.formBean.shopWorkOrder.ShopWorkOrderForm/ html:form name=theForm action=/app/fdd/shopWorkOrder/fromUpdateShopWorkOrder method=post onSubmit=return submitForm(document.theForm) -Original Message- From: Paul, R. Chip [mailto