Hello,
there were many answers here about J2EE patterns and things like OJB.
A nice demonstration of these things can be found in Chuck Cavaness
book Programming Jakarta Struts - there's an example using these
pattern with OJB and Struts (chapter 6: Struts Model Components).
Jens
Hello,
I'm wondering if anybody has already extended the validator framework
- to use it in the business layer instead of the controller layer
- supporting dynamically loaded/created forms
Validating user input is no special struts or web application
requirement. In my case, all applications are
Hi,
Am Mittwoch, 23.07.03 um 16:24 Uhr schrieb Derek Chen-Becker:
Since the questionnaire is the model for the form, couldn't you just
encapsulate a real questionnaire business object within an ActionForm?
It adds a layer, but since ActionForms are objects and not interfaces
I don't see an
Hi,
thanks Derek, thanks Chuck.
Am Mittwoch, 23.07.03 um 17:24 Uhr schrieb Derek Chen-Becker:
[..]
I hadn't thought of client-side validation, but that's kind of tricky
[..]
Or am I misunderstanding what you mean by client-side?
No, that's what I meant. But: the validator framework already
Hello,
Could anyone of you tell me why we ahuld not use Action chaining in
struts framework ?
I'm a Struts newbie, so maybe my answer ends up in a new question. But
as far as I understand the action pattern (question 1: Are Struts
actions commands as described in the GOF book). And as far as I
Hello,
Am Dienstag, 22.07.03 um 16:37 Uhr schrieb Siva:
My requirement is like this : I have two different JSP files (assume
a.jsp
ane b.jsp) arranged as tiles in a Layout page. If the user makes an
action
in a.jsp, I need to change the model corresponds to both the a.jsp and
b.jsp - both are
Hi,
this question was asked several times before, I also asked this
questions a week ago. Just have a look at the mailing list archive.
There are two approaches:
1) Two actions: ViewFormFirstTimeAction with validate=false in the
struts-config.xml, and ViewFormAction with validate=true
2)
Hello,
I'm wondering how to suppress form validation when a form is shown the
first time to the user. Is there a flag to be set or something?
The validation method is called the first time the page is selected,
and of course no field is populated, so that the user receives many
errors telling
Hello,
I wondered why the validator framework has no functionality for
handling the first page impression. I'm not sure - but I suspect that
also other newbies would have this problem.
In other threads about this topic I found the solution of two actions -
and I tend to say that this is the
Hello,
I'm currently working on a framework for a special kind of
web-applications. These applications all require some questionnaires.
These questionnaires are defined using a bundle of business objects.
These business classes include logic for validating user input values.
The validator
10 matches
Mail list logo