and
failed. I now trim and test for this in the tag so it just prints an empty
space when that happens and then all the other iterations worked
successfully.
Quite a stupid mistake that took a long time to resolve... Thanks for the
input and help!
On 6/27/07, Marius Botha <[EMAIL PROTECTED]>
the
moment I use it inside another tag the setter method sets a null/empty. I
have many other custom tags though that work just fine - just this one
(driving me crazy).
Shall I post the source?
On 6/26/07, Kris Schneider <[EMAIL PROTECTED]> wrote:
Quoting Marius Botha <[EMAIL
TECTED]> wrote:
The stack trace seems to indicate that the property file is located just
fine,
but that the file does not contain a key called "key". If the property file
could not be located, ResourceBundle.getBundle() should be throwning the
exception, not ResourceBundle.getSt
work. Any
ideas?
Much appreciated.
Marius Botha
Exception:
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key
java.util.ResourceBundle.getObject(ResourceBundle.java:326)
java.util.Resource
t (as always
;).
Thanks again,
Marius Botha
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: 05 August 2005 03:18
To: Tag Libraries Users List
Subject: RE: Response in Firefox vs IE
I did intend to respond but got sidelined.
I think there is no golden bullet to
e JSP also makes no difference, this
time lapse happens after the page has finished executing. It looks like it
is buffering the response and only writing it out once it has received all
the data.
Hope that makes sense and someone can give some constructive advice.
Kind regards,
Ma
Does anyone have any tips, ideas or things to watch out for when writing
"good" tags (or can suggest a good website/book) that will assist in
increasing performance.
I developed a data table tag (very much like the displaytag) where the users
can:
1. Sort data
2. Configure columns they want to see
Thanks guys,
I tried that and got a new error (below). I will probably just go the
scriptlet route for now as maybe I have an old or incorrect JAR somewhere.
Can any one tell me where the TagLib for FN is?
What I did:
1. Changed as per example.
2. Included FN taglib in my web.xml file as I do wi
You know your stuff hey :)
I believe I do use Tomcat 5 (running inside JBoss 3.2) and as a result have
their JSTL (looks like 1.1) and JSP-2.0.jar. Where do I find or can I check
if I have the TLD for the functions library (so I can include it if
missing)? At the moment I am including the TLD's in
Ok, I feel like an idiot... I tried it with and without the nested ${} as
you guys suggested and am still getting the same EL expressions not
supported error. I am including the "c.tld" tag library. Should I maybe be
using "c-rt.tld" instead, or what can it be?
Thanks for your effort. Error below.
is a method and you cannot call methods directly from JSTL (only
getters and setters), but the fn taglib provides a function for length
of Collections and strings. See the JSTL 1.1 documentation for more
information, but basically fn:length() is what you are looking for:
Hope this helps.
-Chr
ng for:
Hope this helps.
-Christian
Marius Botha wrote:
>Hi there,
>
>Just a basic question. I am trying to print out the size() of a List, like
>the tag below.
>
>
>
>But I am getting the following error: "An error occurred while evaluating
>custom action att
Hi there,
Just a basic question. I am trying to print out the size() of a List, like
the tag below.
But I am getting the following error: "An error occurred while evaluating
custom action attribute "value" with value "${myList.size}": The "."
operator was supplied with an index value of type "j
>Can you use JSP 2.0 (if you're not already)? Tag files will give you the
>reuse you're talking about. Write a tag (as a .tag impl) that takes the
>task (or user) name as an attribute, and produces the appropriate controls
>(+ other presentation layer stuff around them). You can (re)use the custom
e any pointers?
Much appreciated.
Marius Botha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in a table. How can I change
the order of these tags when I execute the ? Do I do it in
or is there another or better way? Please help.
Thanks,
Marius Botha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
gle should tell you where to get it. You
essentially just give it a collection and it writes all of the html to
display it in a table.
Karl
-Original Message-
From: Marius Botha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 5:29 AM
To: 'Tag Libraries Users List'
Subject: RE:
05 01:54
To: Tag Libraries Users List
Subject: Re: Creating a custom Iterate Tag
On Tue, 2005-01-18 at 13:08, Marius Botha wrote:
> I need some guidance with creating a custom iterate tag (literally like
the
> standard IterateTag, but where I can control what happens). I tried to
find
> go
Hi there,
I need some guidance with creating a custom iterate tag (literally like the
standard IterateTag, but where I can control what happens). I tried to find
good examples or tutorials on how to do this, but couldn't find anything
good so please advise if you know of anywhere good to look that
19 matches
Mail list logo