Re: [5.4] Where to put the require.config?

2015-03-24 Thread Geoff Callender
Instead of debug, can't you just search for "require(" in all js files in the 
subfolders of a-1.0.0/? It's a solution that might not be resilient to new 
versions of "a", but it is a solution.

I think I'm right in saying that none of this would be necessary if we could 
just drop the whole folder, eg. a-1.0.0/, into META-INF/modules/ and shim the 
top level, eg. "a" = "a-1.0.0/a.js", Then all of its "require" operations would 
work. 

So, does anyone know a way to shim items that are inside META-INF/modules/?

On 25 Mar 2015, at 12:12 pm, Rural Hunter  wrote:

> Yes I can do that. But I think it's too much and I need to debug the
> requests to find all those dependencies. This can be a workaround but
> doesn't look like a neat solution. Is it possible to make this happen
> automatically by Tapestry itself?
> 
> 2015-03-24 20:05 GMT+08:00 Geoff Callender <
> geoff.callender.jumpst...@gmail.com>:
> 
>> if you look at the Network view in Chrome's Web Inspector I think you'll
>> find it's trying to GET these:
>> 
>> /yourapp/modules.gz/dep/canvas.js
>> /yourapp/modules.gz/tool/util.js
>> /yourapp/modules.gz/tool/log.js
>> /yourapp/modules.gz/tool/guid.js
>> 
>> It's hoping to find them in META-INF/modules/ but they're not there. The
>> solution is to make it look like they're there by shimming them all! For
>> example:
>> 
>>  public static void contributeModuleManager(
>>  MappedConfiguration configuration,
>>  @Path("/META-INF/assets/a-1.0.0/a.js") Resource a,
>>  @Path("/META-INF/assets/a-1.0.0/dep/canvas.js")
>> Resource depCanvas,
>>  @Path("/META-INF/assets/a-1.0.0/tool/util.js")
>> Resource toolUtil,
>>  ...)
>> 
>>  configuration.add("a", new JavaScriptModuleConfiguration(a));
>>  configuration.add("dep/canvas", new
>> JavaScriptModuleConfiguration(depCanvas));
>>  configuration.add("tool/util", new
>> JavaScriptModuleConfiguration(toolUtil));
>>  ...
>>  }
>> 
>> Cheers,
>> 
>> Geoff
>> 
>> On 24 Mar 2015, at 3:59 pm, Geoff Callender <
>> geoff.callender.jumpst...@gmail.com> wrote:
>> 
>>> Very good question. It's trying to lazy load from the local context. So
>> far I've managed to sidestep modules that do that. I'll have a look into it.
>>> 
>>> On 23 Mar 2015, at 5:56 pm, Rural Hunter  wrote:
>>> 
 Hi Geoff,
 
 Thanks so much for the detailed guide. My module A is AMD-compliant and
>> has
 no css files. I tried your solution in AppModule. It did resolved the
 problem for A.js itself. But the A.js depends on many files in it's sub
 directories. I checke the source of A.js and it's like this:
  require('./dep/excanvas');
  var util = require('./tool/util');
  var log = require('./tool/log');
  var guid = require('./tool/guid');
 
 I got 404 for all the access to those dependencies. How to solve this?
 
 
 2015-03-23 10:56 GMT+08:00 Geoff Callender <
 geoff.callender.jumpst...@gmail.com>:
 
> Let's say "a" and its associated files are in a folder called a-1.0.0.
>> Try
> dropping the folder into META-INF/assets and shim it by contributing to
> ModuleManager:
> 
>  public static void contributeModuleManager(
>  MappedConfiguration
>> configuration,
>  @Path("/META-INF/assets/a-1.0.0/a.js") Resource
>> a,
>  ...)
> 
>  configuration.add("a", new
> JavaScriptModuleConfiguration(a).dependsOn("whatever"));
>  ...
>  }
> 
> Now you can refer to it as module "a". If a.js was already an
> AMD-compliant module, that's fine, RequireJS will figure handle it. If
>> a.js
> already does *require("whatever")* then you can leave out the
> .dependsOn("whatever") shown above.
> 
> If it has css files, you might like to put them in a JavaScriptStack so
> that their path is kept in one place.
> 
> public class ASupportStack implements JavaScriptStack {
> 
>  private final AssetSource assetSource;
> 
>  public ASupportStack(final AssetSource assetSource) {
>  this.assetSource = assetSource;
>  }
> 
>  public String getInitialization() {
>  return null;
>  }
> 
>  public List getJavaScriptLibraries() {
>  List ret = new ArrayList<>();
>  return ret;
>  }
> 
>  public List getStylesheets() {
>  List ret = new ArrayList<>();
> 
>  ret.add(new StylesheetLink(assetSource
> 
> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.css")));
>  ret.add(new StylesheetLink(assetSource
> 
> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.print.css"),
>  new StylesheetOptio

Nested AjaxFormLoop Implementation

2015-03-24 Thread BO WAN
Hi,

I'm writing to see if anyone could help me with some issues with nested
AjaxFormLoop. This is my first time using mailing list so please let me
know if I'm doing anything wrong.

*Issue:*
I am developing a page which has 4 levels of nested AjaxFormLoop and
currently trying to get the 2nd level (which is also the first nested
level) to work. Let's call the outer loop "outerLoop" and the inner one
"innerLoop". The issue is: I have one dedicated encoder for each
"innerLoop" (the encoders also have reference to the actual server side
object list). However, I don't have a way to let each "innerLoop" know
which encoder is for them.

*Questions:*
1. Is there a workaround for this or I'm using encoder in a wrong way?
2. Is it possible to implement nested AjaxFormLoop?

*More details:*
1. My form can successfully load and render from server side objects.
2. When the form was loading, the "innerLoop" can correctly get their own
encoders by accessing using "outerLoop"'s "value" variable.
3. After the form was rendered, the "value" variable of "outerLoop" is set
to null, and this is where I start to get trouble.
4. When "OnAddRowFromInnerLoop" is invoked, I can figure out which is the
"parent outer loop item" as I'm using "t:context", but this doesn't help
with encoder.

Please let me know if I should write some code to demo (as the actual code
is a bit lengthy) the problem or describe this issue clearer or better.

Thanks for you time and help!

Yours sincerely,
Bo Wan


Re: [5.4] Where to put the require.config?

2015-03-24 Thread Rural Hunter
Yes I can do that. But I think it's too much and I need to debug the
requests to find all those dependencies. This can be a workaround but
doesn't look like a neat solution. Is it possible to make this happen
automatically by Tapestry itself?

2015-03-24 20:05 GMT+08:00 Geoff Callender <
geoff.callender.jumpst...@gmail.com>:

> if you look at the Network view in Chrome's Web Inspector I think you'll
> find it's trying to GET these:
>
> /yourapp/modules.gz/dep/canvas.js
> /yourapp/modules.gz/tool/util.js
> /yourapp/modules.gz/tool/log.js
> /yourapp/modules.gz/tool/guid.js
>
> It's hoping to find them in META-INF/modules/ but they're not there. The
> solution is to make it look like they're there by shimming them all! For
> example:
>
>   public static void contributeModuleManager(
>   MappedConfiguration configuration,
>   @Path("/META-INF/assets/a-1.0.0/a.js") Resource a,
>   @Path("/META-INF/assets/a-1.0.0/dep/canvas.js")
> Resource depCanvas,
>   @Path("/META-INF/assets/a-1.0.0/tool/util.js")
> Resource toolUtil,
>   ...)
>
>   configuration.add("a", new JavaScriptModuleConfiguration(a));
>   configuration.add("dep/canvas", new
> JavaScriptModuleConfiguration(depCanvas));
>   configuration.add("tool/util", new
> JavaScriptModuleConfiguration(toolUtil));
>   ...
>   }
>
> Cheers,
>
> Geoff
>
> On 24 Mar 2015, at 3:59 pm, Geoff Callender <
> geoff.callender.jumpst...@gmail.com> wrote:
>
> > Very good question. It's trying to lazy load from the local context. So
> far I've managed to sidestep modules that do that. I'll have a look into it.
> >
> > On 23 Mar 2015, at 5:56 pm, Rural Hunter  wrote:
> >
> >> Hi Geoff,
> >>
> >> Thanks so much for the detailed guide. My module A is AMD-compliant and
> has
> >> no css files. I tried your solution in AppModule. It did resolved the
> >> problem for A.js itself. But the A.js depends on many files in it's sub
> >> directories. I checke the source of A.js and it's like this:
> >>   require('./dep/excanvas');
> >>   var util = require('./tool/util');
> >>   var log = require('./tool/log');
> >>   var guid = require('./tool/guid');
> >>
> >> I got 404 for all the access to those dependencies. How to solve this?
> >>
> >>
> >> 2015-03-23 10:56 GMT+08:00 Geoff Callender <
> >> geoff.callender.jumpst...@gmail.com>:
> >>
> >>> Let's say "a" and its associated files are in a folder called a-1.0.0.
> Try
> >>> dropping the folder into META-INF/assets and shim it by contributing to
> >>> ModuleManager:
> >>>
> >>>   public static void contributeModuleManager(
> >>>   MappedConfiguration
> configuration,
> >>>   @Path("/META-INF/assets/a-1.0.0/a.js") Resource
> a,
> >>>   ...)
> >>>
> >>>   configuration.add("a", new
> >>> JavaScriptModuleConfiguration(a).dependsOn("whatever"));
> >>>   ...
> >>>   }
> >>>
> >>> Now you can refer to it as module "a". If a.js was already an
> >>> AMD-compliant module, that's fine, RequireJS will figure handle it. If
> a.js
> >>> already does *require("whatever")* then you can leave out the
> >>> .dependsOn("whatever") shown above.
> >>>
> >>> If it has css files, you might like to put them in a JavaScriptStack so
> >>> that their path is kept in one place.
> >>>
> >>> public class ASupportStack implements JavaScriptStack {
> >>>
> >>>   private final AssetSource assetSource;
> >>>
> >>>   public ASupportStack(final AssetSource assetSource) {
> >>>   this.assetSource = assetSource;
> >>>   }
> >>>
> >>>   public String getInitialization() {
> >>>   return null;
> >>>   }
> >>>
> >>>   public List getJavaScriptLibraries() {
> >>>   List ret = new ArrayList<>();
> >>>   return ret;
> >>>   }
> >>>
> >>>   public List getStylesheets() {
> >>>   List ret = new ArrayList<>();
> >>>
> >>>   ret.add(new StylesheetLink(assetSource
> >>>
> >>> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.css")));
> >>>   ret.add(new StylesheetLink(assetSource
> >>>
> >>> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.print.css"),
> >>>   new StylesheetOptions("print")));
> >>>
> >>>   return ret;
> >>>   }
> >>>
> >>>   public List getStacks() {
> >>>   return Collections.emptyList();
> >>>   }
> >>>
> >>>   @Override
> >>>   public List getModules() {
> >>>   return Collections.emptyList();
> >>>   }
> >>>
> >>> }
> >>>
> >>> In AppModule:
> >>>
> >>>   public static void
> >>> contributeJavaScriptStackSource(MappedConfiguration >>> JavaScriptStack> configuration) {
> >>>   configuration.addInstance("ASupportStack",
> >>> ASupportStack.class);
> >>>   }
> >>>
> >>> In each page or c

Re: T5 and Ember

2015-03-24 Thread Kalle Korhonen
On Tue, Mar 24, 2015 at 7:24 AM, Andreas Andreou  wrote:

> After having worked for more almost 2 years on (mostly) ember,
> my advice would be to completely decouple (if possible) the projects.
>
> Move ember on its own, make use of the improving cli plugins for
> developing,
> building and deploying. I'm still on a yeoman created grunt setup, so that
> could
> also work for you.
>

Yes, that's certainly an option and that's how I've approached the
prototype, but this strategy doesn't work quite as well if you are
releasing to a customer as opposed to developing company's own site where
you typically already have an http server to deploy the Ember bits to. And
if you have to figure out packaging into a .war anyway, then might make
sense to use a similar setup for development as well. In any case, thanks
for the advice. I bet the framework has changed quite a bit in your two
years. I wonder if your experience has been a positive one and if there are
any "I wish I had known this before we started" tidbits you could share.

@Ivano - if popularity was a measure, we'd all be still using Struts
instead of Tapestry, wouldn't we? Convention over configuration is one
thing, but the article you linked to is a fairly well balanced in my
opinion. For me, the biggest things to like in Ember is it's router, clean
urls, cleaner/simpler concepts and performance.

Kalle


>
>
> On Tue, Mar 24, 2015 at 5:50 AM, Kalle Korhonen <
> kalle.o.korho...@gmail.com>
> wrote:
>
> > As an experiment, I'm trying to migrate an existing Angular app to Ember
> > (with T5 back-end and serving multiple other "thin" pages). There's a lot
> > to like in Ember vs Angular but I'm wondering if there are anybody else
> > using Ember with T5 and if so, what's your setup? I'm mainly interested
> in
> > knowing if you've managed to integrate wro4j's EmberJsProcessor or
> perhaps
> > you have just overlaid an ember-cli setup over T5 folder structure? Also,
> > I'd especially like to know how you handle third-party components if you
> > are using any. Installing snippets using npm and ember-cli seems like a
> > great idea but I find a lot of outdated and broken stuff. I'm using the
> > very latest, the ember-cli 0.2.1 released today (I was battling issues
> with
> > the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps
> I'm
> > pushing too far on the bleeding edge... if you've gone done this path,
> I'd
> > appreciate some war stories for things to watch out for.
> >
> > Kalle
> >
>
>
>
> --
> Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
> Apache Tapestry PMC / http://chesstu.be owner
> Open Source / JS Consulting
>


Re: T5 and Ember

2015-03-24 Thread Andreas Andreou
Kalle,
After having worked for more almost 2 years on (mostly) ember,
my advice would be to completely decouple (if possible) the projects.

Move ember on its own, make use of the improving cli plugins for developing,
building and deploying. I'm still on a yeoman created grunt setup, so that
could
also work for you.

Just throw in some cors headers on the tapestry side and you'll be able to
live
code against production data



On Tue, Mar 24, 2015 at 5:50 AM, Kalle Korhonen 
wrote:

> As an experiment, I'm trying to migrate an existing Angular app to Ember
> (with T5 back-end and serving multiple other "thin" pages). There's a lot
> to like in Ember vs Angular but I'm wondering if there are anybody else
> using Ember with T5 and if so, what's your setup? I'm mainly interested in
> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
> you have just overlaid an ember-cli setup over T5 folder structure? Also,
> I'd especially like to know how you handle third-party components if you
> are using any. Installing snippets using npm and ember-cli seems like a
> great idea but I find a lot of outdated and broken stuff. I'm using the
> very latest, the ember-cli 0.2.1 released today (I was battling issues with
> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
> pushing too far on the bleeding edge... if you've gone done this path, I'd
> appreciate some war stories for things to watch out for.
>
> Kalle
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Apache Tapestry PMC / http://chesstu.be owner
Open Source / JS Consulting


Re: Can't access generate HTML file (probably not Tapestry-specific)

2015-03-24 Thread Geoff Callender
Server-side, in a Tapestry page or service, create the file.

final File htmlTempFile = File.createTempFile("htmlTemp", 
".html");
htmlTempFile.deleteOnExit();

Then manipulate it. If you need to know its path, it's no problem...

String htmlTempPath = htmlTempFile.getAbsolutePath();

...but don't return the path to the client - that would be bad form.

Geoff

On 24 Mar 2015, at 9:50 am, Poggenpohl, Daniel 
 wrote:

> Hello,
> 
> perhaps you people can help me...my application has various resources 
> deployed. Among them are a kind of HTML template files. I take the files, 
> replace part of the contents of the file according to a certain syntax, and 
> want to display the resulting html file in an iframe on a Tapestry page.
> 
> To do this, I am currently creating temporary html files. I use the 
> createTempFile method of java.nio.Files. Those temporary files are thus 
> stored locally on each user's pc. But when I want to display the generated 
> HTML file, I have to use File:// as a prefix, which probably 
> doesn't work with my browser.
> 
> How would you create temporary files inside the servlet container so that you 
> could access them using ServletContext or whatever necessary?
> 
> Regards,
> Daniel
> 
> --
> Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und 
> Systemtechnik ISST
> Compliance- und Sicherheitslösungen
> Emil-Figge-Straße 91, 44227 Dortmund, Germany
> Telefon: +49 (0) 231 / 9 76 77-323
> mailto: 
> daniel.poggenp...@isst.fraunhofer.de
> http://www.isst.fraunhofer.de
> 



Re: T5 and Ember

2015-03-24 Thread Ivano Luberti
Oh well, reading further I have found the answer by myself:

> Ember.js favors Convention over Configuration. 

sorry Kalle


Il 24/03/2015 12:00, Ivano Luberti ha scritto:
> Hi Kalle, I don't know a thing about Ember and Angular but I plan to
> learn about javascript frameworks. Hence I don't have an answer for you
> but a question instead (of course totally OT on this list).
>
> First link I get from google searching for "ember angular" is
>
> https://www.airpair.com/js/javascript-framework-comparison
>
> that is a very angular partizan article in reality.
> Maybe explanation on why is the first result is this contained phrase:
>
>> Not only does Angular have the largest community and much more online
>> content than the two others, it is also backed and promoted by Google. 
> Nonetheless motivation for the article to sponsor Angular seem reasonable.
> So question is: what is to like in ember more than in angular?
>
> Il 24/03/2015 04:50, Kalle Korhonen ha scritto:
>> As an experiment, I'm trying to migrate an existing Angular app to Ember
>> (with T5 back-end and serving multiple other "thin" pages). There's a lot
>> to like in Ember vs Angular but I'm wondering if there are anybody else
>> using Ember with T5 and if so, what's your setup? I'm mainly interested in
>> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
>> you have just overlaid an ember-cli setup over T5 folder structure? Also,
>> I'd especially like to know how you handle third-party components if you
>> are using any. Installing snippets using npm and ember-cli seems like a
>> great idea but I find a lot of outdated and broken stuff. I'm using the
>> very latest, the ember-cli 0.2.1 released today (I was battling issues with
>> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
>> pushing too far on the bleeding edge... if you've gone done this path, I'd
>> appreciate some war stories for things to watch out for.
>>
>> Kalle
>>

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [5.4] Where to put the require.config?

2015-03-24 Thread Geoff Callender
if you look at the Network view in Chrome's Web Inspector I think you'll find 
it's trying to GET these:

/yourapp/modules.gz/dep/canvas.js
/yourapp/modules.gz/tool/util.js
/yourapp/modules.gz/tool/log.js
/yourapp/modules.gz/tool/guid.js

It's hoping to find them in META-INF/modules/ but they're not there. The 
solution is to make it look like they're there by shimming them all! For 
example:

  public static void contributeModuleManager(
  MappedConfiguration configuration,
  @Path("/META-INF/assets/a-1.0.0/a.js") Resource a,
  @Path("/META-INF/assets/a-1.0.0/dep/canvas.js") Resource 
depCanvas,
  @Path("/META-INF/assets/a-1.0.0/tool/util.js") Resource 
toolUtil,
  ...)

  configuration.add("a", new JavaScriptModuleConfiguration(a));
  configuration.add("dep/canvas", new 
JavaScriptModuleConfiguration(depCanvas));
  configuration.add("tool/util", new 
JavaScriptModuleConfiguration(toolUtil));
  ...
  }

Cheers,

Geoff

On 24 Mar 2015, at 3:59 pm, Geoff Callender 
 wrote:

> Very good question. It's trying to lazy load from the local context. So far 
> I've managed to sidestep modules that do that. I'll have a look into it.
> 
> On 23 Mar 2015, at 5:56 pm, Rural Hunter  wrote:
> 
>> Hi Geoff,
>> 
>> Thanks so much for the detailed guide. My module A is AMD-compliant and has
>> no css files. I tried your solution in AppModule. It did resolved the
>> problem for A.js itself. But the A.js depends on many files in it's sub
>> directories. I checke the source of A.js and it's like this:
>>   require('./dep/excanvas');
>>   var util = require('./tool/util');
>>   var log = require('./tool/log');
>>   var guid = require('./tool/guid');
>> 
>> I got 404 for all the access to those dependencies. How to solve this?
>> 
>> 
>> 2015-03-23 10:56 GMT+08:00 Geoff Callender <
>> geoff.callender.jumpst...@gmail.com>:
>> 
>>> Let's say "a" and its associated files are in a folder called a-1.0.0. Try
>>> dropping the folder into META-INF/assets and shim it by contributing to
>>> ModuleManager:
>>> 
>>>   public static void contributeModuleManager(
>>>   MappedConfiguration configuration,
>>>   @Path("/META-INF/assets/a-1.0.0/a.js") Resource a,
>>>   ...)
>>> 
>>>   configuration.add("a", new
>>> JavaScriptModuleConfiguration(a).dependsOn("whatever"));
>>>   ...
>>>   }
>>> 
>>> Now you can refer to it as module "a". If a.js was already an
>>> AMD-compliant module, that's fine, RequireJS will figure handle it. If a.js
>>> already does *require("whatever")* then you can leave out the
>>> .dependsOn("whatever") shown above.
>>> 
>>> If it has css files, you might like to put them in a JavaScriptStack so
>>> that their path is kept in one place.
>>> 
>>> public class ASupportStack implements JavaScriptStack {
>>> 
>>>   private final AssetSource assetSource;
>>> 
>>>   public ASupportStack(final AssetSource assetSource) {
>>>   this.assetSource = assetSource;
>>>   }
>>> 
>>>   public String getInitialization() {
>>>   return null;
>>>   }
>>> 
>>>   public List getJavaScriptLibraries() {
>>>   List ret = new ArrayList<>();
>>>   return ret;
>>>   }
>>> 
>>>   public List getStylesheets() {
>>>   List ret = new ArrayList<>();
>>> 
>>>   ret.add(new StylesheetLink(assetSource
>>> 
>>> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.css")));
>>>   ret.add(new StylesheetLink(assetSource
>>> 
>>> .getClasspathAsset("/META-INF/assets/a-1.0.0/a.print.css"),
>>>   new StylesheetOptions("print")));
>>> 
>>>   return ret;
>>>   }
>>> 
>>>   public List getStacks() {
>>>   return Collections.emptyList();
>>>   }
>>> 
>>>   @Override
>>>   public List getModules() {
>>>   return Collections.emptyList();
>>>   }
>>> 
>>> }
>>> 
>>> In AppModule:
>>> 
>>>   public static void
>>> contributeJavaScriptStackSource(MappedConfiguration>> JavaScriptStack> configuration) {
>>>   configuration.addInstance("ASupportStack",
>>> ASupportStack.class);
>>>   }
>>> 
>>> In each page or component that uses module "a", either @Import the
>>> stylesheets or @Import the JavaScriptStack. I wish there was a way that
>>> would import it for you every time refer to module "a" but I don't know of
>>> one.
>>> 
>>> I hope this is helping.
>>> 
>>> Geoff
>>> 
>>> On 23 Mar 2015, at 1:06 pm, Rural Hunter  wrote:
>>> 
 I already did that. The problem is this: I have a 3rd party module A.
>>> Both
 my own code and another 3rd party module B depend on it. The standard
 location of module A should be at classpath:META-INF/modules/ but it
>>> brings
 in a lot of js files

Problems with jquery tab component

2015-03-24 Thread Poggenpohl, Daniel
Hi,

I'm using the jquery tab component, and as the google group seems pretty dead 
at the moment, I thought I bring my question here...

I have a page with a tab component (ajax=true) with 4 tabs. One of these tabs 
contains dialogAjaxLinks that open some dialogs. The links are contained inside 
an inPlace=true grid.
I think I can reproduce a bug in my app so that when I change the tab from the 
one containing the dialogAjaxLinks to another one and back, the dialogAjaxLinks 
stop working.

When I change the grid page using the pager, the dialogAjaxLinks start working 
again.

When they don't work, no events are fired when I click them.

It's really weird...

Regards,
Daniel Poggenpohl

--
Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und 
Systemtechnik ISST
Compliance- und Sicherheitslösungen
Emil-Figge-Straße 91, 44227 Dortmund, Germany
Telefon: +49 (0) 231 / 9 76 77-323
mailto: 
daniel.poggenp...@isst.fraunhofer.de
http://www.isst.fraunhofer.de



Re: T5 and Ember

2015-03-24 Thread Ivano Luberti
Hi Kalle, I don't know a thing about Ember and Angular but I plan to
learn about javascript frameworks. Hence I don't have an answer for you
but a question instead (of course totally OT on this list).

First link I get from google searching for "ember angular" is

https://www.airpair.com/js/javascript-framework-comparison

that is a very angular partizan article in reality.
Maybe explanation on why is the first result is this contained phrase:

>
> Not only does Angular have the largest community and much more online
> content than the two others, it is also backed and promoted by Google. 

Nonetheless motivation for the article to sponsor Angular seem reasonable.
So question is: what is to like in ember more than in angular?

Il 24/03/2015 04:50, Kalle Korhonen ha scritto:
> As an experiment, I'm trying to migrate an existing Angular app to Ember
> (with T5 back-end and serving multiple other "thin" pages). There's a lot
> to like in Ember vs Angular but I'm wondering if there are anybody else
> using Ember with T5 and if so, what's your setup? I'm mainly interested in
> knowing if you've managed to integrate wro4j's EmberJsProcessor or perhaps
> you have just overlaid an ember-cli setup over T5 folder structure? Also,
> I'd especially like to know how you handle third-party components if you
> are using any. Installing snippets using npm and ember-cli seems like a
> great idea but I find a lot of outdated and broken stuff. I'm using the
> very latest, the ember-cli 0.2.1 released today (I was battling issues with
> the previous 0.2.0 release over the weekend) and ember 1.10.0. Perhaps I'm
> pushing too far on the bleeding edge... if you've gone done this path, I'd
> appreciate some war stories for things to watch out for.
>
> Kalle
>

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org