If a html input field is required I use the validator plugin and put
...depends=required... in my validation.xml file. This works great!
In the jsp pages I mark required fields with a *, until now I
hardcode the * in my jsps, so if I change a field to required I had
to put the * in the jsp and
I've a form and a corresponding value object (vo). Things work fine when I
populate the form with value object (vo).
BeanUtils.populate(form, BeanUtils.describe(vo));
But it doesnt work the other way around
BeanUtils.populate(vo, BeanUtils.describe(form));
and throws an exception-
Yes it is.
On the inserted page you will need to do:
tiles:importAttribute name=title /
bean:message name=title/
Cedric
Vincent PROSPER wrote:
Hi,
I am quite new to tiles stuff (only 1 and an half day experience,
switching
from Struts templates...)
For the moment, I am
Hi,
Having gone live with our webapp (and changed the logging) an error stated
to appear in our logs. However the app is functioning fine. Is this error a
problem ? The error occurs with submitions from jsps which contain radio
buttons. In our action class we extract the request parameters to
Yes it is.
On the inserted page you will need to do:
tiles:importAttribute name=title /
bean:message name=title/
Cedric
Vincent PROSPER wrote:
Hi,
I am quite new to tiles stuff (only 1 and an half day experience, switching
from Struts templates...)
For the moment, I am just
Hi,
could you send pieces of your code? It still doesn't work for me ;O(
Thanks,
Martin
Vincent Berruchon wrote:
No exception if you replace your ArrayList by a String[] (for the
properties used by the select tag).
Vincent Berruchon wrote:
I get a BeanUtils.populate() exception when
Hi!
Where can I set global variables and get them back in Struts. Because I see
that Action beans extending struts Action bean doesn't get servlet in their
perform method.
public ActionForward perform(ActionMapping mapping,
ActionForm form,
You can use the second definition and in your template use the following -
but you are still stuck with a bean:message tag - except it is in the
template not the definition.
tiles:importAttribute/
titlebean:message name=title scope=page //title
Cal
http://www.calandva.com/
-Original
Hi,
I'm trying to iterate through a Boolean Array using logic:iterate and then
display these as check boxes. This works fine, but when submitting the form
and resending the Boolean Array back to the Action class, only the values
that are true are returned.
In the struts documentation it says:
I mean setting application scope variables - using setServletContext or
something like that and getting them back. Any ideas??
Thanks again
-M
At 11:34 04/10/2002 +0100, you wrote:
Hi!
Where can I set global variables and get them back in Struts. Because I
see that Action beans extending
If a html input field is required I use the validator plugin and put
...depends=required... in my validation.xml file. This works great!
In the jsp pages I mark required fields with a *, until now I
hardcode the * in my jsps, so if I change a field to required I had
to put the * in the jsp and
a. upgrade to 1.1b2
b. don't bypass the ActionForm
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 8:40 PM
To: Struts Users Mailing List
Subject: Design Problem: Multiple Object Update
How would you strut gurus approach this in a Struts
Madhavi ,
You can look at the users guide available at the struts site. You can make
use of request.setAttribute( ) for setting up global variables.
Refer 2.2 JavaBeans and Scope of user doc
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_model.html
Regards,
Divakar
Please cite a more precise reference to Hans' book.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 7:17 PM
To: Struts Users Mailing List
Subject: Re: JavaBean question (OOPS)
Thank you for the example, for now I will try to
use it .
Hi Divakar!
Thanks for the suggestion.
I am still confused with one thing
In the example provided by struts (struts-example), I found that they are
calling getServletContext from the Action bean to get a global/application
scope attribute,
but I felt it strange as there is no servlet
RU kidding? You need more help than you can get here if you think a String
is a primitive. And what kind of question is this? Are we to, like, read
your mind and see your code to guess whatever it is you are trying to do
in your classes? Hey! Even we are not that good. But so this post is
It's not a bean; it's a helper (Action) class that is passed the servlet
request and response objects, getting a handle on the servlet and can
access the context in which the servlet resides. The context is the
global/application scope; the context object is like the central switching
office to
Okay, Eddie, cut it out!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 7:50 AM
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. This is the qmail-send program at nagoya.betaversion.org.
I'm afraid I wasn't able to deliver your
Cedric and Cal,
Thanks a lot for both (same) answers. It works fine.
Have a nice day.
Vince
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:52 AM
To: Struts Users Mailing List
Subject: Re: Tiles and Internationaliation
Yes it
Thanks for the explanation Mark! I understand it better now.
-M
At 07:50 04/10/2002 -0400, you wrote:
It's not a bean; it's a helper (Action) class that is passed the servlet
request and response objects, getting a handle on the servlet and can
access the context in which the servlet resides.
This is by design and you will have to write some code to accommodate it.
The HTML spec mandates that no request values are passed for unchecked
checkboxes, so you will have to keep track of the checkboxes yourself. What
I do is type the checkboxes as String rather than boolean in the ActionForm
There really is no substitute for reading the API and the Servlet
Specification (check out Chapter 3). The spec explains more than you
probably would ever need to know about servlets and their contexts. You can
download it from java.sun.com/products/servlet.
Mark
-Original Message-
For multiple, you also must set values back to false in reset() (The
question here of course is which checkbox refers to which element. You may
need to refactor such that your checkboxes return non boolean values so you
can tell which is which at the server end).
The reason for this is that the
how do you know it was not a correct answer if you are still asking the
question?
-Original Message-
From: Alex Birch [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:34 AM
To: [EMAIL PROTECTED]
Subject: Action.getResources(request) not working
Hi,
I already asked this
If that is the case, then why does it work with single boolean properties? I
only get this problem when working with an array.
Chico
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 13:12
To: 'Struts Users Mailing List'
Subject: RE: CheckBox
Hey man! RU refactoring my messages? ;-)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:17 AM
To: Struts Users Mailing List
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
For
I'm not sure what you mean. If a checkbox or radio button is not checked,
it has NO state. This means boolean false is never passed. Only boolean
trues are passed in the request object. If you are defining individual
objects as boolean in your ActionForm, the JVM assigns their state to false
Hello.
We are planning to use struts and jsp's , but our designers works with
html designtools like golive. It seems not possible for that editors to
show previews of jsp's because the special libtags are unknown for
them. Are there a way, for example the use of a plugin in those
editors, to
Have you tried google.com? I got 300,000 hits on JSP design tools.
-Original Message-
From: Andreas Niemeyer [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: how to use struts with goliveor other page generators
Hello.
We are planning
Yeah of course I gotcha now ...
Cheers
chico
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 13:26
To: 'Struts Users Mailing List'
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n
CheckBox is unchecked
I'm not sure
I looked at google and know that, but otherwise I think this would be a
related topic to post in this group; furthermore I could imagine that
here are some people which have had the same question and took their
experience.
Best regards,
Andreas
Have you tried google.com? I got
Wrote it before I read yours.
Just had a beer and a GT so my telepathic powers must have come online as a
result ;-)
Ahhh... I do so love Fridays.
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 20:21
To: 'Struts Users Mailing List'
Bloody bastard! It's only 0846 in Baltimore and our dev team is doing a pub
crawl starting at 1700. Won't this day ever end
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:42 AM
To: Struts Users Mailing List
Subject: RE: CheckBox and
He's doing it as a service for those who are filtering you Mark!;-))
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
Hey man! RU refactoring my messages? ;-)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
For multiple, you also must
Then say so in your original post: I've searched the web without
satisfactory results We are jaded from lazy people who do not put
forth any effort to solve their problems before asking somebody else to do
it for them.
That being said, AFAIK, there are no graphic design tools that
Thanks a lot, Jerry.
;-)
-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:49 AM
To: Struts Users Mailing List
Subject: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
He's doing it as a service
Hehe, well I bet your not coming back to the office after yours ;-)
(Not that Ill be here for long. Just got to wrap up one or two things.
Taking this weekend off!)
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 20:44
To: 'Struts Users
rofl
-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 20:49
To: Struts Users Mailing List
Subject: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
He's doing it as a service for those who are
Hi all:
I want to create dynamic text fields in a form and I following the example
form a previos thread of the list. In my JSP I have the following:
%
String name=foo;
%
html:text property=%= name % size=50/
and when I execute it throw the next exception:
Sorted!!
Got a String[] (checkboxes), and when form is submitted the positions of the
checked checkboxes are sent in this array ...
% int i = 0; %
logic:iterate id=flag name=myForm property=flags
logic:equal name= flag value=true
input type=checkbox id=checkboxes name=checkboxes
Let me put it this way: you do not have the slightest clue as to what you
are doing. This is so basic to Struts, it's impossible to give any advise
other than buy a book.
Mark
-Original Message-
From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002
And the crowd roars!!!
-Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:56 AM
To: 'Struts Users Mailing List'
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
Whe n CheckBox is unchecked
Sorted!!
Got a
Hehe. Glad to here you got it going. :-)
Speaking of going, Im going home, and taking my telepathic powers with me.
(Which Im sure will annoy Mark who's still got the whole day ahead of him
yet hehe ;-)
-Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Friday,
LOL - it's not me! Those headers look strangely familiar though!
Galbreath, Mark wrote:
Okay, Eddie, cut it out!
--
Eddie Bush
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Well, one of the team just brought in lox, whitefish, cream cheese, assorted
bagels, capers, red onion, tomatoes and OJ, so at least we can f*ck off for
awhile.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 9:07 AM
Hehe. Glad to here you
That's still Derry.Dave Derry!
But I guess if it's easier for you...you can call be
Jerry ;-)
Dave Derry
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
Thanks a lot, Jerry.
;-)
-Original Message-
From: Dave Derry
Thanks a lot Cedric.
I think the best solution is 3. Do you have some Controller Sample code,
I'am never have been worked with it.
Any way thanks for your reply.
LFung.
- Original Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Mine was a reference to yesterday (as I'm sure your changing the subject
line is) and was intentional. Hey, Dave! Wake up! :-)
-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 9:36 AM
To: Struts Users Mailing List
Subject: [FRIDAY] More
How to manage the struts-config programatically. I tried both 1.1 beta 2
and the nightly build 20021004.
In my TestPlugin I write;
public void init(ActionServlet servlet, ApplicationConfig config)
throws ServletException
{
ActionConfig ac = null;
ForwardConfig fc = null;
ac
OK..Just got another cup of coffee. Want to pass the bagels and
lox?? ;-}
Dave Derry
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
Mine was a reference to yesterday (as I'm sure your changing the subject
line is) and was intentional. Hey, Dave! Wake up!
No offense here - serious question: Why not just use the config file
and let the action servlet load it?
Ove Ranheim wrote:
How to manage the struts-config programatically. I tried both 1.1 beta 2
and the nightly build 20021004.
In my TestPlugin I write;
--
Eddie Bush
question: Why not just use the config file
and let the action servlet load it?
Ove Ranheim wrote:
How to manage the struts-config programatically. I tried both 1.1 beta
2
and the nightly build 20021004.
In my TestPlugin I write;
--
Eddie Bush
--
To unsubscribe, e-mail:
mailto:[EMAIL
Hi there funny crew,
did someone allready noticed that Struts's html:form tag generate this
kind of javascript:...
document.forms[AnyFormName].elements[anyFieldName].focus()
...to give the focus to the element 'anyFieldName' of the form , and that
it causes a javascript error if the
Hi Mark,
I was wrong, String is not a primative type.
To make thing more clear, here is my class
public class Duns
{
public Duns();
public Duns(String value);
public String toString();
}
I hope this is clearer this time.
-D
- Original Message -
From: Galbreath, Mark
Hello all...
I'd like to know if this is possible, and if so how:
- A user submits a form
- The request hits the appropriate action (ActionA), and when the action
gets to return (mapping.findForward(forwardName));, the forwardName
forward maps to another action, say:
...
forward
It is first edition, page 63. But I take it back, he uses
String for the birthdate.
Thanks for your dedication.
-D
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 4:38 AM
Subject: RE: JavaBean
Hint: Struts uses the commons-digester to load the configuration (from
files, currently) ... in a lot less lines of code than I can see you
having in your plugin :-)
I was going to add that you couldn't modify the configuration with your
plugin because it would be frozen - but that appears
Ask Bugzilla :-) http://issues.apache.org/bugzilla
[EMAIL PROTECTED] wrote:
Hi there funny crew,
did someone allready noticed that Struts's html:form tag generate this
kind of javascript:...
document.forms[AnyFormName].elements[anyFieldName].focus()
...to give the focus to the element
You could attach the form to the request in Action A and retrieve in in
Action B.
Action A: request.setAttribute( ActionAForm, theFormForActionA );
Action B: ActionAForm theForm = (ActionAForm)request.getAttribute(
ActionAForm );
Would that work for you?
Dave Derry
- Original Message
Hi there funny crew,
did someone allready noticed that Struts's html:form tag generate this
kind of javascript : ...
document.forms[AnyFormName].elements[anyFieldName].focus()
...to give the focus to the element 'anyFieldName' of the form , and that
it causes a javascript error if the
Got it.
Tx.
Gilles Vandaele
0498 52 64 12
[EMAIL PROTECTED]
Eddie Bush
In case you don't find it on bugzilla, I believe this is a known bug.
Dave
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: html:form focus causes a javascript error if the element is a
radio button
Dave,
Thanks for the suggestion...
Yes, the request will work... Its shorter-lived than the session so I think
that it is a better alternative.
Cheers...
Dave
-Original Message-
From: Dave Derry [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 9:04 AM
To: Struts Users
Hi
I want to check if an user tries to login with an userId for
which a session is already existing and show a message.
This can also be applied if two users want to share the same
userId and try to login at the same time.
Whenever a session is being created by the
Dan,
Are you asking how to code a standard JavaBean for use as an ActionForm
object?
Mark
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:35 AM
I was wrong, String is not a primative type.
To make thing more clear, here is my class
Shucks...and I was ready to pounce on that one! ;-)
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:37 AM
It is first edition, page 63. But I take it back, he uses
String for the birthdate.
Thanks for your dedication.
-D
- Original
Hello All,
I am working on a mid-sized project and am having difficulty with the
layout and presentation of my detailed design document(s).
A lot of information must be shown for each Use Case Realization.
This is what I have so far;
1) The classes and jsps used
2) Description
I see that this won't be out (here in the UK at least) until the end of
November.
Been reading the review chapters that were available on theserverside, but
there are a couple of chapters missing... does anybody out there have
chapters 8, 15, 17 and 19? Perhaps these were never made available,
Hello All,
I am getting the following exception with Weblogic 6.1 SP3 in UNIX.
My applciation is working fine in WINDOWS 2000, Just I copied the
application to the Unix platform, I am getting the following error. Does
anybody know what would be the problem?
Thanks for the Help!
-Manju
I don't think those were ever made available. I helped edit the book and I
am missing those chapters as well.
Mark
-Original Message-
From: Derrick Malone [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:02 PM
To: Struts Users Mailing List
Subject: O'Reilly struts book
I
I know what you want to do. In the web environment, it is impossible.
For every solution you can think of, I can come up with at least 2 what
if scenarios that will invalidate your logic.
I've been through this with at least 5 different Product Managers and
there is just no way to handle it.
Not without using a persistent connection with an applet. HTTP is a
stateless protocol, remember?
-Original Message-
From: Aravapalli, Udaya [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:46 AM
Is there any way to determine an browser closing action by the user and
No - there's not a reliable way to do it. You could lower your session
timeout - or simply inform your users of the consequences of not logging
out. Of course, there are going to be some folks who will have Windows
crash on them (!) and they might get a bit perterbed that - through no
fault
What types of brains do Struts users have?
http://www.braintypes.com/news_from.htm#letters
Mine's an ISTJ type
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Mark,
I am looking for way to code a custom property in a ActionForm
For example:
public class MyFormBean
{
..
public MyType getMyType() .
}
If this is not a right place to ask for this kind of question
then please drop this.
-D
- Original
Does anybody know a of a decent comparison of Open Source persistence
frameworks?
I'm embarking on a big project without time to properly evaluate them.
So I need some help deciding.
Thanks,
A.
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe,
It looks like you're trying to code a class that would be used in a form
bean and accessed from your page. You do that like this:
public class MyFormBean...
{
private Duns duns;
public Duns getDuns()
{
return duns;
}
}
public class Duns
{
public Duns();
public Duns(String
BeanUtils.populate() has some special logic for dealing with request
parameters on an HTTP request, so it does funny things with arrays in the
origin bean. Try BeanUtils.copyProperties() intead (Struts 1.1-b2 or
later, or go get the current version of commons-beanutils if you're using
Struts
See www.capucino.co.uk
- Original Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 2:56 PM
Subject: RE: [FRIDAY] More coffee needed!!
Mine was a reference to yesterday (as I'm sure your changing the
On Fri, 4 Oct 2002, Daniel Haynes wrote:
Date: Fri, 4 Oct 2002 10:06:42 +0100
From: Daniel Haynes [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Subject: BeanUtils getPropertyDescriptor error
Hi,
Having gone live with
On Fri, 4 Oct 2002, Madhavi Thottempudi wrote:
Date: Fri, 04 Oct 2002 11:34:50 +0100
From: Madhavi Thottempudi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: global variables
Hi!
Where can I set global variables and get them back
They ripped off Kiersey Bates and don't even seem to give them credit!
See
http://www.amazon.com/exec/obidos/tg/detail/-/0960695400/qid=1033749305/sr=8
-2/ref=sr_8_2/002-7896442-4256040?v=glancen=507846
However, this is a great assesment. I've used it with a number of groups
over the years.
On Fri, 4 Oct 2002, Andreas Niemeyer wrote:
Date: Fri, 4 Oct 2002 14:25:26 +0200
From: Andreas Niemeyer [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: how to use struts with goliveor other page generators
Hello.
We are planning
Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [1.1 b2] How to manage the struts-config programatically?
How to manage the struts-config programatically. I tried both 1.1 beta 2
and the nightly build 20021004.
In my TestPlugin I write;
public void init(ActionServlet servlet
Here's one from Cayenne: http://c2.com/cgi-bin/wiki?CayenneVsOther
-Original Message-
From: Adam Sherman [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 9:30 AM
To: Struts Users Mailing List
Subject: Persistence Framework Comparison?
Does anybody know a of a decent
How will upgrading to 1.1b2 help me here? does it provide some feature that does what
i need? i cannot seem to find it.
i understand i shouldn't bypass the form, but HOW can i avoid it since these are all
dynamically created inputs based on an id list?
thanks,
mark
-Original
Sri Sankaran wrote:
Thanks that did it.
While I understand what you are saying about needing a valid URL, wouldn't that
always be the case.
When the target of the Tiles attribute is an insert tag, the value
can be a tiles definition name.
In your case, the target is a frame tag
There are samples in tiles-documentation war files, check how dynamic
portal works. Also, the following document can help:
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
Cedric
LFung wrote:
Thanks a lot Cedric.
I think the best solution is 3. Do you have some Controller
Hi folks,
I have been reading some articles briefly talking about the business logic beans. The
way I build my Struts app is to use the Action's perform or execute method to do the
business logic. Then, I set the data into a bean and pass it off to the JSP. It
works just fine. However, my
I was only suggesting upgrading. By bypassing the ActionForm you do not
allow Struts to do what it does best - set the state of a bean with values
gathered from an HTML form upon submit. Your users are not really updating
dynamically - that would mean in real time. They are inputting values
Can any body help me?
-Original Message-
From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:09 PM
To: 'Struts Users Mailing List'
Subject: Parsing error processing resource path
/WEB-INF/struts-config.xml
Hello All,
I am getting the
On Wed, 2002-10-02 at 19:14, Andrew Hill wrote:
Im doing something rather like this, only I called it an OperationContext
which comprises a hashtable of attributes and an id to store it under in the
session (passed in the request). I simply overrode the RequestProcessor so
it knew to look for
Mark,
I dont think you really read my email before responding. I understand the importance
of the Form Action Paradigm, and why it exisits. I am using it in most places in my
application.
In this particular form, I have a list of objects, with multiple attributes. Each
attribute name is
I'm reviewing the final PDF version of the book right
now and will be done with that in a week. It should be
heading for the printer right after that and be out very
soon.
Since several chapters had to be cut for size, the Table
of contents was slightly reorganized and renumbered.
Every
I am no Unix guru, but it seems to me your path is not Unix-enough. A /
in Unix is your root (home) directory, not relative unless interpretted by a
web server. Try an absolute path to WEB-INF.
Mark
-Original Message-
From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
Sent:
Oh...have you looked into DynaActionForm?
-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 1:22 PM
To: Struts Users Mailing List
Subject: RE: Design Problem: Multiple Object Update
Mark,
I dont think you really read my email before
you still need to declare your variables in the config file eith a DynaActionForm.
This form is dependent on whats in the db at that time.
does any one else have any suggestions for this design issue?
thanks,
mark
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
On Fri, 4 Oct 2002, Mark Silva wrote:
In this particular form, I have a list of objects, with multiple
attributes. Each attribute name is preceded by the objects id. this
list is dynamically created, so i would not know how to create the form
beforehand. I was wondering if there was some
Billy Ng wrote:
I have been reading some articles briefly talking about the business
logic beans. The way I build my Struts app is to use the Action's
perform or execute method to do the business logic. Then, I set the
data into a bean and pass it off to the JSP. It works just fine.
Mark,
Upgrading to 1.1b2 would allow you access to Nested form beans. These allow
you to iterate collections and create unique input fields.
Checkout the documentation primer here:
http://www.keyboardmonkey.com/next/Primer_partOne.jsp?content=yesplease
There is a lot of documentation on it.
1 - 100 of 199 matches
Mail list logo