Re: ActionLink + JCalling JavaScropt
Define When. Before? Use onclick. After (from server-side)? Use renderSupport.addScript("myfunction();") Search the mailing archives, numerous examples. Kalle On Thu, Nov 19, 2009 at 11:15 PM, Gunnar Eketrapp wrote: > Hi! > > I would like to call a javascript method when an action link is clicked. > > Can that be done? > > I.e. is there any way to addd som javascript to a actionlink, > > Thanks in advance, > Gunnar Eketrapp > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: ActionLink + JCalling JavaScropt
On Fri, Nov 20, 2009 at 8:15 AM, Gunnar Eketrapp wrote: > Hi! > > I would like to call a javascript method when an action link is clicked. > > Can that be done? > > I.e. is there any way to addd som javascript to a actionlink, > > Thanks in advance, > Gunnar Eketrapp > I use the following code for a popup box from an event link: it should work even for an actionLink! regards, mario
ActionLink + JCalling JavaScropt
Hi! I would like to call a javascript method when an action link is clicked. Can that be done? I.e. is there any way to addd som javascript to a actionlink, Thanks in advance, Gunnar Eketrapp
Re: Have a Master Checkbox For T5 Grid Component
Hello! I just found out the same issue, however it happens in ie7, in firefox it works well. I am not good in javascript but i might have a look into that because I really need this functionality. regards, mario On Thu, Nov 19, 2009 at 12:18 PM, sandeepraj singh < sandeepraj.si...@atosorigin.com> wrote: > > Hi Mario, > > Althought the checkboxes render allright , I am getting this error while > using ioko library in for Tapestry5Grid . > > Error: this.childArray[child].element is undefined in boundCheckbox.js > > At this line > >this.childArray[child].element.checked=this.element.checked; > > > Below is the code that i have written, > > In MyTest.tml > = > > t:mixins="ioko/boundcheckbox"/> > > > t:mixins="ioko/boundcheckbox" master="mastercheckbox2"/> > > > > In MyTest.java > = > > > @Property > private boolean selectedCheckBox2; > > @Property > private boolean currentSelected; > > Any Pointers? > > Thanks > Sandeep > > Mario Udina-2 wrote: > > > > Hello! > > > > I just wanted to leave a trace on subject, as I spent some time on it. > > I have tried the lombok checkboxgroup demo and am not able to make it > work > > in a grid. > > However the ioko-tapestry-commons checkbox group works like a charm in a > > grid. > > > > regards, > > Mario Udina > > > > On Fri, Jul 31, 2009 at 1:45 PM, sandeepraj singh < > > sandeepraj.si...@atosorigin.com> wrote: > > > >> > >> Thanks for your replies Robin and Shing, > >> > >> @Robin, > >> > >> Your answer did the trick. I created a master checkbox and added slave > >> checkboxes too. I think a simple javascript would help me get > >> check/uncheck > >> and get master slave checkbox relations. Although i expected Tapestry to > >> do > >> that bit too for me(too greedy of me). > >> > >> @ Shing, > >> Your demo was quite informative, i didnot try to add it with Grid, but > >> would > >> try it some other time. I saw other demos too and they are very > >> good.Thanks > >> for the help. > >> > >> Thanks > >> Sandeep > >> > >> > >> > >> > >> Shing Hing Man wrote: > >> > > >> > > >> > In case you have not tried the following. > >> > > >> > I have a ControlCB component and a mixin ControlledCheckbox which > turns > >> a > >> > standard Checkbox component to be a controlled checkbox. > >> > There is an online demo (with source code of the demo) at > >> > > >> > http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo > >> > > >> > Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source > code > >> of > >> > the components. > >> > > >> > > >> > I do not know whether the above will work in a Grid. > >> > But it might worth a try. Use a ControlCB component as your master > >> > checkbox (can't remember whether you can have a component in a > >> header) > >> > and add the mixin into other checkboxes in the column. > >> > > >> > > >> > Shing > >> > > >> > > >> > > >> > > >> > --- On Fri, 31/7/09, sandeepraj singh < > sandeepraj.si...@atosorigin.com> > >> > wrote: > >> > > >> >> From: sandeepraj singh > >> >> Subject: Have a Master Checkbox For T5 Grid Component > >> >> To: users@tapestry.apache.org > >> >> Date: Friday, 31 July, 2009, 3:43 PM > >> >> > >> >> Hi Guys, > >> >> I wanted to have a master CheckBox while using the Grid > >> >> Component. That > >> >> CheckBox would be present at the Header Row of Grid > >> >> Components, and allow to > >> >> check the CheckBoxes below to be checked or > >> >> unchecked. > >> >> Is there any way else to do it except for Copying the > >> >> entire Grid Component > >> >> Source Code to MYOWNGRID and then making changes to > >> >> GridColoumn Component > >> >> inside Grid Source Code that would be copied. > >> >> > >> >> Any Pointers would be of great help > >> >> > >> >> Thanks > >> >> Sandy > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24752416.html > >> >> Sent from the Tapestry - User mailing list archive at > >> >> Nabble.com. > >> >> > >> >> > >> >> - > >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> >> > >> >> > >> > > >> > > >> > > >> > > >> > - > >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> > For additional commands, e-mail: users-h...@tapestry.apache.org > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24755793.html > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.
Re: T4.1.6 Suggest
I think you also need to have @Body - and @Suggest also needs to be inside @Form There's an example of Suggest in the TimeTracker app... https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/context/LocaleSuggest.html https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/java/org/apache/tapestry/timetracker/page/LocaleSuggest.java On Thu, Nov 19, 2009 at 7:28 PM, Norman Franke wrote: > I'm wondering what I'm doing wrong here. I'm attempting to use the @Suggest > component in a form, but it just won't work. No include scripts are > generated, no JavaScript to define the control as an Ajax.Autocompleter, > nothing. I have a @Shell component, of course. How do I get it to render > properly? > > Norman Franke > Answering Service for Directors, Inc. > www.myasd.com > > > > -- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T4.1.6 Suggest
I'm wondering what I'm doing wrong here. I'm attempting to use the @Suggest component in a form, but it just won't work. No include scripts are generated, no JavaScript to define the control as an Ajax.Autocompleter, nothing. I have a @Shell component, of course. How do I get it to render properly? Norman Franke Answering Service for Directors, Inc. www.myasd.com
Re: web site showing chart on web frameworks usage
Here's one: http://www.google.com/insights/search/#q=java%20tapestry%2C%20java%20wicket%2C%20java%20jsf%2C&cmpt=q (not a website, but Google keyword popularity trend search..) It's probably one of the more objective ones though. Kalle On Thu, Nov 19, 2009 at 8:58 AM, Ivano Luberti wrote: > Someone posted in the past a web site with charts showing how much some > web frameworks are used around the world. > Can someone help me finding that link (maybe more than one link) > > TIA > > -- > == > dott. Ivano Mario Luberti > Archimede Informatica societa' cooperativa a r. l. > Sede Operativa > Via Gereschi 36 - 56126- Pisa > tel.: +39-050- 580959 > tel/fax: +39-050-9711344 > web: www.archicoop.it > == > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
web site showing chart on web frameworks usage
Someone posted in the past a web site with charts showing how much some web frameworks are used around the world. Can someone help me finding that link (maybe more than one link) TIA -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: ognl question
No, OGNL is not in vanilla T5. I think Chenelle Kit has an OGNL binding for T5, well something out there does. > -Original Message- > From: Ken in nashua [mailto:nhhockeypla...@hotmail.com] > Sent: 19 November 2009 13:41 > To: users@tapestry.apache.org > Subject: ognl question > > > Folks, > > OGNL is used in t4. > > Is it being used in t5 ? If not what is the improv for OGNL in t5. > > Best regards > Ken in New Boston > > > > > _ > Windows 7: I wanted simpler, now it's simpler. I'm a rock star. > http://www.microsoft.com/Windows/windows- > 7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en- > US:WWL_WIN_myidea:112009 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: ognl question
eventualy this helps you http://www.chenillekit.org/chenillekit-tapestry/ognlbinding.html with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2009/11/19 Ken in nashua > > Folks, > > OGNL is used in t4. > > Is it being used in t5 ? If not what is the improv for OGNL in t5. > > Best regards > Ken in New Boston > > > > > _ > Windows 7: I wanted simpler, now it's simpler. I'm a rock star. > > http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009
Re: Date Field Component - Disable
try this component: http://www.chenillekit.org/demo/tapcomp/datetimefielddemo http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/DateTimeField.html with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2009/11/19 sandeepraj singh > > Hi, > A weird requirement may be, > > I want to use Date Field Component and the ability to disable the text > field > associated with it only. The intention is to match the existing date > component in one of older technologies we worked on. While migrating to > Tapestry5 we want that by clicking the Calender icon a date is selected but > after that no one should be allowed to tinker with it and hence we want to > disable the text box associated with it. > > Do you think that for such a requirement, creating my own component is a > better bet? > > Thanks > Sandeep > -- > View this message in context: > http://old.nabble.com/Date-Field-Component---Disable-tp26421251p26421251.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: Best server for development and for production?
For development I use jetty along with JRebel. Jetty, JRebel and T5's dynamic class reloading make a perfect combination ... I can change pages, components, model objects, even spring beans on the fly. For production I used to deploy on Tomcat or Weblogic although I've recently moved across to Glassfish and have been very happy so far. Incidentally we don't bother with the various appserver plugin's for IDEs ... running weblogic/glassfish on a development machine seems crazy to me ... that's what the staging/test environment is for! Toby 2009/11/18 Juan E. Maya > I use tomcat with the sysdeo plugin > (http://www.eclipsetotale.com/tomcatPlugin.html), although as pointed > out by Tiago tapestry reduces the need of deploy-on-change, still the > code in the business layer of the application requires a redeploy. > Sysdeo although not perfect, reduces the deploys to changes Hibernate > mappings or when u add new methods to ur classes (Non-Managed by > tapestry) > > I have never used glassfish so i couldn;t say how they compare > > U could also check JRebel (http://www.zeroturnaround.com/jrebel/) for > a more robust solution > > > On Wed, Nov 18, 2009 at 7:04 PM, Thiago H. de Paula Figueiredo > wrote: > > Em Wed, 18 Nov 2009 15:54:04 -0200, Alessandro Bottoni > > escreveu: > > > >> Hi All, > > > > Hi! > > > >> in your opinion, which is the best server (servlet container, actually) > >> for Tapestry? > > > > Definitely, Jetty, at least for development, maybe also for production. > > Small, easy to configure, fast. That's what I use for development and > > production. > > > >> It seems that Glassfish has an advantage over other solutions in the > >> development environment because of the deploy-on-change feature supplied > >> by NetBeans and Eclipse plug-ins but... > > > > I have a bad experience about it: deploys on change failed seemingly > > randomly. I just run Jetty over an exploded WAR. Works like a charm. > > By the way, deploy-on-change doesn't make any sense when used with > > Tapestry's live class realoading. > > > > -- > > Thiago H. de Paula Figueiredo > > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and > > instructor > > Owner, software architect and developer, Ars Machina Tecnologia da > > Informação Ltda. > > http://www.arsmachina.com.br > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
AW: ognl question
Yes, but instead of {ognl:someMethod} you write ${getSomeMethod()} -Ursprüngliche Nachricht- Von: Ken in nashua [mailto:nhhockeypla...@hotmail.com] Gesendet: Thursday, November 19, 2009 2:41 PM An: users@tapestry.apache.org Betreff: ognl question Folks, OGNL is used in t4. Is it being used in t5 ? If not what is the improv for OGNL in t5. Best regards Ken in New Boston _ Windows 7: I wanted simpler, now it's simpler. I'm a rock star. http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
ognl question
Folks, OGNL is used in t4. Is it being used in t5 ? If not what is the improv for OGNL in t5. Best regards Ken in New Boston _ Windows 7: I wanted simpler, now it's simpler. I'm a rock star. http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009
Re: Have a Master Checkbox For T5 Grid Component
Hi Mario, Althought the checkboxes render allright , I am getting this error while using ioko library in for Tapestry5Grid . Error: this.childArray[child].element is undefined in boundCheckbox.js At this line this.childArray[child].element.checked=this.element.checked; Below is the code that i have written, In MyTest.tml = In MyTest.java = @Property private boolean selectedCheckBox2; @Property private boolean currentSelected; Any Pointers? Thanks Sandeep Mario Udina-2 wrote: > > Hello! > > I just wanted to leave a trace on subject, as I spent some time on it. > I have tried the lombok checkboxgroup demo and am not able to make it work > in a grid. > However the ioko-tapestry-commons checkbox group works like a charm in a > grid. > > regards, > Mario Udina > > On Fri, Jul 31, 2009 at 1:45 PM, sandeepraj singh < > sandeepraj.si...@atosorigin.com> wrote: > >> >> Thanks for your replies Robin and Shing, >> >> @Robin, >> >> Your answer did the trick. I created a master checkbox and added slave >> checkboxes too. I think a simple javascript would help me get >> check/uncheck >> and get master slave checkbox relations. Although i expected Tapestry to >> do >> that bit too for me(too greedy of me). >> >> @ Shing, >> Your demo was quite informative, i didnot try to add it with Grid, but >> would >> try it some other time. I saw other demos too and they are very >> good.Thanks >> for the help. >> >> Thanks >> Sandeep >> >> >> >> >> Shing Hing Man wrote: >> > >> > >> > In case you have not tried the following. >> > >> > I have a ControlCB component and a mixin ControlledCheckbox which turns >> a >> > standard Checkbox component to be a controlled checkbox. >> > There is an online demo (with source code of the demo) at >> > >> http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo >> > >> > Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source code >> of >> > the components. >> > >> > >> > I do not know whether the above will work in a Grid. >> > But it might worth a try. Use a ControlCB component as your master >> > checkbox (can't remember whether you can have a component in a >> header) >> > and add the mixin into other checkboxes in the column. >> > >> > >> > Shing >> > >> > >> > >> > >> > --- On Fri, 31/7/09, sandeepraj singh >> > wrote: >> > >> >> From: sandeepraj singh >> >> Subject: Have a Master Checkbox For T5 Grid Component >> >> To: users@tapestry.apache.org >> >> Date: Friday, 31 July, 2009, 3:43 PM >> >> >> >> Hi Guys, >> >> I wanted to have a master CheckBox while using the Grid >> >> Component. That >> >> CheckBox would be present at the Header Row of Grid >> >> Components, and allow to >> >> check the CheckBoxes below to be checked or >> >> unchecked. >> >> Is there any way else to do it except for Copying the >> >> entire Grid Component >> >> Source Code to MYOWNGRID and then making changes to >> >> GridColoumn Component >> >> inside Grid Source Code that would be copied. >> >> >> >> Any Pointers would be of great help >> >> >> >> Thanks >> >> Sandy >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24752416.html >> >> Sent from the Tapestry - User mailing list archive at >> >> Nabble.com. >> >> >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> >> >> > >> > >> > >> > >> > - >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> > For additional commands, e-mail: users-h...@tapestry.apache.org >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24755793.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > -- View this message in context: http://old.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p26421285.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Zone with forms questions
Hi! I have a login zone that I replace with a password reminder form (email + send button) if the user presses a "remind me" action link to do so. The login area is nicely replaced with the remind text + form but the submit button does nothing. I,e. it's like my browser (firefox) does not like forms that have been inserted aftwards via an ajax zone. Have I missed something? Thanks in advance! Gunnar Eketrapp
Re: T 5.1 vs 5.0 JSON encoding - breaks IE8
No worries, glad I could help! Ciaran On 18/11/2009 5:36pm, "Thiago H. de Paula Figueiredo" wrote: > Em Tue, 17 Nov 2009 16:50:52 -0200, Kalle Korhonen > escreveu: > >> Thanks Ciaran, voted. Thiago, would you mind doing the honors? (Since >> I know you read this anyway :) > > How do you know I'd read your message? :P > It's been months since my last commit, unfortunately. I've just applied > the patch, ran the tests, everything ok, commited the code. Thanks Ciaran! > :) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Date Field Component - Disable
Hi, A weird requirement may be, I want to use Date Field Component and the ability to disable the text field associated with it only. The intention is to match the existing date component in one of older technologies we worked on. While migrating to Tapestry5 we want that by clicking the Calender icon a date is selected but after that no one should be allowed to tinker with it and hence we want to disable the text box associated with it. Do you think that for such a requirement, creating my own component is a better bet? Thanks Sandeep -- View this message in context: http://old.nabble.com/Date-Field-Component---Disable-tp26421251p26421251.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Devoxx 2009
Hi, In fact we are 8 co workers (including Christophe), all Tapestry developers. We will be around at the end of the conferences, till the beginning of the Maven 3 BOF. We hope to see you, and any other Tapestry developer. Regards, On Wed, Nov 18, 2009 at 8:09 PM, Howard Lewis Ship wrote: > Wish you had pointed out where to meet and when. I'm in the JDK7 BOF. > > On Wed, Nov 18, 2009 at 4:55 AM, cordenier christophe > wrote: > > Hi > > > > Is there any other Tapestry folk here at the devoxx ? > >Should > > Maybe we can meet at the end of the day. > > > > Cheers > > Christophe. > > > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >