Re: Practical jQuery Integration

2011-10-16 Thread Emmanuel DEMEY
Hi About Tapestry5-jQuery, you will find a lot of informations on our demo website : http://tapestry5-jquery.com/. If you want to use both Prototype and jQuery libraries, you should set the JQuerySymbolConstants.SUPPRESS_PROTOTYPE to false in your AppModule. Our library will automatically include

The difference between "ValueEncoder" and "Translator"

2011-10-16 Thread dick_hu
Now I use the FCKeditor, because of it often has many html tags,so the value's length often over the db's words limit.So I want to transform the html tags to short string. I want to use the "Translator",But I find "ValueEncoder" seems has the same feature. Which one can I choose? Can AnyOne tell me

Re: Practical jQuery Integration

2011-10-16 Thread joch40
Hello Sigbjørn, I have seen https://github.com/got5/tapestry5-jquery , but this seems to work only in tml /

Re: Practical jQuery Integration

2011-10-16 Thread Sigbjørn Tvedt
Hi. There seems to be a replacement module at https://github.com/got5/tapestry5-jquery which will inject the jQuery library for you. If that does not work, have you tried to follow the guide at http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery ? (ps: I have not used jQuery in my t

Re: Practical jQuery Integration

2011-10-16 Thread joch40
Hi, Sorry for being unclear and thanks for your question. It simply dosen´t work. In the tml version - as in the original version - the alert pop´s up after you try to click an Link and you don´t go to the target side. In my version the systems simply goes to the target site without any alert

Re: Practical jQuery Integration

2011-10-16 Thread Muhammad Gelbana
I don't think you mentioned your problem. What goes wrong ?! On Sun, Oct 16, 2011 at 1:55 PM, joch40 wrote: > Hello, > > I am quiet new to Tapestry and a bit lost in the moment. I try to integrate > jquery in my project. I learn about the $ sign Problem I managed to > integrate the Alert-Sample f

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
Thanks a lot Martin!! It works much better now. [?] Julien. 2011/10/16 Martin Strand > On Sun, 16 Oct 2011 22:09:14 +0200, Julien Martin > wrote: > > It might have to do with the way I contribute my Translator i.e.: >> >> @Contribute(TranslatorSource.**class) >> public static void provideTrans

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Martin Strand
On Sun, 16 Oct 2011 22:09:14 +0200, Julien Martin wrote: It might have to do with the way I contribute my Translator i.e.: @Contribute(TranslatorSource.class) public static void provideTranslators(MappedConfigurationTranslator> configuration) { configuration.add(Postcode.class, new Postcode

Re: Attribute question

2011-10-16 Thread bigcache1
Found an ajax select, thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Attribute-question-tp4907045p4907664.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscr

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
It might have to do with the way I contribute my Translator i.e.: *@Contribute(TranslatorSource.class)* *public static void provideTranslators(MappedConfiguration configuration){* *configuration.add(Postcode.class, new PostcodeTranslator());* *}* See how I instanciate the Post

Problems using JPA with 5.3

2011-10-16 Thread jesse
Hi, I've run in to a couple of JPA related issues that are keeping me from moving to 5.3. My app previously worked fine with tynamo jpa, but now throws eclipselink exceptions and won't start with Tapestry 5.3 (5.3-beta-22). My app works great with tynamo JPA, tynamo resteasy, eclipselink (2.2.1),

Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
Hello, I have the following Translator implementation: package com.bignibou.web.services; import com.bignibou.domain.Postcode; import com.bignibou.service.BignibouService; import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.Translator; import o

Practical jQuery Integration

2011-10-16 Thread joch40
Hello, I am quiet new to Tapestry and a bit lost in the moment. I try to integrate jquery in my project. I learn about the $ sign Problem I managed to integrate the Alert-Sample from http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery http://docs.jquery.com/Tutorials:Getting_Started_wit

Re: Attribute question

2011-10-16 Thread Lenny Primak
Have you taken a look at JumpStart http://jumpstart.doublenegative.com.au/home.html for inspiration? On Oct 16, 2011, at 12:30 PM, bigcache1 wrote: > Another question in the row - how to update underlying value each time when > selection changed? > > -- > View this message in context: > http:/

Re: Attribute question

2011-10-16 Thread bigcache1
Another question in the row - how to update underlying value each time when selection changed? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Attribute-question-tp4907045p4907225.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Attribute question

2011-10-16 Thread bigcache1
Works nice, thanks a lot! I just thought about some attribute for facilitySelect property -- View this message in context: http://tapestry.1045711.n5.nabble.com/Attribute-question-tp4907045p4907088.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Attribute question

2011-10-16 Thread Taha Hafeez Siddiqi
Why not do it at @Inject private DAO dao; void onPrepareForRender(){ facilitySelect = new FacilitySelectModel(dao); } regards Taha On Oct 16, 2011, at 8:14 PM, bigcache1 wrote: > I have component with SelectModel: > @Property > private SelectModel facilitySelect = new FacilitySelectModel(d

Attribute question

2011-10-16 Thread bigcache1
I have component with SelectModel: @Property private SelectModel facilitySelect = new FacilitySelectModel(dao); and that model implemented in data package: public class FacilitySelectModel extends AbstractSelectModel { private List options = new ArrayList(3); public FacilitySel

RE: Uncaught exception when tried to return a StreamResponse

2011-10-16 Thread Amr Mohamed Mahmoud Hassanien
Solved in another way. Instead of implementing it in a separate page, I 've replaced pagelink with actionlink and handled it in the same page class, for example : Object onActionFromExport() { ... return export(); } StreamRespons