Re: tapestry-security and sso

2011-07-22 Thread Clément OUDOT
2011/7/22 Nicolas Barrera : > Hi, > > just wondered... (nothing concrete) > > about a tapestry app implementing single -sign on... > > does tapestry-security integrates with a CAS server? ( I 'm thinking about > that because I 've never used shiro although I could start using it, no > problem. But

Re: tapestry-security and sso

2011-07-22 Thread Nicolas Barrera
Hi, Thanks Kalle for your response... On Fri, Jul 22, 2011 at 12:39 PM, Kalle Korhonen wrote: > Well, there are plenty of single-sign-on solutions but if you have a > CAS server that's what you need to use. > In fact, we ain't got nothing implemented yet and I could choose among different solu

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread fante
Thanks for you advice, it feels like im getting closer to what I want to achieve. Below I posted the Java/Tml for my Page. (Initially I wanted this to be under components instead, but for clarity I converted to a Page) It seems to render stuff, but I still get Javascript Errors when I try to use i

Re: Question about navigation with controllers

2011-07-22 Thread kleanthis
check this out. It's a wonderful module that shows you how to extract page names and activation context, create link objects and return them. You can also use CallbackBean from tapestry instead of the provided bean to store the page information. I teacked it so it would work as navigation history,

Re: Avoiding "validate" event after "canceled" from BeanEditForm

2011-07-22 Thread kleanthis
I had the same problem, and did't know about ValidationTracker.clear. I solved this problem by using a flag. on selected from cancel button i set it to true and in validation event i'd first check the flag, if true record error and return. i'll try the ValidationTracker now though. -- View this me

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread Taha Hafeez
All form fields are bound to some values. If you want to add list of these fields to the form you need to store these values in some list :) May be you can explain with some code regards Taha On Fri, Jul 22, 2011 at 9:25 PM, fante wrote: > Hi Taha, > > I really appreciate your advice here. > >

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread fante
Hi Taha, I really appreciate your advice here. But how would I use an AjaxFormLoop here? I only used the AjaxFormLoop when I have a collection of data Item before, Can I really use it with components? Cheers Fante -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Dy

Re: tapestry-security and sso

2011-07-22 Thread Kalle Korhonen
On Fri, Jul 22, 2011 at 7:11 AM, Nicolas Barrera wrote: > about a tapestry app implementing single -sign on... > does tapestry-security integrates with a CAS server? ( I 'm thinking about > that because I 've never used shiro although I could start using it, no > problem. But I come from acegi whe

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread Taha Hafeez
How about http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html or http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/FormInjector.html regards Taha On Fri, Jul 22, 2011 at 8:28 PM, fante wrote:

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread fante
Hi Taha, If using a FormFragment, I need to know exactly how many sections in advance. By dynamically, I mean to supply a button/link that when clicked, displays a new section with the Ajax upload File component and the additional meta data that goes with it, underneath the original one. Thank

Re: T5: Dynamically add section of upload files in form

2011-07-22 Thread Taha Hafeez
Hi I am confused about the "dynamically" thing but may be this will help http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/FormFragment.html regards Taha On Fri, Jul 22, 2011 at 7:53 PM, fante wrote: > Hey all > > I have recently integrated the Tawus

T5: Dynamically add section of upload files in form

2011-07-22 Thread fante
Hey all I have recently integrated the Tawus T5 component for Ajax upload in my application. See his blogg at http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ (Kudos to tawus for providing that) I created a Component that contains this upload and some additional form fields, so th

tapestry-security and sso

2011-07-22 Thread Nicolas Barrera
Hi, just wondered... (nothing concrete) about a tapestry app implementing single -sign on... does tapestry-security integrates with a CAS server? ( I 'm thinking about that because I 've never used shiro although I could start using it, no problem. But I come from acegi where it integrated with

Re: Pass component property into page.

2011-07-22 Thread Thiago H. de Paula Figueiredo
On Fri, 22 Jul 2011 09:12:33 -0300, George Christman wrote: Thanks everyone. I only used the title as a simple example to figure out if components were bi directional. Components aren't bidirectional. Bindings (used in component parameters) can be bidirectional. The prop binding is bidir

Re: Pass component property into page.

2011-07-22 Thread George Christman
Thanks everyone. I only used the title as a simple example to figure out if components were bi directional. I use two pages, create and update which render the component containing all the page data within the page. There's times I need to get some of those values back to the layout component from

RE: Loop and javascript

2011-07-22 Thread ashu.soman
Hi! the same works for checkboxes. It takes t:clientId as id when generating html. But in case of radio buttons with radiogroup, it takes auto generated id unless you specify one in t:id. Ashutosh -- View this message in context: http://tapestry.1045711.n5.nabble.com/Loop-and-javascript-tp46184

Re: Unable to resolve 'tapx/datefield' to a component class name.

2011-07-22 Thread captain_rhino
Thanks for you help. As a bit of a maven/tapestry novice I realised I had not added the dependcies in the POM correctly com.howardlewisship tapx-core ${tapx-release-version}