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

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

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 knowi

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 p

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,

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 we

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 exten

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

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

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 e

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

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

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 p

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