I am trying to convert all projects to the new markup... Shouldn't <wicket:marker name="body"/> work for borders?

I get:

wicket.markup.MarkupException: Unable to find component named 'marker' in [path = 6.border, markupStream = [markup = C:\eclipse-3\workspace\wicket-cdapp-example\target\classes\wicket\examples\cdapp\gui\SimpleBorder.html, index = 15, current = '<wicket:marker name="body"/>' (line 19, column 13)], children = {[autolink]-10=[path = 6.border.[autolink]-10], [autolink]-11=[path = 6.border.[autolink]-11], [autolink]-9=[path = 6.border.[autolink]-9]}]
[markup = C:\eclipse-3\workspace\wicket-cdapp-example\target\classes\wicket\examples\cdapp\gui\SimpleBorder.html, index = 15, current = '<wicket:marker name="body"/>' (line 19, column 13)]
...


Eelco

Juergen Donnerstag wrote:

On Sun, 02 Jan 2005 14:49:53 +0100, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:


Ooops, my fault. Should have ended with </wicket:region>

Still, the RawMarkup question remains...

Eelco

Eelco Hillenius wrote:



There seems to be a problem with remove tags. As an example, I added
it to the HelloWorld example.

  <wicket:region name="remove">
      This is something that will be removed at runtime.
  </wicket>

This gives:

Caused by: java.text.ParseException: No valid wicket tag name found:
'wicket'. Must be like <wicket:param ...
  at wicket.markup.MarkupParser.parseTagText(MarkupParser.java:818)




I'll try to improve the error message as well




Furthermore, I noticed that every HTML tag that is not a
ComponentWicketTag is still created as a ComponentTag. Shouldn't tags
like <html> etc, ie all tags that that not have either wicket id's or
are of form <wicket:x... be of type RawMarkup?




That should be the case, yes. Are you sure? id="wicket-..." should go into ComponentTags, <wicket:...> into ComponentWicketTag and everything else should be RawMarkup. I'm not able to reproduce it. I'll get RawMarkup elements as well.

Juergen





------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to