Re: How to use font awesome with Tapestry

2014-12-18 Thread George Christman
Hi Daniel, how do you have your assets setup? I added font-awesome-min.css to my META-INF/assets/css I'm then importing it. @Import(stylesheet = {"css/font-awesome.min.css"} I added a directory called fonts to assets like so META-INF/assets/fonts/.. all the font files example fontawesome-webfon

Re: How to use font awesome with Tapestry

2014-12-18 Thread Daniel Jue
Just to be sure, are you seeing the file correctly in the deployment directory of your application container? I am using fontawesome as well in my T5 app, and, well, it's awesome! Never ran into issues with that file though. Dan On Fri, Dec 19, 2014 at 12:52 AM, George Christman wrote: > > Hi g

How to use font awesome with Tapestry

2014-12-18 Thread George Christman
Hi guys, I'm trying to use font-awesome with tapestry. I'm getting the following error, Unable to locate asset 'classpath:META-INF/assets/fonts/fontawesome-webfont.eot' (the file does not exist). I have placed the fonts in the fonts directory within assets, any thoughts on how to get this to work

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Geoff Callender
On 18 Dec 2014, at 11:02 pm, Thiago H de Paula Figueiredo wrote: > On Thu, 18 Dec 2014 01:21:03 -0200, Geoff Callender > wrote: > >> The starting point of the problem is that Form has a copy of its rendered >> state in a hidden field, and it depends on Form knowing what it rendered. > > I'm

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Muhammad Gelbana
Thank you all for the details. About the FormInjector , would someone please provide an explanation to this component ? I search for examples but I couldn't find any clear ones. It says that it gives t

Re: Tapestry and Clojure

2014-12-18 Thread Ilya Obshadko
One more question regarding ObjectLocator. Turns out it cannot resolve services like Logger, complaining that no service implements its interface. Could you suggest how to solve it? On Thu, Dec 18, 2014 at 11:20 PM, Ilya Obshadko wrote: > So, my solution for this is actually quite simple: > > (n

Re: Tapestry and Clojure

2014-12-18 Thread Ilya Obshadko
So, my solution for this is actually quite simple: (ns com.xdance.tapestry.serviceregistry (:import (org.apache.tapestry5.ioc ObjectLocator))) (def ^:dynamic ^ObjectLocator *tapestry-registry-ref* (promise)) (defn init-registry [^ObjectLocator registry] "Must be called during service ini

Re: Tapestry and Clojure

2014-12-18 Thread Ilya Obshadko
Thanks Howard, that's making a lot of sense. However my initial though was about injecting Clojure globals (specifically, one global containing service registry) during the call to "require" IFn. I still couldn't find any ways to manipulate initial Clojure environment, although there are obvious w

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Thiago H de Paula Figueiredo
On Thu, 18 Dec 2014 01:21:03 -0200, Geoff Callender wrote: The starting point of the problem is that Form has a copy of its rendered state in a hidden field, and it depends on Form knowing what it rendered. I'm afraid you got this wrong, Geoff. Tapestry never stores the rendering of an