Hi Chris,
Thanks for your response. That's great idea.
Here's what I want to have, in real-life implementation.
I am creating an application that will serve as a intergrated place for
most of my things, may be yours as well.
The items that will be in this integrated-place will b
> ResourceBundle myResources =
>ResourceBundle.getBundle("foo", locale);
>
Thanks, I didn't actually know that which is a bit embarrasing, but ...
I want to get the resource used by the tag lib. The one
specified in web.xml as
javax.servlet.jsp.jstl.fmt.localizationContex
Jumping in late, but that's not gonna work. One possibility is to create a
"dispatch" tag that you use like:
And if you still want to be able to use , etc. "statically",
you'll probably want to create a delegate class that contains the real
functionality and can be used by both the dispatch and
No No No.
It's simple to 'out' the value of a variable.
What I'm looking for is to 'out' a tag-lib component itself. Say, I have
some components that can be rendered as:
I want 'xyz'/'abc'/'pqr' to be dynamic. If you don't understand, here's
what I mean:
Hey Gaurav,
Whay you indicate seems as simple as:
What you might want to do is read the Sun JSTL Specification. It provides an
excellent reference to how the tags work and is very readable. Check it out
at:
http://java.sun.com/products/jsp/jstl/
Grtz,
Hi Martin,
Thanks...
But probably this is not what I am looking for. Or may be I got you
wrong.
Snippets will make it once-for-all includes. But the include is dynamic.
It is known only at runtime.
So, I would like to have something like the following:
Thanks Martin
I was confused, about how the iterator and c:out worked. But obviously
it writes a new line in template space through each iteration.
Tom Forrester
[EMAIL PROTECTED]
Tel: +44 (0)1749 678245
-Original Message-
From: Martin van Dijken [mailto:[EMAIL PROTECTED]
Sent: 12 Mar
ResourceBundle myResources =
ResourceBundle.getBundle("foo", locale);
Keith Hyland wrote:
Hi,
How do I access the resource bundle used by the tags from
a filter (or servlet).
Cheers,
Keith
-
To unsubscribe, e-mail: [EMAI
Hi,
How do I access the resource bundle used by the tags from
a filter (or servlet).
Cheers,
Keith
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hey Thomas,
What exactly is the problem with using forEach? It simply loops an iterator,
map, array or collection and displays it's body content while it has results
left.
">
Replace row.value and row.text with the access method for the variable in
the row you're trying to dump.
Marti
How do I write out template HTML to populate a FORM LIST object, from a
SQL query result set.
For example:
select CLIENT_NAME from CLIENT
// Now given that I don't know how many rows I will get back, I can't
write out N number of
firstLabel
secondLabel
thirdLa
11 matches
Mail list logo