He's right. And to elaborate... use the tld and classes from the struts
distro, and not the tld and nested tag classes from the tutorial.
All the best.
Arron.
The latest nested tags are already included with the Struts 1.1
distribution.
--- mariel hizon [EMAIL PROTECTED] wrote:
Hi!
Hi,
I don't know about indexes, but I can think of a simple solution, Struts-independent
(well, not 100%): have all values concatenated in a single hidden attribute that
get's submitted, using different tokens for separating different values and for
separating different records (by record I
Hi guys,
Can anyone help me understand the diff. between the JSP include (say including 2
to 3 .jsp pages in the main jsp) and Struts Template include tags.
My main doubt is Why Struts template include tag is preferred over its
counterpart?
Confused with the pros. and cons. of both the
Not sure, but if you after a really good templating mechanism forget those
two and take a look at the struts Tiles extension.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 February 2004 17:04
To: [EMAIL PROTECTED]
Subject: JSP Include Vs. Struts
Hi all,
I'm stuck using Velocity with a map-backed ActionForm. I implemented my
ActionForm using the technique of getValue(String key) and setValue(String
key, Object value). I can retrieve a value from the Map using the following
Velocity code
input type=text name=$form.bean.value(1)
add me too. thanks a lot
- Original Message -
From: Dirk Manske (Service Respond) [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:27 AM
Subject: AW: Orkut
add me please. thx.
-Ursprüngliche Nachricht-
Von: Oliver Thiel
I would also like to join.
Thanks
-Mensagem original-
De: Alvaro Martinez [mailto:[EMAIL PROTECTED]
Enviada: quarta-feira, 11 de Fevereiro de 2004 9:43
Para: Struts Users Mailing List
Assunto: Re: Orkut
add me too. thanks a lot
- Original Message -
From: Dirk Manske (Service
Please add me to this list.
Thanks
Avinash
Tomeu Vizoso
[EMAIL PROTECTED]
02/10/2004 03:50 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
'Struts Users Mailing
List' [EMAIL PROTECTED]
cc
Subject
RE: Orkut
I would also like to join.
Thanks
i have this entry on one of my property files that show a message in korean.
error.client.register.exist=li#45320;#44032;#45936;#51060;#53440;#48288;#51060;#49828;#50504;#50640;
#51316;#51116;#54616;#45716; #51060;#48120;
#46321;#47197;#54620;#44163;#51012; #54644;#48372;#44256; #51080;#45716;
We added a method in the base action called saveErrorsInSession.
We created a custom tag called GetErrorsTag that takes ActionErrors from
session and places it in the request to be caught by ErrorsTag and then
removes it from session. I place this tag before ErrorsTag. Also you
could extend
Hi,
I have a checkbox inside a collection which is iterated inside JSP page.
Thus I must index the checkboxes to be able to tell which ones are checked.
However, I have been unable to find out which signature the corresponding
setter method of the actionform should have. I think I have
Can anyone explain me what is the Orkut Social Network
:)
Pedro Salgado
On 09/02/2004 23:41, Oliver Thiel [EMAIL PROTECTED] wrote:
... me too ... thanks!
-Ursprüngliche Nachricht-
Von: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Februar
I could speculate that it is a ruse to trap former members
of the International Society of Lemmings... :-)
On Tuesday, February 10, 2004, at 06:15 AM, Pedro Salgado wrote:
Can anyone explain me what is the Orkut Social Network
:)
Pedro Salgado
On 09/02/2004 23:41, Oliver Thiel [EMAIL
It is due to I am using Tabs effects, and then I need to show my pages as
Actions... So I need to present the
do actions in the include of pages
Somebody are doing something similar like that?
Since now
TIA
Edgar
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts
Try google? http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=orkut
At 04:15 AM 2/10/2004, Pedro Salgado wrote:
Can anyone explain me what is the Orkut Social Network
:)
Pedro Salgado
On 09/02/2004 23:41, Oliver Thiel [EMAIL PROTECTED] wrote:
... me too ... thanks!
Hi!
With tiles it's very easy
- Original Message -
From: Edgar Silva [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 12:34 PM
Subject: Re: Include a .do in a page
It is due to I am using Tabs effects, and then I
I'd appreciate an invitation as well. Thanks, Brady
Quoting Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]:
Big thanks go out to Vic for starting this mess...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 12:41 PM
To:
I'm still trying to figure out the new method for reporting errors to the
user. We create an ActionMessage (instead of an ActionError), we add that
to an ActionMessages object (instead of ActionErrors) and we use
html:messages... in the JSP instead of html:errors Right so far?
In the javadoc
First thanks for your time trying to help me.
Here is the deal
I have a list of elements.
NameId
Student A 123
Student B 123
Student C 123
Student D 123
Student E 123
Student F 123
and I only have data (first last name) for some random amount of
them. On these rows I want the
With Struts 1.1, we have support for both error messages and non-error
messages. We use saveMessages() for non-error and saveErrors() for error
messages. In our JSPs, we can use the html:messages tag to display them:
html:messages id=message message=true
bean:write
that seems interesting. can anyone add me?
Pedro Salgado
On 10/02/2004 14:01, Michael McGrady [EMAIL PROTECTED] wrote:
Try google? http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=orkut
At 04:15 AM 2/10/2004, Pedro Salgado wrote:
Can anyone explain me what is the Orkut Social
With Struts 1.1, we have support for both error messages and
non-error messages. We use saveMessages() for non-error and
saveErrors() for error messages. In our JSPs, we can use the
html:messages tag to display them:
OK, that helps. But can you tell me why I can't use saveErrors with an
Just for the record, I do not wish to be added to Orkut! :-)
Simon
-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist www.landsend.com
Lands' End, Inc.
Struts v1.1
We are currently using Struts and Tiles and have a dynamic navigation menu
with 2-3 nested levels for each top-level menu item (over 100 total menu
items). Currently, we are generating links with the action mapping and
then appending menu parameters to the url to determine what
I was in the same boat, thinking that html:errors tag was up for
deprecation, but no. Just ActionErrors are, ActionMessages can be
rendered using html:errors.
On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote:
With Struts 1.1, we have support for both error messages and
non-error messages.
The deprecation is for the nightly build/Struts 1.2 distribution. If you're
using 1.1 (like I am), there's no saveErrors(request, actionMessages) just
yet.
Once you start using 1.2 (or the nightly build), you can use the saveErrors()
that accepts ActionMessages; the one which accepts
Sorry for the OT, but I need recommendations from a very intelligent group
;-)
I picked up the new Core J2EE Patterns Book [2nd Ed] and it proposes
Business Objects that act much like POJO Session Beans.
But in the scope of a layered architecture, some say we should enforce that
our [Domain,
Yes, please no more FLAME on Orkut, my bad. I am not adding anyone
anymore, there are 43 people in Struts group on Orkut. and it a
FOAF... Friend of a Friend type, so people that are connected will get
in other ways, I just wanted a seed...
One of the things that is a minus of this list is
The deprecation is for the nightly build/Struts 1.2
distribution. If you're using 1.1 (like I am), there's no
saveErrors(request, actionMessages) just yet.
Then there's no point in converting any ActionError or ActionErrors usage to
ActionMessage or ActionMessages yet, since you can't send
At 12:56 PM -0500 2/10/04, Slattery, Tim - BLS wrote:
The deprecation is for the nightly build/Struts 1.2
distribution. If you're using 1.1 (like I am), there's no
saveErrors(request, actionMessages) just yet.
Then there's no point in converting any ActionError or ActionErrors usage to
Hi,
I have gotten my first extremely simple (2 web pages) Struts application
working and am slowly adding features to it. In first page, you enter data
into a form and click the submit button. This takes you to the second page,
which displays the data from the form; and clicking the submit
Hi, Nathan:
This is progress, but I cannot tell what Since the index from the outside
foreach will not work for the indexed properties first and last name
means. Please clarify.
So far I can tell only the following: you have a list of students
identified only by first and last name. You
Vincent,
Do you have an entry in your map named page? Not having the entry will cause
your problem.
-Richard
-Original Message-
From: Vincent [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 10:39 AM
To: Struts Users
Subject: DyanActionValidatorForm clarification please
Hello
Is anyone here successfully using Struts 1.1 on Tomcat 5.0.18? I am getting
java.lang.IllegalStateException: zip file closed errors with any
struts-using code and am wondering if this is a bug and I should go back to
an earlier version of one or the other. Thanks.
Had a quick question on power of struts form validation.Sample code to validate
checkboxes checked on the jsp, which will be sent as an array to the Struts Action
Form. Tips appreciate.Thanks in advance!
Thanks!
-
Do you Yahoo!?
Yahoo! Finance: Get your
Is anyone here successfully using Struts 1.1 on Tomcat 5.0.18?
I am.
java.lang.IllegalStateException: zip file closed errors with any
I seem to recall getting this error when I had a corrupted jar in the
lib. I'm not positive though.
Dave
Had a quick question on power of struts form validation.Sample code to validate
checkboxes checked on the jsp, which will be sent as an array to the Struts Action
Form. Tips appreciate.Thanks in advance!
Best Regards,
Samy
-
I for one think that a lot of this is guilding the lily and is counter
productive.
At 10:19 AM 2/10/2004, Joe Germuska wrote:
At 12:56 PM -0500 2/10/04, Slattery, Tim - BLS wrote:
The deprecation is for the nightly build/Struts 1.2
distribution. If you're using 1.1 (like I am), there's no
Sorry for an ambiguity that was in my example.
here are the gory details :)
I am only using student as an example the real object would only
complicate matters.
In an action I am retrieving :
- a list of all the students objects. This includes their student id.
- an array of studentsGrade
So is there so way to retrieve the form value seletcions in form of some array or so
to be passed to the form
Thanks.
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 1:35 PM
To: Struts Users Mailing List
Subject: Re: dynamic
Nathan - I think in a situation like this I would put an if test into the
loop. If there is no data for the student, I would make HIDDEN form fields
for that student, otherwise I would make the text fields. Then in your
action, if the fields are blank, you don't need to worry about updating
them.
I for one think that a lot of this is guilding the lily and is counter
productive.
I think that you meant *gilding* the lily or even painting the lily.
I'm actually interested in this topic. Is there some existing
documentation about the removal of ActionErrors and ways to deal with
its
Hi Dave,
in http://jakarta.apache.org/struts/userGuide/release-notes.html
are some details on deprecated
but there also stands:
Although not removed, in many cases(!) you should replacethe deprecated
ActionErrorswith the preferred ActionMessagesto ensure correct
operation.
i figured out,
This is critical and makes no sense, Nathan:
I only what the form to create text fields for the student if there was
data found. I am afraid you just cannot at this time describe what you
need to do. So, I am going to guess.
Seems as if you have to keep what sort of object you are talking
Here's code I got from Kris Schneider. It validates that at least one of
the check boxes was checked, but you should be able to change it fairly
easily to do whatever you want. If you're wondering how this code fits in,
check out:
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Thanks Ben, I am looking at the code closer now, but do we have to pass in the array
of selections to the ActionForm class from the jsp
Regards,
Samy.
-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:28 PM
To: [EMAIL PROTECTED]
Yeah, that's excellent.
It looks like there is at least one add-in package that has a
dependency. Though it sounds like an easy fix, does it make sense for a
developer to try to remove ActionErrors from Struts 1.1 applications?
Or would it be better to wait until developing apps for Struts 1.2?
not too sure what you mean by your question, but I'd say no, you don't need
to pass in the array. You're using a String[] as the form property, right?
Are you using multibox?
http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox
From: Samyukta Akunuru [EMAIL PROTECTED]
Tim Slattery
It really bugs me that the javadoc and (apparently) the tag
docs at the web site describe the nightly build version and
not the stable, released version.
Not sure if you're just venting, or looking for a solution, but... you
can install the struts-documentation.war that came
Any comments on Tiles.samples available?
I am starting to design the laout of my pages to make them easy
-Samy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Not sure if you're just venting, or looking for a solution,
but... you can install the struts-documentation.war that came
with the Struts 1.1 binary distribution, and then you'll have
the documentation that goes with the release you're using.
Thank you! I hadn't found that.
--
Tim
this was disscussed
by developers (@struts-dev)
as i remember well,
some are pro and some are con
on holding it until 2.0
to hold it, because of interoperability
greetings,
matthias
-Original Message-
From: Durham David Contr 805 CSPTS/SCE
[mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Ben,
I am using a checkbox.
What I am planning to do is allow the user to check/select items/checkboxes on the
book display page and check/select the books he wants to delete from Book store.
On submitting the form, I want to capture the set/list of checked choices so that I
can take it as a
Samy:
I found this helpful:
http://www.theserverside.com/articles/article.jsp?l=Tiles101
-Ryan
On Tue, 10 Feb 2004, Samyukta Akunuru wrote:
Any comments on Tiles.samples available?
I am starting to design the laout of my pages to make them easy
-Samy
Thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:50 PM
To: Struts Users Mailing List
Subject: Re: Tiles
Samy:
I found this helpful:
http://www.theserverside.com/articles/article.jsp?l=Tiles101
-Ryan
On Tue, 10 Feb 2004,
I added a page to the FAQ section:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionError
s
It has the code I posted yesterday, which I still am not sure is the
officially correct way to handle errors in 1.2. Can someone take a look
and either fix it or approve of it? (And
Zach,
did you miss
http://sourceforge.net/projects/struts-menu/
?
I don't remember its details - it may do some of those things you don't
like.
I don't see why you are keeping menu urls in the ApplicationResources.
At least you could make a new resource bundle and load it yourself with
the
Hi
The Following nested:size gives me an error
nested:iterate property=localTaxCodes
nested:size id=dataSize property=localTaxCodes/
% out.println(dataSize.intValue()); %
What are the different ways i can get the size off this Collection.
Thanks
Vinay Kumar Munikuntla
[EMAIL
On 02/10/2004 07:38 PM Steve Hill wrote:
Is anyone here successfully using Struts 1.1 on Tomcat 5.0.18? I am getting
java.lang.IllegalStateException: zip file closed errors with any
struts-using code and am wondering if this is a bug and I should go back to
an earlier version of one or the other.
At 1:55 PM -0700 2/10/04, Wendy Smoak wrote:
I added a page to the FAQ section:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors
It has the code I posted yesterday, which I still am not sure is the
officially correct way to handle errors in 1.2. Can someone take a look
I'm following Ted's tip (http://husted.com/struts/tips/003.html) but I
can't get to work:
With the newest nightly build I'm getting the following error:
500 Servlet Exception
javax.servlet.ServletException: Action[/administrator] missing resource
'button.search' in key method map
at
Søren,
The error message indicates that you are missing a button.search entry in
your Application Resources file.
-Richard
-Original Message-
From: Søren Hjarlvig [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 2:13 PM
To: [EMAIL PROTECTED]
Subject: LookupDispatchAction
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
The error message indicates that you are missing a
button.search entry in
your Application Resources file.
Earlier, Søren wrote:
http://localhost:8080/fonde/administrator.do?myaction=button.search
In addition, the 'myaction'
Hi,
I had a quick question: What is the typical way to
'internationalize'/translate a Struts application? Is it simply to use a
PropertyResourceBundle? Or are there drawbacks to this method? Are
there any Struts users reading this who have done something different?
(store translations in a
That is probably the simplest way.
Use the ApplicationResources.properties file to create the other
translations. Struts does much of the work for you.
If you are using tiles, you can even use it for i18n, too, so if you
have a different layout for different locations, it will do that for
you.
any sample zip/tutorials on the same
~Thanks
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 4:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts and Internationalization
That is probably the simplest way.
Use the
any sample example with PropertyResourceBundle
~Thanks
-Original Message-
From: Abrams, Howard A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 4:27 PM
To: [EMAIL PROTECTED]
Subject: Struts and Internationalization
Hi,
I had a quick question: What is the typical way
Wendy Smoak wrote:
In addition, the 'myaction' request parameter should be set to whatever the value of button.search is in ApplicationResources.properties.
ApplicationResources.properties:
button.search=ClickHere
Thank you. This solved my problem :-)
The entry was missing from my
I had sent a previous message to this list with a complete error listing,
but I'll clarify. I downloaded and installed a new installation of Tomcat
5.0.18. I then downloaded and installed a new installation of struts 1.1,
copying the documentation and example application war files into Tomcat's
Did you add the jasper compiler jars (jasper.jar,
jasper-compiler.jar,jasper-runtime.jar)
-Original Message-
From: Steve Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 5:24 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.1 on Tomcat 5.0.18?
I had sent a
Tomcat 5 comes with Jasper 2 enabled by default - it has jasper-compiler.jar
and jasper-runtime.jar in the tomcat5\common\lib directory already. So, that
can't be it. (There is not a jasper.jar that I could find.)
- Original Message -
From: Samyukta Akunuru [EMAIL PROTECTED]
To: Struts
okay got it. thanks hubert and arron! :)
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
Hi Guys,
I've
three screens assume that they are add, modify and view screens. I would
like to use same form for all the screens.
But the problem is, each one of the
screens has a different set of validation rules, how do i achieve this?
Somewhere, i read that it
is possible to use action
At 8:51 AM +0530 2/11/04, [EMAIL PROTECTED] wrote:
Hi Guys,
I've three screens assume that they are add, modify and view
screens. I would like to use same form for all the screens.
But the problem is, each one of the screens has a different set of
validation rules, how do i achieve
Hi,
All my forms extend ValidatorForm, should
i change it to DynaValidatorForm?
is this is the only option?
Thanks and Regards
O. Subramaniam
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Joe Germuska [EMAIL PROTECTED]
02/11/2004 09:37 AM
Please
At 9:52 AM +0530 2/11/04, [EMAIL PROTECTED] wrote:
Hi,
All my forms extend ValidatorForm, should i change it to DynaValidatorForm?
is this is the only option?
Whoops. No; just extend ValidatorActionForm instead; it's the same model.
Hi,
O.k I'll try VaidatorActionForm. could
you plz tell me whether the following line is correct!
Validation.xml
form-set
form
input=\path property=A depends=required
/
/form-set
Thanks and Regards
O. Subramaniam
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website:
Can this be done?
I have an Array of my customer objects as the indexed property.
Nathan Maves
Sun Microsystems
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think even the simplest example (comes with Struts) has the resource bundle in it...
Else try to google for 'Struts' and 'sample' and you end up at
http://struts.sf.net/
hth
Alexander
-Original Message-
From: Samyukta Akunuru [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 10. Februar 2004
79 matches
Mail list logo