Re: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
After reading your last comment that made you unhappy ;) I checked it out Yeah - putting assets in ${context} is going to be removed in tapestry-5.5 and is there for backwards compat for 5.3 So after reading [1] & [2] & [3] and a few failed attempts moved bootstrap main dir from src/m

RE: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread nhhockeyplayer nashua
Well I got my app to launch. Not sure if its correct... i thought everything is suppose to go into the META-INF/assets directory according to the new documentation anyway I had to eliminate @Contribute(ModuleManager.class) public static void setupBaseModules {...} altogether... t-5.4-b

Re: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
The transition functions also live in bootstrap.js - something I was happy to not know before :( you'll have to do more testing on the non-tapestry side - i've cobbled together what works for me, un-optimized, i.e. full dist. so ... when you run an app in node and browse to it, is transiti

RE: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread nhhockeyplayer nashua
my last reply bothers me though... transition.js is built into bootstrap.js so I assume there will be a conflict somehow ?

RE: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread nhhockeyplayer nashua
Thanks Chris for your gracious help its really appreciated. YEAH... there is an upper dir in my node platform housing the js file Transition.js for bootstrap. I didnt know if it was touchable ornot...it was not built into the dist dir And I am not sure if they are usable as-is or if they were

RE: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread nhhockeyplayer nashua
then I added this @Contribute(ModuleManager.class) public static void setupBaseModules(MappedConfiguration configuration, @Path("context:assets/js/bootstrap.min.js") Resource bootstrap, @Path("context:assets/js/jquery.min.js") Resource jquery ) { confi

Re: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
hi ken, short answer: download transition.js into your js directory. does your custom distribution contain the relevant js? test your distribution against plain html/css/js from http://getbootstrap.com/getting-started/#examples unabridged: I just looked in _my_ src/main/webapp/assets/boo

t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread nhhockeyplayer nashua
Hi Folks, I installed node.js, and installed grunt bower and npm and all that build platform for javascript runs fine... I have been using NPM to checkout jquery, angular and bootstrap out of gitgub and build them. As a result typically I end up with a dist directory housing a CSS fil

Re: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread Chris Mylonas
I always use the override option so I know what version I'm using and like Chris said, don't want to be locked into shipped version. AppModule has configuration.add(SymbolConstants.BOOTSTRAP_ROOT, "context:assets/bootstrap"); configuration.add(SymbolConstants.JAVASCRIPT_INFRA

Re: Tapestry Production Mode

2014-10-06 Thread Thiago H de Paula Figueiredo
On Mon, 06 Oct 2014 06:05:25 -0300, akshay wrote: Hi Thiago, Hi! Yes, of course. I will share the solution, but I have one more withstanding problem. In my compiled CSS the image paths are wrong. In my less file the images are referenced with relative path, like @product: url(../imag

Re: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread Chris Poulsen
We use the BOOTSTRAP_ROOT override to use a custom bootstrap build with product specific styling and because we do not want to be locked on to the bootstrap version supplied with tapestry. This has worked well so far. If there are documentation pages mentioning disabling bootstrap as the "recomme

RE: Stitch observe component applied over DB entities

2014-10-06 Thread Name Surname
One thing I am not quite sure about is following. When I pull using db queries, how can it filter itself instantly? Do I need to write some code, or setupRender function does it for me. Lets say I have created one function like following: @Inject private BiznisLogika biznisLogika;

Re: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread Geoff Callender
On 6 Oct 2014, at 10:41 pm, nhhockeyplayer nashua wrote: > ok I got control of this now... my login works and home page displays > > having opened up my code for first time since June 2013, I saw I was stomping > out BOOTSTRAP as recommended in the apache tapestry appmodule config page... >

RE: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread nhhockeyplayer nashua
ok I got control of this now... my login works and home page displays having opened up my code for first time since June 2013, I saw I was stomping out BOOTSTRAP as recommended in the apache tapestry appmodule config page... which tells you to do this configuration.add(SymbolConstants.B

Re: Tapestry Production Mode

2014-10-06 Thread akshay
Hi Thiago, Yes, of course. I will share the solution, but I have one more withstanding problem. In my compiled CSS the image paths are wrong. In my less file the images are referenced with relative path, like @product: url(../images/product.svg); and should be (in the compiled CSS) like:- @pr

Re: overriding built-in AJAX error reporting

2014-10-06 Thread Ilya Obshadko
What I can see so far is that AJAX error reporting is hard-coded in exception-frame.js. I can't understand how to override this logic properly. The only option is to create CSS selector div.exception-container iframe { display: none; } and modify div.exception-container position/size (which does l

Re: Stitch observe component applied over DB entities

2014-10-06 Thread Lance Java
You're not really helping yourself here Saying "it doesn't work" won't really get you very far. Have you put a debug breakpoint in? Have you seen a non null date? > Maybe I should declare listaTiketa with @Persist You have a perfectly working example on tapestry stitch doing (almost) exactly