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
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,
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
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
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
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?
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,
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
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
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.
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
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
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
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
: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
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
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
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,
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
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
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,
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
=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
23 matches
Mail list logo