issue when upgrade 5.2.6 -> 5.3.7

2014-08-07 Thread D.R.
Hi, i am facing an issue while upgrading T5.2.6 to 5.3.7 when a Pageclass (or component) extends. In the superclass, a have a @Property called "asdf" and the subclass has also that @Property called "asdf". Both are "private" and it worked without problems in 5.2.6 With 5.3.7 i get: [ERROR] ioc.

Re: issue when upgrade 5.2.6 -> 5.3.7

2014-08-07 Thread D.R.
arent class. > > *-* > *Muhammad Gelbana* > http://www.linkedin.com/in/mgelbana > > > On Thu, Aug 7, 2014 at 5:05 PM, D.R. wrote: > >> Hi, >> >> i am facing an issue while upgrading T5.2.6 to 5.3.7 when a Pageclass >> (or component) extends. >&g

view http response

2014-12-22 Thread D.R.
Hi, i want to view the http response just before the server will send to the client. I tried to install a dispatcher impl. but it is always called before the page is activated (with before:PageRender). How i can achieve that? Kind regards David ---

Re: view http response

2014-12-22 Thread D.R.
Hi, for debugging purposes. Sometimes they not want to believe me. Yes i know i can view it in the client, but it would be great to see it on the server too. Kind regards David Am 22.12.2014 um 20:12 schrieb Thiago H de Paula Figueiredo: On Mon, 22 Dec 2014 13:25:09 -0200, D.R. wrote

dwr java chat demo in t5

2013-05-22 Thread D.R.
Hi @all, i was suprised that t5 does not support reverse ajax ;-( googleing around, the only thing mentioned often enough is dwr and i ended here: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Implement-chat-function-td5606481.html Actually, i want to do the same thing as th

Re: dwr java chat demo in t5

2013-05-22 Thread D.R.
Hi, Lance, wow, thank you for pointing me to your project! Integration is more than easy, your example works outofthebox in my browsers. I had to install jetty7 support, seems that jetty6 does not support websockets. What are the disadvantages of websockets compared to ajax? I think not all brows

Re: dwr java chat demo in t5

2013-05-24 Thread D.R.
Lance, thanks again, i will check the docs. Seems that longpolling or jsonp is supported best by servers and browsers. The first question i will have if there is a kind of client identification built in. The chat messages must be propageted to the correct users and not to all users. Is a client i

integration of tapestry-security gives a dependency cycle

2013-05-27 Thread D.R.
Hi @all, i try to add tapestry-security and have provided the two contributions described on their homepage: http://tynamo.org/tapestry-security+guide Accessing my page gives me a warning: [WARN] TapestryModule.ComponentRequestHandler Unable to add 'SecurityFilter' as a dependency of 'PageGlobal

Re: integration of tapestry-security gives a dependency cycle

2013-05-27 Thread D.R.
ok, seems that another lib is causing this error and not tapestry-security itself. kind regards david On 27.05.2013 09:04, D.R. wrote: > Hi @all, > > i try to add tapestry-security and have provided the two contributions > described on their homepage: > http://tynamo.org/ta

Re: include url in the exception log

2013-06-02 Thread D.R.
Hi, provide your own RequestExceptionHandler, override the default, inject the request and print the url in the reportException method. Kind regards David Am 01.06.2013 13:02, schrieb Angelo Chen: > Hi, > > in a production log, I can see some exceptions, but it's difficult to trace > as I don

jquery jgrowl params not working

2013-06-25 Thread D.R.
Hi @all, i want to use jgrowl for the alertmanager, in my .tml i have: and in my .java: public JSONObject getJgrowlParams() { JSONObject retour = new JSONObject(); retour.put("position", "center"); retour.put("header", "Error"); retour.put("beforeClose", "function

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
have the quotes: "jGrowlAlertManager" : [ { "dismissURL" : "/index.layout.jgrowl:dismiss", "jgrowl" : { "position" : "center", "beforeClose" : "function(e,m) {alert('About to close this notification!');}", "hea

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
ed when the page is loaded and not when closing the alert. Doing a: retour.put("beforeClose", "mybeforeclose()"); it renders without the quotes, but nothing happens when closing the alert. I also tried without the brackets, all without luck :-( Seems that i am really the o

Re: jquery jgrowl params not working

2013-06-26 Thread D.R.
is called when i do a: retour.put("beforeClose", new JSONLiteral("mybeforeclose")); But what shall i do now? Kind regards David Am 26.06.2013 21:35, schrieb D.R.: > Hi, > > i already have played with JSONLiteral, but had no luck. If i do a: > retour.put("beforeClo

Re: jquery jgrowl params not working

2013-06-27 Thread D.R.
. Seems now is the time to start fighting with git. Thanx again, Thiago! Kind regards David Am 26.06.2013 23:39, schrieb Thiago H de Paula Figueiredo: > On Wed, 26 Jun 2013 17:17:46 -0300, D.R. wrote: > >> Then i just rebooted my server and it works with >> retour.put(

Re: Ways to do page refresh

2013-06-28 Thread D.R.
Hi, in most browsers on linux and windows you can use CTRL+F5 to force the browser to load all stuff (images, css, js, etc.) anew. Kind regards David Am 28.06.2013 17:11, schrieb newbie newbie: > Hi, > What are the ways to do a page refresh? > Any help would be much appreciated. Thanks. > ---

Re: Event Bubbling not working

2013-07-02 Thread D.R.
Hi, ComponentResources.triggerEvent(...) is the way to go, isn't it? Parent.java: @OnEvent(component = "child", value = "childEventCall") void childEventCall(final String someString, final int someInt) { //dosomething } Child.java: void onSomeEvent() { _resources.tri

tapestry-security: authentication on rememberme

2013-07-09 Thread D.R.
Hi @all, i want to use the rememberme for a failover. I have overridden the org.apache.shiro.web.mgt.CookieRememberMeManager to build my rememberme cookies the way i want. As shiro does not support login on rememberme out of the box, i want to ask where the best place is to do the subject.login()?

Re: tapestry-security: authentication on rememberme

2013-07-09 Thread D.R.
interesting. Kind regards David Am 09.07.2013 20:20, schrieb Kalle Korhonen: > On Tue, Jul 9, 2013 at 10:55 AM, D.R. wrote: > >> i want to use the rememberme for a failover. I have overridden the >> org.apache.shiro.web.mgt.CookieRememberMeManager to build my rememberme >>

Re: beaneditform and kapcha

2013-08-05 Thread D.R.
Hi, but it also works with a beaneditform: ... What you see? ... @Component(id = "beanEditForm", parameters = {"object=beanToEdit", "add=kaptcha"}) private BeanEditForm _editFormComponent; Kind regards David Am 05.08.2013 18:45, schri

Re: Securing page with Tapestry

2013-08-07 Thread D.R.
Hi, i also want to suggest tynamo tapestry-security. As a quickstart is missing, i recommend this post: http://comments.gmane.org/gmane.comp.java.tynamo.user/287 With the instructions given there, you can quickly setup tapestry-security and use this as a starting point. With kind regards David

Re: Securing page with Tapestry

2013-08-07 Thread D.R.
Hi, where is the registration of AuthenticatorImp implements AuthenticatorInterface? I can not see it in your binder.bind Your constructor looks weird: public void PageAccessFilter in class RequiresLoginFilter ??? You should pass the interface there, not the impl. Kind regards David Am 07.08.

Re: Securing page with Tapestry

2013-08-07 Thread D.R.
t; return false; > > } > > Am i Suppose to pass the request to the constructor or to add anything > else in the AppModule? > > Am 07.08.2013 17:18, schrieb D.R.: >> Hi, >> >> where is the registration of AuthenticatorImp implements >> Aut

Re: Securing page with Tapestry

2013-08-09 Thread D.R.
bstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:224) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at r

Re: Securing page with Tapestry

2013-08-09 Thread D.R.
onent.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at runjettyrun.Bootstrap.main(Bootstrap.java:97) > 2013-08-09 15:00:08.614:INFO::Started SelectChannelConnector@0.0.0.0:8080 > Am 09.08.2013 13:56, schrieb D.R.: > > > public class PmsModule { > > public stat

Re: Apache Shiro

2013-08-12 Thread D.R.
Hi, there are serveral ways to do that. An easy way would be to store a user object as a principal and then do something like that: ${username} public String getUsername(){ final Subject currentUser = SecurityUtils.getSubject(); final SomeClass user; if(currentUse

how to define a new asset domain

2016-05-09 Thread D.R.
Hi @all, i need a new asset domain to have access to the filesystem. In the doc http://tapestry.apache.org/assets.html they say you "may define a new AssetFactory and contribute it to the AssetSource service configuration" I have no idea how to deal with the two methods. Please help. What i

Re: how to define a new asset domain

2016-05-10 Thread D.R.
configuration.add("file", new ExternalAssetFactory("file")) in your module, too. I have to admit, I did not test it, just browsing the T5.4 sources. Jens Am 10/05/16 um 08:53 schrieb D.R.: Hi @all, i need a new asset domain to have access to the filesyst

Re: how to define a new asset domain

2016-05-10 Thread D.R.
hing from memory). Kalle On Tue, May 10, 2016 at 10:29 PM, D.R. wrote: Hi Jens, thanks for answer. No, not really what i want. I would like to write in my .tml which renders something like: and take a file from the filesystem by a defined path. I think for that the ExternalUrlAssetFactory

Re: how to define a new asset domain

2016-05-13 Thread D.R.
e-the-application-server-in-a-java). Jetty had something similar, see their docs. Kalle On Tue, May 10, 2016 at 10:47 PM, D.R. wrote: Hi Kalle, sounds nice, how do i setup a new context and use it? Kind regards David On 11.05.2016 07:38, Kalle Korhonen wrote: If you are serving static files but wa

bootstrap affix onload not executed

2016-06-21 Thread D.R.
Hi, i try this example: http://www.w3schools.com/bootstrap/bootstrap_affix.asp with void afterRender() { _javaScriptSupport.require("bootstrap/affix"); } in a T5.4.1 environment, and the affix.js is loaded, require.js and jquery.js do some initialization, but the $(window).on(

Re: bootstrap affix onload not executed

2016-06-21 Thread D.R.
} }); And require it on .java void afterRender() { _javaScriptSupport.require(“my-affix-module”); } I think it works Regards Carlos Montero El 21/6/2016, a las 13:29, D.R. escribió: Hi, i try this example: http://www.w3schools.com/bootstrap/bootstrap_a

confused about countrycode in data-locale attribute

2016-06-27 Thread D.R.
Hi, i want my app in german, so in my appmodule i put configuration.add(SymbolConstants.SUPPORTED_LOCALES, "de"); 1. On my index page the html tag is rendered as: xmlns="http://www.w3.org/1999/xhtml";> or with productionmode==true: http://www.w3.org/1999/xhtml";> everything is fine here, just w

Re: confused about countrycode in data-locale attribute

2016-06-27 Thread D.R.
threadLocale.setLocale(new Locale("es")); ... } I hope the Tapestry Team fix the problem in a near future :) El 27/6/2016, a las 16:35, D.R. escribió: Hi, i want my app in german, so in my appmodule i put configuration.add(SymbolConstants.SUPPORTED_LO

Re: Update jquery/Boostrap to latest versions

2018-05-23 Thread D.R.
Hi, just for info: on the bootstrap homepage they suggest:| jquery-3.3.1.slim.min.js| but the slim version does not support "$" i.e. "$.ajax" using the non-slim min version, fixes this problem. Kind regards David On 26.04.2018 15:19, Ömer Genç wrote: Hey Cezary, thank you, this works. Nice

Re: No uploaded file when upgrading to new Tapestry version (Spring Boot jar, embedded Tomcat...)

2018-07-03 Thread D.R.
Hi, i had the same issue in one of two springboot/t5 apps spring.http.multipart.enabled=false worked for me in the second app, i don't have set that property and i don't facing any issues *weird* On 20.06.2018 15:00, Vjeran Marcinko wrote: Thanx Luca, I bet that would also work, but before

Re: [Ext] Re: file upload doesn't set file value

2018-07-03 Thread D.R.
one more hint for anyone who might run into to the same issue: spring.http.multipart.enabled=false worked for me On 14.12.2017 20:55, Dongmei Cao wrote: Thanks for your example! Just for anyone who might run into to the same issue. It was the SpringBoot causing the issue for our case (we m