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
Hi, I tried the following without any luck. In my .tml: Update In java: public void onUpdate() { actionType = SubmitAction.ADD; } Didn't work. Then I tried below: @OnEvent(value="addField") public void onUpdate() { actionType = SubmitAction.ADD; }

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] 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: 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

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

EventListener: Weird js duplicate problem

2007-01-04 Thread Henry Chen
Hi, I have a button with an EventListener bound to onclick() like below. It works well. Now the weird thing is if I activate any other page in the web app, all javascript related events/actions won't work anymore. In the parsed html file I found that Tapestry duplicate dojo.Connect(dojo.byId("R

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

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]