At 05:44 PM 7/13/2002 +0530, you wrote:
Hi
I am very new to struts.How does struts supports client side scripting like
java script??? Can u all just help me out.. Sample code would be an
advantage bye
The struts html tag library supports javascript events by simply setting
the attribute
As per the struts documentation, ActionServlet and RequestProcessor (struts release
1.1 b1)
supports multiple sub-applications.
As per my understanding, prefix attribute in the ApplicationConfig class is being
used for the
same.
Can anyone please explain
- what exactly is meant by
At 12:33 PM 7/15/2002 +0200, you wrote:
Hello,
I want to implement a shoppingcart using the struts html:form tag and
logic:iterate.
In my JSP I have a List of products where every product should have its own
text input field for the quantity and its own submit button.
What would you recommend
You need to search the mail list archives at one of these two address for
1.1b1...
http://nogoya.apache.org/eyebrowse/SummarizeList?listId=42
or
http://www.mail-archive.com/struts-user@jakarta.apache.org/
/mark
-Original Message-
From: Roland Berger [mailto:[EMAIL PROTECTED]]
Hello,
The Tiles plugin is now available in the main Struts core. It is not
documented yet. The tiles war coming with Struts use it. You can the
struts-config.xml file for the syntax.
With this plugin, you don't need to use the ComponentActionServlet
anymore. The plugin also takes in
You're welcome to take a look at how we did it if you want to go digging.
http://www.jcorporate.com/
And the specific classes you'll want to peer into are:
com.jcorporate.expresso.core.controller.Controller.java
com.jcorporate.expresso.core.controller.Transition.java
Yeah, the type conversions were a know deficency in my code.
-Original Message-
From: craigmcc [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 6:45 PM
To: struts-user
Subject: RE: DynaBeans, DynaClass, DynaMen
I implemented something a little more memory-efficient than this
Hi All,
I have checkbox displayed in a table and I am trying to create a
a checkbox outside the table to check All the checkboxes inside the table.
My table is using the logic:iterate tag and displays the table.
Please, let me know if anybody knows how to solve this.
Thanks.
We are using 1.1b as it has worked fine through the development process.
Pretty much the attitude here is that if something is wrong with Struts
we get to go and fix the source code. This is something that can't be
done with a commercial package (not open sourced). If its busted your
This is just a shot in the dark, but could you specify the onclick attribute
of the checkbox to run some javascript? When clicked, you could swap the
checkbox properties back and forth between checked and not checked. Does
anyone else think something like this would work well? It's just an
How to install struts on WebSphere Studio Application Developer 4.x ?
Is the same concept on install struts on Websphere Application Server 3.5 on
Struts WebSite url below:
http://jakarta.apache.org/struts/userGuide/installation-was352.html
Has anyone do it ?
thanks in advance.
--
To
All I do is import the struts-blank.war file. That sets up your project
nicely for you.
~ Keith
http://www.buffalo.edu/~kkamholz
-Original Message-
From: Gilson Nascimento D Elrei [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: How to
Hello All - I've been following this thread and have been doing some similar
work. In the code that was given here, there is really no regard for type.
I've put together a couple of methods that would enable us to build the
dynabean with the appropriate type. These methods work well in the
This is not a question, but rather a suggestion.
I reuse the same FormBean in session scope for three different ActionMapping,
and most of the FormBean properties are not reseted. So if the user comes
back to the same form, sees the recently entered values. But for these 3
forms I want to
Hi All,
I need to know if there is any Struts Tag being developed for 1.1
whiich supports Dynabeans in a
truely dynamic way.
I have seen examples which go like this
bean:write name=dynabean property=property1/ BUT this doesn't answer
my requirement since I need to have a really
I know a different approach which is leaving the driver to make the casting
to the database type for itself, and get/set everything with a
get/setObject(). It works for me. I do not think it damages the performance
since the delay in casting the driver, I guess is comparable with the delay
Thanks Keith, I will try it ! ;-)
- Mensagem original -
De: Kamholz, Keith (corp-staff) USX [SMTP:[EMAIL PROTECTED]]
Enviada em: segunda-feira, 15 de julho de 2002 11:02
Para: 'Struts Users Mailing List'
Assunto: RE: How to Install
I use to run in the same issue quite often, and use to solve it by:
logic:iterate id=datum name=data
bean:write name=dynabean property=%=datum%/
/logic:iterate
where data is a collection e.g. of Strings, with the parameter names, and
the properties of the dynabean match exactly this
For this app I'm working on I've set it up where I only have one
Action class which extends DispatchAction. One thing I'm noticing as
this app develops is that it can be a bit confusing keeping track of
what method in the action class is called by simply looking at the
struts-config.xml file. I'm
Hi,
I try to use Tiles with multiple sub-applications. When I try to forward to a tiles
name, I saw that before calling
the TilesRequestProcessor the framework add to the uri the sub-application prefix.
Is there a way to prevent this behaviour ?
Right now,In order to make it work, I have add
Hello,
Specifying contextRelative=true for each forward in module
(sub-applications) should prevent addition of module prefix.
Hope this help,
Cedric
Fabrice BLANQUART wrote:
Hi,
I try to use Tiles with multiple sub-applications. When I try to forward to a tiles
name, I saw that
I've started looking at the struts-validator as a way to handle all of my
basic form validation. In looking at the validation.xml file in the
struts-validator.war, it appears that JavaScript is required; i.e. several
of the default validation routines use JavaScript to perform the actual
You can use validator to perform both client side as well as server side
validations. If a user has JavaScript disabled, your server side
validations will kick in.
For more info on Validator check out;
http://www.theserverside.com/resources/strutsreview.jsp
I go on and off this list all the time and it works for me every time.
I have been doing this for over a year now with various Jakarta mailing
lists. I never run into any problems.
Here's what I do;
1) Send an email to : [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
with nothing in the body or
On Mon, 15 Jul 2002, Amit Vaidya wrote:
Date: Mon, 15 Jul 2002 14:18:39 +0530
From: Amit Vaidya [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Multiple sub-application support?
As per the struts
Thanks Ajay. I never received that email for confirmation. I will try again.
From: Ajay Chitre [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Unsubscibe
Date: Mon, 15 Jul 2002 09:04:31 -0700
I go on and off
Hi,
During my test of multi-application config, I get the following strange behaviour.
I have two struts-config, the default and another with the prefix /idcli and
two messages resources files.
I use in a JSP file in the idcli part of my application the following lines to show
the validation
Subject: Is BeanUtils.copyProperties meant to replace mapping utilities
From: Matt Raible [EMAIL PROTECTED]
===
I'm currently using:
http://www.mycgiserver.com/~andrej/technical/struts/struts.jsp
Will BeanUtils.copyProperties do this same thing?
Thanks,
Matt
--
To unsubscribe, e-mail:
On Mon, 15 Jul 2002, Anjana Wijayaweera wrote:
Date: Mon, 15 Jul 2002 20:14:33 +0600
From: Anjana Wijayaweera [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: DynaBeans, DynaClass, DynaMen
Hi All,
Sorry, I meant to say;
mailto:[EMAIL PROTECTED]
not struts-dev-
But I am sure everyone figured that out :) :)
-Original Message-
From: Ajay Chitre
Sent: Monday, July 15, 2002 9:05 AM
To: Struts Users Mailing List
Subject: RE: Unsubscibe
I go on and off this list all the time and
On Mon, 15 Jul 2002, Struts Newsgroup wrote:
Date: Mon, 15 Jul 2002 09:10:03 -0700
From: Struts Newsgroup [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Is BeanUtils.copyProperties meant to replace mapping utilities
Subject: Is
Hey everyone,
I have an issue that I could use a little help with. I have a link to edit
a stored entry. A logic:iterate tag displays the various entries. In the
body of the tag, I have that link which sends 2 static parameters 1 dynamic
parameter (the indexId). I have tried a few different
You are not the only one who never received the email for confirmation while
trying to unsubscribe, Supriya. I will try again too.
-Original Message-
From: SUPRIYA MISRA [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Unsubscibe
Thanks
which is the better Object Relational Mapping for relational databases (jdbc) and why??
jakata OJB,
castor,
toplink, ... other
thanks
---
Ferran Parra
[EMAIL PROTECTED]
http://www.mubimedia.com
MUBIMEDIA S.L.
C/ Mallorca, 275, 1r 2a 08008 BCN
Hi,
need a hint.
Struts is using the commons Logging.
private Log log =
LogFactory.getLog(org.apache.struts.webapp.Example);
1)
Where actually can I find the log file??
It should be where it is configured in the package org.apache.commons.logging
configured in
On Mon, 15 Jul 2002, rainer juenger wrote:
Date: Mon, 15 Jul 2002 19:36:04 +0200
From: rainer juenger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Dont get it: Logging
Hi,
need a hint.
Struts is using
Does the commons logging fall under the same configuration options as
log4j? If so, where would I place this properties file? (I'm assuming
web-inf/classes)
Regards
Jacob Hookom
CS Student
University of Wisconsin, Eau Claire
===
http://www.swanked.net
you're not
On Mon, 15 Jul 2002, Jacob Hookom wrote:
Date: Mon, 15 Jul 2002 12:41:37 -0500
From: Jacob Hookom [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Dont get it: Logging
Does the commons logging fall
Hi,
We are using validator, version 20010702, we cannot use a newer version
cause ServletExect3.1, the server we use, has a bug that prevents it from
using commons-logging, and newer versions of the validator rely on this.
Struts version is 1.02.
We think we have everything set up ok, but
Subject: iterate radio tag
From: bkrishna [EMAIL PROTECTED]
===
Hi all,
I am displaying a result set using iterate tag and I have a radio button for
each record. I have a 'select' button which opens a new window. I want to
get the value for the selected item and pass it to the new window.
Try this...
HTML
HEAD
TITLE/TITLE
/HEAD
BODY
form name=myForm method=post action=/myapp/doAction.do
INPUT type=checkbox name=checkbox1check 1br
INPUT type=checkbox name=checkbox2check 2br
INPUT type=checkbox name=checkbox3check 3br
INPUT type=checkbox name=checkbox4check 4br
INPUT
First of all, the tutorial keyboardmonkey.com was extremely helpful. Arron, Thank
You very much.
I have a situation where I have a Collection of banana Lists.
nested:iterate id=crateOfBanaLists name=rangesform property=crates
type=java.util.Collection
nested:iterate id=bananaList
Thanks Cedric. I wondered about that. I figured it was either because
of rapid development, a lack of time, or a combination of the two ;-) I
too would like to seea web.xml, struts-config.xml, etc (whatever there
may be) that would give a good indication of how a person should use
this
Subject: Re: Help ! Logic
From: bkrishna [EMAIL PROTECTED]
===
How can I get the value from the table to populate a text column in the same
form.
Thanks in Advance
Bala.
Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Glad I could help.
~ Keith
ITried this too...
nested:iterate id=crateOfBanaLists name=rangesform property=crates
type=java.util.Collection
nested:iterate id=bananaList name = crateOfBanaLists
nested:write name=bananaList property=bananaType/ -
nested:write name=brand property=description/
I'm having a weird problem with a form ---
the form has some basic html:text, html:select and html:checkbox ,
fields are available to the user depending on the level of access they
have.
the weird part happens with a bunch of checkbox fields, for some users,
they all work great,
I have JSP page that should determine whether there are errors or not in
order to display certain parts of the page.
So, is there a way to access the ActionErrors object in a JSP as a scripting
variable, or even better, a tag lib structure so that I can check for the
existence of the ActionErrors
%
ActionErrors ae = ( ActionErrors) request.getAttribute( Action.ERROR_KEY);
boolean err = false;
if( ae != null) { err = true; }
%
%
if( err) { do_something }
%
Mark (back from Amsterdam)
-Original Message-
From: Chang, Henrique [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15,
Thanks, this is what I was looking for!
Henrique.
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5:06 PM
To: 'Struts Users Mailing List'
Subject: RE: html:errors ActionErrors accessible as scripting variable?
%
ActionErrors ae = (
I have no idea if this is the best way to do this but I *believe* this
will work;
Object value = pageContext.getAttribute
(Action.ERROR_KEY, PageContext.REQUEST_SCOPE);
if (value == null) {
//No errors found
} else {
//Errors encountered
}
I don't think there's any tag
Man it's been quiet around here!
Any good tales to tell?
Simon
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:06 PM
To: 'Struts Users Mailing List'
Subject: RE: html:errors ActionErrors accessible as scripting variable?
%
could you point the url of this tutorial???
hemant wrote:
First of all, the tutorial@ keyboardmonkey.com was extremely helpful.
Arron, Thank You very much.
I have a situation where I have a Collection of banana Lists.
nested:iterate id=crateOfBanaLists name=rangesform
Many of them - good and bad! I'll put together a synopsis
Man, my head is not even into work yet. Been debugging our Struts app all
day and the only thing I can think about is all those glorious beers in
England, France, Belgium and Holland.
Mark
-Original Message-
From:
I shall look forward to them.
Drink any Bishop's Tipple or Newcastle Brown Ale? Before I gave up alchohol, they used
to be my two regular pints.
Simon
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:48 PM
To: 'Struts Users Mailing
Or, without scriptlets:
logic:present name=org.apache.struts.action.ERROR
// Display your errors here
/logic:present
--
Martin Cooper
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 2:06 PM
To: 'Struts Users Mailing List'
How do you compare 2 bean values using the logic:equal tag? In the example
below I would like the value to be the 'id' property of bean 's'.
logic:iterate id=s name=sList
bean:write scope=page name=s property=a/
bean:write scope=page name=s property=b/
logic:iterate id=o
Another possible solution is to create Value Objects and serialize them...
Dave
---
Dave Hodson
MessageCast, inc.
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
www.messagecast.net
-Original Message-
From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July
Hi,
Can someone help me to iterate over multiple collections using
logic:iterate tags. It is taking as nested loop if I place the the tag
one after the other.
Thanks Regards,
Ravi Kora
[EMAIL PROTECTED]
337-739-3434(M)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
http://www.keyboardmonkey.com/
- Original Message -
From: Emerson Cargnin - SICREDI Serviços [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:43 PM
Subject: Re: Arron Bates, Monkey Example: List of BananaLists
could you point the url of
ok.. since i haven't gotten anywhere in the past 3 hours, i'll repost
this..
(i even looked through the source code, RequestUtils.java:774 is a throw
exception,
ha ha).
anyway, to further clarify my exasperation i have the following in a jsp:
td align=righthtml:checkbox
I am trying to pass a java object from my perform method to a servlet
running in different JVM .
My perform method returns Actionforward object redirecting to the same
servlet. Here is what I have tried:
Perform method:
Object resultObj = getObj();
URL url= new
Subject: Does this design seem OK
From: Owen [EMAIL PROTECTED]
===
I have a search page with a datafield and three combo boxes. The combo
boxes will be populated from arrays as there is a dependancy issue
between each one so I need to utilise a bit of javascript. The arrays
will be populated
Is there a full release version of Struts which uses the
org.apache.commons.beanutils.PropertyUtils class rather than the
org.apache.struts.util.PropertyUtils class?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Struts 1.1 will be the first Final release that uses the Commons BeanUtils
classes. That release is currently in Beta 1, with Beta 2 coming as soon as
we can close out the bugs.
However, if you need to use the Commons classes for your own purposes, you
can still do that, regardless of what
Thanks, but I was wanting to use keyed properties with the bean:write
tag. I just implemented my own tag for it in the mean time.
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 11:28 PM
Subject: RE:
Hi,
I am using Struts 1.1-B1 with Tomcat 4.0.3.
When I change my form enctype to 'multipart/form-data' and wrap the request
into a MultipartRequestWrapper, the getParameter() and getParameterNames()
are not returning any values at all.
Has anyone encountered this problem before. Is there any
You shouldn't be doing any wrapping yourself - the use of the wrapper is
internal to Struts, and should be transparent to you. If you remove any of
your own code that's trying to use the wrapper (i.e. just assume it's a
normal request), things should start working.
--
Martin Cooper
Subject: Re: Cascading Style Sheets for struts tags?
From: Matt Raible [EMAIL PROTECTED]
===
the html:text tag renders an input type=text element in HTML, so
you'd just use that:
style type=text/css
input {color: green}
/style
Keep in mind that you'll get your best support for
Daniel could have written this a wee bit clearer.
It is indeed the struts request processor and not us that is doing the
wrapping.
The resulting HttpServletRequest (with implementing class of
org.apache.struts.upload.MultipartRequestWrapper) is always returning null
for getParameter() and an
Perhaps my question is stupid but I am not sure to know the Value object
notion well.
Could you give more details about Value Objects?
What is the difference between JavaBean and ValueObject(or Data Transfer
Object also I believe)?
Value objects are shared by the web and the back-end tier.
hi,
Maybe you could take a look at any of the ejb or java bean design pattern
books to get an exhaustive idea about the value objects ..! you can download
one free pdf version from the serverisde.com-- (Ejb Design patterns by Floyd
Marinescu )
Rgds
-Original Message-
From: Heligon
Just in case there are still troubles, try these links (sans mailto:;):
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
(Notice the lack of the mailto:; protocol spec in the links. Sloppily
built mail clients will occasionally put the
72 matches
Mail list logo