you cannot change the nesting of components, it has to be in sync with java code
-igor On Mon, May 10, 2010 at 2:42 PM, David Chang <[email protected]> wrote: > I am hoping to write a component customizing FormComponentFeedbackBorder. > > In the related HTML (please ingore the blank content for <span>), the > following is okay. > > <wicket:border> > <span wicket:id = "errorIndicator"></span> > <wicket:body/> > </wicket:border> > > But the following: > > <wicket:border> > <span wicket:id = "errorIndicator"> > <wicket:body/> > </span> > </wicket:border> > > always produces runtime error saying > > WicketMessage: Expected close tag for <dd wicket:id="fullNameBorder" > id="fullNameBorder3e"> > > The component (wicket:id="fullNameBorder") is what I am trying to attach the > customized border component to. > > What is the wrong with the second way? > > Best, > > David > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
