Re: How to program "Self-service password reset" in tapestry?

2011-02-08 Thread Henry Chen
reset code to expire in > the not to distant future and you also need to delete it or mark it as > used once they actually use it to reset the password. > > Thats a very general overview that hopefully will get you started. > You might check the Shiro mailing list because I think the

How to program "Self-service password reset" in tapestry?

2011-02-08 Thread Henry Chen
I know this is pretty standard but I've never done this before. Can anyone share some experience of how this can be done in tapestry? Basically I want to sent a link to the user so when clicked he will be brought to a page and able to type in the new password. Thanks a lot. BTW, I'm using 5.1.0.

Re: Render large page

2010-03-05 Thread Henry Chen
The variables are valid. The problem is both Confirm and RoundCornerContainer components use prototype to manipulate the html. I ended up replacing those component with some simple js functions and problem solved. -- View this message in context: http://n2.nabble.com/Render-large-page-tp4677583p

Re: Render large page

2010-03-05 Thread Henry Chen
Sorry, I edited it later but looks like it only saved on Nabble. Here is the complete post. I got this error. Client exception processing response: SyntaxError: missing ; before statement Below is the "script" section from one of the ajax response.

Re: Render large page

2010-03-05 Thread Henry Chen
I got this error. Client exception processing response: SyntaxError: missing ; before statement -- View this message in context: http://n2.nabble.com/Render-large-page-tp4677583p4684254.html Sent from the Tapestry Users mailing list archive at Nabble.com. --

Re: Render large page

2010-03-05 Thread Henry Chen
Thanks. The contents are now ajax loaded as expected :) except one small thing. I used RoundCornerContainer component and "confirm" mixin inside the ProgressDisplay component. Both of them inject javascripts. It looks like the javascripts are generated correctly in the response but was not handle

Re: Render large page

2010-03-05 Thread Henry Chen
I just figured it out. The error was caused by a nested loop component in the ProgressiveDisplay and was not set to persist. -- View this message in context: http://n2.nabble.com/Render-large-page-tp4677583p4682975.html Sent from the Tapestry Users mailing list archive at Nabble.com. --

Re: Render large page

2010-03-05 Thread Henry Chen
OK. I've upgraded to 5.1.0.5 and wrapped each topic with ProgressiveDisplay component. When the page is loaded, it shows all the "Loading..." text but now I have another problem. The ProgressiveDisplay is inside a loop component like below. detail of this subtopic ...

Re: Render large page

2010-03-05 Thread Henry Chen
This is great! I'm going to upgrade to 5.1 first and then try this ProgressDisplay component. Thank you. -- View this message in context: http://n2.nabble.com/Render-large-page-tp4677583p4681697.html Sent from the Tapestry Users mailing list archive at Nabble.com. --

Render large page

2010-03-04 Thread Henry Chen
Hi, I'm using Tapestry 5.0.18. I have a big thread page that shows more than 1000 responses. Now the problem is all major browsers (IE, FF, Safari) load the page after the entire page is received. It is too long to wait. Is there a way I can output the response gradually? Any help will be highly

RE: [T5] LinkSumit no event captured

2008-11-28 Thread Henry Chen
it no event captured Did you file a JIRA entry for this? It seems I experience the same problem (form with Zone and no event from the LinkSubmit) Martijn On Wed, 2008-11-26 at 20:03 -0600, Henry Chen wrote: > I figured it out. If Form component specifies a 'zone' parameter, the >

RE: [T5] LinkSumit no event captured

2008-11-26 Thread Henry Chen
] LinkSumit no event captured That should work; what release are you on? On Tue, Nov 25, 2008 at 3:52 PM, Henry Chen <[EMAIL PROTECTED]> wrote: > Hi, > > > > I tried the following without any luck. > > > > In my .tml: > > > > Update > >

RE: [T5] LinkSumit no event captured

2008-11-26 Thread Henry Chen
EMAIL PROTECTED] Subject: Re: [T5] LinkSumit no event captured That should work; what release are you on? On Tue, Nov 25, 2008 at 3:52 PM, Henry Chen <[EMAIL PROTECTED]> wrote: > Hi, > > > > I tried the following without any luck. > > > > In my .tml: &

[T5] LinkSumit no event captured

2008-11-25 Thread Henry Chen
ubmitAction.ADD; } No luck. Can anybody show me how to use LinkSubmit? Thanks a lot! Henry

RE: [T4] Has anybody use Tapestry4 + HTTPS on apache tomcat with JK?

2008-11-21 Thread Henry Chen
mod_jk part was the same for both. Jonathan > -Original Message- > From: Henry Chen [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2008 12:02 > To: 'Tapestry users' > Subject: [T4] Has anybody use Tapestry4 + HTTPS on apache tomcat with JK? > > [T4]

[T4] Has anybody use Tapestry4 + HTTPS on apache tomcat with JK?

2008-11-21 Thread Henry Chen
[T4] Has anybody use Tapestry4 + HTTPS on apache tomcat with JK? I did a search and it seems there were some problems. I don't know whether I need to change anything in my T4 application when I change to use the apache tomcat server HTTPS setting. Please help. Thank you.

Re: T5: Multiple File Upload

2008-11-18 Thread Henry
Michael Lake netvue.com> writes: > > > Filip - > > You are exactly right. The session id wasn't being passed - and shame on > me for not actually comparing the "t:formdata" values because they are > indeed the same even when using the normal > multiple times. > > Thank you and thanks to F

RE: [T5] createEventLink problem

2008-11-17 Thread Henry Chen
--Original Message- From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 6:18 PM To: Tapestry users Subject: Re: [T5] createEventLink problem Em Mon, 17 Nov 2008 20:10:39 -0300, Henry Chen <[EMAIL PROTECTED]> escreveu: > I want to use jfree

[T5] createEventLink problem

2008-11-17 Thread Henry Chen
I want to use jfreechart in my app and found an example on wiki. So I have the code below. But onChart(final int width, final int height, Object... rest){} never got executed, tapestry complaint there is no event handler. I then dropped in a onChart(){} (without any parameters) and it worked. Can s

[T5] Disable autofocus in BeanEditForm

2008-11-10 Thread Henry Chen
I know we can set "autofocus=false" in Form component. But I cannot find the equivalence in BeanEditForm. Did I miss something? If not, is there any workaround? Thanks a lot!

RE: [T5] upload component validate issue

2008-11-05 Thread Henry Chen
ECTED] Subject: Re: [T5] upload component validate issue Make sure you have refreshed from Maven, *all* the Tapestry JARs. Looks like you are using the latest tapestry-upload.jar with a slightly out-of-date tapestry-core.jar. You're seeing changes I made yesterday. On Wed, Nov 5, 2008 at 4:42

[T5] upload component validate issue

2008-11-05 Thread Henry Chen
I found my code was broken today where I have "". This worked well before but not any more. After I added validate="require" it worked again. Is this a bug? Below is the error: java.lang.NoSuchMethodError org.apache.tapestry5.services.ComponentDefaultProvider.defaultValidatorBindi ng(L

[T5] Dirty Form checking?

2008-10-10 Thread Henry Chen
How can I do dirty form checking in T5? Can anybody who has done this share a little bit? Thank you.

RE: Tapestry5Chinaforum(中文论坛欢迎大家加入 )and some words to Howard Lewis Ship

2008-08-19 Thread Henry Chen
呵呵, 年轻人干劲足,要多鼓励。 -Original Message- From: zhigang mao [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 9:03 PM To: Tapestry users Subject: Re: Tapestry5Chinaforum(中文论坛欢迎大家加入)and some words to Howard Lewis Ship 你想太多了,很敏感,多做事,少胡思乱想。too young, too simple,sometimes naive. 2008/8/20

Re : T5: Palette and JWebUnit

2008-08-11 Thread Julien HENRY
Hi Michael, I'm in holidays so I won't have the time to fully answer you (should not stay too long on a computer ;)) but here are some tips: 1) Are you really talking about httpunit in your post? I hope you wanted to say HtmlUnit, because don't expect JavaScript support with HttpUnit. 2) Conce

RE: Routing and REST

2008-07-14 Thread Henry Remigio C. Osorio II
is rather old by now - if at all possible I'd advice you to move to Tapestry 5. And unfortunately, I don't know how to solve your problem. Maybe someone else knows. -Filip Henry Remigio C. Osorio II skrev: > I am new to tapestry, and currently using Tapestry 3.0 for our development

RE: Routing and REST

2008-07-10 Thread Henry Remigio C. Osorio II
I am new to tapestry, and currently using Tapestry 3.0 for our development. I keep on experiencing the problem "Page Recorder for page X locked after a commit", I would like to confer if it still exist within Tapestry 4? Thanks -

Re : T5 actionlink, ajax zone and user onclick handler

2008-04-20 Thread Julien HENRY
Hi Chris, Just a little suggestion. Because confirm.js depends on prototype I think you should add @IncludeJavaScriptLibrary("prototype.js") to your Confirm mixin. Thanks for this article Julien - Message d'origine De : Luca Fossato <[EMAIL PROTECTED]> À : Tapestry users Envoyé le :

Re : T5 actionlink, ajax zone and user onclick handler

2008-04-16 Thread Julien HENRY
Hi, Instead of trying to deal with onclick html attribute you should use DOM lvl 2 events: http://www.prototypejs.org/api/event/observe The following JavaScript should work (not tested): Event.observe($('deleteLink'), 'click', function(event) {confirm('are you sure to delete this record ?')});

Re : Re : T5: Layout question

2008-04-02 Thread Julien HENRY
Item 1Item 2 My content regards, Onno 2008/4/2, Julien HENRY <[EMAIL PROTECTED]>: > > Hi Onno, > > You don't need to do anything else. Everything outside of > > >

Re : T5: Layout question

2008-04-02 Thread Julien HENRY
Hi Onno, You don't need to do anything else. Everything outside of Page content will be discarded and the Layout component will be used instead. Is it not the case? Regards, Julien - Message d'origine De : Onno Scheffers <[EMAIL PROTECTED]> À : Tapestry users Env

Re : Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
at the scripts haven't been added. I think I made a Jira for this a couple months ago. -mike On Mar 29, 2008, at 6:03 AM, Julien HENRY wrote: > In fact, it could be a bug. I tried to add a beaneditform component > in the Start page, and I have JavaScript (for client side > val

Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
-- De : Julien HENRY <[EMAIL PROTECTED]> À : users@tapestry.apache.org Envoyé le : Samedi, 29 Mars 2008, 15h23mn 34s Objet : [T5] How to add JavaScript in a component used in a layout Hi, I'm using a custom JAR-packaged component in a template. When I use the component directly in a pa

[T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
Hi, I'm using a custom JAR-packaged component in a template. When I use the component directly in a page (Start.tml) I have both JavaScript and CSS file included in the HTML. But when I try to put the component in my application layout (Layout.tml), there is only the CSS file. No JavaScript. In

RE : Re: RE : tapestry5 without maven is ok ?

2007-10-16 Thread Julien HENRY
yes, you can. Just copy ~/.m2/repository --- MavenMan <[EMAIL PROTECTED]> a écrit : > > you are right ,thanks a lot . > but my notebook is never connect Internet ,so can I > transfer(copy) my local > repository from one not offline computer to my > notebook ? >

RE : tapestry5 without maven is ok ?

2007-10-15 Thread Julien HENRY
Hi, The first time you get tapestry, simply go in a sample project and hit: mvn dependency:go-offline This will download all required dependencies in your local repo. Then, when you will be offline, just use Maven with -o flag to tell it to use only local artifacts. Regards, Julien --- MavenM

RE : Re: [T5] Annotations are too static

2007-10-04 Thread Julien HENRY
It's not really client-side validation. Is the onValidate called by an AJAX request? IMHO checking if a field is filled when a checkbox is checked should not require a full page refresh. --- Robin Helgelin <[EMAIL PROTECTED]> a écrit : > On 10/4/07, Julien HENRY <[EMAIL PROTECT

[T5] Annotations are too static

2007-10-03 Thread Julien HENRY
Hi, I really like the way you can configure beaneditform and grid with annotations in T5 (Validation, Column ordering, ...). Therefore, for the kind of projects I have to deal with, I think it will be too static. Exemple: I have a page with a big form allowing user to create/update a card. The f

RE : Re: T5: date picker component

2007-08-16 Thread Julien HENRY
Hi, As I said on google bug tracker, a good idea would be to put the date format in a localizable property file. Typically, date format will depend on the user locale. But I don't know how to do this... sorry. Julien --- Ted Steen <[EMAIL PROTECTED]> a écrit : > This is something we will work

Re: Rounded Corners Service not working?

2007-08-14 Thread Henry Chen
Any other thoughts what I might have done wrong with this rounded corner service? Henry Chen wrote: > > Just tried. Not work either. Same error in Tomcat. > > SEVERE: Image generated had zero length byte array from parameters of: > [color:FF9900, bgColor:white, width:60, heig

Re: Rounded Corners Service not working?

2007-08-10 Thread Henry Chen
awt.headless=true . > > On 8/10/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: >> Ya I was unable to get it to work also. Not that important i guess. >> >> On 8/10/07, Henry Chen <[EMAIL PROTECTED]> wrote: >> > >> > Nobody ever used this rounded

Re: Rounded Corners Service not working?

2007-08-10 Thread Henry Chen
Nobody ever used this rounded corner service? I downloaded the timetracker snapshot war file and drop it in my tomcat 5.5. I didn't work and I get the same error message below. Is it a bug? Can someone help? Thanks! Henry Chen wrote: > > I tried it with the latest 4.1.3 snaps

Rounded Corners Service not working?

2007-08-09 Thread Henry Chen
I tried it with the latest 4.1.3 snapshot without success. Please help. Thank you. In tomcat 5.5, the following error was generated when I run the timetracker example: (http://localhost:8080/TimeTracker/rounded?c=FF9900&bc=white&w=60&h=60&a=tr&sw=3&o=.5): SEVERE: Image generated had zero length

[T5] Simple CRUD application with Hibernate : Relations

2007-07-22 Thread Julien HENRY
Hi, I'm learning Tapestry 5, and I would like to know how to do the following simple example : I have an object called Person and an object called Group. Person(id, name, group_id) Group(id, name) I would like to create a simple CRUD application. I'm following T5 tutorial (using beaneditform) t

Mistake in Tapestry tutorial

2007-07-20 Thread Julien HENRY
Hi everybody, I'm new to Tapestry world, and I'm following the tutorial (http://tapestry.apache.org/tapestry5/tutorial1/first.html) I just want to point out a little mistake: because artifactId is tapestry-tutorial1, the Jetty context will be tapestry-tutorial1 and not tutorial1. You should then

RE: contrib:Timeout

2007-07-18 Thread Henry Chen
Just post it on jira. -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 10:44 AM To: Tapestry users Subject: Re: contrib:Timeout It looks like a bug. Can you please create a jira issue for it ? Thanks Henry Chen wrote: > Yes, you

RE: contrib:Timeout

2007-07-18 Thread Henry Chen
rint out the value of the inSession property. Does it confirm that u > r in a session ? > > Henry Chen wrote: > > For some reason, when I post from Nable the code parts were lost. I'm > reposting from outlook this time. > > Thank you for helping. > > Sorry I didn&#x

RE: contrib:Timeout

2007-07-17 Thread Henry Chen
uest(); public boolean isInSession() { return getRequest().getSession(false) != null; } and print out the value of the inSession property. Does it confirm that u r in a session ? Henry Chen wrote: > For some reason, when I post from Nable the code parts were lost. I'

RE: contrib:Timeout

2007-07-17 Thread Henry Chen
arningTime should be in millisecond. So I tried the following which didn't work either. -Original Message----- From: Henry Chen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 10:27 AM To: users@tapestry.apache.org Subject: Re: contrib:Timeout Thank you for helping. Sorry I

Re: contrib:Timeout

2007-07-17 Thread Henry Chen
alma wrote: > > Did the session actually expire after the 10 minutes wait ? > What parameters did u provide to the TimeoutComponent and what are their > values ? > Did u check for javascript errors on the page ? > > Henry Chen wrote: >> Nobody had the similar experience?

Re: contrib:Timeout

2007-07-17 Thread Henry Chen
Nobody had the similar experience? Can anybody help? Thank you very much in advance. Henry Chen wrote: > > I'm using the latest Tap4.1.2. > > Did anybody successfully use contrib:Timeout? > I tried to use it in the my border component as below. > > > > I se

contrib:Timeout

2007-07-14 Thread Henry Chen
I'm using the latest Tap4.1.2. Did anybody successfully use contrib:Timeout? I tried to use it in the my border component as below. I set the session time in web.xml to 10 mins and waited but nothing happened. I found some "timeout" related js code are added. Why didn't it work? Please help. T

Re: T4.1.2 and beanform

2007-07-12 Thread Henry Chen
/tacos-core/quick-start/downloading.htmla > quick note on including > any subproject in a pom > > > > > On 7/12/07, Henry Chen <[EMAIL PROTECTED]> wrote: >> >> >> Hi Andy, >> >> I have the same problem and tried to find a new release of b

Re: T4.1.2 and beanform

2007-07-12 Thread Henry Chen
Hi Andy, I have the same problem and tried to find a new release of beanform. It looks like 0.8 is on the way but I cannnot find where to download. What do you suggest? Thank you. andyhot wrote: > > There's a new version coming in that address exactly this problem. > I'll make a related anno

Re: Cannot get a connection, pool exhausted

2007-01-25 Thread Henry Tong
Hi, any idea how to release connection when user close the web page? Yours Sincerely, Henry Tong On 1/26/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Allow only one connection in your connection pool and hit the app until you find what section freezes / stops working... On 1/25/07,

Cannot get a connection, pool exhausted

2007-01-25 Thread Henry Tong
connection, pool exhausted. The hibernate Daos only find data but not save data at this moment. Any idea to prevent this from happening? Thanks in advance for your Assistance. Yours Sincerely, Henry Tong - To unsubscribe, e

EventListener: Weird js duplicate problem

2007-01-04 Thread Henry Chen
.byId("Recipients_Select")) over and over again. Look below. But if I return to the page which has the "Recipients_Select", everything just works fine! Isn't it weird? Anybody saw this before. Any help is

RE: ServletException with acegi tapestry

2007-01-02 Thread Henry Chen
: Re: ServletException with acegi tapestry Yeah, I've seen that before. I was able to work around it because it was an actual programming error in my case. But, the whole thing is quite brittle, as you've figured out! :-) There needs to be better error-handling, IMHO. On 12/31/06,

RE: ServletException with acegi tapestry

2006-12-31 Thread Henry Chen
as you've figured out! :-) There needs to be better error-handling, IMHO. On 12/31/06, Henry Chen <[EMAIL PROTECTED]> wrote: > I'm using tapernate and it is tapestry-acegi integration. Everything works > fine until recently I found the following error message. > > It o

ServletException with acegi tapestry

2006-12-31 Thread Henry Chen
I'm using tapernate and it is tapestry-acegi integration. Everything works fine until recently I found the following error message. It only happens when I open my application a while ago and back to click some link or button on the webpage. The whole web application is then "dead". (Tomcat is sti

Datetime picker

2006-12-18 Thread Henry Chen
Is there a Datetime picker which can choose date and time available for Tapestry 4.1?

RE: Tapestry is slow on my machine.

2006-12-07 Thread Henry Chen
ve to restart the app to detect any changes made to the templates, page files, or properties files in the webapp. --sam On 12/7/06, Henry Chen <[EMAIL PROTECTED]> wrote: > I'm running Tapestry 4.1.1 snapshot, tomcat 5.5 on two machines. The speed > is kind of slow. I did a test o

Tapestry is slow on my machine.

2006-12-07 Thread Henry Chen
I'm running Tapestry 4.1.1 snapshot, tomcat 5.5 on two machines. The speed is kind of slow. I did a test on the workbench sample. The speed is much slower than browsing the workbench sample on tapestry website. Does anybody have this issue too? Any suggestions? Thanks a lot!

RE: problem with 4.1.1 snapshot

2006-12-07 Thread Henry Chen
/dependencies.html On 12/7/06, Henry Chen <[EMAIL PROTECTED]> wrote: > I tried to use the latest 4.1.1 snapshot in the repository but got the > following error when I launch the application in the web browser. Can > anybody tell me why this is happening? I'm using tapestry-acegi. Don&#

problem with 4.1.1 snapshot

2006-12-07 Thread Henry Chen
I tried to use the latest 4.1.1 snapshot in the repository but got the following error when I launch the application in the web browser. Can anybody tell me why this is happening? I'm using tapestry-acegi. Don't know if that is a problem. I would be very grateful for any help. Thank you. jav

Acquiring session not in a tapestry page error

2006-12-05 Thread Henry Tong
Hi, Our team started a tapestry / honeycomb / hivemind / hibernate web app project. A data upload service is needed to load data to the database and therefore a hivemind eagerload service is written to run this periodical task. As we want to share the same honeycomb session factory, we inject hib

RE: Take a parameter from the link

2006-11-30 Thread Henry Chen
Forget to use an external link. Solved. -Original Message- From: Henry Chen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 4:35 PM To: users@tapestry.apache.org Subject: Take a parameter from the link Hi, I want my app to take a parameter from the login link. Is it

Take a parameter from the link

2006-11-30 Thread Henry Chen
Hi, I want my app to take a parameter from the login link. Is it possible?

RE: Tapernate Access multiple database

2006-11-16 Thread Henry Chen
. Unfortunately i don't believe there is any support in Tapernate for this. On 11/16/06, Henry Chen <[EMAIL PROTECTED]> wrote: > Hi, > > Anybody use Tapernate to access multiple databases? How can I switch to > another database in runti

Tapernate Access multiple database

2006-11-16 Thread Henry Chen
Hi, Anybody use Tapernate to access multiple databases? How can I switch to another database in runtime? Thank you very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]