Could you please open up an RFE then Peter?

Eelco

On 5/9/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> hmm this is because of the HtmlHeaderContainer that container wants a page
> to be its parent.
>
> So you can't attach a wicket container to the html because then you
> encapsulate the complete page.
> i dont know immediantly how to solve this
>
>
>
> On 5/9/07, Peter Ertl <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi folks,
> >
> >
> > I try to setup a multi-language website like that:
> >
> >
> > <? xml version= "1.0" encoding ="UTF-8" ?>
> > <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> > <html wicket:id="html"  xmlns:wicket xmlns=" http://www.w3.org/1999/xhtml";
> xmlns:lang=[current language] lang=[current language]>
> > ....
> >
> >
> > However, accessing <html> using a wicket:id will fail:
> >
> >
> > > org.apache.wicket.WicketRuntimeException: Programming
> error: 'parent' should be a Page or a Border.
> >
> >
> > changing the tag using a MarkupFilter will also fail as it requires to
> value of the current locale of WebSession
> > but the markup filter seems to allow no access to it.
> >
> >
> > It would be straightforward to just access html using a wicket:id...
> *imho* this would be a great enhancement!
> >
> >
> > Can somebody think of a better solution?
> >
> >
> > Cheers
> > Peter
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to