How do I @Import a core css library?

2013-09-12 Thread George Christman
Hello, I'm using t5.4.20 and I'm working on building a custom autocomplete component and I'm looking to import the autocomplete.css in the core. Does anybody know how to access this library?

Re: uninitialized proxy passed to save()

2013-09-12 Thread Jeremy Villalobos
Thanks. I found this post that solve the problem. http://stackoverflow.com/questions/1390008/delete-a-hibernate-entity-with-tapestry5-gives-a-different-object-with-the-sa Using @Persist( "entity" ) Persists the hibernate object when the input comes back to the user. On Thu, Sep 12, 2013 at 9:12

Re: [ANN] tapestry-wymeditor for T5.4 released (and tapestry-url-rewriter news)

2013-09-12 Thread Lenny Primak
That's fantastic. Thanks! On Sep 12, 2013, at 12:01 PM, "Thiago H de Paula Figueiredo" wrote: > Hi! > > I've just released an WYMeditor [1] integration for Tapestry 5.4. It's > sources are on https://github.com/thiagohp/tapestry-wymeditor and its 0.0.1 > JAR is on its way to the Maven Centra

Re: NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread Thiago H de Paula Figueiredo
On Thu, 12 Sep 2013 15:16:41 -0300, ANDRE Christophe wrote: Hi, Hi! Your code is missing that part that provides the value for myObjects and what Tapestry version you're using. In addition, you seem to be only setting the model field when rendering the whole Grid. Why don't you remov

Re: NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread Boris Horvat
You seem to have a few extra spaces, not sure if that is your problem but still t:zone=" myZone " ajaxResponseRenderer.addRender("myZone ", myZone.getBody()); @OnEvent(value="success", component = " myForm ") On Thu, Sep 12, 2013 at 8:16 PM, ANDRE Christophe < christophe.and...@docapost-bpo.co

[ANN] tapestry-wymeditor for T5.4 released (and tapestry-url-rewriter news)

2013-09-12 Thread Thiago H de Paula Figueiredo
Hi! I've just released an WYMeditor [1] integration for Tapestry 5.4. It's sources are on https://github.com/thiagohp/tapestry-wymeditor and its 0.0.1 JAR is on its way to the Maven Central Repository. To use it, just add its dependency to your build tool of choice [1] and add t:mixins="w

NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread ANDRE Christophe
Hi, I have the following zone with table inside : ... There is nothing And the following form :

Re: Tapestry Server Push/Web Socket/Comet implementation

2013-09-12 Thread Lance Java
It depends on how you want to use it. If you just simply want external services to push JSON to the client and then write a whole lot of javascript to update the DOM then that's fine. With tapestry-cometd I wanted to the option to write ZERO javascript by leveraging tapestry component events and t

Re: [5.4.20] injected-uploader module require.js 404

2013-09-12 Thread Massimo Lusetti
On Thu, Sep 12, 2013 at 5:10 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: >> > AFAIK, the Upload component from tapestry-upload was never supposed to > work inside zones or AJAX. > > Yes, that's a thing I want to fix since one year ago or more. Cheers -- Massimo Lusetti

Re: [5.4.20] injected-uploader module require.js 404

2013-09-12 Thread Thiago H de Paula Figueiredo
On Thu, 12 Sep 2013 11:58:39 -0300, Peter Hvass wrote: Hello, Hi! To reproduce do something like; And then update the zone. AFAIK, the Upload component from tapestry-upload was never supposed to work inside zones or AJAX. -- Thiago H. de Paula Figueiredo --

Re: Tapestry Server Push/Web Socket/Comet implementation

2013-09-12 Thread Norman Franke
I've decided to start from scratch since there are lots of concepts to map. It was pretty trivial to get Tapestry to delegate to the Atmosphere servlet (or even the MeteorServlet) like tapestry-cometd does. That seems to work really well, so thanks for that! Next I wanted to be able to @Inject

[5.4.20] injected-uploader module require.js 404

2013-09-12 Thread Peter Hvass
Hello, Getting a requirejs 404 for module t5/core/injected-uploader; anyone else noticed this? To reproduce do something like; And then update the zone. Thanks! Peter

VS: Eclipse Tapestry5 Plugin update

2013-09-12 Thread Ville Virtanen
Got the chance to try now, but I still get the same error? Could someone else try so that I know if it's something in my setup? Ville Ps. See the error I get in http://i40.tinypic.com/s629mp.png Pps. Running Kepler with latest updates. -Alkuperäinen viesti- Lähettäjä: Dmitry G

5.4 META-INF asset for dynamic template question

2013-09-12 Thread Barry Books
I have a component that uses a dynamic template. The code is @Parameter @Property *private* Asset template; @Inject @Path("CartItemTemplate.tml") *private* Asset defaultTemplate; @BeginRender *void* beginRender() { *if* ( template == *null* ) { template = defaultTemplate; } } With 5

RE: Zone display when update after Ajax call

2013-09-12 Thread ANDRE Christophe
Thanks for the fast answer! That was it! -Message d'origine- De : Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi 12 septembre 2013 15:10 À : Tapestry users Objet : Re: Zone display when update after Ajax call On Thu, 12 Sep 2013 09:56:25 -0300, ANDRE Christophe

Re: Script Error 5.4.20

2013-09-12 Thread George Christman
Hi Howard, my custom autocomplete was built around the old version of the typeahead script. Anyhow, I'm trying to update my script to work with the new typeahead libarary, but running into a little problem. Considering you just finished up building the new autocomplete, perhaps it may still be fres

Re: uninitialized proxy passed to save()

2013-09-12 Thread Lance Java
I think the issue is because mOrder is not connected to the hibernate session. It looks like you are only saving the entity when the user clicks "accept". I'm guessing that at some stage before you are submitting a form and storing mOrder on the HttpSession? If I were you, I'd try to remove HttpS

Re: Zone display when update after Ajax call

2013-09-12 Thread Thiago H de Paula Figueiredo
On Thu, 12 Sep 2013 09:56:25 -0300, ANDRE Christophe wrote: Hi, Hi! ajaxResponseRenderer.addRender("myZone ", myZone); Try this instead: ajaxResponseRenderer.addRender("myZone ", myZone.getBody()); Notice that, instead of passing the whole zone, you pass its body. Sometimes what y

Re: uninitialized proxy passed to save()

2013-09-12 Thread Thiago H de Paula Figueiredo
On Thu, 12 Sep 2013 09:54:31 -0300, Jeremy Villalobos wrote: Object onActionFromAccept(){ mOrder.Status = TrasactionSatus.Accepted; session.save(mOrder); //deduct the volume from the biomass product return mOrderAccepted; } When I press accept action link, I get the error: uninitialized prox

Zone display when update after Ajax call

2013-09-12 Thread ANDRE Christophe
Hi, I have the following zone : ... And the following form : After submitting the form like this in javascript : document.getElementById(' submitValueId ').click(); And updating the zone on the server like

uninitialized proxy passed to save()

2013-09-12 Thread Jeremy Villalobos
I have a simple Buy/Sell prototype. The seller accepts or rejects an offer. @Property @Persist ProductTransaction mOrder; @InjectPage OrderCanceled mOrderCanceled; @InjectPage OrderAccepted mOrderAccepted; @Inject Session session; Object onActionFromAccept(){ mOrder.Status = TrasactionSatus.A

RE: move tml and properties files into coresponding packges where the java files are

2013-09-12 Thread Ben Titmarsh
If you are using Eclipse then CTRL-SHIFT-R is your friend. This recently released plugin is even more convenient. It allows you to switch been class and template (even if one of them isnt open) at the press of a button: https://github.com/anjlab/eclipse-tapestry5-plugin > Date: Wed, 11 Sep