Hi. We are going to be writing a facebook application, and we want to use Tapestry 5. To do so, we have to generate FBML: http://wiki.developers.facebook.com/index.php/FBML
We came hit a pretty big snag, in that it doesn't look like tapestry 5 support namespaces/prefixes. Below you see the tapestry template we are using, and you see the output below it. And we need all of the "fb:" prefixes to stay there, as well as the "xmlns:fb" declaration. Do you have any ideas? I know I can probably create a component for each element, but that would just be a big unmaintainable pain ( there are like 50 right now and the FBML language changes ).. Or is there a simpler way to maintain lots of mostly the same components :( Any other ideas? <fb:fbml xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" xmlns:fb="http://apps.facebook.com/ns/1.0"> <h1>Welcome</h1> <p>Just to prove this is live: </p> <p> The current time is: ${currentTime}. </p> <fb:name uid="1305604"/> <span>[<t:pagelink t:page="Start">refresh</t:pagelink>]</span> </fb:fbml> <fbml> <h1>Welcome</h1> <p>Just to prove this is live: </p> <p> The current time is: Thu Aug 30 13:43:19 PDT 2007. </p> <name uid="1305604"></name> <span>[<a href="/fandom/start" id="pagelink">refresh</a>]</span> </fbml> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
