You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Heiko <lo...@googlemail.com> on 2007/11/28 18:52:38 UTC

MarkupNotFoundException: Markup of type 'html' for component ... not found ???

Hi,

according to the DataTable Example from the Repeater View Examples
I've written my own Page.
My Page-Class is derived from Webpage. But if I add an AbstractColumn
to the List<IColumn> like in the example application

columns.add(new AbstractColumn(new Model("Actions")) {
  public void populateItem(Item cellItem, String componentId, IModel model)
{
    cellItem.add(new ActionPanel(componentId, model));
  }
});

I get the following exception:

org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for
component 'de.lbb.it34.qman.JobOverviewPage$ActionPanel' not found. Enable
debug messages for org.apache.wicket.util.resource to get a list of all
filenames tried:
[MarkupContainer [Component id = cell, page =
de.lbb.it34.qman.JobOverviewPage, path = 6:table:rows:1:cells:6:
cell.JobOverviewPage$ActionPanel, isVisible = true, isVersioned = true]]
.....
Caused by: org.apache.wicket.markup.MarkupNotFoundException: Markup not
found. Component class: .....

In similiar threads I couldn't found an answer for this issue.

Thanks,
Heiko

Re: MarkupNotFoundException: Markup of type 'html' for component ... not found ???

Posted by lodhur <lo...@googlemail.com>.
Thanks for the hint.
Sometimes you can't see the forest for the trees.

Heiko


igor.vaynberg wrote:
> 
> do you have a JobOverviewPage$ActionPanel.html next to
> JobOverviewPage.java?
> 
> -igor
> 
> 
> On Nov 28, 2007 9:52 AM, Heiko <lo...@googlemail.com> wrote:
>> Hi,
>>
>> according to the DataTable Example from the Repeater View Examples
>> I've written my own Page.
>> My Page-Class is derived from Webpage. But if I add an AbstractColumn
>> to the List<IColumn> like in the example application
>>
>> columns.add(new AbstractColumn(new Model("Actions")) {
>>   public void populateItem(Item cellItem, String componentId, IModel
>> model)
>> {
>>     cellItem.add(new ActionPanel(componentId, model));
>>   }
>> });
>>
>> I get the following exception:
>>
>> org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html'
>> for
>> component 'de.lbb.it34.qman.JobOverviewPage$ActionPanel' not found.
>> Enable
>> debug messages for org.apache.wicket.util.resource to get a list of all
>> filenames tried:
>> [MarkupContainer [Component id = cell, page =
>> de.lbb.it34.qman.JobOverviewPage, path = 6:table:rows:1:cells:6:
>> cell.JobOverviewPage$ActionPanel, isVisible = true, isVersioned = true]]
>> .....
>> Caused by: org.apache.wicket.markup.MarkupNotFoundException: Markup not
>> found. Component class: .....
>>
>> In similiar threads I couldn't found an answer for this issue.
>>
>> Thanks,
>> Heiko
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/MarkupNotFoundException%3A-Markup-of-type-%27html%27-for-component-...-not-found-----tf4892243.html#a14022553
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: MarkupNotFoundException: Markup of type 'html' for component ... not found ???

Posted by Igor Vaynberg <ig...@gmail.com>.
do you have a JobOverviewPage$ActionPanel.html next to JobOverviewPage.java?

-igor


On Nov 28, 2007 9:52 AM, Heiko <lo...@googlemail.com> wrote:
> Hi,
>
> according to the DataTable Example from the Repeater View Examples
> I've written my own Page.
> My Page-Class is derived from Webpage. But if I add an AbstractColumn
> to the List<IColumn> like in the example application
>
> columns.add(new AbstractColumn(new Model("Actions")) {
>   public void populateItem(Item cellItem, String componentId, IModel model)
> {
>     cellItem.add(new ActionPanel(componentId, model));
>   }
> });
>
> I get the following exception:
>
> org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for
> component 'de.lbb.it34.qman.JobOverviewPage$ActionPanel' not found. Enable
> debug messages for org.apache.wicket.util.resource to get a list of all
> filenames tried:
> [MarkupContainer [Component id = cell, page =
> de.lbb.it34.qman.JobOverviewPage, path = 6:table:rows:1:cells:6:
> cell.JobOverviewPage$ActionPanel, isVisible = true, isVersioned = true]]
> .....
> Caused by: org.apache.wicket.markup.MarkupNotFoundException: Markup not
> found. Component class: .....
>
> In similiar threads I couldn't found an answer for this issue.
>
> Thanks,
> Heiko
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org