Re: t5: how to use Blackbird?

2009-06-22 Thread Andrew Court

Blackbird use is in the documentation
http://tapestry.apache.org/tapestry5.1/guide/ajax.html under Client-side
Logging




Angelo Chen wrote:
 
 Hi,
 
 cool, this works, is there a way to turn this off in the production mode?
 otherwise we have to remove those Logging.info(you are impossible to see
 this), my users do see this:), anyway it's a nice feature, I like this
 logging thing.
 
 Angelo
 
 
 Ray Fortycoats wrote:
 
 To use the Blackbird logging in Tapestry, you need to use
 'Tapestry.Logging'
 instead of the 'log' prefix
 
 e.g  Tapestry.Logging.info('test');
 
 This is defined in the blackbird.js file in the core Tapestry package.
 
 
 
 On Thu, Jun 18, 2009 at 6:05 AM, Angelo Chen
 angelochen...@yahoo.com.hkwrote:
 

 i did:
 log.info('test')
 but Firebug says: log undefined.


 Thiago H. de Paula Figueiredo wrote:
 
  Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen
  angelochen...@yahoo.com.hk escreveu:
 
  after upgrading my app to T5.1.0.5, I see this blackbird.js in the
  browser,
  how to use this to log some info instead of alert? thanks,
 
  What about the Blackbrid documentation?
  http://www.gscottolson.com/blackbirdjs/
 
  --
  Thiago H. de Paula Figueiredo
  Independent Java consultant, developer, and instructor
  http://www.arsmachina.com.br/thiago
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

 --
 View this message in context:
 http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24086448.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


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


 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24144015.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: t5: how to use Blackbird?

2009-06-19 Thread Ray
To use the Blackbird logging in Tapestry, you need to use 'Tapestry.Logging'
instead of the 'log' prefix

e.g  Tapestry.Logging.info('test');

This is defined in the blackbird.js file in the core Tapestry package.



On Thu, Jun 18, 2009 at 6:05 AM, Angelo Chen angelochen...@yahoo.com.hkwrote:


 i did:
 log.info('test')
 but Firebug says: log undefined.


 Thiago H. de Paula Figueiredo wrote:
 
  Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen
  angelochen...@yahoo.com.hk escreveu:
 
  after upgrading my app to T5.1.0.5, I see this blackbird.js in the
  browser,
  how to use this to log some info instead of alert? thanks,
 
  What about the Blackbrid documentation?
  http://www.gscottolson.com/blackbirdjs/
 
  --
  Thiago H. de Paula Figueiredo
  Independent Java consultant, developer, and instructor
  http://www.arsmachina.com.br/thiago
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

 --
 View this message in context:
 http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24086448.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


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




Re: t5: how to use Blackbird?

2009-06-19 Thread 王刚
so you can define a variable to shorten that statementvar log =
Tapestry.Logging;


On Fri, Jun 19, 2009 at 4:43 PM, Ray fortyco...@gmail.com wrote:

 To use the Blackbird logging in Tapestry, you need to use
 'Tapestry.Logging'
 instead of the 'log' prefix

 e.g  Tapestry.Logging.info('test');

 This is defined in the blackbird.js file in the core Tapestry package.



 On Thu, Jun 18, 2009 at 6:05 AM, Angelo Chen angelochen...@yahoo.com.hk
 wrote:

 
  i did:
  log.info('test')
  but Firebug says: log undefined.
 
 
  Thiago H. de Paula Figueiredo wrote:
  
   Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen
   angelochen...@yahoo.com.hk escreveu:
  
   after upgrading my app to T5.1.0.5, I see this blackbird.js in the
   browser,
   how to use this to log some info instead of alert? thanks,
  
   What about the Blackbrid documentation?
   http://www.gscottolson.com/blackbirdjs/
  
   --
   Thiago H. de Paula Figueiredo
   Independent Java consultant, developer, and instructor
   http://www.arsmachina.com.br/thiago
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
   For additional commands, e-mail: users-h...@tapestry.apache.org
  
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24086448.html
  Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 



Re: t5: how to use Blackbird?

2009-06-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen  
angelochen...@yahoo.com.hk escreveu:


after upgrading my app to T5.1.0.5, I see this blackbird.js in the  
browser,

how to use this to log some info instead of alert? thanks,


What about the Blackbrid documentation?  
http://www.gscottolson.com/blackbirdjs/


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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



Re: t5: how to use Blackbird?

2009-06-17 Thread Angelo Chen

i did:
log.info('test')
but Firebug says: log undefined.


Thiago H. de Paula Figueiredo wrote:
 
 Em Wed, 17 Jun 2009 23:15:17 -0300, Angelo Chen  
 angelochen...@yahoo.com.hk escreveu:
 
 after upgrading my app to T5.1.0.5, I see this blackbird.js in the  
 browser,
 how to use this to log some info instead of alert? thanks,
 
 What about the Blackbrid documentation?  
 http://www.gscottolson.com/blackbirdjs/
 
 -- 
 Thiago H. de Paula Figueiredo
 Independent Java consultant, developer, and instructor
 http://www.arsmachina.com.br/thiago
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-how-to-use-Blackbird--tp24085319p24086448.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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