Hi,
the problem indeed was in the HQL query - fixing the
query resulted in a List with objects of type Gallery,
that can be processed correctly by the posted forEach
tag.
Much obliged,
Thomas
--- thomas delnoij <[EMAIL PROTECTED]> wrote:
> David,
>
> I am assuming that it is
n the
JSP leads to a ClassCastException.
This means that first I have to fix the HQL query to
return a List of the required type...
In this case though, I would expect a
PropertyNotFoundException to be thrown by the forEach
tag and not a ServletException, don't you agree?
Helios.
image is null, leading to NPE when I add this
scriplet.
As I conclude from this thread that the EL syntax is
correct, I think I have to delve deeper into my
controller and model logic to be able to fix this. As
I am using Spring's MVC framework and PagedListHolder,
I don't think this list
Helios,
this leads to the same exception being thrown:
javax.servlet.ServletException: An error occurred
while evaluating custom action attribute "value" with
value "${otherImage.uniqueId}": The "." operator was
supplied with an index value of type
"java.lang.String" to be applied to a List or ar
> this does not lead to a servletexception being
> thrown.
p.s. but the value of the uniqueId attribute is not
printed as well.
-- Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
thing essential?
Rgrds, Thomas
--- Kris Schneider <[EMAIL PROTECTED]> wrote:
> Try
>
> What you have is the equivalent of value="${image['uniqueId']}"/>
>
> Quoting thomas delnoij <[EMAIL PROTECTED]>:
>
> > Hello,
> >
> &g
> I guess the "image" contained in
> pagedImageList.getPageList() doesn't
> implement List.
Should it really? Isn't image merely the scoped
variable for the current item of the iteration, and
can't it be of any type? pagedImageList.getPageList()
returns a List, it's items are assignes one-by-one
Hello,
I am having problems using the forEach tag. I am using
jstl 1.0 on Tomcat 5.0, Windows 2000.
Code:
The pagedImageList Object is a session scope object of
type
org.springframework.beans.support.PagedListHolder.
I have verified that it has method getPageList that
returns a java.uti
test
Compilation:
Error: java.lang.NullPointerException
Can somebody get me started on using the JSTL standard implementation with
jsp 1.2?
Kind regards.
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail:
lue should start with quote.
I picked this example from Oracle's website.
Bye
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Hi Shawn.
I am using the utility taglib of the jakarta project. Isn't it part of JSTL?
If I understand you right, JSTL is "your" project? Where can I find the
online documentation?
Bye
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [
output:
0
1
2
3
4
5
6
7
8
9
10
11
12
I would have expected:
3
4
5
6
7
8
9
10
11
12
13
14
15
I am puzzled. Any suggestions?
Kind regards.
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECT
This works.
Thank you.
Kind regards.
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]
>-Original Message-
>From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
>Sent: woensdag 9 oktober 2002 20:51
>To: 'Tag Libraries Use
This leads to a compiler error: " '<' cannot appear in attribute value".
I tried substituting '<' with <.
This leads to an output like :
http://[localhost]/keuringsadmin//keuringsadmin/keuringen_adm
inistratie.jsp.
I am using OC4J on Windows 2000.
Any sugg
14 matches
Mail list logo