BaseComponent begin render

2007-03-25 Thread wong wayne
Dear all Is BaseComponent have something similar BasePage PageBeginRenderListener? Since I have a BaseComponent and wish to set some properties when rendering. Please comment, thanks. regards wayne Don't pic

T4: PopupLinkRenderer

2007-03-07 Thread wong wayne
Dear all PopupLinkRenderer allow popup with a link component. Is it possible to do same effect without a component? I can some effect need to filter out and perform different action within java code but cannot find a proper way to do popup. cycle.activate and RedirectException provide flexibilit

Popup windows and redirect URL

2007-03-05 Thread wong wayne
Dear all Not sure is it proper post this question here. I'm using Tapestry version of JSCookMenu and would like to popup a new windows and redirect to another site. I can redirect to another site with throw a RedirectException("http://tapestry.apache.org/";) and use PopupLinkRenderer for popup new

Re: PatternValidator with regular expression

2007-02-26 Thread wong wayne
> and the use > value="validators:required, > $emailValidator"/> <-- Look at the dollar sign > > > Numa > > > Le 26 févr. 07 à 11:26, wong wayne a écrit : > > > Thanks for your reply. Sorry to tell you that the > > method sugg

Re: PatternValidator with regular expression

2007-02-26 Thread wong wayne
uot;message:label_email"/> /component> One more thing, is it possible to customize the error message by our own when using validators? Thanks in advaned regards wayne --- Numa Schmeder <[EMAIL PROTECTED]> wrote: > Try to put literal in front of your pattern. > Thus

PatternValidator with regular expression

2007-02-26 Thread wong wayne
Dear all I have some problem on Pattern Validator. Similar code work fine in Tapestry 3 but have problem on Tapestry 4. Keep saying that "Error initializing property patternString of bean 'emailValidator'" and I cannot figure out what's the problem. Coding as below bean name="emailValidator" cla

PatternValidator with regular expression

2007-02-26 Thread wong wayne
Dear all I have some problem on Pattern Validator. Similar code work fine in Tapestry 3 but have problem on Tapestry 4. Keep saying that "Error initializing property patternString of bean 'emailValidator'" and I cannot figure out what's the problem. Coding as below bean name="emailValidator" cla

Request character encoding

2007-02-21 Thread wong wayne
Dear all I'm developing a system with multi-languages using Tapestry 4.0. Checked with official web, default http request would be UTF-8 but I found some problem when Simplified Chinese input. All the data changed into ???. Below are my coding and configuration. application file: meta key="org.ap

Re: Tapestry 4 IDE & Plugi

2007-02-05 Thread wong wayne
thanks all, i'll take into both of them --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > I'd recommend moving to IDEA either way. Eclipse > support seems to > waining and idea is better anyways... ;) > > On 2/2/07, wong wayne <[EMAIL PROTECTED]> wrote: > >

Tapestry 4 IDE & Plugin

2007-02-02 Thread wong wayne
Dear all In tape 3, I use Eclipse w/ spindle to develop system. Now, I would like to move to tape4 but spindle for tape4 seems have not published. Can anyone suggest a IDE & plugin for tape4? Is TapIDEA good? As change IDE is a hard issue, shorten learning curve would prefer. Thanks for your co

Re: PropertySelection parameter

2007-01-15 Thread wong wayne
; key="jobTitle-label"/> > > to the FieldLabel and it should work. > > > > wong wayne wrote: > > Hi all > > > > Can FieldLabel expression using displayName of > > PropertySelection parameter? I would like to get > the > > display N

PropertySelection parameter

2007-01-12 Thread wong wayne
Hi all Can FieldLabel expression using displayName of PropertySelection parameter? I would like to get the display Name of PropertySelection and used for FieldLabel display somewhere at the same html. Even I specified the displayName but system still saying that "Display name not specified and not

ExternalAsset probelm

2007-01-07 Thread wong wayne
Hi all Is anyone using ExternalAsset and cannot display the image properly? Is any limitation of this component? I am using tapestry v3.0.3, some of images cannot display properly. Firstly I'm think improper format of my image file but some interesting thing I found is same image source, if I resi

Re: contrib:PopupLink Problem

2006-12-21 Thread wong wayne
gt; > expression="beans.popupLinkRenderer"/> > > ... > class="org.apache.tapestry.contrib.link.PopupLinkRenderer"> >expression="'Title'"/> > expression="'top=10,left=10,width=830,height=700,scrollbars=ye

contrib:PopupLink Problem

2006-12-20 Thread wong wayne
Dear All Is any way to popup a window and loading a external page with Popup Link? Popup link works fine when refer to a page within same project but cannot display properly (blank) when referring a external link. Here are my coding html page component id="_popupLink_payment" type="contrib:Po

action per session

2006-12-18 Thread wong wayne
Dear All Is any method to perform particular action once in the same session? I would like to have something like visit counter to record down user action but only one is needed. Any method or component can help in this case? Currently, I think a silly method, store a value in session and alter it

Re: AW: Problem on ApplicationRuntimeException

2006-12-05 Thread wong wayne
(CustomObjectInputStream.java:77) It seems cannot found Application Engine rather than other library. Does anything need to do on Tomcat to make it recongize is a tapestry project? Thanks regards wayne --- wong wayne <[EMAIL PROTECTED]> wrote: > Thanks for your reply. I have same though but don'

Re: AW: Problem on ApplicationRuntimeException

2006-12-05 Thread wong wayne
]> wrote: > looks like you are missing a resource: > javax/mail/MessagingException > > try including javaMail api into your classpath > > -Ursprüngliche Nachricht- > Von: wong wayne [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 5. Dezember 2006 12:13 > A

Problem on ApplicationRuntimeException

2006-12-05 Thread wong wayne
Hi all I have a program which works fine previously. unfortunately, my development machine crashed and need to setup again. However I cannot make it works. Exception generated org.apache.tapestry.ApplicationRuntimeException Could not load class com.hket.hketonline.Visit from WebappClassLoader del

Re: Re: insert html tag

2006-11-30 Thread wong wayne
se InsertText for <= Tapestry 4 or just "Insert" > with a mode of break >= 4.1. > > > > > http://tapestry.apache.org/tapestry4.1/components/general/insert.html > > > > On 11/29/06, wong wayne <[EMAIL PROTECTED]> > wrote: > > > Hi a

insert html tag

2006-11-29 Thread wong wayne
Hi all I would like to know is it possible to insert a string with html tag into a page, so that it can insert display format of string. e.g abc 123 will display at next line. Any hint would be appreciate, thanks regards wayne __

java.lang.AbstractMethodError

2006-11-28 Thread wong wayne
Hi all May I know what does this Exception mean? javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.AbstractMethodError org.apache.tapestry.AbstractPage.firePageDetached(AbstractPage.java:436) I'm developing a e-shopping system. The login/logout functio

nested foreach problem

2006-11-22 Thread wong wayne
Dear groups Sorry for last incomplete email. I have some problem when using nested foreach problem. I have a list of products. It works fine when display one by one using foreach. But when I try to group two of product into pair for display, problem appear and error resulted

nested foreach problem

2006-11-22 Thread wong wayne
Dear groups I have some problem when using nested foreach problem. I have a list of products. It works fine when display one by one using foreach. Sponsored Link Mortgage rates

Re: Problem on Nested Body component

2006-11-01 Thread wong wayne
Thanks for your comment, problem resolved. A stupid bug, $Content$ missed for the border page. Thanks --- Nick Westgate <[EMAIL PROTECTED]> wrote: > It's not clear to me what you're trying to do here. > Try posting some simplified example source code. > > Cheers

Problem on Nested Body component

2006-10-31 Thread wong wayne
Hello all I'm developing a system which using tapestry v3.03. I have some problem on Rollover & directLink component. When I using directLink to redirect a page - a static html page(actually is render the page in a page border), it works fine but when i added Rollover component, it need include in