RE: its working, but a problem

2006-08-20 Thread zqzuk
sry! will do that. thnx anyway Detlef Schulze wrote: > > Like always: please post some code, it is quite hard to guess > what you did wrong when it is not visible WHAT you did exactly > > cheers, > detlef > > > -Original Message- > From: zqzuk [ma

it works!

2006-08-20 Thread zqzuk
hi, thanks so much! it works! could you please explain why is this? i read the link, it says "Determines whether to avoid creating hidden fields within a form. Using this parameter may make the form structure different during render and rewind, and cause exceptions as a result. Please use with ca

its working, but a problem

2006-08-20 Thread zqzuk
Hi, thanks for your hints, and its working, generally, but i m stuck with a problem which i doubt if its a bug? suppose my form produces rows such like this, data are retrieved from databases --- name attended --

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
> As you can see there are many ways to do it. I'm in the middle of > something > so can't explain more elaborately as this point, but if you get stuck > further will be happy to help in the next day or two. > > On 8/18/06, zqzuk <[EMAIL PROTECTED]> wrote: &

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
the same Attendance object > when the rewind happens. > > then you just need to bind the checkbox value to a > currentAttendance.persentognl > > > On 8/18/06, zqzuk <[EMAIL PROTECTED]> wrote: >> >> >> Hi, the scenario is that i have a collection of Atten

hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
Hi, the scenario is that i have a collection of Attendance objects- for example, Attendance(Student s, String class, String attended) - to be displayed on a page. and i would like a checkbox (or other components whichever appropriate) for each row. so if the student attended the class, user can ti

Re: how can i solve this problem

2006-08-16 Thread zqzuk
thnx, this is indeed a good idea! andyhot wrote: > > From zqzuk <[EMAIL PROTECTED]>: > >> >> however it doesnt work and i got exception error: >> >> No listener method named 'onClick' suitable for no listener parameters >> fou

Re: how can i solve this problem

2006-08-15 Thread zqzuk
thank you all! yes i tried passing parameters using directlink, its not working either. in my page file i have and i defined the direct link component as i revised my code as public abstract String getTutor(); abstract public void setTutor(String s); public IProper

how can i solve this problem

2006-08-15 Thread zqzuk
Helllo, i have two pages, suppose Teacher.html and Rota.html. on Teacher.html, theres a dropdownlist where i can select a teacher's name, and a link which on click, needs to open up another window and pass the selected value to the page Rota.html. i tried something like the followin to test wheth

Re: call javascript method on button click

2006-08-08 Thread zqzuk
thanks. -- View this message in context: http://www.nabble.com/call-javascript-method-on-button-click-tf2073678.html#a5717389 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: call javascript method on button click

2006-08-08 Thread zqzuk
hi, after done some search, it seems that $remove$ is not what i should use, cuz it removes the contents within. i want tapestry to render a component exactly as it is defined in the template, ie in template, i have and i want tapestry to render this line exactly in the result page. apparently

Re: call javascript method on button click

2006-08-08 Thread zqzuk
hi thanks. no i dont have that sorry im a newbie, er... how exactly do i use that please? where should i put jwcid=$remove$? any hints please, thank you. -- View this message in context: http://www.nabble.com/call-javascript-method-on-button-click-tf2073678.html#a5716078 Sent from the Tape

call javascript method on button click

2006-08-08 Thread zqzuk
Hi, i wonder how can i do this. in my html template, i have a button, on click a javascript method will be called, and fill some form components. this method should not submit the page. all work fine in plain html. then when i do this in tapestry, i got problems. if i dont give this button compo

RE: disable form component

2006-08-04 Thread zqzuk
hi, thnx. but i dont know how to do this... i suppose, i need to get the component, for exmaple IFormComponent comp = (FormComponent)getComponent("myCheckBox")); if(condition satisfied){ comp.setDisabled(true); } however i searched tapestry API, there isnt such a setDisabled() method or some

Re: disable form component

2006-08-04 Thread zqzuk
hi, thnx for that. but does that mean it is not possible to do so using tapestry? the problem is, im using tapestry and java to render the page and form elements, collect input from these components and do database transactions. -- View this message in context: http://www.nabble.com/disable-fo

Re: disable form component

2006-08-04 Thread zqzuk
mmm i meant to disable the component not to use the disabled component in the first place. for example, if user selects "ENABLE" then other form components are enabled; otherwise if user selects "DISABLE" then all form components are disabled and do not allow input. -- View this message in conte

disable form component

2006-08-04 Thread zqzuk
Hi, just wonder is there any way to disable a form component in code? i searched tapestry api, but seems theres only a method isDisabled() which returns the component's state, but no methods that can change this state... is there anyway i can do this please? thanks -- View this message in conte

Re: opening up a new windown onclick

2006-08-02 Thread zqzuk
thanks :) -- View this message in context: http://www.nabble.com/opening-up-a-new-windown-onclick-tf2039446.html#a5613778 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

opening up a new windown onclick

2006-08-02 Thread zqzuk
Hi, how can i enable a directlink to open up a separate window on click, rather than opening in itself? thanks -- View this message in context: http://www.nabble.com/opening-up-a-new-windown-onclick-tf2039446.html#a5612506 Sent from the Tapestry - User forum at Nabble.com.

how to do pagin

2006-08-02 Thread zqzuk
hi, just wondering if theres any element that allows auto-paging search results... im using the FOR element to output search results btw. thank u -- View this message in context: http://www.nabble.com/how-to-do-pagin-tf2039441.html#a5612493 Sent from the Tapestry - User forum at Nabble.com. -