ActionLink button called twice when onclick.

2009-03-16 Thread Tan cyb...@n
Hi, I have a problem on my ActionLink button. it call twice onActionFrom after i have clicked on it. below are my coding.  is anyone have any idea on it? Thank you. Regards, tan TML:                             Convert               

  didn't render as space, instead it render out as " "

2009-03-12 Thread Tan cyb...@n
Hi all, i can code   in the tml page without any problem ( it render out as a space). but, the value render out from my ${fieldvalue} ( example fieldvalue=" ") it ddin't render it become space, but it display out full word " " May i know how to make it render as "space" instead of " " ? Thank y

Re: actionlink pass combobox value.

2009-03-10 Thread Tan cyb...@n
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/linksubmits1 On Tue, Mar 10, 2009 at 8:04 PM, Tan cyb...@n wrote: > hi DH, > > Do you have any example? > Thank you > > Regards, > Tan > > > On Tue, Mar 10, 2009 at 7:50 PM, DH wrote: > >&g

Re: actionlink pass combobox value.

2009-03-10 Thread Tan cyb...@n
hi DH, Do you have any example? Thank you Regards, Tan On Tue, Mar 10, 2009 at 7:50 PM, DH wrote: > If you are not limited on actionlink, have a try with LinkSubmit component, > it can post form. > > Or else you need js to help post the value back. > > Thanks > > DH > > Sent: Tuesday, March 10

actionlink pass combobox value.

2009-03-10 Thread Tan cyb...@n
Hi all, I have my a combo box. getCombovalue() always get null value when i clicked on actionlink button. ( This is due to the form no post back that cause it retrieved a null value.) *remark this is using zone and block. @injectpage private SecondPage secondpage; Object onActionFrombtnClick() {

Re: how to let actionlink to open another page like target="_blank"?

2009-03-08 Thread Tan cyb...@n
Yes Please. On Sun, Mar 8, 2009 at 11:23 PM, Andy Pahne wrote: > > Yes please, would be nice to see... > > Andy > > > Inge Solvoll schrieb: > >> I created a mixin, PopupPageLink, that opens a new window containing a the >> link, with window.open() in javascript. It gives you more control over the

how to let actionlink to open another page like target="_blank"?

2009-03-08 Thread Tan cyb...@n
Hi, I have a question about actionlink, is there any possible to make it to open another new page instead of change in current page? make it something like ? Thank you. Regards, Tan

How to refresh the page if user click "back" button.

2009-03-06 Thread Tan cyb...@n
hi, May I know is there any way the tapestry able to detect the page is clicked by "back" button. then it will refresh itself automatically? I don wan to use javascript history.foward() to control. Thank you. Regards, Tan

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-17 Thread Tan cyb...@n
hi, I finally solved the problem. since the window.java. didn't show in the Block area. so just remove out from to to solved the problem. Thank you. Regards, tan On Tue, Feb 17, 2009 at 4:07 PM, Tan cyb...@n wrote: > hi DH, > > Thanks for your reply. I

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-17 Thread Tan cyb...@n
.js and I > replace with 1.6.0.1 and everything is ok. > > In my ajax case, I don't involve Block but only Zone with , so I > don't know whether it is caused by Block. Also you can drop Block first to > have a test. > > Thanks! > > DH > > > - Origina

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
sing response: TypeError: existing > is null'. > > But from what you described, it seems that you failed always in all > browsers? > > DH > > - Original Message - > From: "Tan cyb...@n" > To: "Tapestry users" > Sent: Tuesday, February 1

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
ell, what's your t5component version? I am using 0.5.18 Window, no issue > on IE6&7, firefox2, but have issue on firefox 3.0 which is caused by > stylesheet insertion in ajax response. > > Thanks! > > DH > > > ----- Original Message - > From: "Tan cyb

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
The error might come out from Window.java in T5Component. Because when i remark the component. and stop using it. the error didn't come out anymore. May I know how to solve? I need to use this component. On Tue, Feb 17, 2009 at 9:29 AM, Tan cyb...@n wrote: > hi all, > > I

[T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
hi all, I'm new in tapestry. After the page is loaded completed. I click on the "Add Button" it show me the error: client exception processing response: syntaxError: missing; before statement I didn't insert any Javascript. but how am i going to debug or check which line are having this error?

Re: About the value of the parameters

2008-12-23 Thread Tan cyb...@n
efer here to see what the author of Confirm said. > > http://markmail.org/message/um2pzavehm3ueoaw?q=link+confirm+zone+list:org%2Eapache%2Etapestry%2Eusers&page=2 > > DH > > > - Original Message - > From: "Tan cyb...@n" > To: "Tapestry users&q

Re: About the value of the parameters

2008-12-23 Thread Tan cyb...@n
hi, I can't remove it because it is also playing a very important role. because it might affect all my operation. any solution? Thank you. REgards, Tan 2008/12/24 dhning > Hi, > > Maybe because of the zone, why not have a try by removing it? > > > DH > > > > hi, > > thanks for reply. I have

Re: About the value of the parameters

2008-12-23 Thread Tan cyb...@n
hi, thanks for reply. I have copy all the sample and deploy into my program using t:mixins="confirm" as well. if(! confirm(this.message)) e.stop(); is only i wanted to ask when the script is reached that statement. :) below are my statement in tml. is it because it contained t:zone and cau

Re: About the value of the parameters

2008-12-23 Thread Tan cyb...@n
hi, I have done that, but seems like useless. even i press cancel. it will still post is it applicable for actionLink( i mean this tutorial) also? if(! confirm(this.message)) e.stop(); THank you. Tan 2008/12/23 ningdh > > I am afraid you must stop the event as > http://wiki.apache.

Re: About the value of the parameters

2008-12-22 Thread Tan cyb...@n
hi 滕训华 , do you might to share out your coding about @Component(parameters = {"onClick=literal:return confirm(\"do you want to delete this record?\");"}) ? i have a problem on prompt a confirmation box before submit. but when i even press cancel. it also do the submit post back. Thank you. Re

Mixin for javascript.

2008-12-22 Thread Tan cyb...@n
hi all, regarding the tutorial about the mixin to prompt a confirm box before press the button. I have try to use the tutorial in http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained but seems like even i press the "cancel". it also will post back. here are the sample: is any one ab

Re: Confirm("are you sure want to delete") in

2008-12-22 Thread Tan cyb...@n
Andy Pahne wrote: > > >> This is sad. We cannot even fill a JIRA, because "Confirm" is not part > > >> of the framework. > > >> > > >> Andy > > >> > > >> > > >> > > >> zack1403 schrieb: > &

Re: Loop object question.

2008-12-21 Thread Tan cyb...@n
${value} > > > > > > > > > > In page java : > > > public boolean isStartRow(){ >return (myIndex%4 ==0); >} > > public boolean isEndRow(){ >

Loop object question.

2008-12-20 Thread Tan cyb...@n
hi all, i'm newbie on java and tapestry ,i have problem on my loop 's data example ${value} my Datalist is an ArrayList , my colvalue is String. my data inside the datalist example like bel

Confirm("are you sure want to delete") in

2008-12-11 Thread Tan cyb...@n
hi, i'm a newbie in tapestry. may i know is it possible to do like: I have tried to put in as well, but after choose cancel. it will still submit. May i know how to avoid the postback? Thank you. Tan