can't you just use javascriptsupport to require and invoke your js module
function?
--
Chris
On Thu, Nov 13, 2014 at 6:34 AM, Geoff Callender <
geoff.callender.jumpst...@gmail.com> wrote:
> Have you had a look at these two:
>
>
> http://jumpstart.doublenegative.com.au/jumpstart7/examples/javasc
oh ok, so hard code the meta-inf/assets part -- but this won't use the
checksum cache key - which i suppose is ok since it isn't updated often.
cheers.
On 13/11/2014 4:46 PM, Geoff Callender wrote:
public class YourJavaScriptStack implements JavaScriptStack {
private final AssetSource
public class YourJavaScriptStack implements JavaScriptStack {
private final AssetSource assetSource;
public YourJavaScriptStack(final AssetSource assetSource) {
this.assetSource = assetSource;
}
// etc
and when you set up a StyleSheetLink, the ass
Have you had a look at these two:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/modal/1
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/reusablemodal/1
Do they fit your scenario?
On 13 Nov 2014, at 3:40 pm, Paul Stanton wrote:
> H
Hi all,
I am trying to include some non-requirejs resources in the most
recommended way. In this case, a javascript package which requires some css.
From what I can tell the recommended approach is to 'shim' it in from
the location "META-INF/assets", which I've done
public static void
Hi Geoff,
I have found your examples invaluable in learning some of the basics of
this (and other) concepts. I can't thank you enough
.. the only thing I can see is missing currently is the example I
asked about in the previous mail:
Basically, how do I interact with a js module instance a
IMHO, the JavaScript changes in T5.4 are just amazing. For the first time ever
I have found myself writing significant JavaScript that worked the very first
time it was run! I think it's due to the enforced modularity combined with the
way that RequireJS making modularising oh so easy. In a comp
Thank you both of you for your responses ... I am learning a lot and
think I'm close to what I need to convert at least some of my work.
However I am still stumbling on this one use case which can be summed up
by the following question:
"How do I refer back to an object which was created and
Well, let me try to answer as well. I just rewrote one, simple old school
component to new T5.4, perhaps that's one good data point. I find that the
biggest difference is in attaching the event handlers and in the
initialization, much else is the same. Objects are overrated for data
encapsulation,
On Wed, 12 Nov 2014 19:08:44 -0200, Paul Stanton
wrote:
How do I execute some javascript in the render phase of a component
which creates an object and then refer to that object when handling an
async event for the same component?
It seems you want to invoke a page or component method fr
Or try this simple question:
How do I execute some javascript in the render phase of a component
which creates an object and then refer to that object when handling an
async event for the same component?
Please excuse me if this is documented somewhere, I cannot find it.
On 13/11/2014 7:41 A
On Wed, 12 Nov 2014 18:41:48 -0200, Paul Stanton
wrote:
Hi Thiago,
Hi!
Do you think you could put aside the dissection of my question and
defence of position and just answer the question to be helpful?
Your questions were vague, so I couldn't provide a good answer.
I am not trying to
Hi Thiago,
Firstly thanks for the reply.
Do you think you could put aside the dissection of my question and
defence of position and just answer the question to be helpful?
I am not trying to start an idealogical conversation or criticise anyone
or any way of thinking but would love for you t
Thanks to the enthusiastic, borderline pestering community :), yet another
tynamo module, this time tynamo-federatedaccounts 0.5.0, gets an upgrade to
T5.4! Use it before the code expires, see
http://tynamo.org/tynamo-federatedaccounts+guide and code at
https://github.com/tynamo/tynamo-federatedacc
Looks nice, congrats!
Kalle
On Wed, Nov 12, 2014 at 9:27 AM, Felix Scheffer
wrote:
> Hi all,
>
> I'm pleased to announce the release of arras-components and arras-cms.
>
> https://github.com/fscheffer/arras/
>
> *Arras-components* is set of components for Tapestry 5.4 (based on beta
> 22).
> Cu
Hi all,
I'm pleased to announce the release of arras-components and arras-cms.
https://github.com/fscheffer/arras/
*Arras-components* is set of components for Tapestry 5.4 (based on beta
22).
Currently the following components are part of the project:
TabGroup, Dropdown, Lightbox, DataTable, Ico
So I was able to get around this issue with the following code.
public String getPageLink(String context) {
Link link =
linkSource.createPageRenderLinkWithContext(SomeClass.class, context);
for(String param : link.getParameterNames()) {
link.removeParameter(param);
Hi guys,
I'm trying to get the form fragment mixin working, but the fragment is not
hidden when the page loads, nor does anything change as i check or uncheck
the checkbox. here is the relevant part of the tml:
Trifurcation
On Wed, 12 Nov 2014 09:13:43 -0200, Paul Stanton
wrote:
Hi,
Hi!
so like many developers (i'm guessing) I'm not quite up to speed with
all these new javascript frameworks: requirejs, closure, etc etc
Require.js is actually used by Tapestry 5.4. I'm not sure what you mean by
Closure (t
Hi,
so like many developers (i'm guessing) I'm not quite up to speed with
all these new javascript frameworks: requirejs, closure, etc etc and to
be honest I really didn't see a problem with the namespace model of the
past. I'm not open to learning but it seems like a paradigm far removed
fro
20 matches
Mail list logo