Andy Engle wrote:
I am wondering (for you Mac users out there) if IDEA is less of a
resource hog than eclipse?
I can't say concerning the Mac, but on both Windows and Linux IDEA has
always seemed to perform better than Eclipse. (Surprising because I
don't even think IDEA uses SWT.) I've used bo
shankarr wrote:
Hi!
I am getting an exception which reads like this : *:does not contain
handler parameter named empfieldsaction
*
I have the following jsp.
Leads Custom Fields
I hate the LookupDispatchAction compared to the regular DispatchAction.
I started out using it thinking it wou
I haven't tested this and it's late.. but your form property is "cart"
not item.. so if you are going to use JSTL (and not the nested tag which
is actually easier) it would be something like...
Using the nested tag it would be:
Jim Kennedy wrote:
Just to clarify som
d the problem (but not necessarily the best thing in the world to do).
Rick Reumann wrote:
I haven't tested this and it's late.. but your form property is "cart"
not item.. so if you are going to use JSTL (and not the nested tag which
is actually easier) it would be something li
Jim Kennedy wrote:
I figured this one out. Man, what a landmine. BTW, good suggestions from
all of you.
Here's what I did:
In my struts config I named the form property "cart". See below
type="org.apache.struts.validator.DynaValidatorForm">
type="com.je.common.ShoppingCartItem[]"/>
Adam Lipscombe wrote:
Are there any issues to bear in mind when displaying sub-windows in a
browser?
One of our web developers wants to have several sub-windows launched from
links on the main page.
Is this OK in Struts?
Ok for Struts fine. Ok from a usability perspective.. that depends:)
--
Rick
-
Adam Lipscombe wrote:
I am developing a J2EE server using Struts. The JSPs will be constructed by
a web developer who is used to DreamWeaver.
Actually there was a struts application/IDE that was for demo that was
quite impressive but now I forgot the name. It wasn't one of the ones
mentioned so
Brian Boyle wrote:
I am trying to populate a drop down list with values that I have in a
Collection but it is not working. This is what I have so far in my JSP:
I have a Collection called constituencies stored in my session and it
has javaBeans as elements in it. THese javabeans have a getCons
Barnett, Brian W. wrote:
Does this mean I should use jstl from Sun or are the standard tags (c, fmt,
sql, etc) that come with struts 1.1 just fine?
Sun's site makes it very annoying. I don't know why they don't provide a
link to the JSTL tags directly. You can get the JSTL tags here:
http://jaka
Slattery, Tim - BLS wrote:
But that wasn't OP's question. He wanted to know if there was an advantage
to using the JSTL libraries on Sun's site over the JSTL libraries that come
in the Struts download. AFAIK, there is not.
Guess I've been out of it.. I didn't realize Struts is now including the
JS
Nathan Maves wrote:
Why don't you use the Yea, I could and probably should. For the html:messages though was what
I should have refered to. That's a bit easier to use than a c:forEach loop.
--
Rick
-
To unsubscribe, e-mail: [EMA
bOOyah wrote:
Actually there was a struts application/IDE that was for demo that
was quite impressive but now I forgot the name.
Was it NitroX from M7? http://www.m7.com/
Yes! That was the one thanks. That's the only one that I've found that
will actually complete the difficult/annoying part
Michael McGrady wrote:
I have no difficulty running my site with Netscape or IE but Opera
fails.
Can you provide any more information? I highly doubt this is an Opera
problem. I use Opera every day for my development and haven't run into a
single "J2EE" problem ( javascript/DHTML/css challenge
Michael McGrady wrote:
I probably should have added that in my ForwardAction I convert a path
from the ActionMapping so that users can be allocated a particular look
and feel that they have chosen on the website. The line that is related
to the Opera failure is:
return new ActionForward(la
Michael McGrady wrote:
No, this is not correct, Rick. The null pointer is for the reference to
the Layout object in the session, which in fact is there. When I have
the index page check to see if the object is there, Opera does not have
a problem on OTHER pages. Odd? It is as if the placemen
Michael McGrady wrote:
java.lang.NullPointerException
com.crackwillow.struts.action.ForwardAction.execute(ForwardAction.java:30)
Are you doing something funky in this custom Action? Why did you need to
create your own ForwardAction?
--
Rick
Navjot Singh wrote:
IMO, ibatis +1
+1 from me also.
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Riyad Kalla wrote:
1) Yes you can do it
2) Given each button a different value, like "List Products" and "List
All Products"
3) Add a "buttonValue" (or some other adequetly names) property to your
form for the respective action, it will capture the button clicked.
4) In your action:
if(form.getB
[EMAIL PROTECTED] wrote:
I was wondering if anybody had already thought about an additional
parameter linked to a struts-forward allowing page pre-processing. This
parameter could point to a new kind of model action that will complete
the model with information needed by the view any time the forwa
"Why do you keep torturing me shaikh.sohrab of rave-tech dot com!"
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've used Tiles for a long time and just recently switched to using
SiteMesh. For those of you thinking, "Oh man, one more new thing to
worry about it- Tiles works for me, forget it," trust me, SiteMesh is
simple. MUCCH easier to set up and use than Tiles. The biggest
advantage I've fou
Axel Stahlhut wrote:
Was it NitroX from M7? http://www.m7.com/
Thanks, I might check it out.
IntelliJ Idea supports this, too. And for about one year now already.
Those guys are really smart...
What does IntelliJ support? I used IDEA, and it has no knowledge of
being able to complete property
[EMAIL PROTECTED] wrote:
i have to display a screen in which the no of rows are dynamic. in each
row there are 2 text boxes where user can enter values.
after entering the values in the text boxes user press 'SAVE' button .
in the Action form i have to validate the values in the validate()
Srinivasa Jagannadh Gade wrote:
I've a question with Tag Library.
Can we use only the Struts Tag Library without using Struts Framework as
a whole(Controller ,Action,Form etc).
It does you no good to use the Struts tags without using tags. The ones
you need from Struts are used in conjunction wit
Rick Reumann wrote:
It does you no good to use the Struts tags without using tags.
he he meant '..without using the "Struts framework" of course:)
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Marco Rossi wrote:
I try to use sitemesh instead of tiles; in my “decorator” template page I need
to include a struts action.
I try to do this:
, but I catch the following
java.lang.IllegalStateException: Response has already been committed
Any suggestion?
I think they just created a work around
Frank Zammetti wrote:
You know what I discovered about a month ago? Instead of using iFrames,
you can get the same functionality with a with
style="overflow:scroll;".
The problem with this, though, is when you when you want your table to
be able to change in width. If you have a fixed width i
pls wrote:
found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags.
downloading tomcat 5 right now..
Not sure what you mean by the above, but there are struts-el tags as
well, which work with Tomcat4.x.
--
Rick
James Neville wrote:
Well, I was using this tag earlier in the week. (We've been trying to
stay away from any Struts specific tags until recently too - we're
locked in now anyway, so we might as well).
Would this work for you with JSTL? You probably want to throw in a test
for not empty also.
Heligon Sandra wrote:
I would like to shared basic HTML pages with an other web
application
which does not used Struts.
Is it possible to convert HTM pages to Struts views automatically ?
Is it an existing toolkit to do this ?
Not sure what you mean by these question
Heligon Sandra wrote:
In my Struts application I use JSP pages with DynaValidatorForm effectively
I used Struts tags html:form, html:radio, bean:message, logic:equal etc..
I would like to use basic html pages (created for an other web application)
and convert them to Struts pages in order to have a
Trust me this isn't an attempt to open up a whole flame war. I'm just
curious how many of you have messed with Spring and what your thoughts
concerning it are.
I've been looking at it some and I do see some strengths it has, but
some of those strengths I also see as potential weaknesses (maybe)
Bullard, James wrote:
A couple tiles questions.
1.) Is there any way to have a global-forward forward to a tile, It always
tells me that such a path does not exist, meaning that rather than recognize
the page as tile def it thinks it is a page.
Hmm not sure what is wrong. You could try adding co
Martin Gainty wrote:
funky things in Action execute methods ?
please describe..
Well you can do almost anything in there since you're in a servlet, so
you can totally break Struts concepts. You can do redirects (when you
shouldn't) you could not use a Form bean to capture properties, you can
do
I don't have the time now to really get "Struttin' With Struts"
http://www.reumann.net/do/struts/main more up to date. If anyone wants
to help getting it up to date with more mondern ways of doing things,
I'd appreciate it. You can contact me at [EMAIL PROTECTED]
Off-hand here are some things t
bmcgovern2004 wrote:
I've successfully written a simple struts application.
I have a jsp that presents a listbox for user selection. I have
multiple action "flows" that may need to utilize the standard screen
somewhere in the flow.
Can you be a little more specific about what you want to accom
javen fang wrote:
In your Action where JSP comes from.
In Action get the list from DAO,
I usually throw in one more layer between the Action and the DAO. (Throw
whatever groovy Design Pattern name you want at it.. delegate, facade,
whatever.. I get them all confused :). Bottom line is I like
klute wrote:
Hi All,
I just started experimenting with jstl and i'd like to
set a hidden field on MyActionForm using a value
(contentId) available as an attribute on the request.
Basically, i'd like to do something like this:
"/>
Which does not work. Should i be using EL syntax
instead? And wh
klute wrote:
This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-html-el.tld"
prefix="html-el" %>
<%@ taglib uri="http://java.sun.com/jstl/core";
pref
klute wrote:
Yes, the struts-el.jar is in WEB-INF/lib
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
klute wrote:
This are the tagligs i am importing on this page:
<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-h
Tom McCobb wrote:
I am having the same nagging problem in JBoss3.2.3/Tomcat4.1.
---this works just fine
The last line always renders as '' both in
the Form property and the request parameter.
I checked versions, etc. as detailed earlier in this thread. I'm stumped.
I'm using J
Wendy Smoak wrote:
From: Tom McCobb [mailto:[EMAIL PROTECTED]
In another section of the page I display an iterated list of
items in a collection.
I am stuck on how to get the value of "i", the index of the row
wherein the button was clicked.
Are you willing to use JSTL? The tag has 'varStatus'
Mark Lowe wrote:
Thanks Rick.
You've shown me exactly how to do what i need do and I didn't even ask
the question :o)
Glad I could help. Someone actually showed me how to do that using JSTL.
He's now moved on to using Spring now that loser:)
--
Rick
-
Jan Behrens wrote:
> I mean, do many people use CSS in combination
with Struts or do you normally attache something like to each
property in your message property file, or...
I usually use SiteMesh now for controlling the overall layout of my
pages, but even if using Struts Tiles, it's a good
Eddie Yan wrote:
Anyone know what is the best practices to store a person
date of birth ? How should we design our detail object, JSP and database
in such way we don't have a messy approached to populate the day,
month and year in Action class to be able to display in JSP during UPDATE
process.
Cur
Jan Behrens wrote:
please ignore,
solved this one myself ;)
he he did you solve it half way into typing up the message:) You never
really asked a question:)
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 26, 2004 12:58 PM
To: Struts Users Mailing Li
Mark Lowe wrote:
I've been looking through the struts source with a view to trying to
find a way of handling nested dispatch actions.
I don't think it matters what kind of action it is, but maybe I'm
missing what you are trying to do. I've looked at what you have below,
but I confused from a 're
Andy Akins wrote:
but I'm fairly new to Maven but have coded two simple struts
apps with
it - and XDoclet is brand new to me. I'm looking to combine
all of the
above (and eventually Hibernate - but that's for a later day).
I don't see what advantage using XDoclet with Struts is? If someone can
sho
Marco Mistroni wrote:
I m doing it coz I m lazy and I prefer that someone else
Generates configuration files for me..
But what aspect of configuration is it saving you time with? You still
have to code all the parameters for your action mapping in the Action
class, so what's the difference time-w
Hookom, Jacob wrote:
Another example is JSF. JSF allows you to store your state client side or
server side. If it's client side, your buttons, etc become POSTs instead of
GETs in order to get around the URL length limit. Also, hidden fields are
written out with your objects serialized into a str
Paride Perazzolo wrote:
Hi folks,
I'm new to the list, so forgive me if I'm not respecting Netiquette or
asking off-topics.
Welcome to the list. Not off topic. Comments inline.
I'm trying to render pieces of html using the following syntax:
from struts-config.xml the definition of the form follows:
[EMAIL PROTECTED] wrote:
I have an action Page.do that gets 3 lists from a database.
It then places the lists inside a bean which is set in the request.
The Page.jsp iterates thru the bean to display the data.
The form is posted to the PageSubmit.do.
But before the PageForm.validate() is executed.
Axel Groß wrote:
aaargh. Just found another problem. Seems that the IE is so clever that
if there are multiple buttons of the same name he just
submits the first button of the name, regardless of which of them had been
clicked.
Ok, I think I'll just forget about LookupDispatchAction and HTML 4.0
So
Christina Siena wrote:
I recently developed an application with a complex UI. One of the
pages required querying the database based on user selection and
re-displaying the page with the retrieved data and any previous
existing user selections. Four different fields can trigger a db
query resulting
On Tue, 06 Jul 2004 20:58:16 -0700, Michael McGrady
<[EMAIL PROTECTED]> wrote:
I wouldn't mind an ongoing discussion group on this alone somehow, if
there were a way to do that. I might create a forum for that.
I created a model-struts group on yahoo groups for discussing more of the
model
On Wed, 07 Jul 2004 13:57:23 +0200, Bryan Hunt <[EMAIL PROTECTED]>
wrote:
For instance if I want to page through it ( using displaytags.org (10
out of 10)) or simply if I don't want to fetch
from the database time and time again.
By default the data expires on an hourly basis. And if a differe
On Wed, 07 Jul 2004 20:12:02 +0200, Bryan Hunt <[EMAIL PROTECTED]>
wrote:
And it works fine, but really what I am trying to get here is the value
of using Constants in
both my Actions and my ( JSTL based ) jsp's.
You need to have all your Constants in a Map that is in application scope.
Kris
On Thu, 08 Jul 2004 13:49:11 +0200, Bryan Hunt <[EMAIL PROTECTED]>
wrote:
Actually I haven't seen the 'scope' property like that, but have you tried
(assuming ApplicationScope)...
The above should work assuming you have a Constants class that is in
Application scope and Constants is eith
On Thu, 08 Jul 2004 09:43:11 -0400, Rick Reumann <[EMAIL PROTECTED]>
wrote:
Duh, my bad, as David mentioned the above should be ${applicationScope..
}. Sorry about that.
--
Rick
-
To unsubscribe, e-mail: [EMAIL PRO
On Thu, 08 Jul 2004 11:02:30 -0400, Vinuta Nagaraddi
<[EMAIL PROTECTED]> wrote:
I am trying to set the action attribute for the nested:form tag
dynamically. I want to achieve this by using a property called 'url'
from the form (or maybe someone can suggest a better way). I was
unsuccessful usi
Mike Duffy wrote:
One aspect of JSF which I find troubling is, "With JSF, the component
model takes care of all the
responsibilities that Struts uses an ActionForm form, so you don't
need one any more."
Most of the JSF examples I've studied use method (2) from Craig's list
below: "You can bind
Bill Siggelkow wrote:
Okay -- now I am confused -- if I use your approach I get ...
javax.servlet.ServletException: Cannot find bean esami in any scope
I have to specify the name of the form as the value for the 'name'
atrribute of logic:iterate
Are you sure you have the iterate taking place insid
Jim Barrows wrote:
No offense but... better you then me :) *LOL*
I have someone at work who loves configuration files, because the increase
flexibility..
which is cool, BUT silly putty is flexible too, but you wouldn't want to build a house
with it.
Actually this is one of my concerns as ever
Jim Barrows wrote:
Then of course there's the attribute oriented programming stuff that I like a lot put the configuration in the java classes and have them generated... that puts everything back into one place again, while keeping the ease of configuration the technology promises.
I can't wai
Woo Hoo.. Let's start the party:)
Any rumors on when 1.3 is coming out?
Ted Husted wrote:
The Struts team announces the release of Struts 1.2.1, currently ranked at Beta quality.
This release removes many features deprecated in prior releases (Struts 1.1 and Struts 1.0.2) and also provides severa
On Mon, 12 Jul 2004 10:31:29 -0400, Erik Weber <[EMAIL PROTECTED]>
wrote:
1) Use two different JSPs to house these forms, even though there will
be a lot of redundancy, because the fields may have some variation, and
because I'm not fond of having conditionals in the form (if (add) { }
els
On Mon, 12 Jul 2004 12:22:11 -0400, Erik Weber <[EMAIL PROTECTED]>
wrote:
Using BeanUtils.copyProperties(), it's a piece of cake to update your
Form bean from the ValueObject properties.
Do you have an example of this, or is there one on your site? I indeed
have some properties that are th
On Mon, 12 Jul 2004 13:02:21 -0400, Erik Weber <[EMAIL PROTECTED]>
wrote:
I recall that when I set the "value" property on any of my inputs, I ran
into a problem with user input changes being "remembered" in the case of
a page reload due to form validation failure.
This depends Erik. If you
On Mon, 12 Jul 2004 22:09:15 +0100, Niall Pemberton
<[EMAIL PROTECTED]> wrote:
// Find the FormBeanConfig
FormBeanConfig config =
mapping.getModuleConfig().findFormBeanConfig("myForm");
I've only rarely ever had to create Forms in my Actions (like you're doing
in the above). I'd be curi
On Mon, 12 Jul 2004 17:09:41 -0400, Erik Weber <[EMAIL PROTECTED]>
wrote:
I am now using the same form successfully for adds and updates. I am
using the Validator plugin for validation, which I find to be pretty
awesome. The problem I face though is, the fields I need to validate are
sligh
On Mon, 12 Jul 2004 17:09:41 -0400, Erik Weber <[EMAIL PROTECTED]>
wrote:
Because of one or two fields being different between add and update
forms, I fear I'll have to do a nearly-redundant (and very long)
element for my update condition in validation.xml. Does anyone have a
better solut
Bill Siggelkow wrote:
I would concur with Ted -- I have worked with Struts apps that take
approach (B) -- that is, using the business object as the Form -- not
only does this bind your business object to the Struts API -- more
importantly, you have to make sure that all the field types are strin
Bill Siggelkow wrote:
Good point, Rick. Isn't this the sort of thing that JSF allows?
Not sure haven't looked at JSF yet:) Plan to at some point. Craig?
Of course, you can bind a validation to an action mapping using the
ValidatorActionForm -- however this still forces your business objects
to e
(Sorry if this post comes through twice.. not sure why it never made it
this morning when I thought I sent this out).
Mazen, Tamer S wrote:
My question is: when user clicks on the add button I want to submit
main page's form so I can preserve all user's entered data so when he
come back to the ma
Erik Weber wrote:
I found the answer. It is to use the struts-el html tag library instead
of the standard html tag library, and then to refer to the variable
using the expression language syntx:
. . .
Erik are you uisng one of the DispatchActions (regular DispatchAction,
LookUpDipsatcchAction
Could you please try to format your e-mail message better with breaks
that make sense. (Code needs some hard coded breaks at appropriate places:).
Buland Altaf wrote:
Hi Theres,
I am facing some issues about master-detail / radio button
for indexed properties. Issues are:-___ Problem 1
Erik Weber wrote:
if you have a single JSP
that houses a form that is used for different commands (add, update),
you are still going to need two separate form elements in
validation.xml, causing redundancy (until "field inheritance" is
implemented at least), correct?
That is correct, although i
Craig McClanahan wrote:
For applications you are about to start on, if it is your intent to
use the Struts HTML tags for your view tier, you should review that
decision in the light of the developments of the last few months,
since the JSF spec went final, to say nothing of the availability of
alte
Craig McClanahan wrote:
With JSF, however, the situation is different. Every JSF component
is, at its core, just a JavaBean ... it doesn't care what technology
is used to ultimately manage the page. Yes, we provide JSP tag
wrappers around all the standard components (because that addresses
the ne
Andrey Rogov wrote:
there is another way to work with parameter form:action. If you use
Tiles in your applications create one reusable tiles lay with elements of
design, control buttons and page control. In this case you can use the page
with many forms. Then solution
can be replaced with .
Wh
Erik Weber wrote:
Dang I thought I was onto something! I guess I'll stick to my "User"
object in each session, and just try to make sure I centralize the auth
checks as much as I can. Dunno why I ever wanted to change it, anyway.
Thanks Craig for your time.
I also sent your question on to a co-w
Juan Alvarado wrote:
In my form bean I have an array list called categories that contains
objects of type Category. Each Category object contains an array list
of Steps.
So in my jsp I am rendering this relation as follows:
property='categories' id='cat'
type='com.securance.vo.ApStepCategoryVO'>
lixin chu wrote:
for example, I have a variable called 'Roles' which is
a Set. In a JSP, I want to check if
'Admin'/'Guest'/'User' is in the Set. How do I do this
? Could not find a suitable tag to handle this.
Unfortunately I haven't found a tag in JSTL or Struts that does this (I
think there sho
David Evans wrote:
Could you elaborate on what you find distastful about Velocity?
I wasn't being "all" seriously when I said "yuk":) but seriously I do
find that when you have a decent amount of conditional logic on a page
(which sometimes during presentation is unavoidable if you want to
re-u
David Evans wrote:
Velocitys other big sellling point to me is
that i can use it during an action's execution, for instance, to create
files on disc. theres no way to do that with jsp is there?
Not sure what you mean by writing files to disc? You mean writing to the
server's file system? If so,
Erik Weber wrote:
I have a feeling I am missing something here. I tried fiddling with the
action attribute to html:link, rather than the page attribute, but that
didn't seem to do it. . . . . Or am I thinking about extension mapping
the wrong way?
Why not just always use the mapping /do/* then i
Viral_Thakkar wrote:
Data is available on the jsp page. I need to convert this to excel file
on click of a button. Is there any way in struts to do this?
If it you just want the page to display as is in Excel either
1) Use Tiles or Sitemesh and make sure your content opens in the Excel
layout with
Hollaway, Shedrick CIV (TRFKB C600) wrote:
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
<%-- first form stuff -- using formA --%>
<%-- se
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Micheal
I was trying to submit all three at one time.
I've been doing Struts for a long time now and have never run across a
case where I had to do submit more than one form from one click. You can
have as many forms as you want on a page though and you
ppk123 wrote:
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
Yea there are ton of Javascript tricks you can do but usually you want
to avoid this kind of stuff if possible. My guess is there is
Hollaway, Shedrick CIV (TRFKB C600) wrote:
This is what I wanted to do without using any javascript.
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB -- displayed%>
First Contact:
value="${contact[0].fullName}"
readonly="false"/>
Laran Evans wrote:
I have a struts ActionForm which I would like to markup with xdoclet tags.
Don't do it:) Seriously, IMO, I think it's a waste. I think it's nice
having one configuration file to look it to set up all my mappings (your
config.xml file). Think about it, using xdoclet if you decid
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Rick, my apologies for being unclear here, html:text is html-el:text and I
am using JSTL to retrieve data and iterate with (c:foreach). There are alot
more fields involve here each ActionForm corrolate to a database
tables(Atable = Aform, Btable = Bform).
Rick Reumann wrote:
Sorry this of course should be
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Leandro Melo wrote:
Suppose a user submits a request that is handled by
MyActionDoSomething. Then this action sets a request
attribute like this:
request.setAttribute("MyObject", obj);
and forwards the request to the page
myPageDoSomeOtherThing.jsp, wich has some inputs for
the user to fill in.
T
Leandro Melo wrote:
Hi,
could anyone tell me who calls the validate method of
the ActionForms?
I think "you" should:) I find it's often more beneficial to not rely on
Struts calling this validate() method and instead you should call this
manually.
From my other post:
- when validation fails and
Craig McClanahan wrote:
I can then
call a private setUp() method in my Action that is used to set up my
form with any other request attributes that should always be there.
I'm curious why using the input parameter doesn't work for you?
Indeed ... the feature is working as it was designed, based on
Craig McClanahan wrote:
That makes more sense now.
I tend to put all my lookup data (for dropdown lists and such) into
application scope (if its global) or session scope (if it's user
specific), primarily as a performance enhancement ... I only have to
look it up once, instead of once per request.
Stuart Guthrie wrote:
Hi there,
What I'm trying to do is re-use the same jsp for ADD/UPDATE modes. In
order to do this, certain field attributes will be different depending
on the modes and sometimes even on the user's security credentials or
the 'status' of the customer row.
To this end I need t
Matthew J. Vincent wrote:
Hi all,
Thanks for the info. Here's another issue.
What if I have an employee search screen that wants to show only some of
the information of an employee (not all). What do you do then?
1. Instanatiate an Employee object and only fill in the relative
information? Kee
1 - 100 of 822 matches
Mail list logo