You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Greg Johnson <gr...@saltaire.com.au> on 2016/10/16 23:19:01 UTC
8.0.0-M1 MarkupNotFoundException
Hi, the example is a very basic “menu” example where on menu select main content is changed.
From the attached quickstart …
* run Start.java
* localhost:8080/ - Home Page displays
* Press browser refresh - Home Page displays
* Press browser refresh - MarkupNotFoundException: Markup not found for Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
if the <wicket:link> tags are removed there is no problem. Note that there are no links, it is just the mere presence of the <wicket:link> tags that seems to cause the problem.
Perhaps the architecture is flawed, however it is not clear to me why it only fails on the 3rd render.
Any help would be appreciated, thanks.
Regards, Greg Johnson
Re: 8.0.0-M1 MarkupNotFoundException
Posted by Andrea Del Bene <an...@gmail.com>.
Ok thank you!
Andrea.
On 20/10/2016 12:07, Greg Johnson wrote:
> Create link missing from home page (MacOs 10.12 Safari 10.0) \u2026
>
> Found a \u201ccreate\u201d link in the help docs \u2026
>
> Created WICKET-6256
>
> Regards, Greg Johnson
>
>> On 20 Oct. 2016, at 19:47, Andrea Del Bene <an...@gmail.com> wrote:
>>
>> That's strange...you should be able to create issues as you belong to jira-users group:
>>
>> https://issues.apache.org/jira/plugins/servlet/project-config/WICKET/permissions
>>
>> Which is exactly the problem or the error you get?
>>
>>
>> On 19/10/2016 02:40, greg.johnson wrote:
>>> sure,
>>>
>>> i don't seem to have permission in jira to create an issue, am i missing
>>> something?
>>> username: gregjohnson
>>>
>>> thanks
>>>
>>> --
>>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675828.html
>>> Sent from the Users forum 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
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 8.0.0-M1 MarkupNotFoundException
Posted by Greg Johnson <gr...@saltaire.com.au>.
Create link missing from home page (MacOs 10.12 Safari 10.0) …
Found a “create” link in the help docs …
Created WICKET-6256
Regards, Greg Johnson
> On 20 Oct. 2016, at 19:47, Andrea Del Bene <an...@gmail.com> wrote:
>
> That's strange...you should be able to create issues as you belong to jira-users group:
>
> https://issues.apache.org/jira/plugins/servlet/project-config/WICKET/permissions
>
> Which is exactly the problem or the error you get?
>
>
> On 19/10/2016 02:40, greg.johnson wrote:
>> sure,
>>
>> i don't seem to have permission in jira to create an issue, am i missing
>> something?
>> username: gregjohnson
>>
>> thanks
>>
>> --
>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675828.html
>> Sent from the Users forum 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
Re: 8.0.0-M1 MarkupNotFoundException
Posted by Andrea Del Bene <an...@gmail.com>.
That's strange...you should be able to create issues as you belong to
jira-users group:
https://issues.apache.org/jira/plugins/servlet/project-config/WICKET/permissions
Which is exactly the problem or the error you get?
On 19/10/2016 02:40, greg.johnson wrote:
> sure,
>
> i don't seem to have permission in jira to create an issue, am i missing
> something?
> username: gregjohnson
>
> thanks
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675828.html
> Sent from the Users forum 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 8.0.0-M1 MarkupNotFoundException
Posted by "greg.johnson" <gr...@saltaire.com.au>.
sure,
i don't seem to have permission in jira to create an issue, am i missing
something?
username: gregjohnson
thanks
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675828.html
Sent from the Users forum 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: 8.0.0-M1 MarkupNotFoundException
Posted by "greg.johnson" <gr...@saltaire.com.au>.
should be ...
> So yes, in the real application the
> <wicket:link>
> tags surround \
> <
> a\
> >
> elements and the Page is inherited from a
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675922.html
Sent from the Users forum 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: 8.0.0-M1 MarkupNotFoundException
Posted by "greg.johnson" <gr...@saltaire.com.au>.
Hi Martin,
Ok, thanks.
The quickstart was stripped down to a bare minimum of html that would
demonstrate the issue.
So yes, in the real application the <wicket:link> tags surround elements
and the Page is inherited from a Bootstrap template with <html>, <body> etc.
Issue is now fixed thanks to Andrea.
Thanks again, Regards, Greg
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675921.html
Sent from the Users forum 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: 8.0.0-M1 MarkupNotFoundException
Posted by Martin Grigorov <mg...@apache.org>.
Hi Greg,
<wicket:link>
<p>Some Text</p>
</wicket:link>
doesn't make much sense.
<wicket:link> is supposed to be used around <a> and <img> elements.
In your demo application it is around <p>. I hope your real application
makes good use of it.
Also the marku of the Page is not really a page, i.e. it doesn't have
<html>, <body>. It starts with a <div>.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Oct 21, 2016 at 12:18 AM, Greg Johnson <greg.johnson@saltaire.com.au
> wrote:
> Hi Martin,
>
> This is supposed to be a trivial menu/content replacement system that runs
> http://www.willinge.com.au, the architecture may very well be flawed :-)
>
> The quickstart at http://anekol.com/pub/myproject2.zip is a cutdown
> version of the website (images removed etc) for you to see the big picture.
>
> Even if the architecture is flawed, it's still been running this trivial
> website successfully for years, a testament to Wicket :-)
>
> I would of course appreciate your advice on what the architecture should
> look like if you ever ran out of more important things on your list to do
> :-)
>
> With many years of IT experience, the very early versions of Wicket came
> to our notice as a high integrity framework and it continues to be a
> delight to watch the continuing success fo those who truly understand what
> it takes to build and deploy critical enterprise infrastructure.
> Congratulations.
>
> Regards,
> Greg Johnson
>
> > On 18 Oct. 2016, at 05:58, Martin Grigorov <mg...@apache.org> wrote:
> >
> > Hi Greg,
> >
> > What is the idea behind:
> >
> > com/mycompany/AboutMenu$Overview.html (a Panel) containing just:
> >
> > <wicket:link>
> > <p>Some Text</p>
> > </wicket:link>
> >
> >
> > The full HTML produced by the home page is:
> >
> > <div wicket:id="menu"><wicket:panel>
> > <ul>
> > <li wicket:id="items">
> > <a wicket:id="link" href="./?5-1.-menu-items-0-item-link
> > <http://localhost:8080/?5-1.-menu-items-0-item-link>">
> > Overview
> > </a>
> > </li>
> > </ul>
> > <wicket:child/>
> >
> >
> > </wicket:panel></div>
> > <div wicket:id="content"><wicket:panel><wicket:link>
> > <p>Some Text</p>
> > </wicket:link>
> > </wicket:panel></div>
> > <wicket:child><wicket:extend>
> > </wicket:extend></wicket:child>
> >
> >
> > It is totally incorrect!
> >
> >
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Mon, Oct 17, 2016 at 1:19 AM, Greg Johnson <
> greg.johnson@saltaire.com.au>
> > wrote:
> >
> >> Hi, the example is a very basic “menu” example where on menu select main
> >> content is changed.
> >>
> >> From the attached quickstart …
> >> * run Start.java
> >> * localhost:8080/ - Home Page displays
> >> * Press browser refresh - Home Page displays
> >> * Press browser refresh - MarkupNotFoundException: Markup not found for
> >> Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
> >>
> >> if the <wicket:link> tags are removed there is no problem. Note that
> there
> >> are no links, it is just the mere presence of the <wicket:link> tags
> that
> >> seems to cause the problem.
> >> Perhaps the architecture is flawed, however it is not clear to me why it
> >> only fails on the 3rd render.
> >>
> >> Any help would be appreciated, thanks.
> >>
> >> Regards, Greg Johnson
> >>
> >>
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: 8.0.0-M1 MarkupNotFoundException
Posted by Greg Johnson <gr...@saltaire.com.au>.
Hi Martin,
This is supposed to be a trivial menu/content replacement system that runs http://www.willinge.com.au, the architecture may very well be flawed :-)
The quickstart at http://anekol.com/pub/myproject2.zip is a cutdown version of the website (images removed etc) for you to see the big picture.
Even if the architecture is flawed, it's still been running this trivial website successfully for years, a testament to Wicket :-)
I would of course appreciate your advice on what the architecture should look like if you ever ran out of more important things on your list to do :-)
With many years of IT experience, the very early versions of Wicket came to our notice as a high integrity framework and it continues to be a delight to watch the continuing success fo those who truly understand what it takes to build and deploy critical enterprise infrastructure. Congratulations.
Regards,
Greg Johnson
> On 18 Oct. 2016, at 05:58, Martin Grigorov <mg...@apache.org> wrote:
>
> Hi Greg,
>
> What is the idea behind:
>
> com/mycompany/AboutMenu$Overview.html (a Panel) containing just:
>
> <wicket:link>
> <p>Some Text</p>
> </wicket:link>
>
>
> The full HTML produced by the home page is:
>
> <div wicket:id="menu"><wicket:panel>
> <ul>
> <li wicket:id="items">
> <a wicket:id="link" href="./?5-1.-menu-items-0-item-link
> <http://localhost:8080/?5-1.-menu-items-0-item-link>">
> Overview
> </a>
> </li>
> </ul>
> <wicket:child/>
>
>
> </wicket:panel></div>
> <div wicket:id="content"><wicket:panel><wicket:link>
> <p>Some Text</p>
> </wicket:link>
> </wicket:panel></div>
> <wicket:child><wicket:extend>
> </wicket:extend></wicket:child>
>
>
> It is totally incorrect!
>
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Mon, Oct 17, 2016 at 1:19 AM, Greg Johnson <gr...@saltaire.com.au>
> wrote:
>
>> Hi, the example is a very basic “menu” example where on menu select main
>> content is changed.
>>
>> From the attached quickstart …
>> * run Start.java
>> * localhost:8080/ - Home Page displays
>> * Press browser refresh - Home Page displays
>> * Press browser refresh - MarkupNotFoundException: Markup not found for
>> Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
>>
>> if the <wicket:link> tags are removed there is no problem. Note that there
>> are no links, it is just the mere presence of the <wicket:link> tags that
>> seems to cause the problem.
>> Perhaps the architecture is flawed, however it is not clear to me why it
>> only fails on the 3rd render.
>>
>> Any help would be appreciated, thanks.
>>
>> Regards, Greg Johnson
>>
>>
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 8.0.0-M1 MarkupNotFoundException
Posted by Martin Grigorov <mg...@apache.org>.
Hi Greg,
What is the idea behind:
com/mycompany/AboutMenu$Overview.html (a Panel) containing just:
<wicket:link>
<p>Some Text</p>
</wicket:link>
The full HTML produced by the home page is:
<div wicket:id="menu"><wicket:panel>
<ul>
<li wicket:id="items">
<a wicket:id="link" href="./?5-1.-menu-items-0-item-link
<http://localhost:8080/?5-1.-menu-items-0-item-link>">
Overview
</a>
</li>
</ul>
<wicket:child/>
</wicket:panel></div>
<div wicket:id="content"><wicket:panel><wicket:link>
<p>Some Text</p>
</wicket:link>
</wicket:panel></div>
<wicket:child><wicket:extend>
</wicket:extend></wicket:child>
It is totally incorrect!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Oct 17, 2016 at 1:19 AM, Greg Johnson <gr...@saltaire.com.au>
wrote:
> Hi, the example is a very basic “menu” example where on menu select main
> content is changed.
>
> From the attached quickstart …
> * run Start.java
> * localhost:8080/ - Home Page displays
> * Press browser refresh - Home Page displays
> * Press browser refresh - MarkupNotFoundException: Markup not found for
> Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
>
> if the <wicket:link> tags are removed there is no problem. Note that there
> are no links, it is just the mere presence of the <wicket:link> tags that
> seems to cause the problem.
> Perhaps the architecture is flawed, however it is not clear to me why it
> only fails on the 3rd render.
>
> Any help would be appreciated, thanks.
>
> Regards, Greg Johnson
>
>
>
>
>
Re: 8.0.0-M1 MarkupNotFoundException
Posted by "greg.johnson" <gr...@saltaire.com.au>.
Created WICKET-6256 ...
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/8-0-0-M1-wicket-link-MarkupNotFoundException-tp4675812p4675852.html
Sent from the Users forum 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: 8.0.0-M1 MarkupNotFoundException
Posted by Andrea Del Bene <an...@gmail.com>.
Hi Greg,
can you open an issue and attach the quickstart.
Thank you.
On 17/10/2016 01:19, Greg Johnson wrote:
> Hi, the example is a very basic menu example where on menu select main content is changed.
>
> From the attached quickstart
> * run Start.java
> * localhost:8080/ - Home Page displays
> * Press browser refresh - Home Page displays
> * Press browser refresh - MarkupNotFoundException: Markup not found for Component: [TransparentWebMarkupContainer [Component id = wicket_link1]]
>
> if the <wicket:link> tags are removed there is no problem. Note that there are no links, it is just the mere presence of the <wicket:link> tags that seems to cause the problem.
> Perhaps the architecture is flawed, however it is not clear to me why it only fails on the 3rd render.
>
> Any help would be appreciated, thanks.
>
> Regards, Greg Johnson
>
>
>