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

2015-03-23 Thread Geoff Callender
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 and sub-folders and makes the module root path(
>>> classpath:META-INF/modules) a bit messy. So I want to put module A at
>>> classpath:META-INF/modules/A. How can I achieve it?
>>> 
>>> 2015-03-22 18:39 GMT+08:00 Chris Poulsen :
>>> 
 Drop the 3rd party module in the usual place for modules
 (classpath:META-INF/modules) and reference it.
 
 http://tapestry.apache.org/javascript-rewrite.html has some info on the
 infrastructure and the tapestry source code (setup of the core
 stack/bootstrap modules etc. are good inspiration as well),
 
 
 
 
 On Sat, Mar 21, 2015 at 4:19 PM, Rural Hunter 
 wrote:
 
> How to work out if I want to config the path of a third-party module
>> if I
> use js stack?
> 
> 2015-03-20 17:07 GMT+08:00 Chris Poulsen :
> 
>> In a javascript stack?
>> 
>> On Fri, Mar 20, 2015 at 4:05 AM, Rural Hunter 
>> wrote:
>> 
>>> Hi,
>>> 
>>> I'm testing tapestry 5.4. I'm wondering where to put the
> requirejs.config
>>> code for my own modules and third-party modules?
>>> 
>>> -
>>> To unsubscribe, e-mai

Re: Design / Best Practice on Multinational App

2015-03-23 Thread Geoff Callender
In your example you mention addresses, but they vary by country, not region. 
For that reason it's common, in address input, to select country first and 
adapt the rest of the fields below it to suit. I'd be much more inclined to 
make components that adapt to the user/request than to have multiple codebases 
and servers.

Geoff

On 23 Mar 2015, at 8:37 pm, Adam X  wrote:

> I chose to go with approach I've seen done before. Common base and regional
> forks as needed.
> 
> On Fri, Mar 20, 2015 at 3:39 PM, Adam X  wrote:
> 
>> What's the best approach for a single build of an app with global
>> presence? I'm not asking for localisation, but subtle functional
>> differences. Some examples are Address entity bean, which requires a state
>> for some countries, but not for the others. Do I build separate Address
>> bean for each region and deploy it based on execution mode? Or do I build a
>> single bean that encapsulates the functionality of all regions and provide
>> if-then logic based on deployment? Or is there a better, more Tapestrized
>> solution?
>> 
>> Note, that Address entity bean is the simplest example that comes off the
>> top of my hat. There will be plenty of others. In some corporate
>> environments I've seen inheritance based code base deployments where a
>> generic code base would be built, and each region would be a sort of a fork
>> of generic codebase. Perhaps that?
>> 
>> Adam
>> 


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



T5 and Ember

2015-03-23 Thread Kalle Korhonen
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


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

2015-03-23 Thread Poggenpohl, Daniel
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: How to generate URL's from the context

2015-03-23 Thread Eugen
Hi Daniel,
take also a look also to usage of StreamResponse
http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile

2015-03-23 20:06 GMT+01:00 Chris Poulsen :

> http://tapestry.apache.org/assets.html
>
> I think the context variant is what you are looking for.
>
> On Mon, Mar 23, 2015 at 6:34 PM, Poggenpohl, Daniel <
> daniel.poggenp...@isst.fraunhofer.de> wrote:
>
> > Hello,
> >
> > the day has been long, I am kinda stumped now.
> >
> > I have some documents lying in the webapp/resources folder. I want to
> > embed a pdf in a page, so I need a value for the src attribute for the
> tag.
> >
> > Can somebody help me?
> >
> > Regards,
> > Daniel P.
> >
> > --
> > 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 > daniel.poggenp...@isst.fraunhofer.de>
> > http://www.isst.fraunhofer.de
> >
> >
>


Re: How to generate URL's from the context

2015-03-23 Thread Chris Poulsen
http://tapestry.apache.org/assets.html

I think the context variant is what you are looking for.

On Mon, Mar 23, 2015 at 6:34 PM, Poggenpohl, Daniel <
daniel.poggenp...@isst.fraunhofer.de> wrote:

> Hello,
>
> the day has been long, I am kinda stumped now.
>
> I have some documents lying in the webapp/resources folder. I want to
> embed a pdf in a page, so I need a value for the src attribute for the tag.
>
> Can somebody help me?
>
> Regards,
> Daniel P.
>
> --
> 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 daniel.poggenp...@isst.fraunhofer.de>
> http://www.isst.fraunhofer.de
>
>


Re: how to escape {{ symbols?

2015-03-23 Thread Bob Harner
The caveat there is that PageElementFactoryImpl and PageElementFactory
are both internal classes that in theory could change without notice.

On Mon, Mar 23, 2015 at 12:18 PM, Lance Java  wrote:
> I'm guessing you could override the PageElementFactory with a custom
> implementation. You could extend PageElementFactoryImpl and override
> newExpansionElement. I'm guessing you might wrap Binding.get() to escape
> "{{" if the binding type is String.
>  On 19 Mar 2015 15:36, "Тимур Бухараев"  wrote:
>
>> I use AngularJS and Tapestry 5.3 in my web project.
>>
>> The problem is next:
>> 1. User inputs some data in text field, for example his profile
>> description, and post it to server.
>> 2. Profile description renders with tapestry variable:
>> $description
>> 3. if $description contains some text like this "{{
>> alert("Hehe!"); }}", AngularJS starts interpret this, and
>> it is a big security problem.
>>
>> Tapestry escapes standard html symbols: < replaces with < and so on. So
>> if user inputs some html tags, tapestry decorates it and it is great. I
>> want replace '{' symbol with {
>>
>> I found class AbstractMarkupModel in source, which doing this decorating
>> work.
>>
>> The question is: how replace behavior of AbstractMarkupMode.encode to
>> support decoration of {{ symbol?
>>

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



How to generate URL's from the context

2015-03-23 Thread Poggenpohl, Daniel
Hello,

the day has been long, I am kinda stumped now.

I have some documents lying in the webapp/resources folder. I want to embed a 
pdf in a page, so I need a value for the src attribute for the tag.

Can somebody help me?

Regards,
Daniel P.

--
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: how to escape {{ symbols?

2015-03-23 Thread Lance Java
I'm guessing you could override the PageElementFactory with a custom
implementation. You could extend PageElementFactoryImpl and override
newExpansionElement. I'm guessing you might wrap Binding.get() to escape
"{{" if the binding type is String.
 On 19 Mar 2015 15:36, "Тимур Бухараев"  wrote:

> I use AngularJS and Tapestry 5.3 in my web project.
>
> The problem is next:
> 1. User inputs some data in text field, for example his profile
> description, and post it to server.
> 2. Profile description renders with tapestry variable:
> $description
> 3. if $description contains some text like this "{{
> alert("Hehe!"); }}", AngularJS starts interpret this, and
> it is a big security problem.
>
> Tapestry escapes standard html symbols: < replaces with < and so on. So
> if user inputs some html tags, tapestry decorates it and it is great. I
> want replace '{' symbol with {
>
> I found class AbstractMarkupModel in source, which doing this decorating
> work.
>
> The question is: how replace behavior of AbstractMarkupMode.encode to
> support decoration of {{ symbol?
>


Re: Design / Best Practice on Multinational App

2015-03-23 Thread Adam X
I chose to go with approach I've seen done before. Common base and regional
forks as needed.

On Fri, Mar 20, 2015 at 3:39 PM, Adam X  wrote:

> What's the best approach for a single build of an app with global
> presence? I'm not asking for localisation, but subtle functional
> differences. Some examples are Address entity bean, which requires a state
> for some countries, but not for the others. Do I build separate Address
> bean for each region and deploy it based on execution mode? Or do I build a
> single bean that encapsulates the functionality of all regions and provide
> if-then logic based on deployment? Or is there a better, more Tapestrized
> solution?
>
> Note, that Address entity bean is the simplest example that comes off the
> top of my hat. There will be plenty of others. In some corporate
> environments I've seen inheritance based code base deployments where a
> generic code base would be built, and each region would be a sort of a fork
> of generic codebase. Perhaps that?
>
> Adam
>


Re: Exception Constructing CacheManager (EhCache)

2015-03-23 Thread Adam X
Answering my own post for sake of completeness. Apparently ehcache
dependency does matter. There are two packages in Maven repo:

ehcache
"Ehcache is an open source, standards-based cache used to boost
performance, offload the database and simplify scalability. Ehcache is
robust, proven and full-featured and this has made it the most widely-used
Java-based cache."

and

ehcache-core
"This is the ehcache core module. Pair it with other modules for added
functionality."

The dependency that results in the CacheException was ehcache v. 2.8.5 (but
as pointed out any version >= 2.5 would result in that).

So I tried just the core module (a popular recent release):


net.sf.ehcache
ehcache-core
2.6.6


And viola. All works well.

Clearly this is an ehcache problem, but I still would be interested where
(or how) in Tapestry hierarchy this exception should be handled if one
chose to use full ehcache dependency (rather than just the core).

Adam





On Sun, Mar 22, 2015 at 6:24 PM, Adam X  wrote:

> Howdy,
>
> I'm trying to run my app on Hibernate-Mysql-T5.3.7 stack. It runs fine,
> but when I try to add EhCache I'm getting the following exception:
>
> Exception constructing service 'ValueEncoderSource': Error invoking service 
> contribution method 
> org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
>  boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess, 
> LoggerSource): Exception constructing service 'HibernateSessionSource': Error 
> invoking constructor public 
> org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl(org.slf4j.Logger,java.util.List):
>  net.sf.ehcache.CacheException: Another CacheManager with same name 
> 'cacheManager' already exists in the same VM. Please provide unique names for 
> each CacheManager in the config or do one of following:
> 1. Use one of the CacheManager.create() static factory methods to reuse same 
> CacheManager with same name or create one if necessary
> 2. Shutdown the earlier cacheManager before creating new one with same name.
> The source of the existing CacheManager is: URLConfigurationSource 
> [url=file:/home/zima/workspace/OddajSiano/target/classes/ehcache.xml]
>
> java.lang.RuntimeException: Exception constructing service 
> 'ValueEncoderSource': Error invoking service contribution method 
> org.apache.tapestry5.hibernate.HibernateModule.contributeValueEncoderSource(MappedConfiguration,
>  boolean, HibernateSessionSource, Session, TypeCoercer, PropertyAccess, 
> LoggerSource): Exception constructing service 'HibernateSessionSource': Error 
> invoking constructor public 
> org.apache.tapestry5.internal.hibernate.HibernateSessionSourceImpl(org.slf4j.Logger,java.util.List):
>  net.sf.ehcache.CacheException: Another CacheManager with same name 
> 'cacheManager' already exists in the same VM. Please provide unique names for 
> each CacheManager in the config or do one of following:
> 1. Use one of the CacheManager.create() static factory methods to reuse same 
> CacheManager with same name or create one if necessary
> 2. Shutdown the earlier cacheManager before creating new one with same name.
> The source of the existing CacheManager is: URLConfigurationSource 
> [url=file:/home/zima/workspace/OddajSiano/target/classes/ehcache.xml]
>   at 
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75)
>   at 
> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:54)
>
>
> From digging around I found that EhCache >=2.5 forbid multiple cache
> managers with the same name, but where in Tapestry do I invoke
> CacheManager.create() ?
>
> I tried adding name attribute to ehcache top element, as suggested on some
> forums but that did not solve the problem here.
>
> Adam
>


AW: Session Storage - activePanelId of Jquery Tabs Component

2015-03-23 Thread Poggenpohl, Daniel
Hello again,

okay, I discovered that I can't use the exists attribute with SessionAttribute. 
But the problem is still there: I return to the tabbed page and the active tab 
and tab content are out of sync.

Regards,
Daniel P.

-Ursprüngliche Nachricht-
Von: Poggenpohl, Daniel [mailto:daniel.poggenp...@isst.fraunhofer.de] 
Gesendet: Montag, 23. März 2015 09:31
An: users@tapestry.apache.org
Betreff: Session Storage - activePanelId of Jquery Tabs Component

Hello,

I'm trying to store the activePanelId of a Jquery tabs component as a 
SessionAttribute, so that when the page is loaded, the correct panel is 
highlighted and the correct tab content is displayed, i.e. the one that was 
highlighted/displayed when you left the page.

Now, when I leave the page and come back, the correct tab content is displayed, 
but the highlighted panel is always the one with index 0.

What am I doing wrong?

Code:
(Page)
   @SessionAttribute(SessionConstants.SESSION_ACTIVEPANEL)
   @Property
   int activePanel;

   boolean activePanelExists;

   void setupRender() {
 if (!activePanelExists) {
activePanel = 0;
 }
   }

Template:




Regards,
Daniel P.


--
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


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



Session Storage - activePanelId of Jquery Tabs Component

2015-03-23 Thread Poggenpohl, Daniel
Hello,

I'm trying to store the activePanelId of a Jquery tabs component as a 
SessionAttribute, so that when the page is loaded, the correct panel is 
highlighted and the correct tab content is displayed, i.e. the one that was 
highlighted/displayed when you left the page.

Now, when I leave the page and come back, the correct tab content is displayed, 
but the highlighted panel is always the one with index 0.

What am I doing wrong?

Code:
(Page)
   @SessionAttribute(SessionConstants.SESSION_ACTIVEPANEL)
   @Property
   int activePanel;

   boolean activePanelExists;

   void setupRender() {
 if (!activePanelExists) {
activePanel = 0;
 }
   }

Template:




Regards,
Daniel P.


--
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: [5.4] Where to put the require.config?

2015-03-23 Thread Rural Hunter
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 and sub-folders and makes the module root path(
> > classpath:META-INF/modules) a bit messy. So I want to put module A at
> > classpath:META-INF/modules/A. How can I achieve it?
> >
> > 2015-03-22 18:39 GMT+08:00 Chris Poulsen :
> >
> >> Drop the 3rd party module in the usual place for modules
> >> (classpath:META-INF/modules) and reference it.
> >>
> >> http://tapestry.apache.org/javascript-rewrite.html has some info on the
> >> infrastructure and the tapestry source code (setup of the core
> >> stack/bootstrap modules etc. are good inspiration as well),
> >>
> >>
> >>
> >>
> >> On Sat, Mar 21, 2015 at 4:19 PM, Rural Hunter 
> >> wrote:
> >>
> >>> How to work out if I want to config the path of a third-party module
> if I
> >>> use js stack?
> >>>
> >>> 2015-03-20 17:07 GMT+08:00 Chris Poulsen :
> >>>
>  In a javascript stack?
> 
>  On Fri, Mar 20, 2015 at 4:05 AM, Rural Hunter 
>  wrote:
> 
> > Hi,
> >
> > I'm testing tapestry 5.4. I'm wondering where to put the
> >>> requirejs.config
> > code for my own modules and third-party modules?
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
> 
> >>>
> >>
>
>