, August 13, 2003 1:11 PM
To: 'Struts Users Mailing List'
Subject: RE: very simple if/else question
Why isn't there a page for JSTL reference that is as nice and easy to use
as:
http://jakarta.apache.org/struts/userGuide/struts-logic.html ???
You would be much closer to substantia
Try the following
F.
- Original Message -
From: "Seyhan BASMACI (Internet Yazilimlari Yetkilisi)"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2003 6:28 PM
Subject: very simple if/
PROTECTED]
Sent: 14 August 2003 16:01
To: [EMAIL PROTECTED]
Subject: Re: Dumbo Question
How are you attempting to display and iterate? code snippets help us
find
out what's going on
From: "Mehta, Chirag (IT)" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing Li
ational
will be considered at large...
Jing
Netspread Carrier
http://www.netspread.com
- Original Message -
From: "David Thielen" <[EMAIL PROTECTED]>
To: "Struts-Users" <[EMAIL PROTECTED]>
Sent: Thursday, August 14, 2003 11:31 AM
Subject: validation philosop
gree that JSTL has many good parts but to act like
> it
> is perfect and so great and exaggerate its current capabilities is just
> one
> sided.
>
> It is like brainwashing. And that is sad.
>
>
> -Original Message-
> From: Steve Raeburn [mailto:[EMAIL PROTEC
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: validation philosophical question
Date: Thu, 14 Aug 2003 11:43:00 -0500
My personal preference is there should be as little reliance on the
front-side as possible. I personally hate litt
these redundancy. Making sure everything is
kept inside of the config file, you only need to modify one place.
- Yansheng
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 10:43 AM
To: [EMAIL PROTECTED]
Subject: Re: validation philosophical question
My
ssage-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:41 PM
To: Struts Users Mailing List
Subject: RE: very simple if/else question
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote:
> >
> >
>
> What are these tags? What do
So when is someone going to quote Bill Clinton and say "It depends on what
your definition of 'is' is?" ;)
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 11:55 AM
To: 'Struts Users Mailing List'
Subject: RE
Yeah, if you truly want to support internationalization, then you have to
display all of your text with message keys.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject: Question for you
You're right. Every bit of text should come from a resource. It will
make it easy later.
Bailey, Shane C. wrote:
Every paragraph must be in a message resource.
This is not the recommended way to do break out large amounts of text.
Paragraph breaks, or even the number of paragraphs may
Hello,
I've been using the Struts framework for a couple of months
now and have really fancied it. I try as much as possible
to adhere to the MVC guidelines, but have run into a couple
of problems I've not been able to solve.
I have a form which is validated by Struts-validator. One
of the form's
As usual, very articulate and informative, Ted. Thx.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 3:45 PM
To: Struts Users Mailing List
Subject: Re: validation philosophical question
A "hidden cost" of using the Struts Validat
I am having trouble implementing the nested tags. I have downloaded and completed the
Keyboard Monkey tutorial and everything ran smoothly, but when I try and implement the
tags in my program I am having problems. The following code using the logic tags
works correctly and displays the desire
Hi All:
I am unable to use html:options tag or unable to use JSTL in following
scenario. But I can use scriptlets.
Here is the scenario.
I have search.jsp and actionform is SearchForm.java (It's name in
struts-config.xml is 'searchForm')
In search.jsp the code is
Should I use an onclick method handler to the image tag so I can submit the
form??
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 7:29 AM
To: 'Struts Users Mailing List'
Subject: RE: Simple question
Use tag.
>
I guess the lack of responses is because there's not a "standard" as
such for this.
Many folks use actions for all links in their struts apps, as this way
there's no exposure to the unpinning resources. I like doing this
because there's always an opportunity to mess with stuff before any
page
st 11, 2003 01:50
To: Struts Users Mailing List
Subject: another question to tiles
I have several layouts, defined as tiles (composed of tiles, pages,
controllers ...). Each action forwards to a tile.
In a base action, I check a user-setting about the layout to use and create a
new ActionForward to the
how can I change following code to if/else structure using tags ,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ready go.
I understand there is documentation out there for JSTL that is not the
point.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:29 PM
To: Struts Users Mailing List
Subject: RE: very simple if/else question
--- "Bailey, Shane C.&q
and transformation below the Struts horizon. This
hypothetical component would then return Commons Resources messages back
to Struts, which would in turn expose these messages to the pages by
placing them in the request context (as we do now).
Speaking to the original question, I would say tha
-Original Message-
>From: David Thielen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 14, 2003 11:31 AM
>To: Struts-Users
>Subject: validation philosophical question
>
>
>Hi;
>
>Everyone who hits my site has a high-speed connection. So I am
>thinking that it m
>
>
What are these tags? What do I have to have installed in order to
use them?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/else question
Bailey, Shane C. wrote:
>OK, let's vote. Who here thinks that Ace Graham is correct in saying that
>these links are as easy to use as a reference (which is what I requested
>since I understand the concept of tags in general and I only need a quick
>reference):
>
Sent: Thursday, August 14, 2003 10:44 AM
To: Struts Users Mailing List
Subject: RE: very simple if/else question
--- "Bailey, Shane C." <[EMAIL PROTECTED]> wrote:
>
> Man (you already used Dude), I already stated that that doc is much
> better
> than the 50 other docs out
How are you attempting to display and iterate? code snippets help us find
out what's going on
From: "Mehta, Chirag (IT)" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Dumbo Que
But there are grammatically-challenged answers.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Yann Cébron
Sent: Sunday, August 10, 2003 8:26 AM
there's no stupid questions ;-)
-
To unsubscribe, e
Users Mailing List'
Subject: RE: Question for you Internationalization supporters
Yeah, if you truly want to support internationalization, then you have to
display all of your text with message keys.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
g
> to make a request to that URI when it loads the page?
>
> -Original Message-
> From: Kris Schneider [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 15:14
> To: Struts Users Mailing List
> Subject: Re: [OT] TLD question
>
>
> You don't n
Mailing List
> Subject: Design Question: Forms-and-Validation, which scope to use for
> dynamic beans?
>
>
> Hello,
>
> I've been using the Struts framework for a couple of months
> now and have really fancied it. I try as much as possible
> to adhere to the MVC guideli
question
You don't need the TLD files, they're already packaged in the JAR files for
the
tags. You also don't need to add taglib entries to your web.xml file. You
*do*
need taglib directive(s) in your JSP:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core
A good starting point for all you antidisestablishmentarianist that don't
want to front your JSPs might be the use of the ForwardAction and
global-forwards. That just forwards to a view page without writing a new
class. This way, when you are ready to do the right thing, you can change
some of
Thanks Hue!
Great!
your bundle of links!
I'll go for it.
cheers Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ugust 06, 2003 3:29 PM
> To: Struts Users Mailing List
> Subject: RE: [OT] TLD question
>
> does putting an external URI on a page mean that webapp container is
going
> to make a request to that URI when it loads the page?
>
--
I'd write some sort of function and call it from the event.
onchange="submitFromDropdown(this)"
and your function should be something like this:
submitFromDropdown(dropdown)
{
//'this' == dropdown field object
var fieldName = dropdown.name;
var len = dropdown.options.length;
var
I agree with Simon & Adam. Something else to consider
is moving the cursory checks to your actions. If you
ever plan to use [Lookup]DispatchAction or similar,
you may have the need for different, or a lack of,
validation in your methods. Extending your Forms
might not be the best alternative, fu
Good Idea Paul. That sounds like the best and simpliest solution.
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 10:28 AM
To: 'Struts Users Mailing List'
Subject: RE: bean tag question
Can't you define a new class
Probably because HTML doesn't.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:05 AM
To: 'Struts Users Mailing List'
Subject: RE: Simple question
Any reason why the struts tag does not support the "src"
a
TECTED]
Sent: Tuesday, August 05, 2003 5:51 PM
To: [EMAIL PROTECTED]
Subject: Tiles related question
I am new to tiles and want to learn it quickly. Is there any tutorial ,
sample program anywhere including introduction to tiles?
Thanks,
Vicky
-
Do you
I echo Adam's concern. I don't see how you can justify your comments.
Mark
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 2:51 PM
To: [EMAIL PROTECTED]
Subject: RE: validation philosophical question
Can you provide some
s current capabilities is just one
sided.
It is like brainwashing. And that is sad.
-Original Message-
From: Steve Raeburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 8:41 PM
To: Struts Users Mailing List
Subject: RE: very simple if/else question
Dude, did you bother to lo
bject: Re: Html tag question
[]
-- nagi
---Original Message---
From: Struts Users Mailing <mailto:[EMAIL PROTECTED]> List
Date: Tuesday, August 05, 2003 05:34:45 PM
To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Subject: Html tag question
I have an array of Pro
MAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: struts 1.1 question
Date: Mon, 11 Aug 2003 17:02:13 -0400
A good starting point for all you antidisestablishmentarianist that don't
want to front your JSPs might be the use of the ForwardAction and
g
Hi;
I am displaying currency in my website. It is always in U.S. dollars so I am doing:
NumberFormat.getCurrencyInstance().format( (float) price / 100f );
Two questions:
1.. I assume I should set the locale for this to en_US since I want to have the
dollar sign.
2.. Should it do the comm
t 12, 2003 10:43 AM
To: 'Struts Users Mailing List'
Subject: RE: Simple question
Ya, u can do that or u can use a html:link tag(generates in
html) like below. You ultimately submit the form in the javascript fn
of
href.
HTH,
Ravi Kora
[EMAIL PROTECTED]
337-739-34
> I am designing a store check-out process. The old software
> (pre-struts) had a check at the top of each page to make sure the
> information from the previous page had been entered. And if not,
> forwarded to that page. So if you bookmarked the last page and went
> there, you would get forw
ouldn't that be nice for a large Enterprise site?
-Original Message-
From: e [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 4:37 PM
To: Struts Users Mailing List
Subject: struts 1.1 question
I am about to upgrade to struts 1.1 and I have a question.
I have a site with a
Again:
And other text and hidden elements.
The table appears in the page just fine, the proper values are read from the
proper places. But when the page is submittedapparently *nothing* gets
put into the proper place in the form bean.
I have methods in the bean with the following
To: [EMAIL PROTECTED]
Subject: Tiles related question
I am new to tiles and want to learn it quickly. Is there any tutorial , sample program
anywhere including introduction to tiles?
Thanks,
Vicky
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
Sun have got a package of JSTL out, part of
http://java.sun.com/webservices/downloads/webservicespack.html
but I think their v1.1 is dependent on JSP 2.0 but you can get 1.0.3
there. Not that there's any reason to, but just FYI
Yann Cébron wrote:
1) How do I subscribe to the JSTL mailing list?
Sorry, heres another newbie question.
I have a bean that stores collections of data that have been retrieved
from a database.
When I try and logically iterate these collections on my JSP page, it
says "Cannot find bean Results in any scope"
But my bean does exist and println its
all jsps must be fronted by actions? I'm
using 1.1, and assuredly have NOT (nor will I) front them all with actions.
From: e <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
ECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: validation philosophical question
Date: Thu, 14 Aug 2003 12:46:23 -0600
No, that won't do for high volumn traffic sites. It's too costly.
The combination of the client-side and server-sid
Use tag.
> -Original Message-
> From: Norr, Peter [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 6:26 PM
> To: 'Struts Users Mailing List'
> Subject: Simple question
>
> How do I
dam Levine [mailto:[EMAIL PROTECTED]
Sent: August 14, 2003 11:42 AM
To: [EMAIL PROTECTED]
Subject: RE: validation philosophical question
If you reread my post, you'll see the validation happens only in one spot,
and that's in the business logic area. This keeps the same validation logic
pr
Can't you define a new class which wraps the project and provides getters
for the properties you are interested in?
Paul
-Original Message-
From: Jones, Marty B. [mailto:[EMAIL PROTECTED]
Sent: 05 August 2003 14:41
To: [EMAIL PROTECTED]
Subject: bean tag question
Does anyone kn
ject: RE: Tiles related question
I know that. But i am looking for a simple example or tutorial particularly
for tiles. If anyone knows, let me know.
"Bailey, Shane C." <[EMAIL PROTECTED]> wrote:
You are practically there; you know Java and XML and that's all you need to
know wi
; To: Struts-Users
> Subject: Design question
>
> Hi;
>
> I am designing a store check-out process. The old software
(pre-struts)
> had a check at the top of each page to make sure the information from
the
> previous page had been entered. And if not, forwarded to that page. So
Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: struts 1.1 question
Date: Mon, 11 Aug 2003 16:56:54 -0400
From the article at link below
Direct Requests to JSPs
To take the full advantage of sub-application support, Struts 1.1 stipulates
the requirement that all requests mus
Sent: Wednesday, August 06, 2003 3:41 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT] TLD question
So it looks in the WEB-INF dir first for TLDs then goes to that URI?
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 20
You don't need the TLD files, they're already packaged in the JAR files for the
tags. You also don't need to add taglib entries to your web.xml file. You *do*
need taglib directive(s) in your JSP:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="fmt" uri="http://j
I have a form bean that has an array of objects that I want to iterate
through. This array is called "item_Adjustmentsl". There is another array of
the same length, that I also want to use, this one's called
"existingAdjustment". It's simply an array of Strings. So I'm trying to do
something like t
Thanks a lot Matt!
That where a lot of impulses to work on.
Have a nice day,
Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tp://www.google.com/search?q=jstl&sourceid=opera&num=0&ie=utf-8&oe=utf-8
David
>
>
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 12:41 PM
> To: Struts Users Mailing Li
--- "Seyhan BASMACI (Internet Yazilimlari Yetkilisi)"
<[EMAIL PROTECTED]> wrote:
> how can I change following code to if/else structure using tags ,
>
David
>
>
>
>
>
>
>
>
>
> -
> To
0 PM
> To: 'Struts Users Mailing List'
> Subject: RE: very simple if/else question
>
>
>
> OK, let's vote. Who here thinks that Ace Graham is correct in saying that
> these links are as easy to use as a reference (which is what I requested
> since I understand
ansheng Lin" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: validation philosophical question
Date: Thu, 14 Aug 2003 11:29:11 -0600
Agreed mostly, but...
tanley.com> cc:
Subject: RE: Dumbo Question
08/14/2003 11:11 AM
his leaves my interface to be
business logic stupid, but interface/UI logic smart.
my $0.02.
From: "David Thielen" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts-Users" <[EMAIL PROTECTED]>
Subject: validation p
Hi;
Everyone who hits my site has a high-speed connection. So I am thinking that it makes
sense to do server side validation only as that provides a better method than the
javascript pop-ups.
And in this case, it seems to me that the logical place for all validation then is
inside the ActionFo
--- "Mehta, Chirag (IT)" <[EMAIL PROTECTED]> wrote:
> Sorry, heres another newbie question.
>
> I have a bean that stores collections of data that have been retrieved
> from a database.
>
> When I try and logically iterate these collections on my JSP page, i
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote:
> >
> >
>
> What are these tags? What do I have to have installed in order
> to
> use them?
http://java.sun.com/products/jsp/jstl/index.html
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
David
>
>
> -
To: 'Struts Users Mailing List'
> Subject: RE: very simple if/else question
>
>
>
> OK, let's vote. Who here thinks that Ace Graham is correct in
> saying that
> these links are as easy to use as a reference (which is what
> I requested
> since I unders
Any reason why the struts tag does not support the "src"
attribute?
-Original Message-
From: Ravi Kora [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:43 AM
To: 'Struts Users Mailing List'
Subject: RE: Simple question
Ya, u can do that or u can
Can you attach a form bean to an action defined as such?
Brad Handy
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 4:53 PM
> To: Struts Users Mailing List
> Subject: Re: struts 1.1 question
>
> --- Adam Lev
ge-
> > From: David Graham [mailto:[EMAIL PROTECTED]
> > Sent: Monday, August 11, 2003 4:53 PM
> > To: Struts Users Mailing List
> > Subject: Re: struts 1.1 question
> >
> > --- Adam Levine <[EMAIL PROTECTED]> wrote:
> > > Where exactly did you
August 11, 2003 4:48 PM
To: [EMAIL PROTECTED]
Subject: Re: struts 1.1 question
Where exactly did you read that all jsps must be fronted by actions? I'm
using 1.1, and assuredly have NOT (nor will I) front them all with actions.
From: e <[EMAIL PROTECTED]>
Reply-To: "Struts U
How do I use my own image in a or tag?
--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are her
Hi;
I am designing a store check-out process. The old software (pre-struts) had a check
at the top of each page to make sure the information from the previous page had been
entered. And if not, forwarded to that page. So if you bookmarked the last page and
went there, you would get forward
Hi -
I am trying to use the switching between modules feature of struts and
having some problems. any help is grealty appreciated.
Here is the directory structure:
Root (has index.jsp, login.jsp, start.jsp, first.jsp, second.jsp, third.jsp
etc..)
|
|-App1 (has index.jsp, login.jsp, second.j
dant,
the use of tiles don't force you to front anything.
Thomas
At 16:37 11/08/2003 -0400, you wrote:
I am about to upgrade to struts 1.1 and I have a question.
I have a site with a decent amount of content stored in a content manager.
I want to use tiles, but I read that in struts 1.1, a
fig information.
Wouldn't that be nice for a large Enterprise site?
-Original Message-
From: e [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 4:37 PM
To: Struts Users Mailing List
Subject: struts 1.1 question
I am about to upgrade to struts 1.1 and I have a question.
I have a s
Hi Cal,
many thanks for your answer!
> If you check out the Advanced Manual on the Tiles site there is a section
> on dynamic definitions. http://www.lifl.fr/~dumoulin/tiles/
I was surprised about this hint, cause I startet with this documents.
So I rechecked to document and - IMHO - it's not t
I have several layouts, defined as tiles (composed of tiles, pages,
controllers ...). Each action forwards to a tile.
In a base action, I check a user-setting about the layout to use and create a
new ActionForward to the tile.
This way I have only one logical forward entry for multiple layouts.
T
Hi;
I am designing a store check-out process. The old software (pre-struts) had a check at
the top of each page to make sure the information from the previous page had been
entered. And if not, forwarded to that page. So if you bookmarked the last page and
went there, you would get forwarded ba
Some simple questions:
1) How do I subscribe to the JSTL mailing list? (I rather ask simple
dumb questions than stay with dumb answers :)
2) What is the latest version of JSTL that I should use? Currently I am
using the JSTL and Struts-el in combination.
Thanks,
Erez
-
Check logic:notEmpty tag
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Todor
> Sergueev Petkov
> Sent: Saturday, August 09, 2003 12:32 PM
> To: Struts Users Mailing List
> Subject: Newbie question: Testing if collection is != null
c.theaimsgroup.com/?t=10306302322&r=1&w=2
Check out the post by Cedric, I believe he wrote Tiles.
-Original Message-
From: JavaXML Developer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 5:51 PM
To: [EMAIL PROTECTED]
Subject: Tiles related question
I am new to tiles