How to force a browser to reload a history page ?

2005-09-07 Thread Andy Chu
Dear All, Suppose now I need to implement this issue: when the client signs out the system, he/she can not view any history page of the system through the browser and the system will direct him/her to the login page if he/she does so. My idea is : 1. record down the login user in the Visit obj

How to keep the scroll position of a page ?

2005-09-06 Thread Andy Chu
Dear All, Suppose now there is a form in the middle of a page. A user should scroll down to the form and fill it in. When he/she submitted the form, the system will redirect the same page with some response near the form to him/her. Because the browser receive a new page, it renders the page ag

Re: How to maintain the client-site state ?

2005-08-30 Thread Andy Chu
that I have any sample code handy > to > show you), but I've just never looked for a way to do it via Tapestry. > > Maybe Howard or one of the more experienced Tapestry folks can offer > a suggestion on how to do it within the framework. > > --- Pat > > > --

Re: How to maintain the client-site state ?

2005-08-30 Thread Andy Chu
pter6/Chap6.html > > --- Pat > > > -Original Message- > > From: Andy Chu [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 30, 2005 7:50 PM > > To: Tapestry users > > Subject: How to maintain the client-site state ? > > > > Dear All, >

How to maintain the client-site state ?

2005-08-30 Thread Andy Chu
Dear All, I need to maintain the client-site state to allow one user instance login my system only. For example, when user A login the system, no other user A instance can be login the system for anywhere. This lock will be released when the first user A logout from the system or the seesion is

Re: How to locate a file in a self-defined service ?

2005-08-26 Thread Andy Chu
Eclipse shows me this method is deprecated. Is any more elegant way available ? On 8/25/05, Kent Tong <[EMAIL PROTECTED]> wrote: > > Andy Chu gmail.com <http://gmail.com>> writes: > > > > > Dear All, > > > > In my self-defined service, an

Re: Call for a Eclipse plugin for Hivemind.

2005-08-25 Thread Andy Chu
editing xml. ... > On 8/25/05, Andy Chu <[EMAIL PROTECTED]> wrote: > > auto completion > > > > On 8/25/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > > > > > what would you do with a hivemind plugin exactly? > > > On 8/25/05, Andy Chu &l

Re: Call for a Eclipse plugin for Hivemind.

2005-08-25 Thread Andy Chu
auto completion On 8/25/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > what would you do with a hivemind plugin exactly? > On 8/25/05, Andy Chu <[EMAIL PROTECTED]> wrote: > > Dear All, > > > > Is there any eclipse plugin for Hivemind ? > > > >

Call for a Eclipse plugin for Hivemind.

2005-08-25 Thread Andy Chu
Dear All, Is there any eclipse plugin for Hivemind ? Thank you -- 我是天空裡的一片雲 偶爾投影在妳的波心 偶然.徐志摩

How to locate a file in a self-defined service ?

2005-08-23 Thread Andy Chu
Dear All, In my self-defined service, an IEngineSerivce, I need to access files under ${CONTEXT}/myfiles. Would you please tell me how to access them with a FileInputStream ? Thank you very much. Best regard, Andy -- 我是天空裡的一片雲 偶爾投影在妳的波心 偶然.徐志摩

How to bypass a ValidField checking ?

2005-08-10 Thread Andy Chu
Dear Friends, I am using tapestry-3.0.1. Suppose there is a ValidField, F1 in one Page. It is a REQUIRED field. For some reason, I need to disable the form validation temporarily. I use the following code segment to implement this in the form's listener. ((ValidationDelegate) getBeans().getBean("d

Re: AW: Calls for the 'AutoCompleteSelection' Component

2005-07-29 Thread Andy Chu
wrote: > > > Maybe the Tapestry Ajax Component is what you are > > looking for > > > > see > > > http://thread.gmane.org/gmane.comp.java.tapestry.user/18537 > > > > and > > http://myworkspace.sourceforge.net/ajax-demo.html > > > &g

Calls for the 'AutoCompleteSelection' Component

2005-07-28 Thread Andy Chu
Dear friends, Would you please tell me if some 'AutoComplete' PropertySelection Component behaving like those on http://www.mattkruse.com/javascript/autocomplete/ is available ? Thank you , Andy -- 我是天空裡的一片雲 偶爾投影在妳的波心 偶然.徐志摩

Re: default validation delegate

2005-07-11 Thread Andy Chu
Yes, I agree with Kent's opinion. We usually encapsulate a form in a component rather than a page. "page.beans.delegate" should be a more flexible approach. Andy On 7/12/05, Kent Tong <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there any reason why the default validation delegate of a Form is >

One Question about PopupLinkRenderer

2005-06-16 Thread Andy Chu
1. How to let the browser create only one Popup Window instance. For example , there are two links, LinkA and LinkB. If you click the LinkA, "Hello, World" will be displayed inside a Popup window. and If you then click the LinkB, "Hello, Tapestry" will be displayed in the SAME popup window. No o

How to reload a page without submit it ?

2005-06-16 Thread Andy Chu
I am now implementing a ClosePopup page to close the current popup window and reload its opener by the following the javascript statements: window.opener.location.reload(true); window.close(); Please consider this case: 1. A user submit something in the main page; 2. The user activates the popu

How to overwrite an old css class within the a ValidField ?

2005-06-02 Thread Andy Chu
From the workbench example, We know that Tapestry is able to indicate a ValidField being Invalid by writing a CSS class, for example "field-error", with the "writeAttributes" method in the delegate class of a specified form. However, for some purpose, the ValidField initially has its own CSS cla

How to display blank text inside a table cell ?

2005-05-24 Thread Andy Chu
I am now using TableView to list some records. In those records, some String field may be missed. Such a cell will be rendered to be some form like below: This will make my css definition take no effect. I tried to set the empty field to be a blank string -- " ". Unfortunately, I god the same

How to Make Localization Immeditately ?

2005-05-16 Thread Andy Chu
Dear All, In the workbench example, there is a localization example. The localization will take effect at the page next to the localization selection page. Is there any approach to make the localization effect take place immediately ? I tried redirecting the current page from a temp page on its

Re: Globally Localization

2005-05-16 Thread Andy Chu
Oh yes ! thank you very much ! On 5/16/05, Hugo Palma <[EMAIL PROTECTED]> wrote: > > Sure, just include the button in a component and use a .properties file > for that component. > > Cheers > > Hugo > > > Andy Chu wrote: > > >Suppose the

Globally Localization

2005-05-16 Thread Andy Chu
Suppose there is a DELETE button whose label needs to be localized. Because it appears at many pages, I need to repeat its localization on those pages. Is there any approach to do a Globally Localization in ONE properties file ? Best wishes, Andy -- [EMAIL PROTECTED] 偶爾投影在妳的波心 偶然.徐志摩

How to implement such an "Enhanced" drop down list component ?

2005-05-11 Thread Andy Chu
Dear All, Suppose now we have a drop down list displaying description of each option. There is also a TextField placed in front of the drop down list displaying the option code. Users can select an option from the drop down list and the code Field will be filled by the corresponding option code a

Synchonization Problem of Table Component

2005-05-02 Thread Andy Chu
Dear All, Would you please help me to solve the stale link problem while using Table component to display items which can be removed from the table? a simple example will be highly appreciated. Thank you very much, Andy