Re: Question about JSONObject in versions 5.6.2, 5.6.3. and 5.6.4

2021-04-20 Thread Wilson Velez
Thanks for your answers ! I will stay in 5.6.1 until I finish the upgrade of the application completely, then we will evaluate if we can remove tapestry-jquery completely doing the bridge ourselves for the used jquery components. Thanks again. On Tue, Apr 20, 2021 at 3:21 AM Dmitry Gusev wrote:

Re: Question about JSONObject in versions 5.6.2, 5.6.3. and 5.6.4

2021-04-20 Thread Dmitry Gusev
Hi, In addition to what Ben said, there's an open PR in tapestry-jquery that fixes 5.6.2+ compatibility: https://github.com/got5/tapestry5-jquery/pull/394 Not yet merged, but you may release from your own fork if it's really necessary. On Tue, Apr 20, 2021 at 7:07 AM Ben Weidig wrote: > Hi, >

Re: Question about JSONObject in versions 5.6.2, 5.6.3. and 5.6.4

2021-04-19 Thread Ben Weidig
Hi, it's a known problem with 5.6.2+ and JSONObject that came to light recently. An updated version of tapestry-json improvements were introduced with 5.7.0, but got backported to 5.6.2. JSONObject is now a full-fledged Map, which lead to a signature change being introduced. It slipped through i

Question about JSONObject in versions 5.6.2, 5.6.3. and 5.6.4

2021-04-19 Thread Wilson Velez
There is a weird behavior with the tags 5.6.2, 5.6.3. and 5.6.4, I don't know if this is expected. I'm having a problem trying to upgrade from 5.6.1. When I change the version to 5.6.2, 5.6.3. or 5.6.4 the org.got5.tapestry5.jquery.utils.JQueryUtils#merge method throws the exception: java.lang.No

Re: requirejs question

2018-03-25 Thread Erich Gormann
ry("#deleteSearchFilter").show(); } else { jQuery("#deleteSearchFilter").hide(); } (function($) { $('#finderSearchBtn').click(function() { showLoadingIndicator(); }); })(jQuery); 1. question: what if my scripts need jquery or jqueryui? Do I have to put a jquery.js and

Re: requirejs question

2018-03-25 Thread Erich Gormann
pts wiith requirejs. As precondition I would like to say, that I set the javascipt infrastucture provider in Tapestry to "jquery". Currently we have these two kind of scripting in our Tapestry 5.3.8 project (I show them only because of the use of the aliases): if ( jQuery( "#searchFi

Re: requirejs question

2018-03-24 Thread Ilya Obshadko
project (I show them only because of the use of the aliases): > > if ( jQuery( "#searchFilterSelector" ).length ) { > jQuery("#deleteSearchFilter").show(); > } else { > jQuery("#deleteSearchFilter").hide(); > } > > (function($) { > $(&

Re: requirejs question

2018-03-24 Thread Dmitry Gusev
ot;).show(); > } else { > jQuery("#deleteSearchFilter").hide(); > } > > (function($) { > $('#finderSearchBtn').click(function() { > showLoadingIndicator(); > }); > })(jQuery); > > 1. question: what if my scripts need jquery or jqueryui?

requirejs question

2018-03-24 Thread Erich Gormann
on() { showLoadingIndicator(); }); })(jQuery); 1. question: what if my scripts need jquery or jqueryui? Do I have to put a jquery.js and jqueryui.js in my own poject or can I use the one of Tapestry 5.4.3? 2, question: If I can use the jquery libs of Tapestry, how do I have to

Re: Question about module-path-prefix

2018-03-19 Thread Erich Gormann
(though I have not tested that). Best regards, Cezary On Mon, Mar 19, 2018 at 4:13 PM, Erich Gormann wrote: Hello all, another question about Tapestry 5.4.x: I'm a little confused about some new configuration possibilities in Tapestry 5.4.x. There is the new "module-path-prefix"

Re: Question about module-path-prefix

2018-03-19 Thread Erich Gormann
Hi Thiago, yes, you're completely right, I missed for one oy my component libs and now it works! Thanks for your explanations! Regards, Erich Am 19.03.2018 20:13, schrieb Thiago H. de Paula Figueiredo: On Mon, Mar 19, 2018 at 12:13 PM, Erich Gormann wrote: It seems using library mappings

Re: Question about module-path-prefix

2018-03-19 Thread Thiago H. de Paula Figueiredo
On Mon, Mar 19, 2018 at 12:13 PM, Erich Gormann wrote: > It seems using library mappings is not the correct way to address pages. I'm sorry, but your statement above is incorrect. Library mappings is still the correct way to address pages. -- Thiago

Re: Question about module-path-prefix

2018-03-19 Thread Thiago H. de Paula Figueiredo
One typo: And nothing related to component libraries *changed*. On Mon, Mar 19, 2018 at 4:10 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, Mar 19, 2018 at 12:13 PM, Erich Gormann > wrote: > >> Hello all, >> > > Hi! > > >

Re: Question about module-path-prefix

2018-03-19 Thread Thiago H. de Paula Figueiredo
On Mon, Mar 19, 2018 at 12:13 PM, Erich Gormann wrote: > Hello all, > Hi! > > another question about Tapestry 5.4.x: > > I'm a little confused about some new configuration possibilities in > Tapestry 5.4.x. There is the new "module-path-prefix" entry. >

Re: Question about module-path-prefix

2018-03-19 Thread Cezary Biernacki
gmt and com.example.app.pages.merchantmgmt, it should not matter whether packages are in the same or different JARs (though I have not tested that). Best regards, Cezary On Mon, Mar 19, 2018 at 4:13 PM, Erich Gormann wrote: > Hello all, > > another question about Tapestry 5.4.x: > >

Question about module-path-prefix

2018-03-19 Thread Erich Gormann
Hello all, another question about Tapestry 5.4.x: I'm a little confused about some new configuration possibilities in Tapestry 5.4.x. There is the new "module-path-prefix" entry. My question: I have a number of different Tapestry application modules bundled in jars and I w

Re: IoC Question

2017-10-05 Thread Cezary Biernacki
annotation), in this case each thread will get a separate instance of the service. On Thu, Oct 5, 2017 at 9:24 PM, Tyler Wilcock wrote: > Question about Tapestry's IoC system. Let's pretend I register a service > called EventTracker.java. EventTracker has a private List fiel

Re: IoC Question

2017-10-05 Thread Dmitry Gusev
, Tyler Wilcock wrote: > Question about Tapestry's IoC system. Let's pretend I register a service > called EventTracker.java. EventTracker has a private List field containing > a list of Events, a method to add those events, and a method to retrieve > those events. Now le

IoC Question

2017-10-05 Thread Tyler Wilcock
Question about Tapestry's IoC system. Let's pretend I register a service called EventTracker.java. EventTracker has a private List field containing a list of Events, a method to add those events, and a method to retrieve those events. Now let's say I have another class that

(solved ?) tapestry 4.1.6 and pergmen question

2016-04-15 Thread Ivano Luberti
I write this so it goes on web archives and maybe (even though is not probabile) one day someone will find it useful. The solution is to avoid this https://wiki.apache.org/tapestry/EasyBrowserRedirection never raise that exception. Instead use PageRedirectException in case you want to pass par

Re: tapestry 4.1.6 and pergmen question

2016-04-13 Thread Ivano Luberti
It seems I have found the glitch. Following this suggestion https://wiki.apache.org/tapestry/EasyBrowserRedirection I had implented redirection in a pageBeginRender method (I'm talking about T 4.1.6, sorry about that) Now it seems that when the excpetion is raised PermGen occupation is increased

Re: tapestry 4.1.6 and pergmen question

2016-04-08 Thread Ivano Luberti
Thanks Kalle, I know the links you suggest, but I was exlcuding my code because it has not been chaned much from the one on the old server Anyway I will keep on investigating, I have no other choice. Thanks anyway Il 07/04/2016 17:37, Kalle Korhonen ha scritto: > On Thu, Apr 7, 2016 at 12:33

Re: tapestry 4.1.6 and pergmen question

2016-04-08 Thread Ivano Luberti
Thanks Kalle, I know the links you suggest, but I was exlcuding my code because it has not been chaned much from the one on the old server Anyway I will keep on investigating, I have no other choice. Thanks anyway Il 07/04/2016 17:37, Kalle Korhonen ha scritto: > On Thu, Apr 7, 2016 at 12:33

Re: tapestry 4.1.6 and pergmen question

2016-04-07 Thread Kalle Korhonen
On Thu, Apr 7, 2016 at 12:33 AM, Ivano Luberti wrote: > Kalle, Chris, thanks for your answers. > Unfortunately the problem is not related to webapp reloading even > restarting the Tomcat service leads to out of PermGen in a few days, > PermGen itself is quite large and I already use UseConcMarkSw

Re: tapestry 4.1.6 and pergmen question

2016-04-07 Thread Ivano Luberti
Kalle, Chris, thanks for your answers. Unfortunately the problem is not related to webapp reloading even restarting the Tomcat service leads to out of PermGen in a few days, PermGen itself is quite large and I already use UseConcMarkSweepGC. Down here you can read the java settings : -Djava.awt.h

Re: tapestry 4.1.6 and pergmen question

2016-04-06 Thread Chris Poulsen
You could try "CMSClassUnloadingEnabled" to see if that helps -- Chris On Wed, Apr 6, 2016 at 11:24 PM, Kalle Korhonen wrote: > If you run out of permgen space very quickly, then it's indicative that the > allocated permgen space is simply too small. Perhaps the new version of > Tomcat require

Re: tapestry 4.1.6 and pergmen question

2016-04-06 Thread Kalle Korhonen
If you run out of permgen space very quickly, then it's indicative that the allocated permgen space is simply too small. Perhaps the new version of Tomcat requires more of it for itself, leaving less for your application. Is the webapp restarted at times? If so, that can easily cause permgen space

Re: tapestry 4.1.6 and pergmen question

2016-04-06 Thread Ivano Luberti
Hey Tony, if you don't mind, can you send me all the configuration options of Java and Tomcat you are using? So tomcat6.conf and server.xml files? No one else on the list can share its thoughts? Il 05/04/2016 23:03, Ivano Luberti ha scritto: > Hi Tony thanks for the quick answer: > > Il 05/04/201

Re: tapestry 4.1.6 and pergmen question

2016-04-05 Thread Ivano Luberti
Hi Tony thanks for the quick answer: Il 05/04/2016 21:50, Tony Nelson ha scritto: > I still have a Tapestry 4 app running with Tomcat 6.0.41, and it runs well > enough with: > > -XX:MaxPermSize=1024m with that setting it fails but... > > I also have > > -Xmx12g -Xms4g -XX:+UsseConcMarkSweepGC -X

RE: tapestry 4.1.6 and pergmen question

2016-04-05 Thread Tony Nelson
uberti [mailto:lube...@archicoop.it] > Sent: Tuesday, April 05, 2016 3:44 PM > To: Tapestry users > Subject: tapestry 4.1.6 and pergmen question > > I know I know, please don't shoot the pianist. > I have an old application written using Tapestry 4.1.6 and I can't get the

tapestry 4.1.6 and pergmen question

2016-04-05 Thread Ivano Luberti
I know I know, please don't shoot the pianist. I have an old application written using Tapestry 4.1.6 and I can't get the budget to rewrite in Tapestry 5. (BTW I have already and succesfully used Tapestry 5, so I know what I'm loosing here) The application run without issues for years on a CentOS+T

Re: question-answer flow

2015-04-25 Thread Geoff Callender
15 14:53:27 -0300, Cheng Zhang < >> charlesdenverj...@gmail.com> wrote: >> >> Hi, >>> >> >> Hi! >> >> Our app need a new feature, asking the user to answer a series of >>> questions, the next question is based on the answer of previous questio

Re: question-answer flow

2015-04-24 Thread Cheng Zhang
gt; wrote: > > Hi, >> > > Hi! > > Our app need a new feature, asking the user to answer a series of >> questions, the next question is based on the answer of previous question. >> Basically it is a Q&A flow or tree. >> The Spring Web Flow might be a good fra

Re: question-answer flow

2015-04-23 Thread Thiago H de Paula Figueiredo
On Thu, 23 Apr 2015 14:53:27 -0300, Cheng Zhang wrote: Hi, Hi! Our app need a new feature, asking the user to answer a series of questions, the next question is based on the answer of previous question. Basically it is a Q&A flow or tree. The Spring Web Flow might be a good framework

question-answer flow

2015-04-23 Thread Cheng Zhang
Hi, Our app need a new feature, asking the user to answer a series of questions, the next question is based on the answer of previous question. Basically it is a Q&A flow or tree. The Spring Web Flow might be a good framework for this requirement but I found some integration with T4 rather

Re: default locale question

2014-11-07 Thread Ivano Luberti
that's easy: Italian I didn't overlooked the part about missing matches :-) Il 07/11/2014 11:58, Thiago H de Paula Figueiredo ha scritto: > On Fri, 07 Nov 2014 08:19:26 -0200, Ivano Luberti > wrote: > >> In firefox: >> >> general.useragent.locale = en_US >> So my initial request is in English

Re: default locale question

2014-11-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Nov 2014 08:19:26 -0200, Ivano Luberti wrote: In firefox: general.useragent.locale = en_US So my initial request is in English and so Tapestry answer? Yep! Try setting the browser locale to fr and see what locale Tapestry picks. :) -- Thiago H. de Paula Figueiredo Tapestry,

Re: default locale question

2014-11-07 Thread Ivano Luberti
Ok sorry I mssed that..read the page but overlooked it Il 07/11/2014 11:40, Stephan Windmüller ha scritto: > On 07.11.2014, Ivano Luberti wrote: > >> intl.accept_languages;en-US, en >> [...] >> So my initial request is in English and so Tapestry answer? > That is correct. Please have a look at "L

Re: default locale question

2014-11-07 Thread Stephan Windmüller
On 07.11.2014, Ivano Luberti wrote: > intl.accept_languages;en-US, en > [...] > So my initial request is in English and so Tapestry answer? That is correct. Please have a look at "Locale Selection" on this page: http://tapestry.apache.org/localization.html HTH Stephan

Re: default locale question

2014-11-07 Thread Ivano Luberti
answer? Il 07/11/2014 11:02, Thiago H de Paula Figueiredo ha scritto: > What's your browser configured locales? > > On Fri, 07 Nov 2014 07:28:35 -0200, Ivano Luberti > wrote: > >> Hi all, a quick question on locales management >> I want italian as default locale for m

Re: default locale question

2014-11-07 Thread Thiago H de Paula Figueiredo
What's your browser configured locales? On Fri, 07 Nov 2014 07:28:35 -0200, Ivano Luberti wrote: Hi all, a quick question on locales management I want italian as default locale for my application I have found this in the configuration section: tapestry.supported-locales A

default locale question

2014-11-07 Thread Ivano Luberti
Hi all, a quick question on locales management I want italian as default locale for my application I have found this in the configuration section: > tapestry.supported-locales > > A comma-separated list of supported locales. Incoming requests as > "narrowed" to one of t

5.4 beta GridPaginationModel Question

2014-10-28 Thread Barry Books
In the past I've used a url session state service I wrote in order to get the Grids persisted data into the URL instead of the session. It works but it's inconvenient because it difficult to change the persistence strategy on just the Grid. I see in 5.4 the data needed to persist the Grid state has

Re: Quick question - structure for 125 static pages

2014-09-22 Thread Thiago H de Paula Figueiredo
On Mon, 22 Sep 2014 05:32:24 -0300, Stephen Nutbrown wrote: Hello, Hi! I am wondering the best way to structure this within Tapestry 5 - I can see lots of ways, but i'm trying to consider the best way. I have the requirement to make approximately 125 pages (or rather, 1 page with a possi

Re: Quick question - structure for 125 static pages

2014-09-22 Thread Stephen Nutbrown
Thankyou Robert - Following your advice I spent some time looking in to how to do it as a service. So far I have found this, which seems to be extremely similar: http://wiki.apache.org/tapestry/Tapestry5HowToReadAFileFromContext Thanks for your help. On 22 September 2014 11:28, Robert Zeigler w

Re: Quick question - structure for 125 static pages

2014-09-22 Thread Robert Zeigler
I would almost certainly code the retrieval as a service. It'll make it easier to test the core retrieval logic. Depending on the need to allow later editing of the content, I would think about whether the content would be better stored in a DB. Robert GATAATGCTATTTCTTTAACGAA > On Sep 22

Quick question - structure for 125 static pages

2014-09-22 Thread Stephen Nutbrown
Hello, I am wondering the best way to structure this within Tapestry 5 - I can see lots of ways, but i'm trying to consider the best way. I have the requirement to make approximately 125 pages (or rather, 1 page with a possible 125 different sets of data). Each page is a short tutorial which has

FW: dynamic component example / question

2014-09-08 Thread Макаров Роман
ublic String getFile() { return null; } @Override public String getPath() { return null; } } From: Lance Java [mailto:lance.j...@googlemail.com] Sent: Monday, September 08, 2014 12:13 PM To: Макаров Роман Subject: Re: dynamic component example / question Try getting i

dynamic component example / question

2014-09-07 Thread Макаров Роман
Hello all! The dynamic component almost works for me. But in the output it is erroneously giving me "container" tag. How can I get rid of it? The output: http://tapestry.apache.org/schema/tapestry_5_3.xsd";> The code: package ru.kupivip.ecommerce.components; import org.apache.tapes

Re: apache, tomcat, ssl and tapestry's secure anotation question

2014-05-06 Thread Geoff Callender
I am a fan of using Apache SSL with an AJP connector to Tomcat. AJP maintains the HTTPS security info, allowing Tapestry pages marked @Secure to recognise whether a secure connection has been used. Geoff On 6 May 2014, at 4:16 pm, Zhou Yongcheng wrote: > deployed tapestry application on stand

apache, tomcat, ssl and tapestry's secure anotation question

2014-05-05 Thread Zhou Yongcheng
deployed tapestry application on standalone tomcat server with ssl support, tapestry's security anotation solution is very wonderful. now i feel confused if it is necessary when i use apache as proxy server to deal with SSL. the following is my understanding. 1) tapestry's security anotation is d

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-12 Thread Thiago H de Paula Figueiredo
On Tue, 11 Feb 2014 18:16:01 -0200, Lance Java wrote: you must bind every actor and make sure it uses the correct scope You could do something like this: public void bind(ServiceBinder binder) { Class[] actorClasses = ...; for (Class actorClass : actorClasses) { bin

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Lance Java
> you must bind every actor and make sure it uses the correct scope You could do something like this: public void bind(ServiceBinder binder) { Class[] actorClasses = ...; for (Class actorClass : actorClasses) { binder.bind(actorClass).scope("prototype"); } } If y

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thiago H de Paula Figueiredo
On Tue, 11 Feb 2014 15:03:21 -0200, Thilo Tanner wrote: Hi Thiago, Hi! unfortunately, it isn't that simple. I made a quick test and introduced a bean service lifecycle. Technically it works, but the solution isn't very elegant: you must bind every actor and make sure it uses the corr

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Lance Java
Thiago, every time you call ObjectLocator.getService() you get a singleton. Every time you call ObjectLocator.autobuild() you get a new object.

RE: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thilo Tanner
ks for the input! Thilo From: Thiago H de Paula Figueiredo Sent: Tuesday, February 11, 2014 17:30 To: Tapestry users Subject: Re: Tapestry IOC / Autobuild / Advise Question On Tue, 11 Feb 2014 13:51:13 -0200, Thilo Tanner wrote: > Hi Lance, h

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thiago H de Paula Figueiredo
On Tue, 11 Feb 2014 13:51:13 -0200, Thilo Tanner wrote: Hi Lance, hi Thiago, Hi! thanks a lot for your feedback. To be honest, I'm still a bit confused: Creating a bean or prototype scope seem to be controversial, according to older discussions: e.g. http://web.archiveorange.com/arch

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thiago H de Paula Figueiredo
On Tue, 11 Feb 2014 13:21:20 -0200, Lance Java wrote: Thiago, perhaps my wording was a little ambiguous. I consider perthread scoped services are still singletons. The proxy is a singleton (the underlying target may not be a singleton). I would never say that. The proxy itself may be a sing

RE: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thilo Tanner
pestry IOC / Autobuild / Advise Question Thiago, perhaps my wording was a little ambiguous. I consider perthread scoped services are still singletons. The proxy is a singleton (the underlying target may not be a singleton). Using autobuild creates a ne

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Lance Java
Thiago, perhaps my wording was a little ambiguous. I consider perthread scoped services are still singletons. The proxy is a singleton (the underlying target may not be a singleton). Using autobuild creates a new instance.

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Lance Java
You might also want to consider implementing a custom scope (eg "prototype") by contributing a ServiceLifecycle to ServiceLifecycleSource. You could then mark your services with @Scope("prototype"). Take a look at PerThreadServiceLifecycle for inspiration.

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thiago H de Paula Figueiredo
On Tue, 11 Feb 2014 12:22:52 -0200, Lance Java wrote: Decoration is really for singleton services whereas you are using a scope which can be compared to spring's prototype scope. I'm sorry, Lance, but that's not correct. Decoration and advice does work with any service defined with an int

Re: Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Lance Java
Decoration is really for singleton services whereas you are using a scope which can be compared to spring's prototype scope. I think you could transform the class (via PlasticManager / PlasticClassTransformer) prior to calling ObjectLocator.autobuild(transformedClass)

Tapestry IOC / Autobuild / Advise Question

2014-02-11 Thread Thilo Tanner
Hi all, I have a quick question concerning Tapestry IOC. I'm currently integrating Akka into one of my applications. In order to use it with a DI container, I created a IndirectActorProducer which uses the autobuild() method of ObjectLocator, in order to create a new actor object whe

Re: tapestry-bootstrap question

2013-12-07 Thread Barry Books
Thiago is correct. You can default the value of fwtype and then override it by component. For example you could default your site to use small buttons then set fwtype for the ones you want to large. On Fri, Dec 6, 2013 at 1:18 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fr

Re: tapestry-bootstrap question

2013-12-06 Thread Thiago H de Paula Figueiredo
On Fri, 06 Dec 2013 16:28:51 -0200, Nicolas Barrera wrote: I 'm using 5.3 Check the documentation at https://github.com/trsvax/tapestry-bootstrap. As far as I could see, fwtype is a parameter of the FW mixin, which is applied to all components automatically by Tapestry-Bootstrap. Ni

Re: tapestry-bootstrap question

2013-12-06 Thread Nicolas Barrera
I 'm using 5.3 Nicolás.- On Fri, Dec 6, 2013 at 6:15 AM, Eugen wrote: > Hi, > which vewrsion of Tapestry are You using? > for 5.4 You don't need to user fwtype, just 'class' attribute > > Eugen > > 2013/12/5 Nicolas Barrera : > > Hi, > > > > Just wandering why should I use the fwtype parameter

Re: tapestry-bootstrap question

2013-12-06 Thread Eugen
Hi, which vewrsion of Tapestry are You using? for 5.4 You don't need to user fwtype, just 'class' attribute Eugen 2013/12/5 Nicolas Barrera : > Hi, > > Just wandering why should I use the fwtype parameter as in the jumpstart > bootstrap example ( > http://jumpstart.doublenegative.com.au/jumpstart

tapestry-bootstrap question

2013-12-05 Thread Nicolas Barrera
Hi, Just wandering why should I use the fwtype parameter as in the jumpstart bootstrap example ( http://jumpstart.doublenegative.com.au/jumpstart/examples/styling/bootstrap/1 ) Refresh I 've been using the tapestry-bootstrap library and using the class parameter instead and obtained same result

Re: Question about .less to .css transformation T5CONDUIT library for Tapestry 5.3.7

2013-11-10 Thread Jon Williams
list, but there's hardly any > > documentation available for this. t5conduit SNAPSHOT 0.8 seems to be > > misbehaving a bit for me. > > > > I have a general question regarding t5conduit-0.8SNAPSHOT. > > Kindly ignore this message if you're not interested in .less to

Re: Question about .less to .css transformation T5CONDUIT library for Tapestry 5.3.7

2013-11-04 Thread Cezary Biernacki
liams" wrote: > Hi Tapsters. > > Sorry for posting to the Tap users list, but there's hardly any > documentation available for this. t5conduit SNAPSHOT 0.8 seems to be > misbehaving a bit for me. > > I have a general question regarding t5conduit-0.8SNAPSHOT. >

Re: Question about .less to .css transformation T5CONDUIT library for Tapestry 5.3.7

2013-11-04 Thread Jon Williams
be > misbehaving a bit for me. > > I have a general question regarding t5conduit-0.8SNAPSHOT. > Kindly ignore this message if you're not interested in .less to .css > transforms in Tapestry 5.3.7. > > I have t5conduit hooked up in my app as per the scant documentation

Re: uk.org.cezary.t5conduit question

2013-11-04 Thread Cezary Biernacki
Hi, Please ensure that your AppModule (or equivalent) includes T5ConduitModule using @SubModule annotation. It enables handling of *.less stylesheets. Please note that included asset will still have .less suffix, but returned file should be generated .css. Best regards, Cezary Biernacki On 4 Nov

Re: uk.org.cezary.t5conduit question

2013-11-04 Thread Lenny Primak
I am using 0.7'and everything works as advertised. > On Nov 4, 2013, at 2:18 PM, Jon Williams wrote: > > This message is regarding the T5Conduit tapestry 5.3 less library. > > > Anyone with t5conduit experience (0.8 SNAPSHOT)... > > Is it possible to get the generated style sheet to be a .cs

Question about .less to .css transformation T5CONDUIT library for Tapestry 5.3.7

2013-11-04 Thread Jon Williams
Hi Tapsters. Sorry for posting to the Tap users list, but there's hardly any documentation available for this. t5conduit SNAPSHOT 0.8 seems to be misbehaving a bit for me. I have a general question regarding t5conduit-0.8SNAPSHOT. Kindly ignore this message if you're not interested i

uk.org.cezary.t5conduit question

2013-11-04 Thread Jon Williams
This message is regarding the T5Conduit tapestry 5.3 less library. Anyone with t5conduit experience (0.8 SNAPSHOT)... Is it possible to get the generated style sheet to be a .css? It seems from the minimal documentation that this is supposedly the default behavior. Currently for me, i'm seeing .

Re: Quick question about where best to store user files

2013-09-27 Thread Boris Horvat
wrote: > > > Hi, > > > > Sorry for another message, just another (very quick, and related) > question. > > These files which are uploaded can be of any type. In order to display > them > > on the page (rather than download them), I use a component I made named >

Re: Quick question about where best to store user files

2013-09-27 Thread Barry Books
The upload component will give you the mime-type. Store that and return it in the stream response. On Fri, Sep 27, 2013 at 10:26 AM, Steve wrote: > Hi, > > Sorry for another message, just another (very quick, and related) question. > These files which are uploaded can be of any ty

Re: Quick question about where best to store user files

2013-09-27 Thread Steve
Hi, Sorry for another message, just another (very quick, and related) question. These files which are uploaded can be of any type. In order to display them on the page (rather than download them), I use a component I made named "MediaViewer". The "MediaViewer" takes in a file

Re: Quick question about where best to store user files

2013-09-27 Thread Steve
Hi, Ok, I understand exactly what I need to do now. It's going to take me a bit of time to change what I have done so far but this is exactly the information I needed. It will probably be a few days (especially with it being the weekend) for me to make the changes in what I have so i'll get back

Re: Quick question about where best to store user files

2013-09-27 Thread Thiago H de Paula Figueiredo
On Fri, 27 Sep 2013 11:04:41 -0300, Barry Books wrote: Depending on your needs I would either put them in a database or on Amazon S3. Then write a page that retrieves them and returns them with a stream response. This solution is the best one because it adds a point in which you can put

Re: Quick question about where best to store user files

2013-09-27 Thread Dmitry Gusev
I wouldn't store any user files in context. If you have to store the files on the filesystem you better create some working dir and pass the path to that dir to your application as parameter. The reason why you shouldn't store anything in context is that you usually deploy *.war file to applicatio

Re: Quick question about where best to store user files

2013-09-27 Thread Barry Books
Depending on your needs I would either put them in a database or on Amazon S3. Then write a page that retrieves them and returns them with a stream response. With S3 you could also securely serve them direclty from S3. On Fri, Sep 27, 2013 at 8:50 AM, Steve wrote: > Hi, > > I have an applicatio

Quick question about where best to store user files

2013-09-27 Thread Steve
Hi, I have an application which requires a user to upload some files. They are then saved somewhere. Currently that place is in the context, so for example: ${context:/userfiles/}${user.name}/{$id}/${filename} I do not think this is the best way to do it, as that means anyone who knows that URL c

5.4 META-INF asset for dynamic template question

2013-09-12 Thread Barry Books
I have a component that uses a dynamic template. The code is @Parameter @Property *private* Asset template; @Inject @Path("CartItemTemplate.tml") *private* Asset defaultTemplate; @BeginRender *void* beginRender() { *if* ( template == *null* ) { template = defaultTemplate; } } With 5

Re: Fwd: Tapestry folders question

2013-09-03 Thread Martin Kersten
Hi Sem, whenever you create abstract page base classes and dispatch to other pages in the process you are most likely doing something not page related. Look at the request handling of tapestry. From what I understood, I suggest taking a look at the request filter and provide one. For the I hav

Re: Fwd: Tapestry folders question

2013-09-03 Thread Semen Vishniakov
Thank you for your reply, Thiago! > I think your page is actually a page because it does have an URL and handles requests. (Sorry for my English) I don't think so. It's a little bit complicated: We've wrote abstract class, which processes"right-click" on grid rows and shows context menu. By click

Re: Fwd: Tapestry folders question

2013-09-03 Thread Thiago H de Paula Figueiredo
On Tue, 03 Sep 2013 14:29:29 -0300, Semen Vishniakov wrote: Thank you for your reply, Thiago! You're welcome! I think your page is actually a page because it does have an URL and handles requests. (Sorry for my English) English isn't my first language either. :) I don't think so. It

Re: Fwd: Tapestry folders question

2013-09-03 Thread Thiago H de Paula Figueiredo
On Tue, 03 Sep 2013 11:45:08 -0300, Semen Vishniakov wrote: hi, Hello! I have a page class (without .tml), which configurates and returns other pages. This class is now in "pages" package because I have to inject other Pages and Services on it. But actually it doesn't a Page and I wou

Fwd: Tapestry folders question

2013-09-03 Thread Semen Vishniakov
hi, I have a page class (without .tml), which configurates and returns other pages. This class is now in "pages" package because I have to inject other Pages and Services on it. But actually it doesn't a Page and I would like to move it out of tapestry packages. How can I slove it? Or how can I mo

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 11:32:57 -0300, Tony Nelson wrote: Why don't you try what I suggested in my previous e-mail? ;) Because I want to use Tapestry's built in Hibernate ValueEncoders. Just @Inject ValueEncoderSource, which is what Tapestry itself uses. Or add the id to the URL itself, no

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
From: Nathan Quirynen [mailto:nat...@pensionarchitects.be] Sent: Wednesday, August 14, 2013 10:41 AM To: users@tapestry.apache.org Subject: Re: Quick ActivationContext question And what is the reason that you can't add the context when creating the event link as mentioned b

Re: Quick ActivationContext question

2013-08-14 Thread Nathan Quirynen
-Original Message- From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Wednesday, August 14, 2013 10:15 AM To: Tapestry users Subject: Re: Quick ActivationContext question On Wed, 14 Aug 2013 10:50:32 -0300, Tony Nelson wrote: But if I han

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
Try now, I made your user account, olwi Tony > -Original Message- > From: Tony Nelson [mailto:tnel...@starpoint.com] > Sent: Wednesday, August 14, 2013 10:33 AM > To: Tapestry users > Subject: RE: Quick ActivationContext question > > > > > -Original Mess

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
> -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Wednesday, August 14, 2013 10:15 AM > To: Tapestry users > Subject: Re: Quick ActivationContext question > > On Wed, 14 Aug 2013 10:50:32 -0300, Tony Nelson > wrote: &

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 10:50:32 -0300, Tony Nelson wrote: But if I hand craft the URL, "/instihire/view/jacket:deletecontactlog/someidhere And post that, it works just fine. It does because you manually put the activation context in the URL, not because you put the id in the POST part of

RE: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
> -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Wednesday, August 14, 2013 9:47 AM > To: Tapestry users > Subject: Re: Quick ActivationContext question > > On Wed, 14 Aug 2013 10:06:21 -0300,

Re: Quick ActivationContext question

2013-08-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 Aug 2013 10:06:21 -0300, Tony Nelson wrote: componentResources.createEventLink("deleteContactLog", new Object[] {}).toURI() Your mistake here is to think that the event context will come from the POST'ed data. It doesn't. It comes from the path in the URL. You're passing an

Re: Quick ActivationContext question

2013-08-14 Thread Tony Nelson
On Aug 13, 2013, at 6:52 PM, Thiago H de Paula Figueiredo mailto:thiag...@gmail.com>> wrote: On Tue, 13 Aug 2013 18:32:46 -0300, Tony Nelson mailto:tnel...@starpoint.com>> wrote: I have a simple page that has an ActivationContext. I'd like to handle a simple ajax call with one parameter. Whe

Re: Quick ActivationContext question

2013-08-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Aug 2013 18:32:46 -0300, Tony Nelson wrote: I have a simple page that has an ActivationContext. I'd like to handle a simple ajax call with one parameter. When I use componentResource.createEventLink("foo"), the URL contains the ActivationContext, like this: /ih/view:foo?t:a

  1   2   3   4   5   6   7   8   9   10   >