I've modified the HelloWorld example to contain the following
HTML sniplet:

    <wicket:component name="myBox"
class="wicket.markup.html.border.RoundCornerBorder" width="100%">
      <span id="wicket-hellomessage">Here comes the hello world
message...</span>
    </wicket:component>

        and I get this error when I run it:

wicket.markup.MarkupException: Unable to find component named
'hellomessage' in [path = 0.myBox, children = {width=[path =
0.myBox.width]}]
[markup =
file:/C:/Program%20Files/wicket-examples-0.9.17-beta/src/Netbeans4/build
/web/WEB-INF/classes/wicket/examples/helloworld/HelloWorld.html, index
= 5, current = '<span id="wicket-hellomessage">' (line 10, colum
7)]
        wicket.markup.MarkupStream.throwMarkupException(MarkupStream.jav
a:247)
        wicket.Container.renderNext(Container.java:909)
        wicket.Container.renderBody(Container.java:606)
        wicket.markup.html.border.Border.resolveComponent(Border.java:15
5)
[snip]

        I'm expecting wicket-hellomessage to resolve within the scope
of HelloWorld (the Page) but it's trying to resolve it within my
Border. Any idea why?

Gili



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to