security

2011-12-04 Thread csckid
Can I use spring security in my tapestry project? though there is Tynamo tapestry security -- View this message in context: http://tapestry.1045711.n5.nabble.com/security-tp5045892p5045892.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: security

2011-12-04 Thread Dragan Sahpaski
Hi, I've been using tapestry-security (from the tynamo team) for quite some time now and I highly recommend it. It's based on apache shiro which is very mature. Cheers, Dragan Sahpaski On Sun, Dec 4, 2011 at 10:01 AM, csckid testnowsh...@gmail.com wrote: Can I use spring security in my

Re: URL Rewrite

2011-12-04 Thread angelochen
Hi Thiago, Your API has been working well up to this day, for the sake of upgrading to 5.3, now I need to convert it to LinkTransformer, now I can't find a way to do the part for outgoing rewrite, can you point me to some directions? THanks, Angelo Thiago H de Paula Figueiredo wrote We

Re: Show your Tapestry support!

2011-12-04 Thread Christian Riedel
congratulations... seems the announcement made it to #1 in dzone's top links! hope you're satisfied with that result ;-) Am 02.12.2011 um 01:16 schrieb Howard Lewis Ship: On additional note ... there's several links along the left edge of the page for voting up the announcement. Please do

Re: URL Rewrite

2011-12-04 Thread Emmanuel DEMEY
Hi Angelo The only documentation about LinkTransformer available is on the Igor's blog : http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ Manu 2011/12/4 angelochen angelochen...@yahoo.com.hk Hi Thiago, Your API has been working well up to this day, for the sake of

Slow rendering of pagelinks !?

2011-12-04 Thread Gunnar Eketrapp
Hi! I have an page which I would like to speed up and when looking into it I found out the the tml section below adds ca 3000 msecs to request the page for a page with 18 grid lines and an avarage of 3 bookings per line. That gives ca 55 msecs per rendered page link. Is this normal considered

Re: Show your Tapestry support!

2011-12-04 Thread Gunnar Eketrapp
I would love to upgrade to 5.3 and show my support but since user types stopped working I am not able to do so. But as soon as https://issues.apache.org/jira/browse/TAP5-1763 is resolved I will of course praise this excellent release. (Yesterday I added a minimal project that highlights the error

Re: security

2011-12-04 Thread Seamus Minogue
But in answer to your question... Yes you could use spring security if you were so inclined. Localhost.nu has a library I have used. Although I am with Dragan on using Tynamo it's the route I would recommend. -Seamus On Dec 4, 2011, at 5:06 AM, Dragan Sahpaski dragan.sahpa...@gmail.com wrote:

Re: security

2011-12-04 Thread Seamus Minogue
Sorry I was on my phone when I wrote the earlier message and didnt have the complete URL handy. http://www.localhost.nu/java/tapestry-spring-security/ is the URL of that library I mentioned. Looking at it I dont think I would recommend it. I used it back when I was on Tapestry 5.1.0.5 which

Re: urlrewriter and T5.3

2011-12-04 Thread Thiago H. de Paula Figueiredo
On Sat, 03 Dec 2011 10:57:07 -0200, angelochen angelochen...@yahoo.com.hk wrote: got quite a big application and would like to upgrade to 5.3. struggling whole day to convert my rewriting rules from URLrewriter to LinkTransformer, seems not getting expected behavior, is there a way to have

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-12-04 Thread Thiago H. de Paula Figueiredo
On Sat, 03 Dec 2011 08:53:14 -0200, derkoe tapestry.christian.koeb...@gmail.com wrote: Is this some build glitch with the switch to Gradle? Or is this the problem with meta-programming and measuring coverage? I'd guess it's caused by the switch. -- Thiago H. de Paula Figueiredo

Re: Slow rendering of pagelinks !?

2011-12-04 Thread Thiago H. de Paula Figueiredo
On Sun, 04 Dec 2011 09:20:31 -0200, Gunnar Eketrapp gunnar.eketr...@gmail.com wrote: Hi! Hi! I have an page which I would like to speed up and when looking into it I found out the the tml section below adds ca 3000 msecs to request the page for a page with 18 grid lines and an avarage

Re: urlrewriter and T5.3

2011-12-04 Thread Kalle Korhonen
Since URLrewriter is a separate service, couldn't you just lift the code from 5.2 and put it in your application so you can go on with your business? Just asking - I don't know if there were some drastic internal changes that would make it impossible to implement URLrewriter in 5.3. Kalle On

Re: [5.3] JSONArray Error while submitting forms

2011-12-04 Thread Gunnar Eketrapp
Did you solve this? I am getting the same right now. I just started my second attempt with 5.3 after Taha pointed out a solution for my user type translators. But now I am looking at these JSONArray stack traces ... Perhaps there is a snapshot release of 5.3 that I can try with !? 2011/11/21

Re: [5.3] JSONArray Error while submitting forms

2011-12-04 Thread Gunnar Eketrapp
For some reason my form submission crashes in the the method isFormCancelled in Form.java. The call to JSONArray(raw) crashes since raw is an empty string which is not allowed. I must have missed something with 5.3 and form handling that is incompatible with 5.2.6. Does anyone have a clue what

Re: security

2011-12-04 Thread Richard Frovarp
On 12/4/2011 3:01 AM, csckid wrote: Can I use spring security in my tapestry project? though there is Tynamo tapestry security What do you hope to accomplish? I'm using Spring Security to do protect URL paths with CAS. That was fairly easy to setup, my biggest problem is any documentation

Crop after upload

2011-12-04 Thread Greg Pagendam-Turner
Hi, I'm using Tapestry 5.3 with tapestry-jquery. I have a page that is responsible for uploading an image via AJAX and then allowing the user to crop the image. The problem is I can't get the Crop image component to come up properly. I've tried returning the Zone in the AjaxUpload handler

Re: urlrewriter and T5.3

2011-12-04 Thread angelochen
I did, but not able to make it work:( Kalle Korhonen-2 wrote Since URLrewriter is a separate service, couldn't you just lift the code from 5.2 and put it in your application so you can go on with your business? Just asking - I don't know if there were some drastic internal changes that

Re: Slow rendering of pagelinks !?

2011-12-04 Thread Howard Lewis Ship
That seems awfully high ... I suspect the problem is elsewhere, such as how your entity objects are retrieved from the database; I would suspect the classic N+1 selects issue http://stackoverflow.com/questions/97197/what-is-the-n1-selects-problem Definitely enable logging of your SQL operations

Re: urlrewriter and T5.3

2011-12-04 Thread angelochen
Thanks Thiago, here is the JIRA: https://issues.apache.org/jira/browse/TAP5-1767 Thiago H de Paula Figueiredo wrote On Sat, 03 Dec 2011 10:57:07 -0200, angelochen File a JIRA for that. ;) I'll do that when I have time. -- View this message in context:

Re: Slow rendering of pagelinks !?

2011-12-04 Thread Gunnar Eketrapp
Howord I found this issue and it was my LinkTransformer that made a db lookup! Very embarrasing. Now I am stuck with this when my login form submits ... Caused by: java.lang.RuntimeException: A JSONArray text must start with '[' at character 0 of at

T5.3: unable to change color of beaneditor border

2011-12-04 Thread George Ludwig
I'm want to change the border color of all the beaneditors to blue, so I added this to my layout.css: DIV.t-beaneditor { background: none repeat scroll 0 0 #CC; border: 2px outset blue; display: block; font-family: Trebuchet MS,Arial,sans-serif; padding: 2px; } However,

Re: urlrewriter and T5.3

2011-12-04 Thread Thiago H. de Paula Figueiredo
On Sun, 04 Dec 2011 15:05:44 -0200, Kalle Korhonen kalle.o.korho...@gmail.com wrote: Since URLrewriter is a separate service, couldn't you just lift the code from 5.2 and put it in your application so you can go on with your business? I guess this should work. The old URL rewriter was an

Re: T5.3: unable to change color of beaneditor border

2011-12-04 Thread Dusko Jovanovski
Try replacing your entry in your layout.css with this snippet: DIV.t-beaneditor { border: 2px outset blue !important; } On Mon, Dec 5, 2011 at 12:53 AM, George Ludwig georgelud...@gmail.comwrote: I'm want to change the border color of all the beaneditors to blue, so I added this to my

Re: T5.3: unable to change color of beaneditor border

2011-12-04 Thread George Ludwig
Thanks, that did the trick! I'm not an expert on CSS...I'm curious by what mechanism were those attributes protected? On Sun, Dec 4, 2011 at 4:48 PM, Dusko Jovanovski dusk...@gmail.com wrote: Try replacing your entry in your layout.css with this snippet: DIV.t-beaneditor { border: 2px

Re: T5.3: unable to change color of beaneditor border

2011-12-04 Thread Taha Hafeez Siddiqi
Hi You can google CSS Overriding http://www.google.co.in/search?q=css+overriding regards Taha On Dec 5, 2011, at 6:32 AM, George Ludwig wrote: Thanks, that did the trick! I'm not an expert on CSS...I'm curious by what mechanism were those attributes protected? On Sun, Dec 4, 2011 at

Re: T5 Javascript API - docs?

2011-12-04 Thread Andreas Bohnert
thank you bob! Bob Harner schrieb: Andreas, My impression is that there has never been an actual stable, documented, set of APIs. That phrase reflects near-term plans rather than present reality. The common advice has always been to just read tapestry.js to see what functionality is available

T5.3 upgrade exception problem

2011-12-04 Thread angelochen
Hi, notice this when trying to upgrade, say your have this in the page/component: onActionFromValidate then you need to have an action link in the tml: validate if you don't have an action link, then you got an exception: ...references component id 'validate' which does not exist. is there

Re: T5.3 upgrade exception problem

2011-12-04 Thread angelochen
this works: configuration.add(SymbolConstants.UNKNOWN_COMPONENT_ID_CHECK_ENABLED, false); -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-upgrade-exception-problem-tp5047703p5047842.html Sent from the Tapestry - User mailing list archive at Nabble.com.

a trouble problem

2011-12-04 Thread dick_hu
there is a trouble problem with a long time. when I modfiy some Pages or components and not restart the server, it where spend a long time to show the Page in browser, sometime it will occur a Exception such as Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to

Re: a trouble problem

2011-12-04 Thread angelochen
try this: JAVA_OPTS='-Xms256m -Xmx1024m' -- View this message in context: http://tapestry.1045711.n5.nabble.com/a-trouble-problem-tp5047877p5047892.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To