You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2014/08/07 19:29:32 UTC

svn commit: r1616553 - /wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Author: adelbene
Date: Thu Aug  7 17:29:32 2014
New Revision: 1616553

URL: http://svn.apache.org/r1616553
Log:
Added some documentation on MetaDataHeaderItem. We can wait the new release to regenerate the docs.

Modified:
    wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Modified: wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc?rev=1616553&r1=1616552&r2=1616553&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc (original)
+++ wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc Thu Aug  7 17:29:32 2014
@@ -11,6 +11,8 @@ Header entries are instances of abstract
 * *OnLoadHeaderItem:* the JavaScript code added with this class is executed after the whole page is loaded, external files included. The factory method is @forScript(CharSequence javaScript)@.
 * *PriorityHeaderItem:* it wraps another header item and ensures that it will have the priority over the other items during rendering phase.
 * *StringHeaderItem:* with this class we can add an arbitrary text to the header section. Factory method is @forString(CharSequence string)@.
+* *MetaDataHeaderItem:* starting from version 6.17.0, Wicket provides this class to handle meta informations such as <meta> tags or [canonical link element|http://en.wikipedia.org/wiki/Canonical_link_element]. The available factory methods are @forLinkTag@ and @forMetaTag@ which can be used to create respectively a <link> tag ora a <meta> one. We can add tag attribute to an existing instance of @MetaDataHeaderItem@ with method @addTagAttribute(String attributeName, Object attributeValue)@. See JavaDoc for further details on this class.
+
 
 In the following example our custom component loads a CSS file as a package resource (placed in the same package) and it adds it to header section. 
 



Re: svn commit: r1616553 - /wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Posted by Andrea Del Bene <an...@gmail.com>.
Thank you! :)
> there is a typo
> s/ora/or/
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
> On Thu, Aug 7, 2014 at 7:47 PM, Andrea Del Bene <an...@gmail.com>
> wrote:
>
>> Sorry, I'm not completely sure about what you wanted to point out in your
>> mail :)
>>
>>   On Thu, Aug 7, 2014 at 7:29 PM, <ad...@apache.org> wrote:
>>>   Author: adelbene
>>>> Date: Thu Aug  7 17:29:32 2014
>>>> New Revision: 1616553
>>>>
>>>> URL: http://svn.apache.org/r1616553
>>>> Log:
>>>> Added some documentation on MetaDataHeaderItem. We can wait the new
>>>> release to regenerate the docs.
>>>>
>>>> Modified:
>>>>
>>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>>> guide/resources/resources_4.gdoc
>>>>
>>>> Modified:
>>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>>> guide/resources/resources_4.gdoc
>>>> URL:
>>>> http://svn.apache.org/viewvc/wicket/common/site/trunk/_
>>>> site/guide/guide/src/docs/guide/resources/resources_4.
>>>> gdoc?rev=1616553&r1=1616552&r2=1616553&view=diff
>>>>
>>>> ============================================================
>>>> ==================
>>>> ---
>>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>>> guide/resources/resources_4.gdoc
>>>> (original)
>>>> +++
>>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>>> guide/resources/resources_4.gdoc
>>>> Thu Aug  7 17:29:32 2014
>>>> @@ -11,6 +11,8 @@ Header entries are instances of abstract
>>>>    * *OnLoadHeaderItem:* the JavaScript code added with this class is
>>>> executed after the whole page is loaded, external files included. The
>>>> factory method is @forScript(CharSequence javaScript)@.
>>>>    * *PriorityHeaderItem:* it wraps another header item and ensures that
>>>> it
>>>> will have the priority over the other items during rendering phase.
>>>>    * *StringHeaderItem:* with this class we can add an arbitrary text to
>>>> the
>>>> header section. Factory method is @forString(CharSequence string)@.
>>>> +* *MetaDataHeaderItem:* starting from version 6.17.0, Wicket provides
>>>> this class to handle meta informations such as <meta> tags or [canonical
>>>> link element|http://en.wikipedia.org/wiki/Canonical_link_element]. The
>>>> available factory methods are @forLinkTag@ and @forMetaTag@ which can be
>>>> used to create respectively a <link> tag ora a <meta> one. We can add tag
>>>> attribute to an existing instance of @MetaDataHeaderItem@ with method
>>>> @addTagAttribute(String
>>>>
>>> ora                                          ^^
>>>
>>>
>>>   attributeName, Object attributeValue)@. See JavaDoc for further details
>>>> on
>>>> this class.
>>>> +
>>>>
>>>>    In the following example our custom component loads a CSS file as a
>>>> package resource (placed in the same package) and it adds it to header
>>>> section.
>>>>
>>>>
>>>>
>>>>
>>>>


Re: svn commit: r1616553 - /wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Posted by Martin Grigorov <mg...@apache.org>.
there is a typo
s/ora/or/

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Thu, Aug 7, 2014 at 7:47 PM, Andrea Del Bene <an...@gmail.com>
wrote:

> Sorry, I'm not completely sure about what you wanted to point out in your
> mail :)
>
>  On Thu, Aug 7, 2014 at 7:29 PM, <ad...@apache.org> wrote:
>>
>>  Author: adelbene
>>> Date: Thu Aug  7 17:29:32 2014
>>> New Revision: 1616553
>>>
>>> URL: http://svn.apache.org/r1616553
>>> Log:
>>> Added some documentation on MetaDataHeaderItem. We can wait the new
>>> release to regenerate the docs.
>>>
>>> Modified:
>>>
>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>> guide/resources/resources_4.gdoc
>>>
>>> Modified:
>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>> guide/resources/resources_4.gdoc
>>> URL:
>>> http://svn.apache.org/viewvc/wicket/common/site/trunk/_
>>> site/guide/guide/src/docs/guide/resources/resources_4.
>>> gdoc?rev=1616553&r1=1616552&r2=1616553&view=diff
>>>
>>> ============================================================
>>> ==================
>>> ---
>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>> guide/resources/resources_4.gdoc
>>> (original)
>>> +++
>>> wicket/common/site/trunk/_site/guide/guide/src/docs/
>>> guide/resources/resources_4.gdoc
>>> Thu Aug  7 17:29:32 2014
>>> @@ -11,6 +11,8 @@ Header entries are instances of abstract
>>>   * *OnLoadHeaderItem:* the JavaScript code added with this class is
>>> executed after the whole page is loaded, external files included. The
>>> factory method is @forScript(CharSequence javaScript)@.
>>>   * *PriorityHeaderItem:* it wraps another header item and ensures that
>>> it
>>> will have the priority over the other items during rendering phase.
>>>   * *StringHeaderItem:* with this class we can add an arbitrary text to
>>> the
>>> header section. Factory method is @forString(CharSequence string)@.
>>> +* *MetaDataHeaderItem:* starting from version 6.17.0, Wicket provides
>>> this class to handle meta informations such as <meta> tags or [canonical
>>> link element|http://en.wikipedia.org/wiki/Canonical_link_element]. The
>>> available factory methods are @forLinkTag@ and @forMetaTag@ which can be
>>> used to create respectively a <link> tag ora a <meta> one. We can add tag
>>> attribute to an existing instance of @MetaDataHeaderItem@ with method
>>> @addTagAttribute(String
>>>
>>
>> ora                                          ^^
>>
>>
>>  attributeName, Object attributeValue)@. See JavaDoc for further details
>>> on
>>> this class.
>>> +
>>>
>>>   In the following example our custom component loads a CSS file as a
>>> package resource (placed in the same package) and it adds it to header
>>> section.
>>>
>>>
>>>
>>>
>>>
>

Re: svn commit: r1616553 - /wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Posted by Andrea Del Bene <an...@gmail.com>.
Sorry, I'm not completely sure about what you wanted to point out in 
your mail :)
> On Thu, Aug 7, 2014 at 7:29 PM, <ad...@apache.org> wrote:
>
>> Author: adelbene
>> Date: Thu Aug  7 17:29:32 2014
>> New Revision: 1616553
>>
>> URL: http://svn.apache.org/r1616553
>> Log:
>> Added some documentation on MetaDataHeaderItem. We can wait the new
>> release to regenerate the docs.
>>
>> Modified:
>>
>> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
>>
>> Modified:
>> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
>> URL:
>> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc?rev=1616553&r1=1616552&r2=1616553&view=diff
>>
>> ==============================================================================
>> ---
>> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
>> (original)
>> +++
>> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
>> Thu Aug  7 17:29:32 2014
>> @@ -11,6 +11,8 @@ Header entries are instances of abstract
>>   * *OnLoadHeaderItem:* the JavaScript code added with this class is
>> executed after the whole page is loaded, external files included. The
>> factory method is @forScript(CharSequence javaScript)@.
>>   * *PriorityHeaderItem:* it wraps another header item and ensures that it
>> will have the priority over the other items during rendering phase.
>>   * *StringHeaderItem:* with this class we can add an arbitrary text to the
>> header section. Factory method is @forString(CharSequence string)@.
>> +* *MetaDataHeaderItem:* starting from version 6.17.0, Wicket provides
>> this class to handle meta informations such as <meta> tags or [canonical
>> link element|http://en.wikipedia.org/wiki/Canonical_link_element]. The
>> available factory methods are @forLinkTag@ and @forMetaTag@ which can be
>> used to create respectively a <link> tag ora a <meta> one. We can add tag
>> attribute to an existing instance of @MetaDataHeaderItem@ with method
>> @addTagAttribute(String
>
> ora                                          ^^
>
>
>> attributeName, Object attributeValue)@. See JavaDoc for further details on
>> this class.
>> +
>>
>>   In the following example our custom component loads a CSS file as a
>> package resource (placed in the same package) and it adds it to header
>> section.
>>
>>
>>
>>


Re: svn commit: r1616553 - /wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc

Posted by Martin Grigorov <mg...@apache.org>.
On Thu, Aug 7, 2014 at 7:29 PM, <ad...@apache.org> wrote:

> Author: adelbene
> Date: Thu Aug  7 17:29:32 2014
> New Revision: 1616553
>
> URL: http://svn.apache.org/r1616553
> Log:
> Added some documentation on MetaDataHeaderItem. We can wait the new
> release to regenerate the docs.
>
> Modified:
>
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
>
> Modified:
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc?rev=1616553&r1=1616552&r2=1616553&view=diff
>
> ==============================================================================
> ---
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
> (original)
> +++
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/resources/resources_4.gdoc
> Thu Aug  7 17:29:32 2014
> @@ -11,6 +11,8 @@ Header entries are instances of abstract
>  * *OnLoadHeaderItem:* the JavaScript code added with this class is
> executed after the whole page is loaded, external files included. The
> factory method is @forScript(CharSequence javaScript)@.
>  * *PriorityHeaderItem:* it wraps another header item and ensures that it
> will have the priority over the other items during rendering phase.
>  * *StringHeaderItem:* with this class we can add an arbitrary text to the
> header section. Factory method is @forString(CharSequence string)@.
> +* *MetaDataHeaderItem:* starting from version 6.17.0, Wicket provides
> this class to handle meta informations such as <meta> tags or [canonical
> link element|http://en.wikipedia.org/wiki/Canonical_link_element]. The
> available factory methods are @forLinkTag@ and @forMetaTag@ which can be
> used to create respectively a <link> tag ora a <meta> one. We can add tag
> attribute to an existing instance of @MetaDataHeaderItem@ with method
> @addTagAttribute(String


ora                                          ^^


> attributeName, Object attributeValue)@. See JavaDoc for further details on
> this class.
> +
>
>  In the following example our custom component loads a CSS file as a
> package resource (placed in the same package) and it adds it to header
> section.
>
>
>
>