Thax for quick reply - i then stick with the "panel-replace-solution" as i
dont have the space to display a view and a label (mobile thing)

Regards   
 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag 
> von Matej Knopp
> Gesendet: Donnerstag, 5. April 2007 13:22
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] replace of multi inc. spans
> 
> You can't just replace the listView by a label, because the 
> markup won't match. Safest solution probably not to replace 
> the listView, just ide it and show the label next to lisview.
> 
> On 4/5/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > maybe its a noobish question, but how can i replace a markup that 
> > spans other markup wihtout touching the inner one?
> >
> > e.g:
> >
> >    <span wicket:id="data">
> >             <span wicket:id="data1">foo</span><br>
> >             <span wicket:id="data2">foo</span><br>
> >     </span>
> >
> > wich is a simple ListView repeater - that should be replaced by a 
> > single Label Component
> >
> >  getPage().replace(new Label("data","Error - no datasource 
> defined"));
> >
> > I know i can do it via having a the DataView as a panel, 
> but wonder if 
> > there isnt a quick dirty aproach here...
> >
> > currently, it tells me:
> >
> > "Expected close tag for '<span wicket:id="data">' Possible 
> attempt to 
> > embed
> > component(s) '...." and all i want is that wicket discards 
> the inner 
> > ones and replaces them like it does for all content sittin 
> within its part.
> >
> > Regards
> >
> > Korbinian
> >
> >
> > 
> ----------------------------------------------------------------------
> > --- Take Surveys. Earn Cash. Influence the Future of IT Join 
> > SourceForge.net's Techsay panel and you'll get the chance to share 
> > your opinions on IT & business topics through brief 
> surveys-and earn 
> > cash 
> > 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> > DEV _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to 
> share your opinions on IT & business topics through brief 
> surveys-and earn cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to