Re: Tapestry 5.2.1 upgrade woes

2011-02-10 Thread Thiago H. de Paula Figueiredo
Is ChenilleKet 1.2.0 compatible with Tapestry 5.2.4? I guess not, so you probably answered your own question. ;) ChenilleKet 1.2.0 depends on an internal class, RequestPathOptimizer, so Tapestry's backward compatibility wasn't a problem here. On Thu, 10 Feb 2011 03:09:13 -0200, ppetroup wr

Re: Tapestry 5.2.1 upgrade woes

2011-02-10 Thread Alejandro Scandroli
Hi Petros You should upgrade to chenillekit 1.3.0. Chenillekit 1.3.0 depends on tapestry 5.2.2 so you still need to exclude some dependencies. This is my conf: org.chenillekit chenillekit-tapestry 1.3.0 org.apache.tapestry

T5: setting locale without changing url

2011-02-10 Thread Angelo C.
Hi, T5 has this locale support: explicit www.example.com/en implicit www.example.com, in this case, it depends on the locale sent by the browser, is there a way that a program can set the locale based on certain conditions (a certain domain or IPs) without going the explicit way? Thanks, An

Re: T5: setting locale without changing url

2011-02-10 Thread Gillespie59
You can set your locale with the PersistentLocale service @Inject private PersistentLocale persistentLocaleService; Locale newLocale = new Locale("el"); persistentLocaleService.set(newLocale); -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-setting-locale-without-cha

Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Leonard
Hi, I am new to Tapestry. I am working on a project in which we require dynamic combo box functionality where in you select some value in first combo box and the second gets populated according to the selected value in first and so on. I have gone through the previous posts on the same topic and

Re: Tapestry 5.2.1 upgrade woes

2011-02-10 Thread ppetroup
Thanks Alejandro/Thiago, I updated my chenillekit dependency as shown below org.chenillekit chenillekit-tapestry 1.3.0

Tapestry 5 zone inside a form

2011-02-10 Thread atcach
Hi, I have a form and inside it I have a country/city/etc selection. The form is inside a zone. When calling the onSelected for make the change of the country/city, when returning I loose the other form data. How can I keep it ? I think a zone inside the form would help, but I am getting: Form co

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread atcach
Hi, you could put (in the tml) a zone in each combo. Then in the onSelected event put the necessary code to update the other combos.

JavaScriptSupport.addInitializerCall not executing

2011-02-10 Thread Daniel Henze
Dear List members, I am implementing the FusionChart Library into my project (just the example code), but am struggling. I should mention that I am using tapestry-jquery (replaces prototype with jQuery). I have a javascript file (embed_fusionchart.js) containing one function bmiChart() that

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Brendan Le Ny
Hi, Atcach, can you give a complete example (with .tml and controler code), with multiple select to refresh. What if i want to refresh the content of a select or a given part of a form when user change a checkbox value ? I would like someone to give me an exact code because i've my way to d

Re: JavaScriptSupport.addInitializerCall not executing

2011-02-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Feb 2011 09:52:49 -0200, Daniel Henze wrote: Dear List members, Hi! Does JavaScriptSupport only work with Prototype? Any hint is appreciated. No. DOES NOT WORK: @Environmental private JavaScriptSupport jsSupport; void beginRender(MarkupWriter writer){

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread LLTYK
I use the ZoneUpdater mixin to do this. http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html @Log void onChangeFromFirstSelect(String value) { //set options for second select } The zone encompasses all the selects. -- View this message in context: http://tapest

can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Ronald Luke
Hello, guys, I couldn't get tapestry-resteasy to work. I used tapestry 5.2.4 quickstart archetype to start a new project, then add tapestry-resteasy dependency to my pom.xml. I have no idea how to make the " Type javax.ws.rs.core.Application" present to the project. Please shed some light on t

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Leonard
Thanks atcach for the quick reply! I'll try it at my end and will let you know if it solves my problem. :) Regards -- View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-combo-box-Tapestry-5-2-2-tp3379129p3379382.html Sent from the Tapestry - User mailing list archive a

RE: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread WINDEY Pieter AWL-IT
Can't http://tynamo.org/tapestry-resteasy+guide help you? Point 2 is adding it to appModule ... -Original Message- From: Ronald Luke [mailto:ronald.l...@ymail.com] Sent: Thursday 10 February 2011 14:50 To: users@tapestry.apache.org Subject: can't get tynamo's tapestry-resteasy to work

Re: JavaScriptSupport.addInitializerCall not executing [SOLVED]

2011-02-10 Thread Daniel Henze
Ok, setting the InitializationPriority did solve the issue for me: jsSupport.addScript(InitializationPriority.IMMEDIATE, "bmiChart();", new JSONObject()); regards Daniel Am 10.02.2011 13:11, schrieb Thiago H. de Paula Figueiredo: On Thu, 10 Feb 2011 09:52:49 -0200, Daniel Henze wrote: De

Re: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Alejandro Scandroli
Hi Ronald That's really weird. I've tried to reproduce your error with no luck. I used tapestry 5.2.4 quickstart to create a new project, I added the tapestry-resteasy-0.2.1 dependency to the pom, I created the package ".rest" and finally coded a simple test service. Everything went fine. Are you

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
You probably want to update only the zone field that needs to be updated. If you update the entire form when a particular piece of information in it changes, you are going to have to make sure you have a strategy for submitting the information and getting it back into the form. You can put a zone

Re: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Kalle Korhonen
No guarantees this will work, but try declaring a newer web.xml version. See for example http://publib.boulder.ibm.com/infocenter/wasinfo/beta/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/twbs_jaxrs_configjaxrs11method.html Kalle On Thu, Feb 10, 2011 at 5:49 AM, Ronald Luke wrote: >

Re: Tapestry 5 zone inside a form

2011-02-10 Thread atcach
Yes, indeed. I need only to update the zone named ubigeosZone (which is inside another zone) Regards On Thu, Feb 10, 2011 at 1:08 PM, Mark [via Tapestry] < ml-node+3379591-751562805-147...@n5.nabble.com> wrote: > You probably want to update only the zone field that needs to be > updated. If you

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
On Thu, Feb 10, 2011 at 10:32 AM, atcach wrote: > > Yes, indeed. I need only to update the zone named ubigeosZone (which is > inside another zone) > Regards But is the entire form updating instead and wiping out anything that has already been entered? Mark --

Re: Tapestry 5 zone inside a form

2011-02-10 Thread atcach
Yes. Te only solution I have (I guess) is to break the zone in two and have two forms. The other would be to put a keyup event in each field (external) and save each one of them, but I have a lot of fields and think is impractical. Is there another way around ? Regards ! On Thu, Feb 10, 2011 at

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
I'm not completely following your code. I don't see what is actually triggering the zone update and I don't know what the field names mean. But, I would suggest that you get rid of the outer zone and get it to work with the smaller zone first. If they are selecting a Country and then you populat

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Mark
> Atcach, can you give a complete example (with .tml and controler code), with > multiple select to refresh. Take a look at this as well: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1 - To unsub

Re: Compiler error when upgrading from tapestry-spring 5.0.18 to 5.2.4

2011-02-10 Thread m...@raibledesigns.com
Thiago H. de Paula Figueiredo wrote: > > On Thu, 03 Feb 2011 15:34:23 -0200, m...@raibledesigns.com > wrote: > >> Caused by: java.lang.RuntimeException: No service implements the >> interface org.appfuse.service.UserManager. > > There's no configured UserManager service in your setup. Is

Re: Compiler error when upgrading from tapestry-spring 5.0.18 to 5.2.4

2011-02-10 Thread Thiago H. de Paula Figueiredo
On Thu, 10 Feb 2011 18:29:33 -0200, m...@raibledesigns.com wrote: Thiago H. de Paula Figueiredo wrote: On Thu, 03 Feb 2011 15:34:23 -0200, m...@raibledesigns.com wrote: Caused by: java.lang.RuntimeException: No service implements the interface org.appfuse.service.UserManager. There's n

Re: Compiler error when upgrading from tapestry-spring 5.0.18 to 5.2.4

2011-02-10 Thread m...@raibledesigns.com
Thiago H. de Paula Figueiredo wrote: > > On Thu, 10 Feb 2011 18:29:33 -0200, m...@raibledesigns.com > wrote: > >> Thiago H. de Paula Figueiredo wrote: >>> >>> On Thu, 03 Feb 2011 15:34:23 -0200, m...@raibledesigns.com >>> wrote: >>> Caused by: java.lang.RuntimeException: No service imp

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Yohan Yudanara
If you use T5.2, then you can use sample code on documentation Page: http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html Look into "Chaining of Select Components" section. T5.2 have new "zone" attribute. You can use this attribute to imp

t5: clear cookie when browser closes

2011-02-10 Thread Angelo C.
Hi, I'd like to write a cookie to the browser and it will be cleared when browser closes, possible? thanks, A.C. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p3380592.html Sent from the Tapestry - User mailing list archive at

Re: t5: clear cookie when browser closes

2011-02-10 Thread del
If you do not require the cookie to set on a computer/browser for certain length of time (few hours to few months), you can simply use session. Session is a safer option as some browsers block cookies. By the end of a session, use unset to remove the session value. Sessio will end automatic

Re: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread Ronald Luke
Alejandro: I think I did exactly what you did. Here are my steps: 1. create mvn project using tapestry 5.2.4 quickstart archetype: mvn -DarchetypeVersion=5.2.4 -Darchetype.interactive=false -DgroupId=com.ronshome.tapestry -DarchetypeArtifactId=quickstart -Dversion=1.0-SNAPSHOT -DarchetypeGroupI