get component according to ID

2010-01-13 Thread LiborGMC
Hi, I'm trying develop component which is basically Grid which is quite dynamic (count of columns, different types of displayed objects). This table is in Zone to ensure that if user wants refresh just grid then page is not reloaded. I would like to have more these components on single page. I hav

How to obtain current page in component's code

2010-01-13 Thread LiborGMC
Hi, can I obtain page in the code of component? I would like to get Zone component by calling "componentSource.getComponent("pageName:componentName.zone");" but I'm not sure how can I find out pageName. Thanks in advance -- View this message in context: http://old.nabble.com/How-to-obtain-curren

Re: How to obtain current page in component's code

2010-01-13 Thread LiborGMC
Thank you very much! -- View this message in context: http://old.nabble.com/How-to-obtain-current-page-in-component%27s-code-tp27144292p27144805.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsub

Re: get component according to ID

2010-01-13 Thread LiborGMC
> You can use prop prefix to get your zone id. refresh data In page class: public String getZoneId(){ return "zone_"+entity.getId(); } -- regards, Jun Tsai Thank you for quick reply. I'm not sure if I understand properly your code. I have used prop prefix as you have mentioned. And I

Re: get component according to ID

2010-01-13 Thread LiborGMC
Thanks for the reply. Sorry but I still don't understand. I think my problem is not to obtain id of Zone but get Zone as an object according to this ID. A can obtain from actionLink only zoneID not the Zone as instance, right? I have handler for handle action when user click "Refresh table" link

Re: get component according to ID

2010-01-15 Thread LiborGMC
This quite good but my problem still persist. To have more components on same page block ID should be variable as well. But I'm facing to similar problem, how to get instance of Block according its ID? If I set block ID as constant i.e. "myBlock" then I cannot have more than one component on a sam

Re: get component according to ID

2010-01-15 Thread LiborGMC
Ok it sound me like I hit to limit of Tapestry. Well I'm not able refresh components if there are more of them on same page. Or what strategy shall I use? Could anybody bring in how to implement this scenario: -Component needs refresh after user click on Action. But only this component should be

Re: get component according to ID

2010-01-15 Thread LiborGMC
Uhh I write faster then I think :-(. Now I finally understand what did you try to suggest me. Sorry for the last post ;-). Thank you for your help Libor -- View this message in context: http://old.nabble.com/get-component-according-to-ID-tp27144243p27178827.html Sent from the Tapestry - User m

Error in tapestry.js when used ZoneUpdater in Opera or IE

2010-01-25 Thread LiborGMC
Hi, I'm developing component which is basically Grid but with dynamic columns. I would like to use AJAX so when user needs to refresh Grid rest of the page is not refreshed. Refresh Grid is done by change item in component Select (event onChange). To do so I used Zone. When you specify zone ID the

Re: Error in tapestry.js when used ZoneUpdater in Opera or IE

2010-01-25 Thread LiborGMC
Thanks for reply. I used version 1.6.1 of protopy.js which fresh version. Just for sure I've try it replace it from link you posted but without any result, still same error message. Any other suggestion? Libor -- View this message in context: http://old.nabble.com/Error-in-tapestry.js-when-used

Error in tapestry.js in IE 8

2010-02-25 Thread LiborGMC
Hi, I'm still facing problem with JS library tapestry.js in IE 8. I'm trying use check box group. On Firefox works everythink fine, problem is with IE 8. I tried to use libraries http://tapestry.ioko.com/ ioko and http://lombok.demon.co.uk/tapestry5Demo/ lombok but with same error result. Erro

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Hi, I'm still facing this issue. I cannot use Tapestry 5 on IE8! Am I only one who face to this problem? Or Tapestry cannot be used on IE8? Could anybody answer me, plese? Please help! Libor -- View this message in context: http://old.nabble.com/Error-in-tapestry.js-in-IE-8-tp27714386p27901196.

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Thanks for quick reply. I have tried night build I can see little progress if have used Tapestry 5.2.0 But still it is not work 100%. From time time it doesn't propagate selected checkboxes to server. Night build 5.1. didn't work at all. I have tried to copy prototype.js version 1.6.1 to tapestry-

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Tapestry using prototype 1.6.1 (I've done what you suggest). Ok I will try to use another library for checkbox group. Any recommendations? -- View this message in context: http://old.nabble.com/Error-in-tapestry.js-in-IE-8-tp27714386p27906691.html Sent from the Tapestry - User mailing list archi

Order of processing of mixins

2010-03-17 Thread LiborGMC
Hi there, I've implemented two mixins which just add some JavaScript code to action onClick to actionLink. I defined these two mixins to one actionLink. I expect that order in which mixins are fired is the same as I defined in "t:mixins" attribute. Firefox 3 is keeping this order but IE 8 isn't. C

Re: Order of processing of mixins

2010-03-18 Thread LiborGMC
Hi, thanks for responses. I'm using 5.1.0.5. Version 5.2 brings me more pain than gain ;-). I think my problem could be somewhere else: both my mixins wired event handlers to same event "onclick". I don't know JS very well but could be possible that JS don't keep ordering when notify listeners fo

submit form on Safari and Opera doesn't work

2010-03-30 Thread LiborGMC
Hi, thanks to issue with IE8 http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924 http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924 I removed all mixins and checkbox groups and I replaced them with simple Javascript. But I struggling with strang

Re: submit form on Safari and Opera doesn't work

2010-03-30 Thread LiborGMC
Thanks for the reply. I've tried your suggestions but it didn't helps me. I'm using Tapestry 5.1.0.5 with prototype.js 1.6.1. What version do you use? Libor I submit a form via JavaScript and it works in Safari, IE, and Firefox. For me, I use: $('myFormID').submit(); mrg -- View this mes

Re: submit form on Safari and Opera doesn't work

2010-03-31 Thread LiborGMC
I've tried use Opera debugger just make sure that JS code with submit form is called. Yes it is. I've created simple web application in Tapestry 5.1.0.5. Just one form, one textfield and one link which fire submit form. It DOESN'T WORK for me in Safari and Opera at all. I post example of my code:

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Hi, thanks for the reply. I've put code of "tml" file correctly but it has been adjusted somehow. Here is the code of link again: Submit What I'm trying to do is create actionLink (which call handleAction in Java). But before I handle this action I need some data on server. That is way I call su

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Link has been removed again. So another attempt: Submit -- View this message in context: http://old.nabble.com/submit-form-on-Safari-and-Opera-doesn%27t-work-tp28081757p28116037.html Sent from the Tapestry - User mailing list

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Link has been removed again. So another attempt: Submit -- View this message in context: http://old.nabble.com/submit-form-on-Safari-and-Opera-doesn%27t-work-tp28081757p28116039.html Sent from the Tapestry - User mailing list

Re: submit form on Safari and Opera doesn't work

2010-04-06 Thread LiborGMC
You're complicating your implementation beyond needed. What you're trying is to do two requests in sequence: one to submit the form, other to handle an event. This is very error-prone, as it relies on the ordering of the arrival of the. Just use a LinkSubmit: the form will be submitted and

Blackberry problem

2010-06-04 Thread LiborGMC
Hi there, I'm developing web application in T 5, this appl is working fine in main browsers and on mobile devices (Win, Android, iPhone). But on Blackerry it isn't. I didn't get any error messages, it is just not working. The appl is quite simple, no AJAX I've read some articles that BB could have

Logging to file problem

2010-06-24 Thread LiborGMC
Hi there, I'm struggling with logging in my appl. I'm able log my messages to Console but not able to write my messages to file. Strange is that messages are logged to file from Tapestry and Spring but my own messages are missing there. So in log file are only internal messages from Tapestry, Spri

Re: Logging to file problem

2010-06-28 Thread LiborGMC
Well again it was my fault. Our library has static code which initialize default appenders for Log4j..and remove all others! -- View this message in context: http://old.nabble.com/Logging-to-file-problem-tp28982316p29008556.html Sent from the Tapestry - User mailing list archive at Nabble.com.