Re: tapestry-cometd && tynamo-security

2013-10-23 Thread Jarda Sedmy
Boris, Lance, I have secured only pages with annotation @RequiresAuthentication. However, page security is checked for component event too. As you can see in SecurityComponentRequestFilter line 40: public void handleComponentEvent(...) throws IOException { checkInternal(parameters.getActivePag

How to make login to database virtual mutually exclusive per user

2013-10-23 Thread Ken in Nashua
Hi Folks, I have a database. And I want all users to login... But I want all my code to cater to each user, regardless of how many are logged in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY... CONTENTION...total mayhem I am worried about database collisions amongst the tables sinc

[T5.4] AjaxFormLoop - is it working?

2013-10-23 Thread MichaƂ Gruca
Hi all, I've been working to get AjaxFormLoop running for a while. The problem may be between chair and keyboard, and I've failed on copy pasting. I need a simple table that allows to add and remove rows inside a form. I hope for a simple version, as nothing fancy is necessary. Actually first impl

Re: tapestry-cometd && tynamo-security

2013-10-23 Thread Boris Horvat
True, my security is per page in this case. I can try to put in security on the event just to test if that will cause the problem (I will try to do that tomorrow after work) On Wed, Oct 23, 2013 at 10:53 PM, Lance Java wrote: > tapestry-cometd has always used ParallelExecutor to render content s

Re: tapestry-cometd && tynamo-security

2013-10-23 Thread Lance Java
tapestry-cometd has always used ParallelExecutor to render content so that the current thread is not polluted with PerThreadValues. tapestry-offline was only created to extract the offline rendering into a reusable module. I suspect that Jarda has security on his push event and maybe Boris only ha

Re: How to make login to database virtual mutually exclusive per user

2013-10-23 Thread Jens Breitenstein
Hi Ken, how is this related to Tapestry? Am 23.10.13 22:30, schrieb Ken in Nashua: Hi Folks, I have a database. And I want all users to login... But I want all my code to cater to each user, regardless of how many are logged in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY... CONTEN

How to make login to database virtual mutually exclusive per user

2013-10-23 Thread Ken in Nashua
Hi Folks, I have a database. And I want all users to login... But I want all my code to cater to each user, regardless of how many are logged in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY... CONTENTION...total mayhem I am worried about database collisions amongst the tables since th

Re: Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
Oh sorry, seems I was wrong about the reason for failing. It fails because it timesout trying to get a resource from this bit of code in my tml (which usually works): http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"; type="text/javascript"> I suppose my action should be to

Re: Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
Excellent, thanks Dmitry. I just gave that a try and I am a step closer. Even though my testng.xml is as above, my tests are firing up using firefox rather than Chrome and are trying to connect to port 9090. The output which goes to System.err is: [TestNG] Running: C:\Users\syn\AppData\Local\

Re: Integration Testing using Selenium + Eclipse

2013-10-23 Thread Dmitry Gusev
Just run it as usual TestNG unit test. You may probably need TestNG eclipse plugin for this: http://testng.org/doc/eclipse.html On Wed, Oct 23, 2013 at 6:38 PM, Steve wrote: > Hello, > > I hope everyone is having a good day. > > I am sure this has been asked before but when searching I haven't

Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
Hello, I hope everyone is having a good day. I am sure this has been asked before but when searching I haven't been able to find a solution. I have an T5 application which runs ok, but I know there are some issues and I would like to start using selenium whilst it is still early in the project. I

How create Autocomplete with selectbox

2013-10-23 Thread Vasili Petrenko
I'm new to Tapestry. I want to change the behavior in autocomplete. I want to display a selection list when i'm click on the input field. How do I set up the click event to show the list. Something like this. http://jqueryui.com/autocomplete/#combobox It can also be as a pure input field.

How create Autocomplete with selectbox

2013-10-23 Thread Vasili Petrenko
I'm new to Tapestry. I want to change the behavior in autocomplete. I want to display a selection list when i'm click on the input field. How do I set up the click event to show the list. Something like this. http://jqueryui.com/autocomplete/#combobox It can also be as a pure input field.

Re: Show Form Button Only to Logged in Users

2013-10-23 Thread Thiago H de Paula Figueiredo
On Tue, 22 Oct 2013 23:54:21 -0200, Net Dawg wrote: Want to show form button only if the user is already logged in. Using HTTP BASIC Authentication provided by Tomcat host http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1033295 Does Tapestry have out-of-box solution f

Re: Datatables warning when using

2013-10-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Oct 2013 07:14:43 -0200, Steve wrote: Hi Lidija, Hi, guys! I had a similar question myself about conditionally including libraries and I believe you can find the answer here: http://tapestry.apache.org/javascript.html If you scroll down (or ctrl +f) to "The importJavaScriptLibra

Re: tapestry-cometd && tynamo-security

2013-10-23 Thread Boris Horvat
I use org.lazan tapestry-cometd 0.9.14 org.tynamo tapestry-security 0.5.1 So it does look like there is a chance something has been changed in cometd. On Wed, Oct 23, 2013 at 1:32 PM, Jar

Re: tapestry-cometd && tynamo-security

2013-10-23 Thread Jarda Sedmy
Boris, are you using tapestry-tcomet with version 0.9.18? Maybe the issue is only in this latest version because rendering of pushed requests was changed and now is made through tapestry-offline and parallel executor - parallel executor uses new threads which, of course, are not initialized for ty

Re: Datatables warning when using

2013-10-23 Thread Steve
Hi Lidija, I had a similar question myself about conditionally including libraries and I believe you can find the answer here: http://tapestry.apache.org/javascript.html If you scroll down (or ctrl +f) to "The importJavaScriptLibrary method" - I think this may help you. It looks like the approach