Sorry that's obviously my fault
The right code is:
Il 13/01/2013 16:48, fusillator ha scritto:
I've another question related the example code...
I changed the getPeople code as you suggested:
static public Collection getPeople(){
return new ArrayList(people.values());
}
but I h
I've another question related the example code...
I changed the getPeople code as you suggested:
static public Collection getPeople(){
return new ArrayList(people.values());
}
but I have to change the if tag's expression from
to:
it seems the first is always valuated false (no exc
I still don't know the framework very well to report the bug, if
opportune, someone more expert than me might open it.
I'll use your workaround.
Thanks for your support.
Kind regards
Il 12/01/2013 22:59, Chris Pratt ha scritto:
Looking through the code and the exception. This appears to be a
I changed a bit the code of the wiki's tutorial about wildcard for
learning purpose, my version is reported in the previous mail..
This is the slice using the tag in the view page
...
No person inserted
The iterator value "people" should trigger a call to the action's
getPeople me
Looking through the code and the exception. This appears to be a bug. It
appears that OGNL is mistaking the TreeMap.Values Collection as a
java.util.Set, when it attempts to coerce it in ognl.SetPropertyAccessor,
you get the noted exception. This should probably be reported as a bug,
but one wor
You're right Dave, somehow I replied to the wrong email. Looking over the
code now.
(*Chris*)
On Sat, Jan 12, 2013 at 1:08 PM, Dave Newton wrote:
> (Isn't it around where the iterator tag is in that source? I thought
> that *was* the OP's code this second barf of source.)
>
> Dave
>
>
> On S
(Isn't it around where the iterator tag is in that source? I thought
that *was* the OP's code this second barf of source.)
Dave
On Sat, Jan 12, 2013 at 4:04 PM, Chris Pratt wrote:
> You said in your original post that you used the tag,
> correct? Can I see how you used it?
> (*Chris*)
>
>
>
Sorry for my misunderstanding, I changed the code of the wiki tutorial
about wildcard
These is the view:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt
I believe what *Chris* has asked is to copy the code from your JSP page
i believe you must be using tag in your JSP page to iterate
some list
so please copy that code from your JSP and provide here
On Sat, Jan 12, 2013 at 4:16 PM, fusillator wrote:
> Hi Chris, not really sure how to find tha
Hi Chris, not really sure how to find that code... Anyway this has been
my steps:
$ for lib in /opt/struts-2.3.7/lib/* ; do jar tvf $lib | grep tld &&
echo $lib; done
3349 Wed Aug 10 12:51:32 CEST 2005 META-INF/sitemesh-decorator.tld
3013 Sat May 15 11:55:14 CEST 2004 META-INF/sitemesh-page.
Can you cut and paste your code into the email so we can see?
(*Chris*)
On Fri, Jan 11, 2013 at 11:12 AM, fusillator wrote:
> Hi all, I'm new to struts2/java matters, so be sympathetic please.
>
> I've a question about tag
>
> I recently used it to loop on a Iterable collection of type
> ja
Hi all, I'm new to struts2/java matters, so be sympathetic please.
I've a question about tag
I recently used it to loop on a Iterable collection of type
java.util.TreeMap$Values retrieved by the method java.util.TreeMap.values()
getting the following cast exception:
2013-01-11 18:45:00,520
12 matches
Mail list logo