Hi again,
Just did a search for iconName in isis/component/viewer (pulled the latest from
github)
There are no files containing the string iconName in the wicket module
but several files in the html, dnd and scimpi module do
Probably iconName() is not implemented in the wicket viewer.
Christian
________________________________________
From: Christian Steinebach [[email protected]]
Sent: Thursday, February 14, 2013 12:58 PM
To: [email protected]
Subject: RE: iconName()
Hi Dan
https://issues.apache.org/jira/browse/ISIS-334
Christian
________________________________________
From: Dan Haywood [[email protected]]
Sent: Thursday, February 14, 2013 12:17 PM
To: [email protected]
Subject: Re: iconName()
Hi Christian,
Could you raise a ticket on that? there's a reasonable chance that this
doesn't work correctly yet...it's not a feature that Jeroen and I have used
in our app.
Still, I think that the Wicket viewer should support it, as described.
Thx
Dan
On 14 February 2013 11:11, Christian Steinebach <
[email protected]> wrote:
> Hi
>
> I understood that the method iconName() should return a String
> which is the name of an image file in dom/src/main/resources/images.
> I inserted the method into ToDoItem.java but still the default
> ToDoItem.gif icon is
> shown in the wicket viewer.
>
> I inserted
> public String iconName(){
> return "SomeIcon";
> }
>
> into ToDoItem.java
>
> but iconName() is never called
>
> Christian
>