We had similar discussion recently:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/How-to-pass-a-javascript-function-in-tapestry-mixin-td5725837.html
On Friday, March 21, 2014, john c wrote:
> First, I am using the latest, Tapestry/Tapestry-JQuery versions: 5.3.7 /
> 3.3.7.
First, I am using the latest, Tapestry/Tapestry-JQuery versions: 5.3.7 / 3.3.7.
I created draganddrop.js and put it under webapp/js. It has a simple function:
function aaa() {
alert();
}
In Java, I added the code like this:
@Inject
private AssetSource as;
@Inject
private JavaScriptSupport j
Great news! Having the 'brand name' of github has also quelled some fears
about code adoption among my software engineers who are less familiar with
open source repos. BTW, our Graphene software library is making use of
Tynamo, even more so once we switch to 5.4. Thanks Kalle!!
On Thu, Mar 20
So far it's been really cheap. 59 dollars for the month and im running a
second rds to host my old database. Keep in mind im still under the free
tier, but realisticly where are you going to get this kind of support or
hardware this cheap. No reserve instances yet.
I've also been hosting an old 5
On Thu, Mar 20, 2014 at 1:34 PM, George Christman
wrote:
> Thanks Guys, I'm glad you like it and yes I like this one a lot better than
> my old one, so much simpler in 5.4.
> >mate, she's a super fast website and i've gotta say looks better than the
> >previous version.
> You would probably be ama
Thanks Guys, I'm glad you like it and yes I like this one a lot better than
my old one, so much simpler in 5.4.
>mate, she's a super fast website and i've gotta say looks better than the
>previous version.
You would probably be amazed to know it's being hosted with amazons elastic
beanstalk on a
GitHub is cool and we so desperately want to be cool too that we decided
Tynamo needs to be there as well. In all seriousness, Dragan Sahpaski wrote
up a whizbang script to import all of the Tynamo's SVN history, branches
etc. to a Git repo so it made the move a no-brainer. Thanks Dragan. We
still
Yes, one can hook into the global listeners ( there is a data-ajax-active="
true/false" on as well, guess that also works ), but it is still not
possible to figure out which zones that will be updated, if the spinner
should go into the actual zones... a "global" spinner should be doable
though.
I think this (passing a JavaScript parameter from the server side) is not
recommended anyway. Create this function in some .js file which you
include in your page or component then pass options.put("start", new
JSONLiteral("nameOfTheFunction"));
On Thu, 20 Mar 2014 10:15:05 -0300, john c w
On Thu, 20 Mar 2014 10:08:01 -0300, Chris Poulsen
wrote:
Btw. I do not think that you can get the zone-spinner to work in all
cases... It is possible to update zones programmatically, so you may not
even know which zones that are to be updated until the ajax call returns.
Both Protype and j
Hi,
Flowlogix 1.2.x does not support Tapestry 5.4,
Flowlogix 1.4-SNAPSHOT supports Tapestry 5.4-JQuery combination.
There is also tapestry-5.4 tag
On Mar 20, 2014, at 4:45 AM, Martin Nagl wrote:
> Hi all,
>
> I am trying to implement a "loading" indicator for zone updates in Tapestry
> 5.4. So
Hi,
i still got this issue - some times.
I the source Grid.java i found CachingDataSource. Is there any chance to
set this off.
HIA
Andreas
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
a...@
options.put("start", new JSONLiteral("function() {$(this).hide();}"));
is the right way to pass the function, but it won't work for AJAX requests
in tapestry 5.4.
Could you please tell us what version of tapestry, tapestry-jquery you are
using? And provide the stacktraces so we can debug further.
I think you already answered your own question in your first message:
"events.zone.update".
On Thu, 20 Mar 2014 09:28:13 -0300, Martin Nagl wrote:
In T5.4, the event "t5:zone:did-update" fires only after zone has been
updated, which is too late to add overlay to the zone.
I need to add the
With you can specify the JSONObject params like so:
t:params="params"
In Java I have code like this (snippet):
public JSONObject getParams() {
JSONObject options = new JSONObject();
..
..
options.put("start", "function() {$(this).hide();}");
return options;
}
This "start" option does no
Btw. I do not think that you can get the zone-spinner to work in all
cases... It is possible to update zones programmatically, so you may not
even know which zones that are to be updated until the ajax call returns.
On Thu, Mar 20, 2014 at 1:40 PM, Chris Poulsen wrote:
> Did you try the "willUpd
Did you try the "willUpdate" event? (
http://tapestry.apache.org/5.4/coffeescript/events.html#section-16 )
On Thu, Mar 20, 2014 at 1:28 PM, Martin Nagl wrote:
> In T5.4, the event "t5:zone:did-update" fires only after zone has been
> updated, which is too late to add overlay to the zone.
>
> I
That worked perfectly, Chris. Thanks!
mrg
On Thu, Mar 20, 2014 at 8:19 AM, Chris Poulsen wrote:
> We do something like this for our T5.4 stack:
>
> @Inject
> @Path( "classpath:META-INF/assets/css/font-awesome.css" )
> private Asset fontAwesomeStylesheet;
>
> ...
>
> public List g
In T5.4, the event "t5:zone:did-update" fires only after zone has been
updated, which is too late to add overlay to the zone.
I need to add the zone overlay just after user clicks on a ajax-enabled
EventLink / ActionLink (including paging and sorting links in Grid), or
just after user submits an a
We do something like this for our T5.4 stack:
@Inject
@Path( "classpath:META-INF/assets/css/font-awesome.css" )
private Asset fontAwesomeStylesheet;
...
public List getStylesheets()
{
List stylesheetLinks = new
ArrayList();
stylesheetLinks.add( new StylesheetLin
I tried with getClasspathAsset() and 5.4B3, neither of which found the CSS
under src/main/resources. Is this a bug or should I just move the CSS to
src/main/webapp?
Thanks,
mrg
On Wed, Mar 19, 2014 at 6:49 PM, Michael Gentry wrote:
> On Wed, Mar 19, 2014 at 5:56 PM, Thiago H de Paula Figueir
It's been a while but i'have finally managed to update our Weaves Component
module for Tapestry.
This new version (3.0.0) has many improvements over the old one and has new
features like:
- Bootstrap support
- JQuery
- Lots of (new) useable components
It's build and runs with Tapestry 5.3.7.
Hi users,
GSoC 2014 has been fired and is your opportunity to use it for working on
Tapestry5.
I've submitted a proposal as a mentor but you're free to submit yours, I
even encourage you about it.
I've been working on something different then tapestry5 lately and this
situation has given me the
You can try the following: $("#zone").on("t5:zone:did-update",
addZoneOverlay);
On 20.03.2014 09:45, Martin Nagl wrote:
Hi all,
I am trying to implement a "loading" indicator for zone updates in Tapestry
5.4. Something like this, but for T5.4:
http://code.google.com/p/flowlogix/source/browse/t
Hi all,
I am trying to implement a "loading" indicator for zone updates in Tapestry
5.4. Something like this, but for T5.4:
http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/spinner-zone-overlay.js
In T5.3 you can use:
$(document.body).
25 matches
Mail list logo