You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kath Ede <ta...@gmx.at> on 2010/04/09 11:35:06 UTC

using other namespaces

how is it possible to integrate other namespaces than the tapestry-ns (t:) in tapestry5?

we have this:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:fb="http://www.facebook.com/2008/fbml" >

and in out page we want to include this:
<fb:login-button size="medium" background="white" length="long" onlogin='window.location="http://apps.facebook.com/asdf";'></fb:login-button>

when we try to run that, we get an exception.

has anybody successfully integrated a facebook-connect button into a tapestry project?

thanks in advance
-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser

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


Re: using other namespaces

Posted by Alejandro Scandroli <al...@gmail.com>.
That's very much what I have, and it works for me.
eg:

Layout.tml:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://www.facebook.com/2008/fbml"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
	  xmlns:p="tapestry:parameter">

Index.tml
<?xml version="1.0" encoding="utf-8"?>
<t:layout title="literal:T2G!"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
		  xmlns:p="tapestry:parameter"
		  xmlns:fb="http://www.facebook.com/2008/fbml">


Alejandro.

On Fri, Apr 9, 2010 at 11:35 AM, Kath Ede <ta...@gmx.at> wrote:
> how is it possible to integrate other namespaces than the tapestry-ns (t:) in tapestry5?
>
> we have this:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:fb="http://www.facebook.com/2008/fbml" >
>
> and in out page we want to include this:
> <fb:login-button size="medium" background="white" length="long" onlogin='window.location="http://apps.facebook.com/asdf";'></fb:login-button>
>
> when we try to run that, we get an exception.
>
> has anybody successfully integrated a facebook-connect button into a tapestry project?
>
> thanks in advance
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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