Re: Tynamo 0.4.0 security: How to create custom credential matcher.

2011-06-14 Thread Kalle Korhonen
public static void contributeWebSecurityManager(Configuration configuration, @InjectService("JdbcSaltedRealm") AuthorizingRealm jdbcSaltedRealm) { CredentialsMatcher credentialsMatcher = new HashedCredentialsMatcher(); // configure matcher as you prefer... jdbcSaltedRealm.se

Tynamo 0.4.0 security: How to create custom credential matcher.

2011-06-14 Thread cablepuff
Hi I have the following credential matcher from shiro.ini. Since the support for its remove, how would I convert the following. [main] credentialsMatcher=org.apache.shiro.authc.credential.HashedCredentialsMatcher credentialsMatcher.storedCredentialsHexEncoded=false credentialsMatcher.hashIteration

Re: Including jquery

2011-06-14 Thread ael
I wonder which is better PROTOTYPE or JQUERY? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Including-jquery-tp4489500p4489769.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Including jquery

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 20:30:59 -0300, Fernando Benjamin wrote: Hi Thiago, Hi! I have also tried this solution. http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery That's the solution I use. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consu

Re: Including jquery

2011-06-14 Thread Taha Tapestry
Hi Thiago, Fernando Don't worry there is Google translate "thanks man td worked" Regards Taha Sent from my iPhone On Jun 15, 2011, at 4:36 AM, "Thiago H. de Paula Figueiredo" wrote: > On Tue, 14 Jun 2011 19:56:33 -0300, Fernando Benjamin > wrote: > >> Obrigado cara, td deu certo! >> :) >

Re: Including jquery

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 19:56:33 -0300, Fernando Benjamin wrote: Obrigado cara, td deu certo! :) You're welcome! But don't forget that you should post in this mailing list in English always. :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, de

Re: Including jquery

2011-06-14 Thread Fernando Benjamin
Obrigado cara, td deu certo! :) On 15 June 2011 00:36, Thiago H. de Paula Figueiredo wrote: > On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin < > fernandobenja...@gmail.com> wrote: > > Hi folks, >> > > Bão? :P > > > I am having one severe problem when importing jquery on the Layout.java

Re: Including jquery

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 19:29:23 -0300, Fernando Benjamin wrote: Hi folks, Bão? :P I am having one severe problem when importing jquery on the Layout.java class> When I import jquery All the pages with a form, will not submit to the pageclass, the button will just not work. This is the ev

Including jquery

2011-06-14 Thread Fernando Benjamin
Hi folks, I am having one severe problem when importing jquery on the Layout.java class. When I import jquery All the pages with a form, will not submit to the pageclass, the button will just not work. This is the evil line @Import(library = { "context:layout/jquery/jquery-1.6.1.min.js"}) Is

Re: Tapestry Remembers which page to navigate after User Logs in ?

2011-06-14 Thread Chris Poulsen
Hi, If I'm not mistaken its an acegi feature you are experiencing, not a tapestry issue. It has been years since we have used acegi security where i work, but if my memory serves me correctly, you have to set a property called something like "alwaysUseDefaultTargetUrl" to true on your authenticat

Re: Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
Thank you, that was the solution! Fernando On 14 June 2011 23:59, Josh Canfield wrote: > > I get an exception because of the c cedille, can someone show me how to > > escape characters? > > I believe this is because your template file is supposed to be a valid > XML document. You need to includ

Re: Escape character in T5 container element

2011-06-14 Thread Josh Canfield
> I get an exception because of the c cedille, can someone show me how to > escape characters? I believe this is because your template file is supposed to be a valid XML document. You need to include a declaration for your escape character. HTML 4 has ccedil so try including it's doctype. http:/

Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
Hi everybody, I have made a simple menu(Menu.tml) wich I am trying to use in the Layout.tml My menu.tml file http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter" > Idade Pais Doença/Patologia My Layout.tml imports it like this I get an exception

Re: Safari , DOM 12 Exception, core.js

2011-06-14 Thread Howard Lewis Ship
On Tue, Jun 14, 2011 at 1:17 PM, Rich M wrote: > On 06/14/2011 02:33 PM, Howard Lewis Ship wrote: >> >> Is is just one specific field that fails?  Perhaps there's something >> odd about the field's name (the way naming a Form field "submit" can >> cause grief ... something Tapestry won't even try

Re: Tapestry Remembers which page to navigate after User Logs in ?

2011-06-14 Thread sunilmanu
Hi, its Tapestry 4.0.2. We use ACEGI for the authentication. Below is how its configured in /* hivemodule.xml * ***/

inherited parameters null for anybody else?

2011-06-14 Thread Robert Zeigler
Simple example: some.package.base; import org.apache.tapestry5.annotations.Parameter; public abstract class AbstractComponent { @Parameter(required=true, principal=true)//happens regardless of parameter settings, but. private String foo; String defaultFoo() {

Re: t5c-commons

2011-06-14 Thread gs_tapestry
I didn't know that. I will start investigation on chenillekit then. Thanks. Simon -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5c-commons-tp4488135p4489247.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tapestry Remembers which page to navigate after User Logs in ?

2011-06-14 Thread Thiago H. de Paula Figueiredo
Hi, Rich! He's talking about Tapestry 4, not 5. The only hint about it was the reference to StaleLinkException. On Tue, 14 Jun 2011 17:20:27 -0300, Rich M wrote: It might help to know the structure by which you control login and navigation inside the authorized portion of your application

Re: Tapestry Remembers which page to navigate after User Logs in ?

2011-06-14 Thread Rich M
It might help to know the structure by which you control login and navigation inside the authorized portion of your application. In my case, all the login forms explicitly return the Overview page : public onSuccessFromForm(){ // Login validation return overview; } @InjectPage private

Re: Safari , DOM 12 Exception, core.js

2011-06-14 Thread Rich M
On 06/14/2011 02:33 PM, Howard Lewis Ship wrote: Is is just one specific field that fails? Perhaps there's something odd about the field's name (the way naming a Form field "submit" can cause grief ... something Tapestry won't even try to do now). This code has changed in 5.3 recently, to defer

Tapestry Remembers which page to navigate after User Logs in ?

2011-06-14 Thread sunilmanu
Hello Everyone, After the user is kicked out of a session and they try to login back, Tapestry tries to take the user back to the last requested Page or tries to execute the last requested Action ? Why does it behave like that ? Is there a way I can configure it to go to a "PAGE-123" always after

Re: Property Edit Blocks

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 14:27:01 -0300, Muhammad Mohsen wrote: Easy for you to say :D I have no idea how to do so ! I'm still learning tapestry. I have a project done in core servlets and I wish to convert it into tapestry. At least please direct me a specific documentation I should read. Well, I

Re: Safari , DOM 12 Exception, core.js

2011-06-14 Thread Howard Lewis Ship
Is is just one specific field that fails? Perhaps there's something odd about the field's name (the way naming a Form field "submit" can cause grief ... something Tapestry won't even try to do now). This code has changed in 5.3 recently, to defer the lookup until an error actually needs to be dis

Safari , DOM 12 Exception, core.js

2011-06-14 Thread Rich M
Hi, an issue has recently been brought to my attention by QA, and I'm trying to unravel what is at play here. The core of the problem is that I have a form with validation on a page, and when this page is loaded in Safari (5.0.2), the error console appears at the top saying that the Tapestry

Re: Property Edit Blocks

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 13:26:24 -0300, Muhammad Mohsen wrote: My original issue is that I need The bean editor to display an object of type "TclRequest". This object contains simple properties (String, boolean..etc.) and other POJOs. I need the BeanEditorForm to display these POJOs exactly as

Re: Tapestry 5 on OpenJDK?

2011-06-14 Thread Josh Canfield
> Hold on - my app is running Tap 5.1.0.5. Is yours? Ah, I'm running bleeding edge 5.3-SNAPSHOT. I suppose since I upgraded the generics support in the property expressions I should probably get openjdk installed on my mac and see exactly see what's happening... Josh On Tue, Jun 14, 2011 at 7:08

Re: t5c-commons

2011-06-14 Thread Joost Schouten (ml)
On 14/06/11 5:06 PM, gs_tapestry wrote: Hi, I am trying to upgrade to Tapestr5.2.5. But the t5c-commons (5.0.18) component i am using is not compatible to 5.2.5. My application failed to start up due to java.lang.NoClassDefFoundError: org/apache/tapestry5/internal/services/RequestPathOptimizer.

t5c-commons

2011-06-14 Thread gs_tapestry
Hi, I am trying to upgrade to Tapestr5.2.5. But the t5c-commons (5.0.18) component i am using is not compatible to 5.2.5. My application failed to start up due to java.lang.NoClassDefFoundError: org/apache/tapestry5/internal/services/RequestPathOptimizer. If I remove the Maven dependence on this

Re: Property Edit Blocks

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Jun 2011 10:37:53 -0300, Muhammad Mohsen wrote: Hi all, Hi! I learned some from the discussion here but I have an issue opposite to what Greg faced. When I remove the translate component parameter, I get exceptions that the translate parameter could not be null ! @Comp

Re: Tapestry 5 on OpenJDK?

2011-06-14 Thread Geoff Callender
Hold on - my app is running Tap 5.1.0.5. Is yours? On 15/06/2011, at 12:02 AM, Geoff Callender wrote: > Hi Josh, > > I've been running a live Tapestry app on Ubuntu server with openjdk-6-jdk for > some months now without a problem except a clash with ImageJ which was > resolved by upgrading Im

Re: exists variable false - but sessionstate variable not null?

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Mon, 13 Jun 2011 20:30:54 -0300, David Rees wrote: Hmm, so you're saying don't use xxxExists fields and just check set "create=false" on the @SessionState instead like this? @SessionState(create=false) @Property private User user; Exactly! Makes more sense and is more intuitive for non-

Re: Tapestry 5 on OpenJDK?

2011-06-14 Thread Geoff Callender
Hi Josh, I've been running a live Tapestry app on Ubuntu server with openjdk-6-jdk for some months now without a problem except a clash with ImageJ which was resolved by upgrading ImageJ. Like you, the development was on OS X, and built on OS X, ie. I don't recompile for Ubuntu. My Ubuntu java

Re: Property Edit Blocks

2011-06-14 Thread Muhammad Mohsen
Hi all, I learned some from the discussion here but I have an issue opposite to what Greg faced. When I remove the translate component parameter, I get exceptions that the translate parameter could not be null ! This is my container page java file:

Re: using a js confirm to cancel an async eventlink

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons On 14/07/2010, at 7:01 AM, Geoff Callender wrote: > Can't stop to consider the difference r

Re: How to extend a parent template

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/layoutwithmenu/page1 has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/previews/withlayout/helloworld and for more about components try: http://jumpstart.doublenegative.com.au/jumpstart/exa

Re: Tapestry and Ajax

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxgracefulcrud has been replaced by these: http://jumpstart.doublenegative.com.au/jumpstart/previews/gracefulajaxfiltercrud/persons http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/gracefulcompone

Re: Updating only specific divs in Zone update

2011-06-14 Thread Geoff Callender
The links have been replaced by: AJAX Filter CRUD: http://jumpstart.doublenegative.com.au/jumpstart/previews/ajaxfiltercrud/persons AJAX Components CRUD: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons On 16/05/2011, at 8:57 AM, Geo

Re: inject component from parent component

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons On 11/08/2010, at 11:32 AM, Geoff Callender wrote: > It's best that the component knows not

Re: MultiZoneUpdate in page triggered by event in component

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons On 10/06/2010, at 12:17 AM, Christophe Cordenier wrote: > Hi > > 2010/6/9 Geoff Callender

Re: BeanEditForm for hibernate entity with version field

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/easycrud has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/previews/easycrud/persons On 30/05/2011, at 12:34 AM, Donny Nadolny wrote: > I've got a BeanEditForm for my User entity which has a version

Re: t5: edit a bean without beaneditform

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/easycrud has been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/previews/easycrud/persons On 10/05/2011, at 3:11 AM, Josh Canfield wrote: > You are persisting using flash. > > I think you're workflow goe

Re: @Persist vs onActivate/OnPassivate

2011-06-14 Thread Geoff Callender
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/easycrud has now been replaced by: http://jumpstart.doublenegative.com.au/jumpstart/previews/easycrud/persons On 11/11/2010, at 9:29 PM, françois facon wrote: > Hi Geoff, > > Thank you again for Jumpstart. It help so mu