Hi,
I'm using Oracle's BC4J framework which was shipped with JDeveloper
9.0.3.4 and I can not upgrade to newer versions. This frameworks
supports Struts 1.1b2 and not any other version. I'm currently facing a
problem with getting the validation framework to work in my application
and I need to deb
Craig McClanahan wrote:
On Apr 2, 2005 8:38 AM, Erik Weber <[EMAIL PROTECTED]> wrote:
I was playing a bit of devil's advocate when I wrote "I have no interest
in JSF". It probably sounded harsh.
The truth is, I want both Struts and JSF in my toolbox. I don't want one
to supplant the other.
I ha
Martin,
I override the validate method in my ActionForm, but the overriding
method did nothing but return the result of a call to super.validate().
This didn't seem to make any difference.
Then I made a functional change (for an unrelated problem). There were
a couple work fields stored in th
Personally yes I would advise override the validate method Here is the
relevant doc
http://struts.apache.org/api/org/apache/struts/action/ActionForm.html
(most notably implementing Serializable) with the end result
to display the ActionError message /*and ultimately */..
process the message returne
That is probably, as Craig said, because the parallel behavior is with
Actions, not ActionForms. Struts is not a page-centric framework, and
it does not react well to being treated as such.
Jack
On Apr 3, 2005 3:49 PM, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > Best practices for separating model
Martin,
My ActionForm subclasses the struts ValidatorForm class. But it does
not override the validate method. It just uses whatever validate method
it inherits. I checked the source code for the version of ValidatorForm
I am using (the one that came with Struts 1.2.4), and it returns an
Act
> Best practices for separating model tier objects from your view tier
> objects, and keeping them independent of view tier APIs, are pretty
> much the same with JSF as they are with Struts. In other words, you
> won't want your view tier managed beans (typically in request scope)
> to be exposed
Dom-
This depends on the return of your ActionForm validate method
If you can show us the code and I'll take a look at it tonite
Thanks,
Martin-
- Original Message -
From: "Dom Incollingo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Sunday, April 03, 2005 4:25 PM
Subject: Re
On Apr 3, 2005 2:34 AM, Mark Lowe <[EMAIL PROTECTED]> wrote:
> Craig
>
> This is a deviation from the topic slightly, but is related to struts and
> jsf.
>
> With struts there's the clear idea of having all you view tier beans
> (actionforms) that have nothing to do with the model, and so on.
>
Martin,
Thanks very much for the info.
I've tried to follow this pattern, both in the servlet-mapping in the
web.xml:
pets
/action/*
and in the action element in the struts-config:
Evidently, something is not set up correctly, but it's not obvious
Dom
Apparently the action tag was not setup properly to ensure validation before
posting to RequestProcessor
To quote James Goodwill and Rick Hightower
For the purposes of simplicity, our sample legacy Web resource will be a
servlet. Essentially, you want the servlet's doGet method to be called onl
On Apr 1, 2005 6:39 PM, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Anyone with document conversion (Word --> PDF, etc) Struts programs
> out there? What is recommended? Cocoon, ? Thanks.
Some months ago we researched exactly this problem, so I'll summarize
our results. We wanted to transform
Is there a way to persuade Struts to use the default Locale to populate
ActionForms?
Tracing the code I saw the the RequestProcessors processPopulate()
method ends up using the setProperty() methods of the BeanUtil class.
This one is not using the Xy-Format classes to parse HTTP form entries,
If I've understood the problem correctly, I think that a list backed
form is what you are after. Search the archieves for "indexed
properties" or last time I looked there was a wiki page explaining
this.
Marl
On Apr 1, 2005 10:40 PM, Scott Purcell <[EMAIL PROTECTED]> wrote:
> Thank you,
>
> I
Craig
This is a deviation from the topic slightly, but is related to struts and jsf.
With struts there's the clear idea of having all you view tier beans
(actionforms) that have nothing to do with the model, and so on.
With JSF the conversions are taken care of, would persisting backing
beans b
15 matches
Mail list logo