You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Geoff Callender <ge...@mac.com> on 2007/05/30 13:28:57 UTC

Detecting Tapestry version

What's a simple way in javascript to tell if you're running with 4.0  
vs 4.1?
And how would you do it in Java?

Geoff

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


Re: Detecting Tapestry version

Posted by Geoff Callender <ge...@mac.com>.
Thanks.

On 30/05/2007, at 11:44 PM, Jesse Kuhnert wrote:

> Looking at the javascriptdoc (like javadoc for javascript) linked  
> to from
> here:
>
> http://tapestry.apache.org/tapestry4.1/javascript/index.html
>
> http://tapestry.apache.org/tapestry4.1/jsdoc/index.html
>
> You can find that the tapestry.version property is a global javascript
> reference to the current version of the tapestry client side  
> library you are
> using in string form.
>
> Not sure about the java side.  I think there is a static utility  
> method for
> that off of Tapestry or TapestryUtils.
>
> On 5/30/07, Geoff Callender <ge...@mac.com> wrote:
>>
>> What's a simple way in javascript to tell if you're running with 4.0
>> vs 4.1?
>> And how would you do it in Java?
>>
>> Geoff
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> -- 
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com


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


Re: Detecting Tapestry version

Posted by Jesse Kuhnert <jk...@gmail.com>.
Looking at the javascriptdoc (like javadoc for javascript) linked to from
here:

http://tapestry.apache.org/tapestry4.1/javascript/index.html

http://tapestry.apache.org/tapestry4.1/jsdoc/index.html

You can find that the tapestry.version property is a global javascript
reference to the current version of the tapestry client side library you are
using in string form.

Not sure about the java side.  I think there is a static utility method for
that off of Tapestry or TapestryUtils.

On 5/30/07, Geoff Callender <ge...@mac.com> wrote:
>
> What's a simple way in javascript to tell if you're running with 4.0
> vs 4.1?
> And how would you do it in Java?
>
> Geoff
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com