not anymore.


Matej Knopp-2 wrote:
> 
> Err, I believe that you can do add(HeaderContributor.forCss(...)) in
> page constructor.
> 
> -Matej
> 
> On 6/23/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
>> Jan,
>>
>> the problem is that though you can attach attribute modifier (that is
>> what HeaderContributor is as well) to a Page (or WebPage), it'll not
>> work. WebPage doesn't have a tag. Since there is no tag, the attribute
>> modifier are not invoked, hence the nothing gets added to the header
>> section.
>>
>> Solution: you simply must attach HeaderContributor.forCss to any other
>> of your components (e.g. html in your code)
>>
>> In order to prevent such errors, Wicket should detect (if not prevent)
>> that attribute modifiers are added to WebPage. I've no idea right now
>> how to make it a compile error, but we certainly can make it a runtime
>> exception.
>>
>> Juergen
>>
>> On 6/22/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>> >
>> > copy to the list, as sourceforge doesn't allow zip-attachments atm.
>> >
>> >
>> > -------- Original Message --------
>> > Subject: Re: [Wicket-user] <html wicket:id="html"> && CSS
>> > Date: Fri, 22 Jun 2007 08:53:23 +0200
>> > From: Jan Kriesten <[EMAIL PROTECTED]>
>> >
>> >
>> > Hi Juergen,
>> >
>> > > I'll try my best to find some spare time to do it. Hopefully over the
>> weekend.
>> >
>> > much appreciated, thank you! :-)
>> >
>> > I attached a zip-file containing the example.
>> >
>> > Best regards, --- Jan.
>> >
>> >
>> >
>> >
>> -------------------------------------------------------------------------
>> > 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
>> > Wicket-user@lists.sourceforge.net
>> > 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
>> Wicket-user@lists.sourceforge.net
>> 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
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Fwd%3A-Re%3A--%3Chtml-wicket%3Aid%3D%22html%22%3E----CSS--tf3963106.html#a11270955
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to