Dynamic updating the .less file

2014-09-12 Thread akshay
Hi, I am trying to figure out a way, by which I can update the variables defined in the.less files dynamically after a page submit, so that the styling of the page can be altered. I want this modified .less file to be imported into main.less file which gets finally translated to .css file by tape

Re: ajax reload

2014-09-12 Thread Lance Java
You could use the observe mixin here: http://tapestry-stitch.uklance.cloudbees.net/observedemo For example you could observe the 'click' event on a button and send all of the checkbox values with the event.

Re: Tapestry onActivate messes up after submitting a form

2014-09-12 Thread Lance Java
tapestry-hibernate will only create ValueEncoder's for entities that are in the "basepackage.entities" package (configurable). What packages are your entities in? Try @Inject ValueEncoderSource and call getValueEncoder(Scene.class) Does it find a ValueEncoder?

Re: ajax reload

2014-09-12 Thread squallmat .
humm, I really hate coding in javascript ... Is there a way to "fake" Post a form to save the values ? :p 2014-09-12 14:42 GMT+02:00 Thiago H de Paula Figueiredo : > On Fri, 12 Sep 2014 04:44:36 -0300, squallmat . > wrote: > > My data are in a form with many others data, If I submit I will Pos

Re: Tapestry onActivate messes up after submitting a form

2014-09-12 Thread Thiago H de Paula Figueiredo
On Fri, 12 Sep 2014 03:44:00 -0300, Boris Horvat wrote: I suppose I could accept String in the context and then manually load the object...but that just sounds wrong as tapestry should be able to handle this, right? Yes if you have a configured ValueEncoder for each of the Scene, Shot and

Re: ajax reload

2014-09-12 Thread Thiago H de Paula Figueiredo
On Fri, 12 Sep 2014 04:44:36 -0300, squallmat . wrote: My data are in a form with many others data, If I submit I will Post them. What are the other ways to do that ? You wouldn't be able to use EventLink or ActionLink. You'd need to write custom JavaScript to build an AJAX URL with the

T5.3.7 JS clash of prototypejs 1.7 and Google Maps 3.18

2014-09-12 Thread Lukas Ruetz
Hi all, after the last new version of Google Maps (3.18) I've noticed problems and JS-errors on my pages. Finally I found this bug entry which says that this is actually a problem of prototypejs 1.7 https://code.google.com/p/gmaps-api-issues/issues/detail?id=7067 As a workaround I've packed tapes

Re: streamresponse eventlink

2014-09-12 Thread squallmat .
OK, I didn't changed anything in my code, and now the download works... There's is now just the naming problem. 2014-09-12 10:13 GMT+02:00 squallmat . : > another problem, > the page that works is "renaming" my files by adding strange values : > > > original name : 20140509 - Worldline - Stages

Re: streamresponse eventlink

2014-09-12 Thread squallmat .
another problem, the page that works is "renaming" my files by adding strange values : original name : 20140509 - Worldline - Stages 2014 - Rapport Etonnement - v0.3.docx new name : 20140509$0020-$0020Worldline$0020-$0020Stages$00202014$0020-$0020Rapport$0020Etonnement$0020-$0020v0.3.docx It s

Re: streamresponse eventlink

2014-09-12 Thread squallmat .
I receive a file named "false" with a size randomly between 0 Byte and 1.5 MB 2014-09-11 19:40 GMT+02:00 Thiago H de Paula Figueiredo : > On Thu, 11 Sep 2014 14:21:38 -0300, squallmat . > wrote: > > Hi, >> > > Hi! > > I would like to know if there are some problems to get a file by >> streamr

Re: ajax reload

2014-09-12 Thread squallmat .
My data are in a form with many others data, If I submit I will Post them. What are the other ways to do that ? 2014-09-11 19:41 GMT+02:00 Thiago H de Paula Figueiredo : > On Thu, 11 Sep 2014 13:52:50 -0300, squallmat . > wrote: > > I don't submit the form in Ajax request so... >> >> Is there