Re: Authorization Filter in Tapestry ?

2007-01-19 Thread andyhot
Check out the conf.points of tapestry.request http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/module/tapestry.request.html Did you contribute your filter to the WebRequestServicer Pipeline ? sunilmanu wrote: Hello Everyone, I want to implement an Authorization Filter in Tapes

Re: OT: Better Java performance on Linux

2007-01-19 Thread Inge Solvoll
Thanks for great help to all of you! When I said "performance gap", I meant for example starting tomcat in 5 sec instead of 20 sec, much faster eclipse, and so on. I'm a little confused when downloading JDK from Sun's pages, does it matter if I download SE or EE? Does it matter at all what JDK v

Re: Acegi and Visit object

2007-01-19 Thread Srinivas Yermal
The one option that I keep seeing in the archives is reading in the user details through either the request.getRemoteUser() or SecurityContextHolder. I am ok with either of them. The only issue however is where to put this initialization code? Should this code be a part of the base page like say

Re: Acegi and Visit object

2007-01-19 Thread andyhot
i've been using tapestry-acegi, so perhaps this might not be helpful in your case... so, how are you declaring the UserDetailsService implementation to be used by acegi ? If you could inject into hivemind's ApplicationStateManager you would be able to access any ASO you'd like. Srinivas Y

Re: Acegi and Visit object

2007-01-19 Thread Srinivas Yermal
Hi Andreas, Thanks for the response. Does tapestry-acegi automagically fill-in the user details into the visit object? Or should I do something? I use spring for my acegi declarations and specify my UserDetailsService in the DaoAuthenticationProvider. You mention ASO. How would I go about doing

Tapestry 4.1 and Ajax enabled Contrib TablePages component

2007-01-19 Thread karthik G
Hi All, I tried using the TablePages component in my tapestry component that in turn is being refreshed through Ajax. TablePages doesnt seem to be working in Ajax mode. How are you guys handling this requirement now? I need a Ajax enabled custom Contrib Table component (and hence am using Table

Re: Tapestry 4.1 and Ajax enabled Contrib TablePages component

2007-01-19 Thread jiju
you can try tacos:Table it implements ajax features in contrib table karthik G wrote: > > Hi All, > > I tried using the TablePages component in my tapestry component that in > turn > is being refreshed through Ajax. TablePages doesnt seem to be working in > Ajax mode. > > How are you guys han

Re: Acegi and Visit object

2007-01-19 Thread andyhot
Actually, I'm not sure that the UserDetailsService is the best option for setting up visit, (cause the user may not eventually have the correct password) but anyway, here's how it can be done using hivemind and tapestry-acegi: model="singleton">

Re: Acegi and Visit object

2007-01-19 Thread James Carman
This is the main reason that I wrote Tapestry-Acegi, so that you get the best of both worlds. You can get at all the good Tapestry framework stuff and have the Acegi stuff too. On 1/19/07, andyhot <[EMAIL PROTECTED]> wrote: Actually, I'm not sure that the UserDetailsService is the best option

Re: Acegi and Visit object

2007-01-19 Thread andyhot
James Carman wrote: This is the main reason that I wrote Tapestry-Acegi, so that you get the best of both worlds. You can get at all the good Tapestry framework stuff and have the Acegi stuff too. James, it was useful for me to have the hivedocs for the tapestry.acegi and the hivemind.acegi mo

Clearone support in sipXconfig

2007-01-19 Thread Damian Krzeminski
Jeff: I believe sipXconfig is now capable of configuring Max IP and I'd like to add that information on sipX wiki, but I did not have a chance to test it since SIPit. Did you have an opportunity to use 3.7 build to test it? I am also asked if plugin is mature enough to be part of commercial ve

Re: Acegi and Visit object

2007-01-19 Thread jake123
James Carman wrote: > > This is the main reason that I wrote Tapestry-Acegi, so that you get > the best of both worlds. You can get at all the good Tapestry > framework stuff and have the Acegi stuff too. > Hi James, We are about to implement Acegi to our application and we are using Spring

Re: Difference between @InjectState & @Persist

2007-01-19 Thread RonPiterman
while state objects are shared between all pages / components, persistant properties are only accessed by the page / component which declares them. Cheers, Ron jiju wrote: Hi All, can you explain whats the difference if we are saving a page property as ASO with scope="session" and if we are

RE: OT: Better Java performance on Linux

2007-01-19 Thread Mark Stang
Inge, The SE should be a client version and designed for quick GUI start-up. Whereas the EE version is the "server" version and starts slower, but is designed for long-time running. They have different garbage collection strategies. HTH, Mark Mark J. Stang Senior Engineer/Architect office: +

Re: Ajax Loading Indicator (google style)

2007-01-19 Thread Markus Joschko
Can't help with the previous issue but have someone tried this for a form? This would mean to connect against the tapestry.form.submitAsync method I can't get it to work because when addOnLoad fires the corresponding tapestry js file is not yet fetched so the method does not exist. I can't see an

Re: Acegi and Visit object

2007-01-19 Thread James Carman
Basically, tapestry-acegi just allows you to glue all of the Acegi stuff together using HiveMind, rather than Spring (it's all just "object soup" right?). Actually, the majority of the configuration of the services goes on outside of tapestry-acegi itself (it's in hivemind-acegi and hivemind-aceg

Re: Acegi and Visit object

2007-01-19 Thread James Carman
Sure, send it along. Actually, if the plugin is available via some maven repo, then I can just include it in my maven build and have it in there as one of the reports. On 1/19/07, andyhot <[EMAIL PROTECTED]> wrote: James Carman wrote: > This is the main reason that I wrote Tapestry-Acegi, so th

Tap 4.1.2 Snapshot : Using Dojo TabContainer

2007-01-19 Thread Shing Hing Man
I have noticed the static way of defining a Dojo TabContainer in a Tapestry page html template does not work. This is a piece of static content. This is tab2 However it works when the TabContainer widget is created dynamically. Eg :

Re: Acegi and Visit object

2007-01-19 Thread Thiago H de Paula Figueiredo
On Fri, 19 Jan 2007 15:09:58 -0200, James Carman <[EMAIL PROTECTED]> wrote: Basically, tapestry-acegi just allows you to glue all of the Acegi stuff together using HiveMind, rather than Spring (it's all just "object soup" right?). [snip] The cool part of tapestry-acegi is that it lets you us

Re: Acegi and Visit object

2007-01-19 Thread andyhot
James Carman wrote: Sure, send it along. Actually, if the plugin is available via some maven repo, then I can just include it in my maven build and have it in there as one of the reports. just add ch.marcus-schulte.maven hivedoc-plugin

Re: Acegi and Visit object

2007-01-19 Thread jake123
andyhot wrote: > > James Carman wrote: >> This is the main reason that I wrote Tapestry-Acegi, so that you get >> the best of both worlds. You can get at all the good Tapestry >> framework stuff and have the Acegi stuff too. > > James, it was useful for me to have the hivedocs for the tapestr

Re: Authorization Filter in Tapestry ?

2007-01-19 Thread sunilmanu
Yes, i do contribute filter to WebRequestServicer. I got it working looking at another example posted in the forum. But now the question is how do I redirect to Login Page when I find out no user exists in session ? the tapestry WebResponse does not have any "sendRedirect" like we have in the no

Re: Authorization Filter in Tapestry ?

2007-01-19 Thread andyhot
Not sure, but why not implement org.apache.tapestry.services.ServletRequestServicerFilter instead of WebRequestServicerFilter and contribute to ServletRequestServicer sunilmanu wrote: Yes, i do contribute filter to WebRequestServicer. I got it working looking at another example posted in th

Re: Acegi and Visit object

2007-01-19 Thread James Carman
The HiveDocs are online, now. Please refer to http://www.carmanconsulting.com/tapestry-acegi Wow! That hivedoc plugin is really cool! We do need to get that incorporated as a subproject of the HiveMind project itself. Nice work! Very easy to use. On 1/19/07, jake123 <[EMAIL PROTECTED]> w

Re: Tapestry DOJO Dialog with JavaScript OFF

2007-01-19 Thread Roberto Ramírez Vique
In fact you can just put your dialog inside a hidden span / div / td ..., and when JS is on dojo will rewrite and make it visible, when JS is off this is just not shown. On 1/18/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Hello All, I like AJAX implementation in Tapestry not only because i

Aligning columns in external table to a contrib table

2007-01-19 Thread Daniel Jue
Hi all, I have an issue with some table columns that I was hoping to solve without a lot of complex java. =) I have a contrib table with sortable columns. I also have a table that has one row of aggregate data (totals, averages, etc), that needs to line up with the corresponding columns in the c

@BeanForm for a Cat and its Owner (PropertySelection)

2007-01-19 Thread munich
I got it working now...I saw some helpful additional comments on the sourceforge page. I used the annotations now and did without a page file. I also added a library line to the application file. Another error was that I forgot the PageBeginRender interface so that the object was null when the pa

Re: @BeanForm for a Cat and its Owner (PropertySelection)

2007-01-19 Thread D&J Gredler
You will need to create a small class that implements IPropertySelectionModel (maybe inside your page class): private final static class OwnerPropertySelectionModel implements IPropertySelectionModel { private List owners; public OwnerPropertySelectionModel( List owners ) {