You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by jamess_jack <ja...@yahoo.com> on 2012/06/12 01:25:59 UTC

Re: Howto include custum meta tags?

Hi,

I am also working on adding meta tags on the page.

How did you accomplished it ? 

Thanks,
Bhavin

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Howto-include-custum-meta-tags-tp2389216p5713784.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Howto include custum meta tags?

Posted by Howard Lewis Ship <hl...@gmail.com>.
Tapestry 4 ...that's vaguely familiar.

One of the changes in 5 was to get away from the necessity of the Shell
component, which limits your ability to directly add tags to the <head>
element. However, there's a parameter on Shell to allow you to set
arbitrary meta tags.

On Wed, Jun 13, 2012 at 4:01 PM, jamess_jack <ja...@yahoo.com> wrote:

>
> Thanks for the reply. but I am newbie and I don't have understanding about
> the layout.
>
> I am using Tapestry 4.
>
> so, there is one html file and one related java class.
>
> I think I can do something in PageBeginRender( PageEvent event) method
> right
> ?
>
> if so how can I get the head tag and append the meta elements ?
>
> OR is there a different way ?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Howto-include-custum-meta-tags-tp2389216p5713860.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Re: Howto include custum meta tags?

Posted by jamess_jack <ja...@yahoo.com>.
Thanks for the reply. but I am newbie and I don't have understanding about
the layout.

I am using Tapestry 4. 

so, there is one html file and one related java class.

I think I can do something in PageBeginRender( PageEvent event) method right
? 

if so how can I get the head tag and append the meta elements ? 

OR is there a different way ?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Howto-include-custum-meta-tags-tp2389216p5713860.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Howto include custum meta tags?

Posted by Howard Lewis Ship <hl...@gmail.com>.
What renders the <head> tag in your application?  Probably your
applications' version of the Layout component. Great, go to that
template and add <meta> tags.  Done.

On Mon, Jun 11, 2012 at 4:25 PM, jamess_jack <ja...@yahoo.com> wrote:
> Hi,
>
> I am also working on adding meta tags on the page.
>
> How did you accomplished it ?
>
> Thanks,
> Bhavin
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Howto-include-custum-meta-tags-tp2389216p5713784.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org