Hi all,
I am planning to use Tomcat/Struts/MySQL in my project.
Database operation's can involve more selects and little bit of
update/insert operations.
I want to know what is the best way to access database using struts.
I did a research and found few good ways:
1. Struts using Cas
Struts using Hibernate. Hibernate is quite easy to learn and has a large
community.
Regards
Sebastian Hennebrueder
http://www.laliluna.de
Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB
karthikeyan balasubramanian wrote:
Hi all,
I am planning to use Tomcat/Struts/MySQL in my
karthikeyan balasubramanian wrote:
I want to know what is the best way to access database using struts.
This is just one way: http://www.ibatis.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hi,
I'm trying to use custom validator on client side. One problem I can't
figure out is how to pass a collection or array of strings to a jsp
and how to access it from javascript code for the custom validation
rules.
I thought about using hidden objects. But I'm really new in both
javascript and
I get such a case recently : we are using Spring as IoC container. On
some situation we use a simple AOP interceptor.
Our customer have found on the net a benchmark comparing Spring vs
AspectJ vs AspectWerkz. The bench result was not good for Spring
(compared to AspectWerkz). The technical reas
Hello
How could i get the the user locale, as a page scoped bean, from struts.
I know there is a struts util class to get the user locale, but i would like
to get it without resorting to the use of a scriptlet.
Is there a more elegant way of doing this?
I need pass the user selected language as
i prefer to use OJB for persistence, because i like the approach of coming
from the object world and define the mapping to the database, while
hibernate (and others) tend to come from the database and help you generate
classes.
OJB is very easy to use, and you won't see anything related like PK-FK
Hi all,
Who can help me or show me where I can get tutorial which tells me how to
integrate Struts and Hibernet.
thanks for advance
Anh Tuan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
On my Website there is a simple Struts Hibernate tutorial using JBOSS as
application Server.
Regards
Sebastian Hennebrueder
http://www.laliluna.de
Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB
Pham Anh Tuan wrote:
Hi all,
Who can help me or show me where I can get tutorial w
I do not completely agree here. You can choose from where you come and
to where you go using Hibernate.
As other approach I only know EJB and here it depends on the tools you
have. With xDoclet your start with the class and go to the db over the
mappings.
Regards
Sebastian Hennebrueder
ht
You get the local object from the request with the getLocale() method..
--Flemming
-Oprindelig meddelelse-
From: delbd [EMAIL PROTECTED]
Date: Wed, 9 Mar 2005 10:14:36 +0100
To: user@struts.apache.org
Subject: How to get the user locale from a jsp
> Hello
>
> How could i get the the us
Unfortunately, this is the locale sent by browser only. Struts store the user
locale in session under the key Globals.LOCALE_KEY. There is a util class
which get this info from session and, if this is empty, return the browser
locale. So it is possible to programmatically change the user locale.
Hello all.,
I have a Two Box called admin and lead.
Admin is checked mean lead disabled. admin value is "Y" and lead value is "N"
When admin is unchecked mean lead should Enabled and vice versa also.
I put my code for your reference, if any one changed and give the idea to me.
Thankd in advan
Hi all,
Thank you all for inputs.
Now my list has grown big :
1. Castor
2. JDO
3. iBATIS
4. Hibernate
5. OJB
I looked at iBATIS, it seems to be simple and easy to use. I will
also check out
others and let you know my thoughts.
Have a great day.
Karthikeyan B
On Wed, 09 Mar 2005 11:31:
> -Original Message-
> From: Ben Taylor [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2005 08:03
> To: Struts Users Mailing List
> Subject: Eliminate Setup Actions
>
>
> Hi,
>
> Can anyone tell me if there is an easy way to put information
> (required to populate drop down boxes using data
Hello all,
I have a struts app that needs to call a servlet in another
webapplication.
I have checked the docs that I can set an ActionForward with
setRedirect=true, but when I retrieve it from mapping it returns me
null..
So, will it redirect to a page in a different webapp?
>From wha
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
>
====
> I have no idea why Craig would say that the RequestProcessor is
> somehow related to the Template Method pattern. It just isn't.
>
====
Ithink that the request processor defines a set of method to
proc
Hi all.
I'm working on a small message-forum project and have stumbled upon many
problems along the way, most of which I've been able to more or less
solve. To the most recent problem, though, I haven't found any solution
despite lots of googling.
I'm using a DynaValidatorActionForm to validate
Use a radio box instead of a checkbox. Radio boxes automatically do
what you are trying to do, and have the added advantage of being the
standard way to do it.
On Wed, 9 Mar 2005 16:52:05 +0530, senthil Kumar
<[EMAIL PROTECTED]> wrote:
> Hello all.,
>
> I have a Two Box called admin and lead.
>
Hi,
I think a radiobutton would could be the better choice:
When Form is subbmitted, the propery "modus" holds either "admin" or "lead".
Kind regards
Ole
-Ursprüngliche Nachricht-
Von: senthil Kumar [mai
Well, to be more specific on the question "How could I get the user locale,.."
Here is what I do in an applications which supports 3 language:
1) All incoming requests are filtered.
If the session is new the browsers locale is investigated and stored in a
session object alng with other valu
It's not a matter of it impacting the UI, it's a matter of approval of
architecture. The client of course approves the entire architecture and
though ultimately they allowed Spring it was not "specified in the
architecture docs" as the framework we would use to manage the
instantiation.
The real
Ahh yes, the ol' architecture approval game. I have played this game
so often that it's not even funny anymore. And it's always at big
companies. Sigh.
The only options are 1) comply and get very little done or 2) slip
into stealth mode, get things done and then appologise like crazy
after they di
Yeap that is the game. I have been a first option kind of guy for a long
time. This particular project was not mine at inception, or
construction, I ended up with it in my lap at transition time.
Unfortunately for me I had to do the apologizing/explaining :)
Al
-Original Message-
From: S
Try this site .. http://www.w3schools.com/, specifically the JavaScript
section http://www.w3schools.com/js/default.asp and the JavaScript HTML DOM
section http://www.w3schools.com/js/js_obj_htmldom.asp
Chad
-Original Message-
From: Bing Qiao [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ma
TEMPLATE! METHOD! TEMPLATE! METHOD! TEMPLATE METHOD! Scheesch! Help!
The RequestProcessor is NOT difficult to understand. It is a java
CLASS, neither an abstract class nor an interface, which has one
principal public method, viz. process(...) which involves a lot of
code which is further bro
Hi
I've got a problem using validator in struts.
If I put the message-resources in global key (key not defined)
everything works fine :
Validation failed.
* The field name2 is required.
But if I put it in a custom key (ie person) the field name in error
isn't initialize :
Validation failed.
There are many tools that help developing the Struts;
for example, EasyStruts, StrutsConsole, StrutsBox.
We also have the NitroX, Lomboz, etc. that help
debugging.
Is there any tool available for JSF?
__
Celebrate Yahoo!'s 10th Birthday
Whatever the corporate game, it would not be a liability to know the
respective merits of various frameworks in making a presentation. If
someone with authority or with the money decides they want to do
something I don't like, that has never impacted me. The only time I
have really suffered is ei
My app server runs on a unix box and I am getting lots of question marks
showing up in my JSP.
How do I fix this problem?
I downloaded the Programmers File Editor but it doesn't seem to help at
all.
-Eric
-
To unsubscribe, e-m
You can also check out http://www.xpress.com.mx they are cheap and have
tomcat servers and other goodies
Isidoro Treviño de la Garza
Sistemas Accival
Desarrollo
Ext. 05620
Moncayo Reforma 404 1er piso.
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Ma
Caroline Jen wrote:
There are many tools that help developing the Struts;
for example, EasyStruts, StrutsConsole, StrutsBox.
We also have the NitroX, Lomboz, etc. that help
debugging.
Is there any tool available for JSF?
Sun JavaStudio Creator
http://www.sun.com/software/products/jscreator/index
Actually, it *can* be a liability to mention anything that management
don't want spoken of. For example: we're about to start a selection
process for a continuous integration tool and someone (name withheld
to protect the innocent, but it wasn't me) mentioned (name of tool
withheld to protect the i
Also MyEclipseIDE has support for JSF.
-Matthias
Bryce Fischer wrote:
Caroline Jen wrote:
There are many tools that help developing the Struts;
for example, EasyStruts, StrutsConsole, StrutsBox.
We also have the NitroX, Lomboz, etc. that help
debugging.
Is there any tool available for JSF?
Sun J
Also check out the Products page at jsfcentral.com
http://www.jsfcentral.com/products/index.html
On Wed, 09 Mar 2005 16:06:12 +0100, Matthias Wessendorf
<[EMAIL PROTECTED]> wrote:
> Also MyEclipseIDE has support for JSF.
>
> -Matthias
>
> Bryce Fischer wrote:
> > Caroline Jen wrote:
> >
--
and don't forget to look at
http://jamesholmes.com/JavaServerFaces/
;)
Hubert Rabago wrote:
Also check out the Products page at jsfcentral.com
http://www.jsfcentral.com/products/index.html
On Wed, 09 Mar 2005 16:06:12 +0100, Matthias Wessendorf
<[EMAIL PROTECTED]> wrote:
Also MyEclipseIDE has suppo
Hi Caroline,
I created a tool called Faces Console 2 years ago that is very similar to
Struts Console. It has support for the latest versions of JavaServer Faces.
You can find Faces Console and links to just about everything JSF on my site
at:
http://www.jamesholmes.com/JavaServerFaces/
James
no no no, you guys are playing the game wrong.
i bring my 32oz Easton (tm) black magic baseball bat to these meetings.
i don't have problems getting my way.
the truth is weak, we need to help it get heard!
woodchuck
--- Simon Chappell <[EMAIL PROTECTED]> wrote:
> Actually, it *can* be a liab
I think that's generally frowned upon by most Human Resource departments.
On Wed, 9 Mar 2005 07:17:54 -0800 (PST), Woodchuck
<[EMAIL PROTECTED]> wrote:
> no no no, you guys are playing the game wrong.
>
> i bring my 32oz Easton (tm) black magic baseball bat to these meetings.
> i don't have prob
I need to pull a document together that lists the JSP and Servlet
versions required by each of the available versions of Struts, JSF and
Shale.
I have looked all over the Struts website and wiki, but I'm not
finding what I'm looking for. Can anyone help?
--
Check out Oracle JDeveloper 10.1.3 preview - you can download that for
free from
http://www.oracle.com/technology/software/products/jdev/index.html
This has both Struts and JSF visual modeling as well as JSP WYSIWYG
editing.
( And no you don't need Oracle Application Server or database to use it
A novel way of resolving differences with management, I'd say.
I think that's generally frowned upon by most Human Resource departments.
On Wed, 9 Mar 2005 07:17:54 -0800 (PST), Woodchuck <[EMAIL PROTECTED]>
wrote:
> no no no, you guys are playing the game wrong.
>
> i bring my 32oz Easton (t
Try http://struts.apache.org/userGuide/installation.html#Prerequisites
- Hubert
On Wed, 9 Mar 2005 09:27:06 -0600, Simon Chappell
<[EMAIL PROTECTED]> wrote:
> I need to pull a document together that lists the JSP and Servlet
> versions required by each of the available versions of Struts, JSF an
I understand, Simon. Believe me, I do. But, "knowing" and "saying"
are two different things.
On Wed, 9 Mar 2005 09:06:38 -0600, Simon Chappell
<[EMAIL PROTECTED]> wrote:
> Actually, it *can* be a liability to mention anything that management
> don't want spoken of. For example: we're about to s
We use Exadel's Eclipse4Web
http://www.exadel.com/products_eclipse4web.htm
Michael Oliver
CTO
Alarius Systems LLC
3325 N. Nellis Blvd, #1
Las Vegas, NV 89115
Phone:(702)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]
-Original Message-
From: Caroline Jen [mailto:
Hello,
In a Struts app I use the standard DataSource interface to implement
the connection pooling to my DB.
I use it in my Actions, calling getDataSource with the request as
argument like getDataSource(request, "datasourcename").
I also have a plug-in which puts an array of beans in the applic
I would recheck the config information if I were you. If you can't
retrieve it from the mapping, it could be a typo problem. Otherwise,
paste your code so we can see what you're dealing with.
On Wed, 9 Mar 2005 12:05:07 -, Marco Mistroni
<[EMAIL PROTECTED]> wrote:
> Hello all,
> I ha
Hi,
I have page with a list of employees.
On that list, if you click on an employee name, I want to redirect to an
edit page...easy no?
but how to define the complete process into struts-config? Below you will
find my actual struts-config but here is my problem :
I have defined the /EmployeeDetai
You should define 2 mappings for detail :
a "/showEmployeeDetail" without validation (or a unique rule employeeId
required)
a "/updateEmployeeDetail" with validation.
Your action can be a dispatch action if you don't want to have 2 classes.
Nico.
Gaet a écrit :
Hi,
I have page with a list of empl
Hello,
Thanx a lot for reply..
Yes it was a problem in my mappings..
Thanx again and regards
marco
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: 09 March 2005 16:00
To: Struts Users Mailing List
Subject: Re: Struts, ActionForward and Redirect
another alternative, if you want to keep your action definition the
same (ie. not define any new action)
set your action validate to "true" in struts-config.xml
define a hidden input value on your form
update this value when the save/update button is clicked (simple
javascript)
in your action f
Thanks nicolas,
I know the dispatch action but I don't see how to use it with 2 mappings:
how the mappings "/showEmployeeDetail" and "/updateEmployeeDetail" will know
the method to execute in my dispatch action?
Thank you very much!
- Original Message -
From: "Nicolas De Loof" <[EMAIL PR
Check out
http://javascript.internet.com/cookies/address-book.html#source
Save it in a cookie, then later on read the cookie, present it as a web
page for your data export needs.
Amin
http://www.cheblogs.com/roller/page/princeamin/
> I have an issue I need help with.
> I currently have a Struts
Has anyone ever successfully returned PL/SQL or Array tables from a JDBC call
to a store procedure in Oracle? If so, an example would be helpful. Right now
I'm returning ref cursors and thought in some cases it might be more efficient
to return a populated pl/sql table of data ...
__
Nicolas,
Do you mean this :
So, when I click on an employee name in may list I will call
/ShowEmployeeDetail.do
and I define the edit form of EmployeeDetail.jsp like this :
Like this I don't need to change my actual Action class...
Is it well-designed like this?
Thanks
-
For Shale check out the WIKI:
http://wiki.apache.org/struts/StrutsShale
http://wiki.apache.org/struts/BuildingShale
Duncan
Simon Chappell wrote:
I need to pull a document together that lists the JSP and Servlet
versions required by each of the available versions of Struts, JSF and
Shale.
I have loo
For those that expressed an interest (one or two with baited breath as I
recall!), and even for those that didn't catch the previous threads, I
just added a Bugzilla ticket for the initial posting of setupItems.
In short, this is an addition to Struts (1.2.4) that allows for setup-type
functionali
I have a page that needs to display two empty addresses (each address is a
combination of street1, street2, city, state, zip) for user input.
The Form for that page has a collection of AddressBeans and the jsp iterates
over this collection to display the Address section.
The Action that displays t
Each mapping have to define a parameter that sets the internal method to
be used
You can use parameter as the method name :
and in execute() :
if ("show".equals(getParameter))
return show(mapping, form...)
else if ("update".equals(getParameter))
return update(mapping, form...)
else
retu
This is a simple way to do it. Have 2 mappings for 2 behaviours.
Using a dispatchAction is usefull if you have code to share.
Nico.
Gaet a écrit :
Nicolas,
Do you mean this :
So, when I click on an employee name in may list I will call
/ShowEmployeeDetail.do
and I define the edit form o
Here I go, exposing my ignorance of patterns. (No, I have not read
the "Gang of Four" book on patterns or any other such scriptural
reference.)
Jack --
Exactly what would have to change in the current RequestProcessor for
you to consider it a "Template" pattern?
-- Jeff
On Wed, 9 Mar 2005 06:
Gaet wrote the following on 3/9/2005 11:04 AM:
I have defined the /EmployeeDetail action-mapping with validate equal to
false to be able to display the employee detail page without any
checkbut if the user made any changes on the employee information in the
detailled page, the same action is ca
That's exactly my problem now Rick!
I will have a look !
Thanks!
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, March 09, 2005 6:01 PM
Subject: Re: Design problem
> Gaet wrote the following on 3/9/2005 11:04 AM:
>
> > I ha
You may want to post the jsp, struts-config.xml and action form so that someone
can help you.
- Original Message -
From: "Apte, Dhanashree (Noblestar)"
To: "'Struts Users Mailing List'"
Subject: I need help..
Date: Wed, 9 Mar 2005 10:55:08 -0600
>
> I have a page that needs to disp
Just for completeness, I'll post some more relevant information about
the application.
newForm.jsp (partly)
New Thread
Topic:
Message:
struts-config.xml (partly)
-
type="org.apache.struts.validator.DynaVal
Equinox (http://equinox.dev.java.net) allows you to use Struts+Spring
and any of the following persistence engines:
Hibernate
iBATIS
JDO (JPOX)
OJB
Spring JDBC
Personally, I like Hibernate when I get to create my schema, and iBATIS
when it already exists. iBATIS is the easiest to learn/use in
AppFuse has tutorials for using Hibernate, XDoclet and Struts. It also
uses Spring to glue all the different pieces together:
http://raibledesigns.com/appfuse/tutorials
Matt
On Mar 9, 2005, at 3:18 AM, Pham Anh Tuan wrote:
Hi all,
Who can help me or show me where I can get tutorial which tells m
Try this. The input point to your tile.
- Original Message -
From: "Fredrik Boström" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Subject: Re: Losing form values after validating
Date: Wed, 09 Mar 2005 19:46:23 +0200
>
> Just for completeness, I'll post some more
Matt, I have you in one of my jokes on the iBATIS forum.
- Original Message -
From: "Matt Raible" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Subject: Re: [Help] I need tutorial which tells us how to integrate Struts and
Hibernet
Date: Wed, 9 Mar 2005 11:11:23 -0700
>
> AppFuse
Hi folks,
In my tile definition file I put an attribute with its
value, in the jsp that uses this definition I
attempted to put the same attribute in with another
value. However , the default value always shows up at
the end. Is there a way that I can provide a default
value for a tile attribute
thanks that helps
--- Tim Christopher <[EMAIL PROTECTED]> wrote:
> Try:
> http://www.arc-mind.com/papers/advanced-tiles.pdf
>
>
> On Tue, 8 Mar 2005 10:30:58 -0800 (PST),
> wo_shi_ni_ba_ba
> <[EMAIL PROTECTED]> wrote:
> > Tim,
> > thanks for the example. What I really want is to
> > modify th
In the tiles-def.xml subclass the common.default, then use an action to
forward to the subclassed definition.
Of course if you are using the tiles taglib in your jsps... you are
going to have to write a bunch of jsp's to do it.
Doing it with struts built in support...
Al
---
Many people would suggest that using Actions in Struts would be
preferrable whether or not you need to do any "setup" or any
"processing" in the movement from one page to another in a website.
I think of Actions as places to organize what needs to be done
(processing the request) and providing any
Hi, Jeff,
I am going to say some really intelligent things here, so listen up. ///;-) >
The Template Method, not "Template" merely, pattern is really clear,
well understood, a matter of public record, and not really a subject
of debate. What I think is really irrelevant.
The RequestProcessor i
But do you see the point in setup functions *outside* an Action's code
that occurs on the forward-level? Meaning, once an Action returns a
forward, do some setup based on what forward was returned?
If so, check out the Bugzilla ticket I opened today where I provide this
functionality, as well as
Thanks for your comment.
I tried what you proposed, replacing the action path with the tile
definition name. The result was that the tile didn't know which form to
display (because the page containes three forms, one of which is
selected according to the action request parameter), and thus didn'
Has anyone noticed in your struts application that when you call an oracle
stored procedure and register an output parameter of type OracleTypes.CURSOR
and that function call fails for any reason, any values you may have set in the
oracle session will be lost?
In our application we typically ca
Well im in the camp of "never show a jsp if you can get away with it" so
almost everything in the app is fronted by an action.
Now lets say I have a class that gets a bunch of stuff out of a db,
caches it, etc for dropdowns or whatever.
And let's further suppose that the page (or tile) I want t
Well maybe other than the singleton pattern :)
I don't know, in fact, if a single class can have a pattern. I think
that most, if not all, of the patterns only make sense in combination
with other classes.
-
To unsubscribe,
On Wed, 9 Mar 2005 14:07:04 -0500 (EST), Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> But do you see the point in setup functions *outside* an Action's code
> that occurs on the forward-level? Meaning, once an Action returns a
> forward, do some setup based on what forward was returned?
Yes.
Actually I just tried again and my approach worked.
It did overwrite the default value of param1 I that I
specified in tiles-def.xml... weird but anyway...
thank you
--- "Fogleson, Allen" <[EMAIL PROTECTED]>
wrote:
> In the tiles-def.xml subclass the common.default,
> then use an action to
> for
Accidentally replied to only Jack.
-- Forwarded message --
From: Jeff Beal <[EMAIL PROTECTED]>
Date: Wed, 9 Mar 2005 14:23:35 -0500
Subject: Re: Why Template Method instead of Strategy in Commons Chain?
To: Dakota Jack <[EMAIL PROTECTED]>
Hey, thanks for the reply. I did go out
More (application-level) code isn't needed... it's just a question of
making it declarative rather than programmatic, which is how so much of
Struts already is.
Here's an example from the example app posted to the Bugzilla ticket I
referenced (ticket # 33935 if you want to download it and try it).
I've been trying to get struts to do what I want, and I haven't been
successful. Since what I'm trying to do is a bit complicated, I'll explain
that first =]
I want the user of my web application to go to the URL
http://webserver/path/i/want
Apache then forwards the request to another url, hitt
I saw that - good stuff! ;-)
On Mar 9, 2005, at 11:33 AM, Antony Joseph wrote:
Matt, I have you in one of my jokes on the iBATIS forum.
- Original Message -
From: "Matt Raible" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Subject: Re: [Help] I need tutorial which tells us how to int
Hi,
Is the Action class's instance reused for every request or is a new
Action instance is created for every request?
I forgot this... I seemed to remember that the Action is just like a
HttpServlet: it shouldn't have any member variables that are assumed
to be thread safe.
Thanks,
NG
-
This is more, not less, code, is it not? You have:
setupMethod="setupMethod1" />
which has to be used for all actions that use this, right?
compared to:
SetupClass1.setupMethod1(request)
I don't see the "less code" point. Looks like more code to me, but
just a different kind of cod
I am having a problem with JSP Documents and Tiles.
I find it very useful to split up JSP into different files, and have Struts
Tiles bind them together to form a complete page. This is easy with JSP
fragments because not every page needs to be a completed document, but I
found this approach bombs
NG,
Please see this page:
http://wiki.apache.org/struts/StrutsWhyOnlyOneInstanceOfActionClass
Thanks,
Paul
-Original Message-
From: N G [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 2:57 PM
To: Struts-user
Subject: Concurrency in Action classes
Hi,
Is the Action class's i
Phew.. after some testing, recompiling and more testing and more
recompiling, I have finally found a solution.
After posting the last message, I realised that the "categoryId" form
field's value was searched for in a request parameter named "category",
while the form field's name (property) tha
On Wed, March 9, 2005 3:02 pm, Shey Rab Pawo said:
> This is more, not less, code, is it not? You have:
>
>> setupMethod="setupMethod1" />
>
> which has to be used for all actions that use this, right?
>
> compared to:
>
> SetupClass1.setupMethod1(request)
If you consider lines in an XML
I have two LinkedHashMap properties in a DynaActionForm.
I need to validate one of the map based on the other.
i.e. map1(1) is required if map2(1) is not null.
Can this be done?
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
On Wed, March 9, 2005 3:11 pm, Frank W. Zammetti said:
> On Wed, March 9, 2005 3:02 pm, Shey Rab Pawo said:
>> This is more, not less, code, is it not? You have:
>>
>>>> setupMethod="setupMethod1" />
>>
>> which has to be used for all actions that use this, right?
Forgot to reply to that las
I think the real power here is NOT in whether it is more or less code,
but the move to a declarative way of handling the setup.
I can compare it to the bean factory portion of spring. Technically I
may write more code to use Spring. I certainly have to include other
resources (spring jars) to use
Sure, Jeff. Do what you like.
I am going to stick with the meaning established for the Template
Method pattern in the literature, but if you prefer to develop your
own use of the terms, be my guest. You can call rain "snow" if you
like without any objection from me too.
If you think of any cl
Frank, watch that "anal" talk, would you? I could do without that. :)
My point was just that I don't see a problem and don't understand how
this would help.
--
No one ever went blind looking at the bright side of life.
-
To un
I can't state it any clearer than I have, or any clearer than another
poster (I forget who) just did a few minutes ago. If for absolutely no
other reason, convenience and ease of change are good justifications.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http:/
We probably have beat this to death, Frank, but having the framework
setup pages with declarations in the action mappings is not consistent
with MVC to my way of thinking. I definitley would not do this. I
like to keep things simpler. But, others seem to like it. So, maybe
you have something th
Fair enough... agree to disagree :) In any case, I would never force
something like this on anyone, it would only ever be optional if I had
anything to say about it, so it probably wouldn't be a problem anyway. As
coded, there is absolutely nothing that says you have to use setupItems,
so that go
Fogleson, Allen wrote the following on 3/9/2005 3:21 PM:
I have been there enough times, and I am sure others have, to know that
changing that all in a single file is a LOT faster than going through
hundreds of files searching for "SetupClass1.setupMethod1(request)". Or
the worse case searching for
1 - 100 of 138 matches
Mail list logo