RE: Tynamo Federatedaccounts OpenID module coming up...

2012-03-27 Thread Jure Jeseničnik
-Original Message- From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] Sent: Monday, March 26, 2012 10:07 PM To: Tapestry users Subject: Re: Tynamo Federatedaccounts OpenID module coming up... >Yes, I can see that. Mostly I'm wondering if there's a use case for limiting >to certain

Re: Dynamic CSS depending on URL

2012-03-27 Thread Bob Harner
Just a thought (haven't used it myself)... consider Template Skinning, which allows you to have more than one tml file for a given page or component. http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/ On Tue, Mar 27, 2012 at 11:12 AM, Juan Alba wrote: > Thanks for your help guy

Re: how we can use HttpOnly in Tapestry

2012-03-27 Thread Bob Harner
I agree with Howard, the question should be much more specific. But I guess you're asking whether Tapestry has an API to make it easy to set the HttpOnly flag in cookies sent to the browser. That's an interesting topic that I wanted the answer to myself. No, it doesn't. Tapestry's Cookie API (htt

Re: How to define a "private" service (a service only for another service)

2012-03-27 Thread Kalle Korhonen
On Tue, Mar 27, 2012 at 8:17 AM, fmaylinch wrote: >> Could you just inject an object with @Autobuild to your service? You'd > Thank you! Maybe we could use that. >> If you really needed, you could use static >> protected or static package private operations to synchronize state. > I don't understa

Re: how we can use HttpOnly in Tapestry

2012-03-27 Thread Howard Lewis Ship
http://catb.org/esr/faqs/smart-questions.html On Mon, Mar 26, 2012 at 11:20 PM, Athneria, Mahendra wrote: > Can someone tell me the example how we can use HttpOnly in tapestry? > > Regards, > Mahendra > > > > This e-mail and the documents attached are confidential and intended solely > for the a

Re: Tynamo Federatedaccounts OpenID module coming up...

2012-03-27 Thread Borut Bolcina
Hello, Let me put my 2 cents in ... On 26. mar. 2012, at 22:06, Kalle Korhonen wrote: > 2012/3/26 Jure Jeseničnik : >> First of all I hope that you find my contribution useful. I wish I could >> have done more. > > Jure, absolutely useful. You had pretty much hammered the > federatedaccounts

Re: How to define a "private" service (a service only for another service)

2012-03-27 Thread fmaylinch
Kalle Korhonen-2 wrote > > Could you just inject an object with @Autobuild to your service? You'd > get one per service it's used in but the object itself wouldn't be > available as a service. > Thank you! Maybe we could use that. Kalle Korhonen-2 wrote > > If you really needed, you could use

Re: Dynamic CSS depending on URL

2012-03-27 Thread Juan Alba
Thanks for your help guys, now I am realizing that my real problem is another one. It concerns more with the logic to know what style to load. My app can be used in the browser (regular way) or also as a Facebook App. This means an iframe where everything is smaller, and the backgrounds need to be

Re: How to define a "private" service (a service only for another service)

2012-03-27 Thread Kalle Korhonen
On Tue, Mar 27, 2012 at 3:04 AM, fmaylinch wrote: > We've found that some times we would like to define a service that will only > be used from some specific services (for example, services inside the same > package). > Is there any way to do this in Tapestry? This way, the developer won't use > t

Re: How to define a "private" service (a service only for another service)

2012-03-27 Thread Nicolas Barrera
Maybe you could use a custom annotation on the service... just like those used for disambiguate services and make that anntotation only visible to the service that needs the private service... I 'm not really sure about this... in fact i haven't tested it and... most important i think this way of

Re: Remote validator

2012-03-27 Thread Guillaume Bodet
It just works! Thanks Thiago (and so sorry not to have figured it out by myself ;;) Regards Guillaume Le 27 mars 2012 à 14:46, Thiago H. de Paula Figueiredo a écrit : > On Tue, 27 Mar 2012 07:47:37 -0300, Guillaume Bodet > wrote: > >> Hi all, > > Hi! > >> Is there any way to access a fiel

Re: Remote validator

2012-03-27 Thread Thiago H. de Paula Figueiredo
On Tue, 27 Mar 2012 07:47:37 -0300, Guillaume Bodet wrote: Hi all, Hi! Is there any way to access a field container component or ComponentResources from inside a validator class? Have you tried casting the Field parameter to Component? -- Thiago H. de Paula Figueiredo Independent Java

Re: Tapestry 5 + Microdata

2012-03-27 Thread Thiago H. de Paula Figueiredo
On Tue, 27 Mar 2012 04:46:43 -0300, Jan Fryblik wrote: Hi, Hi! i`ve tried to implement Microdata into some pages, but i`m getting exception below. I have doctype set on HTML5, all supporting javascripts included. Does somebody has experience with this? Please help, thanks in advance.

Remote validator

2012-03-27 Thread Guillaume Bodet
Hi all, I'm working on implementing a remote validator for T 5.3. The remote validator should perform an ajax call to the field's container component to check wether the value is valid, and have the same behavior as other client-side validations. Here is what I did : - extend AbstractValidator t

Re: Change default session timeout interval

2012-03-27 Thread Beat Durrer
I tried using a zoneupdater mixin inside a formfragment (which is shown/hidden using the triggerfragment mixin on a radiobutton). The code does what it's intended to do, aside from the reported error. With the mentioned patch the Exception is reported as following: Ajax failure: Status 200 for htt

Re: T5.2.6 jJquery Plugin 2.6.0 Form validation

2012-03-27 Thread resign
So i found the solution... maybe primitive but works for me First of all i packed my form in a Zone and add "clientValidation="false" " to form ... Then, in Java Class, in method onValidateFromForm i validate my form "manually" (userId!=null and so...) In case of error,

How to define a "private" service (a service only for another service)

2012-03-27 Thread fmaylinch
Hello, We've found that some times we would like to define a service that will only be used from some specific services (for example, services inside the same package). Is there any way to do this in Tapestry? This way, the developer won't use that "private" service from places where it is not su

Re: Dynamic CSS depending on URL

2012-03-27 Thread Lance Java
Tapestry uses the ImportWorker to process @Import annotations http://tapestry.apache.org/5.3/apidocs/src-html/org/apache/tapestry5/internal/transform/ImportWorker.html You could quite easily write your own annotation (and worker) to do a similar job with your custom logic On Monday, 26 March 2012

Tapestry 5 + Microdata

2012-03-27 Thread Jan Fryblik
Hi, i`ve tried to implement Microdata into some pages, but i`m getting exception below. I have doctype set on HTML5, all supporting javascripts included. Does somebody has experience with this? Please help, thanks in advance. Caused by: org.xml.sax.SAXParseException: Attribute name "itemscope" as

Re: [ANNOUNCEMENT] Introducing tapestry-activiti

2012-03-27 Thread antalk
This is great ! We already have it working over here to manage our reverse logistics process for our customers. We use it to manage a process flow with timers and tasks notifying the user of open tasks and sending out emails using Tapestry services. Integration with Tapestry worked flawlessly and