Process form post from non-trapestry site

2010-07-26 Thread DavidWei
Hi, I am working on consolidating login processes of two web applications with single sign-on. The Main app is not written in Tapestry, but the other is. So when the user logs in the main app, there will be a link to the Tapestry application by passing some login information through form post, wh

T5.1: onclick not called in actionLink with updateZone in IE

2010-05-05 Thread DavidWei
Hi, In the application I am working on, I like to show a processing wheel turning when processing "Delete" action. After deletion is done, it will refresh the update zone with some sort of messages related to "Delete" and stop processing wheel. It works in Firefox, but not in IE because the oncl

Re: Javascript error in IE when a javascript call in an Ajax block

2010-03-03 Thread DavidWei
since version T5.0.0.18. Maybe you experts can know why it happens? Thanks David Thiago H. de Paula Figueiredo wrote: > > On Tue, 02 Mar 2010 18:54:40 -0300, DavidWei wrote: > >> When you mentioned "Static", I do not know what you mean? in my case, the >>

Re: Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread DavidWei
static JavaScript in a .js file and just reference > it. Use (in 5.2) JavaScript.importJavaScriptLibrary(). > > On Tue, Mar 2, 2010 at 1:16 PM, DavidWei wrote: >> >> Hi, >> >> when I am trying to upgrade our web app to Tapestry 5.1.0.5, I have got a >> javascr

Javascript error in IE when a javascript call in an Ajax block

2010-03-02 Thread DavidWei
Hi, when I am trying to upgrade our web app to Tapestry 5.1.0.5, I have got a javascript syntax error when a javascript method with parameters is called inside a Ajax block. I have tested many kinds of scenarios, I could not figure out the problem. 1. If the javascript method with parameters is

Re: Problem: T 5.1.0.5 renders JavaScript comment tag as regular html comment tag

2010-02-12 Thread DavidWei
b 2010 14:31:09 -0200, DavidWei wrote: > >> I am working to upgrade to T 5.1.0.5 and found this problem. >> >> When I include javascript codes with comment tag in tml >> file, Tapastry treats it as html comment tag and never run the javasript >> codes. > > Tap

Problem: T 5.1.0.5 renders JavaScript comment tag as regular html comment tag

2010-02-12 Thread DavidWei
I am working to upgrade to T 5.1.0.5 and found this problem. When I include javascript codes with comment tag in tml file, Tapastry treats it as html comment tag and never run the javasript codes. I even tested to just run simple codes like this "

Re: T5.0.18 javascript error in IE on a datefield

2009-09-02 Thread DavidWei
It has been a month without reply. Really need help, Please!!! DavidWei wrote: > > I was trying to use datefield component to enter a date from builtin > calendar, but it showed a javascript error, this.pupup.clinePosition(...) > is null or not an ob

T5.0.18 javascript error in IE on a datefield

2009-08-10 Thread DavidWei
I was trying to use datefield component to enter a date from builtin calendar, but it showed a javascript error, this.pupup.clinePosition(...) is null or not an object, when a calendar icon is clicked first time. sample Codes like this. in tml file: Birth Date: in java codes: @Persist

Re: T5: pass value between components in different pages

2008-05-06 Thread DavidWei
meout. > > On Mon, May 5, 2008 at 2:19 PM, DavidWei <[EMAIL PROTECTED]> wrote: >> >> I have two pages, list and edit pages. Each page contains one or more >> components. From list page, I use an actionlink to pass the item id as >> Long >> to edit page, wh

T5: pass value between components in different pages

2008-05-05 Thread DavidWei
I have two pages, list and edit pages. Each page contains one or more components. From list page, I use an actionlink to pass the item id as Long to edit page, which I have a setter to set this id in the component which I like to use (in which I persist this passed id). Everything is working we

T5: when is a filed with @Retain cleaned?

2008-04-08 Thread DavidWei
I am using T5 for my current application. There are cases when I need to have a field's value retain after the request. I know using @Persist it will work, but I do not want to store so many values in session. I found there are some samples which use @Retain. By definition, it is said as "By marki

Re: T5 : Editable Select

2008-03-13 Thread DavidWei
I have same need. Can someone answer this? Thanks! David martin boulanger wrote: > > Dear all, > > I need to make an editable select box : i.e the user can either chose one > of the option in the select box or type a custom String. Is it possible to > make something like this with Tapestry 5?

Re: How to add table id into the Grid

2008-03-03 Thread DavidWei
> var div = $(id); > var elem = div.firstChild; > while(elem && elem.tagName != "TABLE") elem=elem.nextSibling; > if(!elem) return;//no table is direct child > do you table initialization here > > > Davor Hrg > > On Sun, Mar 2, 2008 at 4:58 AM, David

Re: How to add table id into the Grid

2008-03-01 Thread DavidWei
enders. > > On Sat, Mar 1, 2008 at 9:04 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: >> I think you need to put t:id="userList" instead of id="userList" >> >> Davor Hrg >> >> >> >> On 3/1/08, DavidWei <[EMAIL PROTECTED]> wro

How to add table id into the Grid

2008-03-01 Thread DavidWei
I need to add a table id to the grid to display user list. Here is what I try to do: I found the id field is not there in the table tag when I viewed source. It is displayed as How can I do? Thanks in advance. -- View this message in context: http://www.nabble.com/How-to-add-table-id-i

Re: Tapestry 5 - Display message from beaneditForm validation outside of form

2008-02-05 Thread DavidWei
Has anybody an idea on this? THANKS!!! DavidWei wrote: > > This is what I want to do. > > Use beaneditForm to create a form from a object (for example User) with > some required fields. When the beaneditForm validation finds errors, I do > not want to use default feature to

Re: Tapestry[5] - Overriding the form error messages

2008-02-05 Thread DavidWei
Source) Adam Zimowski wrote: > > This doesn't make sense, as there should be no reason to coerce on a > single type (org.apache.tapestry.corelib.components.Form). What does > your Start class look like? > > On Feb 4, 2008 9:29 AM, DavidWei <[EMAIL PROTECTED]> wrote:

Re: Tapestry[5] - Overriding the form error messages

2008-02-04 Thread DavidWei
I try to run your codes, but got an exception as follows: An unexpected application exception has occurred Failure reading parameter form of component test/Start:errormsg: Could not find a coercion from type org.apache.tapestry.corelib.components.Form to type org.apache.tapestry.corelib.component