textfield error Parameter(s) 'translate' are required when displaying foreign field.

2008-09-11 Thread Tan [EMAIL PROTECTED]
Hi, I'm newbie in tapestry, i have a problem when i want to show a foreign field value in textfield. it show me the error as below: Parameter(s) 'translate' are required for org.apache.tapestry5.corelib.components.TextField, but have not been bound. in java is:

T5Component Accordion

2008-08-05 Thread Tan [EMAIL PROTECTED]
hi, I 'm newbie in tapestry. let say I have 5 Accordion Menu. |-Menu1 |-Menu2 |-Menu3 |-Menu4 |-Menu5 when i click on the menu2. it will show the menu2's contain. but, when it refresh the page, i still wan the Accordion menu open up the menu2 that i choose previously. May i

TreeView sample

2008-07-30 Thread Tan [EMAIL PROTECTED]
hi, i'm newbie in tapestry and t5components. i'm currently using t5components/Accordion as my menu. but i was thinking to put some sub t5components/Accordion or tree view inside the Detail. because tutorial is using private String _detail = wording . is there any way to attach my sub

dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
hi all, i'm newbie in tapestry. May i know is there any dynamically way to code it in java to control over tml input type=text become read-only = false or true base on my coding? Thank you. Regards, Tan - To unsubscribe,

Re: dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
/2008, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi all, i'm newbie in tapestry. May i know is there any dynamically way to code it in java to control over tml input type=text become read-only = false or true base on my coding? Thank you. Regards, Tan

Re: dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
, 2008 at 5:45 AM, Lance Java [EMAIL PROTECTED]wrote: java: class MyPage { @Property private String value; @Property private boolean disabled; } tml: t:textfield value=value disabled=${disabled} / On 29/07/2008, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi all, i'm

[T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
hi, i have an actionlink outside the form. like below t:actionlink t:id=toolbarSave t:zone=zoneFormView img src=images/saveRecord16.png //t:actionlink form ... input type=submit t:type=submit value=submit /form and, is there any way to call from actionlink to

Re: [T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
On Thu, Jul 10, 2008 at 8:55 AM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, i have an actionlink outside the form. like below t:actionlink t:id=toolbarSave t:zone=zoneFormView img src=images/saveRecord16.png //t:actionlink form ... input type=submit t:type

can we do something for grid.refresh() with the parameter inplace=true?

2008-07-08 Thread Tan [EMAIL PROTECTED]
hi, i'm newbie in tapestry. can we do something like grid.refresh() (example) with the parameter inplace=true? i noticed that it will run setupRender, setupDataSource, getAvailableRows.. when I click on paging 2 in the grid ( because after i click on the page2 and click back to the page1.

Refresh inplace grid content

2008-07-03 Thread Tan [EMAIL PROTECTED]
hi, may i know how to refresh grid content which using inplace=true without refresh whole page? Thank you. Regards, TanMH

how to refresh only div in tapestry 5?

2008-07-03 Thread Tan [EMAIL PROTECTED]
Dear All, May I know how to refresh only div instead of whole page in tapestry5 ? Thank you. Regards, Cyber

Re: T5 first time loading very slow.

2008-07-01 Thread Tan [EMAIL PROTECTED]
Tan, I'm pretty sure this is NOT tapestry. I have multiple apps of varying degrees of complexity, and it only ever takes a few seconds at most to startup T5. You might consider profiling... Robert On Jul 1, 2008, at 7/112:46 AM , Tan [EMAIL PROTECTED] wrote: Hi, i have tried even pure

Re: T5components crash with mysql jdbc??

2008-07-01 Thread Tan [EMAIL PROTECTED]
have a pooling mechanism enabled, but the connection is timing out. It's definitely not t5component/mysqljdbc interaction; just today, I created a new project using both mysql's connector/J, and t5components, and I've had no issues. Robert On Jun 29, 2008, at 6/2911:23 AM , Tan [EMAIL

Grid inplace is working. but table content no update even backend data changed.

2008-07-01 Thread Tan [EMAIL PROTECTED]
hi all, i have a real time data changing at the back end using tapestry grid inplace=true. is working for paging. it didn't refresh the whole page. but, when the data has changed. value that display on the grid didn't update/refresh. i understand that, this is because of ajax. it didn't reload

Re: [T5] Grid paging refresh the whole document , can it be done in AJAX-way ?

2008-06-30 Thread Tan [EMAIL PROTECTED]
i'm using java 1.5. but the problem still the same. is there any parameter or java code that need to code before it able to function properly? On Sun, Jun 29, 2008 at 11:59 PM, faramos [EMAIL PROTECTED] wrote: hi... Someone mentioned that with java 1.6 does not work but with java 1.5 works

[T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
hi all, is any one have workable tapestry5 grid inplace sample? i think i have miss out some coding. it show me here is no data to display. REGards, Cyber

Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
no. do you have any sample ? On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL PROTECTED] wrote: Have you put the grid in a zone? On Mon, Jun 30, 2008 at 10:48 AM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi all, is any one have workable tapestry5 grid inplace sample? i think i

Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
may i know how to code it? because i have tried as what u have mentioned. but still come out the message. there is no a data. On Tue, Jul 1, 2008 at 12:44 AM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: no. do you have any sample ? On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL

Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
? May I have a look at your code? On Mon, Jun 30, 2008 at 12:48 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: may i know how to code it? because i have tried as what u have mentioned. but still come out the message. there is no a data. On Tue, Jul 1, 2008 at 12:44 AM, Tan [EMAIL

Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
. Yunhua On Mon, Jun 30, 2008 at 1:01 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: t:grid t:source=materialTypes t:row=materialType t:rowsPerPage=1 t:pagerPosition=top t:inPlace=true

T5 first time loading very slow.

2008-06-30 Thread Tan [EMAIL PROTECTED]
hi all, my T5 first time loading very slow. it need to take 45sec ~1mins++ by using Core2Duo. is there any way to tune it? Thank you. REgards, TAnMH

Re: T5 first time loading very slow.

2008-06-30 Thread Tan [EMAIL PROTECTED]
to download, try using Firefox's firebug to check how many Ks downloaded. Tan [EMAIL PROTECTED] wrote: hi all, my T5 first time loading very slow. it need to take 45sec ~1mins++ by using Core2Duo. is there any way to tune it? Thank you. REgards, TAnMH -- View this message

T5components crash with mysql jdbc??

2008-06-29 Thread Tan [EMAIL PROTECTED]
hi all, i have a problem on t5components integrated with T5 mysql jdbc. previously, when without t5compoents is ok. after i have added some jar file. it prompt me the error as below. Render queue error in SetupRender[MaterialTypeMaintenance]: The bean encountered a non-application exception.;

Re: Unable to resolve 't5components/Accordion' to a component class name

2008-06-26 Thread Tan [EMAIL PROTECTED]
: try t5components/Accordion 2008/6/26 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]: hi all, I have a problem to deploy t5components. even i use t5c/Accordion , Acordion or t5compoents/Accordion also facing the same problem. is there any path wrong? Unable to resolve 't5c/Accordion

Re: Unable to resolve 't5components/Accordion' to a component class name

2008-06-26 Thread Tan [EMAIL PROTECTED]
? - Tobias Tan [EMAIL PROTECTED] schrieb: thanks sven, I have tried. but still failed. may i know how to deploy t5components inside a tapestry web project? or may be can you show me the project files layout. where should it be located? THank you. REgards, Cyber On Thu, Jun 26, 2008

how to deploy t5components in existing T5 project?

2008-06-25 Thread Tan [EMAIL PROTECTED]
Hi, May i know how to deploy t5components in existing T5 project? there are not really many documentation to guide how to deploy it in T5 project. Thank you. Regards, CYberTAn

[T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
hi all, i 'm testing tutorial in http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html in start.tml _ html t:type=layout xmlns:t= http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; h1Welcome to the

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
on the right package? It should be under src/main/resources/your_app_pkg/components. I recommend you to create a directory called src/main/resources/your_app_pkg/pages and put your pages inside it too. 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]: hi all, i 'm testing tutorial

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
Hi, I did have put some message in setuprender and onactivate. i did show me the System.out.println(test1); but, how come it didn't render the div ? Thankk you. On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi marcelo, thanks for your reply. yes. i did put

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
sorry. should be after SetupRender. then it ended by right if there is an error. it should go to cleanuprender. but, it didn't go though that function. On Tue, Jun 24, 2008 at 10:01 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I did have put some message in setuprender

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
... may i know is it can not find tml file? On Tue, Jun 24, 2008 at 10:25 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: sorry. should be after SetupRender. then it ended by right if there is an error. it should go to cleanuprender. but, it didn't go though that function. On Tue, Jun

Re: [T5] how to add dojo in tapestry5?

2008-06-23 Thread Tan [EMAIL PROTECTED]
contributeMarkupRenderer(...) in TapestyModule) Tan [EMAIL PROTECTED] wrote: hi all, hi i know tapestry5 come with scriptaculous and prototype. but i wan to use something like dojo AccordionContainer in tml. may i know any way to do it? thank youl. Regards, [EMAIL PROTECTED

[T5] how to add dojo in tapestry5?

2008-06-21 Thread Tan [EMAIL PROTECTED]
hi all, hi i know tapestry5 come with scriptaculous and prototype. but i wan to use something like dojo AccordionContainer in tml. may i know any way to do it? thank youl. Regards, [EMAIL PROTECTED]

Re: How to call the javascript

2008-06-20 Thread Tan [EMAIL PROTECTED]
Hi, You may refer to http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html. hope it can help u. Thank you. Regards, CyberTan On Fri, Jun 20, 2008 at 2:05 PM, 滕训华 [EMAIL PROTECTED] wrote: If I write my own javascript function,how to call it in my page class?

[T5] custom component like no function.

2008-06-20 Thread Tan [EMAIL PROTECTED]
Hi all, I have a problem on custom component. i think i have left out something or do something wrong. my layout.tml header and footer 's wording didn't come out at the start.tml render. only show out Would you like to Log In?' can someone help me? :( Regards, example like layout. layout.tml

custom component like no function.

2008-06-19 Thread Tan [EMAIL PROTECTED]
Hi all, I have a problem on custom component. i think i have left out something or do something wrong. my layout.tml header and footer 's wording didn't come out at the start.tml render. only show out Would you like to Log In?' can someone help me? :( Regards, example like layout. layout.tml

tapestry5 + dojo/ajax.

2008-06-19 Thread Tan [EMAIL PROTECTED]
Hi all, I have a problem on my web layout. i have tree view menu at my left hand side. right hand side is my tapestry grid. but, when i select a other paging. it will refresh my tree view to initial state again. how do i do to refresh only my grid only without refresh also my tree view? Thank