Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Inge Solvoll
I'm trying to find a place where I can post my pre-order :) On Fri, Jun 11, 2010 at 8:34 AM, Borut Bolčina wrote: > This week is full of god news! > -borut > > 2010/6/11 Igor Drobiazko > > > Hello folks, > > > > great news for all of you who wished my Tapestry 5 book to be translated > > into En

Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Borut Bolčina
This week is full of god news! -borut 2010/6/11 Igor Drobiazko > Hello folks, > > great news for all of you who wished my Tapestry 5 book to be translated > into English. Manning Publications informed me today that the translation > agreement is finalized. We start working on the English version

if someone has the quickstart project in ecliipse....

2010-06-10 Thread Paul Stanton
please post the .classpath file contents for me. i have a build path issue i'd like to resolve... thanks, p. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.a

Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Alex Kotchnev
Igor, do let us know when the book enters MEAP, I can't wait to see it. Regards, Alex K On Thu, Jun 10, 2010 at 7:15 PM, Howard Lewis Ship wrote: > That is just terrific! I can't wait to read it! > > On Thu, Jun 10, 2010 at 4:03 PM, Igor Drobiazko > wrote: > > Hello folks, > > > > great n

context on pages.

2010-06-10 Thread Christian Edward Gruber
Hey, I have a page Foo which has a component Bar. I have an onActivate(String blah) on the page, and a form on Bar. I can get everything working, but, when I do onSuccess() on the Bar component, the context is not set on Foo, so the re-driect doesn't include the context. Is the

Re: context on pages.

2010-06-10 Thread Markus Feindler
Hi, you are missing the onPassivate(){ return blah; } in your page class. Furthermore you don't have to do foo.setBlah(blah) <- should that be setBlah(fooBlah?), because the parameter is bidirectional. Please correct me, if I'm wrong. Markus Hey, I have a page Foo which has a component

Re: context on pages.

2010-06-10 Thread Christian Edward Gruber
Sorry - we did just figure out that we were missing onPassivate. Completely re-did it that way. Thanks. quick question though... would yoiu return an array from onPassivate if you needed more than one context element? Christian. On Jun 10, 2010, at 5:54 PM, Markus Feindler wrote: Hi,

Re: setting session managed entities

2010-06-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Jun 2010 16:49:37 -0300, Paul Stanton wrote: My question is, is there anyway to get/set the SSO from outside of the context of a Page? I need to create the SSO before the page is called in the ComponentRequestFilter.handlePageRender. Use the ApplicationStateManager service. -

Re: setting session managed entities

2010-06-10 Thread Paul Stanton
thanks thiago. Thiago H. de Paula Figueiredo wrote: On Thu, 10 Jun 2010 16:49:37 -0300, Paul Stanton wrote: My question is, is there anyway to get/set the SSO from outside of the context of a Page? I need to create the SSO before the page is called in the ComponentRequestFilter.handlePageRe

Re: context on pages.

2010-06-10 Thread Howard Lewis Ship
You can return an array or a List. Inside onActivate(), you can define multiple parameters to the activate method. 5.2 also adds a @QueryParameter annotation On Thu, Jun 10, 2010 at 3:21 PM, Christian Edward Gruber wrote: > Sorry - we did just figure out that we were missing onPassivate.  Compl

Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Howard Lewis Ship
That is just terrific! I can't wait to read it! On Thu, Jun 10, 2010 at 4:03 PM, Igor Drobiazko wrote: > Hello folks, > > great news for all of you who wished my Tapestry 5 book to be translated > into English. Manning Publications informed me today that the translation > agreement is finalized.

setting session managed entities

2010-06-10 Thread Paul Stanton
I have an SSO shared amongst pages. public class MyPage { @SessionState private MyState myState; } There is some configuration which needs to happen the first time a particular group of pages is requested and part of that is configuring this MyState object. I do this configuration in a cus

Re: Asset protection and upgrade notes

2010-06-10 Thread Howard Lewis Ship
There aren't any plans to create a direct replacement for RegexAuthorizer. Tapestry now protects WEB-INF and META-INF. A much more limited stretch of the classpath is exposed; only classpath resources below your application's root package are made visible. For resources you want to make protecte

[ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Igor Drobiazko
Hello folks, great news for all of you who wished my Tapestry 5 book to be translated into English. Manning Publications informed me today that the translation agreement is finalized. We start working on the English version of the book. Read more on my blog: http://blog.tapestry5.de/index.php/20

PDF, Flying Saucer, render event vs component event

2010-06-10 Thread aash
I'm trying to create a button that will take the *current* page, and stream it back as a PDF. I have seen that I can use a MarkupWriter in afterRender to get the html of the current page. Also, i have kludged an onActivate() to return a PDFStreamResponse that will stream a PDF to the page correc

Re: How to enable suggestions when entering the input field

2010-06-10 Thread Donarus
Hi again, so I tried to construct solution in way, you mentioned. Here is my solution. Event.observe(autoCompleterTextFieldElementIdPasteHere, 'focus', function(event) { $T(autoCompleterTextFieldElementIdPasteHere).autocompleter.activate(); }); This is working as I want .. So THX very

Re: Authentication error with Tapestry-Spring-Security [SOLVED]

2010-06-10 Thread Daniel Henze
Well, that did help. Somehow, as it left me even more confused at the beginning. Debugging activated, I came to realize, that the loadByUsername method in the UserDetailsServiceImpl never even is called on Login. So, knowing that I started to mock around in the AppModule and pushed things aro

Re: Grid and inPlace="true" query

2010-06-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Jun 2010 08:42:33 -0300, Jim O'Callaghan wrote: Thanks Thiago - that was the problem. Could you suggest the best approach for populating the list that backs the grid? I didn't want to persist it in the session longer than necessary, and using PersistenceConstants.FLASH works

RE: Grid and inPlace="true" query

2010-06-10 Thread Jim O'Callaghan
Thanks Thiago - that was the problem. Could you suggest the best approach for populating the list that backs the grid? I didn't want to persist it in the session longer than necessary, and using PersistenceConstants.FLASH works the first time the pager is used, but not the second, as the list

Re: Grid and inPlace="true" query

2010-06-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Jun 2010 05:51:38 -0300, Jim O'Callaghan wrote: Are there any known issues with inPlace="true" for grids with the T5.2.0-SNAPSHOT? I'm finding that sometimes when using the pager to navigate to the second page of a list it is coming up blank with the default 'no results' type me

Re: enhanced grid component

2010-06-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Jun 2010 08:03:30 -0300, Kiss Izolda wrote: Dear Tapestry Users, Hi! The header of the org.apache.tapestry5.corelib.components.Grid component is not suitable for the Client. The title should be aligned to left and the short icon to right... Take a look at the generated HTML u

Re: disable label suffix

2010-06-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Jun 2010 04:52:27 -0300, Stefan Schuetz wrote: lol there's really no symbol/property etc. to disable that? It's just CSS, so use CSS overriding for that. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor O

enhanced grid component

2010-06-10 Thread Kiss Izolda
Dear Tapestry Users, The header of the org.apache.tapestry5.corelib.components.Grid component is not suitable for the Client. The title should be aligned to left and the short icon to right... I would like to avoide overriding the header for each column. Could anybody advice me some enhanced grid

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Christophe Cordenier
My advice is to debug your application to check if the password encoding at login time is the same as the one you provided at creation time. Put a break point in the method that retrieves the user from DB, have a look the stack in eclipse debug mode, identifiy the Authentication Spring Filter, go

Grid and inPlace="true" query

2010-06-10 Thread Jim O'Callaghan
Are there any known issues with inPlace="true" for grids with the T5.2.0-SNAPSHOT? I'm finding that sometimes when using the pager to navigate to the second page of a list it is coming up blank with the default 'no results' type message, and I need to do a manual browser refresh. Anyone come acros

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
The way I encode the password is using the following create method in UserServiceImpl: ... public UserServiceImpl(PasswordEncoder encoder, SaltSource salt, UserDAO userDao, Logger logger, IRoleService roleService) { this.encoder = encoder; this.salt = salt; this.userDao

Re: How to enable suggestions when entering the input field

2010-06-10 Thread Inge Solvoll
I checked the scriptaculous docs, looking for a way to manually trigger a server roundtrip. If such a function were available and documented (it is not), you could do this: autoCompleterTextField.observe('focus', function(event) { $T('autoCompleterTextField').autoCompleter.goGetSomeAutoCompletion

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Christophe Cordenier
Have you checked that the encoder used by Spring filter is the same you use to encode it in your DB ? Password Encoding is made of a salt and an algorithm. 2010/6/10 Daniel Henze > Thanks for your reply. > > Yes, I did check that. And it's ok, lovely long and encrypted passwords. > > Daniel >

RE: Asset protection and upgrade notes

2010-06-10 Thread Jim O'Callaghan
Sorry for bumping this thread, but has there been any update to the notes / direction to take on a replacement for the RegexAuthorizer - has the dev in this area finished in T5.2.0-SNAPSHOT? Thanks, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 02 Jun

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
Thanks for your reply. Yes, I did check that. And it's ok, lovely long and encrypted passwords. Daniel Am 10.06.2010 09:51, schrieb Christophe Cordenier: Hi I guess you already did it but have you checked if the password is stored in SHA1 ? 2010/6/10 Daniel Henze Hi there, I installed

Re: disable label suffix

2010-06-10 Thread Stefan Schuetz
lol there's really no symbol/property etc. to disable that? Am 09.06.2010 um 17:25 schrieb Thiago H. de Paula Figueiredo: > On Wed, 09 Jun 2010 12:15:17 -0300, Stefan Schuetz wrote: > >> Hi folks, > > Hi! > >> i can't find out how to disable the label suffix (":") which will be auto. >> ap

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Christophe Cordenier
Hi I guess you already did it but have you checked if the password is stored in SHA1 ? 2010/6/10 Daniel Henze > Hi there, > > I installed Tapestry-Spring-Security and followed the installation and > configuration advise. But I have no luck as the login does not work for me > and always returns

Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
Hi there, I installed Tapestry-Spring-Security and followed the installation and configuration advise. But I have no luck as the login does not work for me and always returns "Username and/or password was wrong!". There was a recent post about the "Bad credentials" and it was the wrong SaltSer