Re: Is it possible to Import external sources

2013-05-28 Thread Bård Magnus Kvalheim
It does not come out of the box. But it is possible with little effort.

You need to make an assetfactory with friends (Resource+asset).

Check: http://osdir.com/ml/users-tapestry-apache/2009-03/msg00937.html

Would then be like this: @Import(stylesheet = {uri:
http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,700,300
})

cheers
Magnus


On Tue, May 28, 2013 at 8:57 PM, Boris Horvat horvat.z.bo...@gmail.comwrote:

 I have tried

 @Import(stylesheet = {

 http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,700,300
 }

 but no luck, is this possible or should I add it to html directly?

 --
 Sincerely
 *Boris Horvat*



Re: Is it possible to Import external sources

2013-05-28 Thread Boris Horvat
sweat. tnx I will probably create something like this then.

Question for those that are part of tapestry development. Do you see reason
to include something like this in Tapestry?

cheers


On Tue, May 28, 2013 at 11:34 PM, Bård Magnus Kvalheim
mag...@kvalheim.euwrote:

 It does not come out of the box. But it is possible with little effort.

 You need to make an assetfactory with friends (Resource+asset).

 Check: http://osdir.com/ml/users-tapestry-apache/2009-03/msg00937.html

 Would then be like this: @Import(stylesheet = {uri:

 http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,700,300
 })

 cheers
 Magnus


 On Tue, May 28, 2013 at 8:57 PM, Boris Horvat horvat.z.bo...@gmail.com
 wrote:

  I have tried
 
  @Import(stylesheet = {
 
 
 http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,700,300
  }
 
  but no luck, is this possible or should I add it to html directly?
 
  --
  Sincerely
  *Boris Horvat*
 




-- 
Sincerely
*Boris Horvat*