Re: Alternative for Shell parameter parseWidgets

2007-03-05 Thread Markus Joschko
I had the same issue where I wanted dojo components on only one page. I actually thought it might be possible to have a ajaxdelegatecomponent and overwrite it in this special page. But before trying this I simply inserted a

Re: getting messages in Tapestry 4.1.1

2007-03-05 Thread Andrea Chiumenti
good Jesse, This is my last day of the week I can fully dedicate to the project until Saturday, next days as usual I'll be in Swiss, so after Wednesday I can only work in the evening, even if I'm anoyed (F#!??!!!##g firewall ;-P ). Here 7:20 am, I go to the office, l8r, kiuma On 3/6/07, J

Re: Alternative for Shell parameter parseWidgets

2007-03-05 Thread Jesse Kuhnert
On second thought that makes it sound like a bad component somehow. It's not that at all. I'm actually jealous of the more liberal freedom enjoyed in Tacos land..It's a good component, just too precarious for tap core. On 3/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: No that's my fault. I ban

Re: Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-05 Thread Jesse Kuhnert
Damnit...I don't know how I let something that obvious slip through. I'll test this out tomorrow either way. On 3/6/07, Leffel, Daniel <[EMAIL PROTECTED]> wrote: So simply updating the entire dialog worked perfectly. This suits my needs because the response is small, so I haven't debugged more.

Re: getting messages in Tapestry 4.1.1

2007-03-05 Thread Jesse Kuhnert
Ah yes...I was just annoyed by this on a project today as well, so your chances of seeing a fix for it soon are extremely good. ;) On 3/6/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Jesse, they where validation messages, but after some attempts, I've been able to get messages from applicatio

Re: Alternative for Shell parameter parseWidgets

2007-03-05 Thread Jesse Kuhnert
No that's my fault. I banished it from core because I was worried it would behave unexpectedly (a worry seen to be true by the jira issues created from it existing in Tacos alone) and cause too many overall headaches... If I can help it it will never see the light of day in core. :) On 3/2/07, D

Re: EventListener and DatePicker

2007-03-05 Thread Jesse Kuhnert
The actual bug in this instance was the value="" attribute not being carried over on the field being managed by the DatePicker. ...I've implemented a more robust general solution for all scenarios that ensures all properties (whether formal or made up ) are properly carried over on xhr requests n

Re: Tapestry 4.1.1 Hidden field truncates characters

2007-03-05 Thread Jesse Kuhnert
Yeah...I'm sure 'c' is claimed by one of the DataSqueezer implementations for encoding data. On 3/1/07, Julian Wood <[EMAIL PROTECTED]> wrote: Have you tried setting encode to false on the hidden field? J On 1-Mar-07, at 5:41 AM, Peter Stavrinides wrote: > Hi all, > > In my page I use a hidde

RE: Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-05 Thread Leffel, Daniel
So simply updating the entire dialog worked perfectly. This suits my needs because the response is small, so I haven't debugged more. I'll check it out tomorrow and see if I can find out what's going on when trying to update components within the dialog. Thanks, Danny -Original Message-

Re: T4: render empty Ajax response

2007-03-05 Thread Jesse Kuhnert
Don't specify which components to update? Or make it a json render and return some meta protocol between your client and server? On 3/1/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: hi, how do i render an empty ajax response? i'm sending an ajax request to synchronize the model with the

Re: getting messages in Tapestry 4.1.1

2007-03-05 Thread Andrea Chiumenti
Jesse, they where validation messages, but after some attempts, I've been able to get messages from application (of course the validator is a custom one) kiuma On 3/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Which messages were these? If they are validation messages I'm not sure. I think

Re: T4: AJAX request from a page with a dojo editor causes exception

2007-03-05 Thread Jesse Kuhnert
There's probably more exception stuff hidden down in there but there are certain states where moz components will throw exceptions like these when it is handling event bubbling sort of scenarios. If you literally want to know what the problem is you can look it up at http://lxr.mozilla.org/ b

Re: Problem with assignment of variables between pages

2007-03-05 Thread Jesse Kuhnert
This may have been the case with a previous 4.1.2-SNAPSHOT version that was doing some ~things~ with cglib and properties but I doubt it... If your properties aren't persistent there is no magic happening, they just get set on the object. Perhaps you are doing this in some kind of page loading m

Re: Variable number of rows with JSON - grid component

2007-03-05 Thread Jesse Kuhnert
Looks cool! I wish I had more time to look but I'm busy busy busy... On 2/23/07, Justin Walsh <[EMAIL PROTECTED]> wrote: Hi, I've put together a small demo of a grid like html component which makes use of a JSON string in a hidden input field (tapestry component) to convey state between the cli

Re: Autocompleter Questions

2007-03-05 Thread Jesse Kuhnert
No idea, but a working example always helps me: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/ On 2/22/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I am trying to get the autocompleter component to work with tap 4.1.1 I used to have tacos:Autocomplete

Re: Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-05 Thread Jesse Kuhnert
That's odd. I have some pretty complicated components being updated inside of a dialog, though admittedly I normally just specify the dialog as being the thing to update. I can take a look tomorrow to see if there's anything obvious I've missed...Did you have something more specific as an example

Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-05 Thread Leffel, Daniel
Am I doing something wrong? I can't get any components nested within a dialog to update using DirectLink. If I move the very same components outside of the dialog, everything updates correctly using async or json. It doesn't matter whether the dialog is hidden or not. Inside the dialog, nothing

Re: Putting hivemind configuration files outside the WAR

2007-03-05 Thread Jesse Kuhnert
Subclass ApplicationServlet (or replace it).. There's not very much code there to manage so it shouldn't be too bad. On 2/21/07, Tapestry User List <[EMAIL PROTECTED]> wrote: Hi, I have configuration data (hivemind.xml) which may change reasonably often, and which I'd like to be able to change

Re: Using EventListener to submit unknown form

2007-03-05 Thread Jesse Kuhnert
I've been meaning to add this in. It would be trivial but just haven't done it yet. Creating a jira issue will be a good reminder. On 2/21/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: I have a component that is meant to be used inside a form. I would like to have an eventListener that submits

Re: [T4] Adding body of a sub-component w/o using a template

2007-03-05 Thread Jesse Kuhnert
Yes. What Richard says. This is how the Shell component renders javascript includes for instance... On 3/5/07, Richard Kirby <[EMAIL PROTECTED]> wrote: Hi Christian, Assuming your LinkSubmit subcomponent extends the org.apache.tapestry.form.LinkSubmit class, just override the public void rend

Re: tapestry 4 to focus on specified field

2007-03-05 Thread Jesse Kuhnert
You can also just call "tapestry.form.focusField('yourFieldId')" directly via javascript at the bottom of your page. (if you felt like being dirty about it...) http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=markup On 3/3/07, andyhot <[EMAIL

Re: Programmatic DirectLink with updateComponents and parameter

2007-03-05 Thread Jesse Kuhnert
I'm not sure what all of this search/replace/sweep stuff is but basic updates should work . .. Maybe if you try again with an example I can understand easier I can help. p.s. You can use updateComponents="basket_container" or updateComponents="basket_container, another_container" now if you want.

Popup windows and redirect URL

2007-03-05 Thread wong wayne
Dear all Not sure is it proper post this question here. I'm using Tapestry version of JSCookMenu and would like to popup a new windows and redirect to another site. I can redirect to another site with throw a RedirectException("http://tapestry.apache.org/";) and use PopupLinkRenderer for popup new

Re: Update Tapestry 3 to 4.1.1

2007-03-05 Thread Jesse Kuhnert
La tapisserie 4.1.2 est très bonne, mais vous pouvez courir dans des problèmes ici et là. Les chemins de mise à niveau les plus durs sont ceux qui impliquent des services faits sur commande d'IEngineService, tout autrement devraient être beaucoup moins douloureux. Si pas alors je devine vous pouv

Re: getting messages in Tapestry 4.1.1

2007-03-05 Thread Jesse Kuhnert
Which messages were these? If they are validation messages I'm not sure. I think this gets controlled internally currently. (Though there's a ticket open to make it more configurable via hivemind) On 2/20/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Hello, I need to get tapestry messages into

Re: Upgrade to 4.1.1 or wait to 4.12

2007-03-05 Thread Jesse Kuhnert
Go with 4.1.2. It's better than 4.1.1. On 2/19/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I am about to upgrade from 4.0.1 to 4.1.1 but would like to know if 4.1.2 will be considered stable soon or not. If so I may as well just wait for 4.1.2. -- ~chris ---

Re: method name of listener

2007-03-05 Thread Jesse Kuhnert
Isn't the name of a listener known by the very definition? I mean, when ~don't~ you know the name of it? On 2/19/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: hi all, is there a way to obtain the method name of a listener? I need it to generate a javascript function with the same name. c

Re: T4 -- Filter in WebRequestServicerPipeline Issue

2007-03-05 Thread Tim Downey
Thanks Johan, I ended up doing the same thing. On 3/5/07, Johan Maasing <[EMAIL PROTECTED]> wrote: Check out http://issues.apache.org/jira/browse/TAPESTRY-695 It might be the same problem and has a work around. I include requestGlobals.store(request, response); in my filter and that wo

Re: T4 -- Filter in WebRequestServicerPipeline Issue

2007-03-05 Thread Johan Maasing
Check out http://issues.apache.org/jira/browse/TAPESTRY-695 It might be the same problem and has a work around. I include requestGlobals.store(request, response); in my filter and that works fine. On 3/5/07, Tim Downey <[EMAIL PROTECTED]> wrote: Hi, I'm trying to implement a pattern tha

Re: Jasse:---> Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)

2007-03-05 Thread Andrea Chiumenti
Ok Jasse, I'll do this tomorow morning, and I hope to have the new web site up and running :) In the meanwhile you can checkout the svn and run 'mvn jetty:run' from JFlyDemo just for today ;-P Thanks for help, kiuma On 3/5/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I'm happy to help bu

Re: Jasse:---> Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)

2007-03-05 Thread Jesse Kuhnert
I'm happy to help but I'll need you to do just a ~little~ more work for me to maintain a certain level of bug fixing efficiency. If you can create a tiny self contained maven2 based application with one simple page that'll allow me to run "mvn jetty:run" on the app and see the bug first hand you'r

Jasse:---> Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)

2007-03-05 Thread Andrea Chiumenti
Jasse, well sorry again, the 4.1.2-SNAPSHOT didn't fixed the problem. I'm developing edit grid for Tapestry 4.1.x, and the component is in final status so in a couple of days I'll make an official announcement. Sadly the component will not work with Autocompleter and other tapestry/dojo component

Re: AJAx request and init script (Tapestry 4.1.1)

2007-03-05 Thread Andrea Chiumenti
Sorry Jasse, but I have in my pom: org.apache.tapestry tapestry-framework 4.1.2-SNAPSHOT and apache.snapshots http://people.apache.org/repo/m2-snapshot-repository but I'm not able to get the snapshot: what do I have to do

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Thanks a lot, Richard, that was REALLY instructive :D And here is the configuration that I managed to get working: Cheers, Alexander -Original Message- From: Richard Kirby [mailto:[EMAIL PROTECTED] Sent: 05 March 2007 15:10 To: Tapestry users Subject: Re: Trying to use StateOb

Re: AJAx request and init script (Tapestry 4.1.1)

2007-03-05 Thread Andrea Chiumenti
Thank you very much Jasse On 3/5/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: My memory isn't able to retain state knowledge of 4.1.1 reliably enough to have a clue on this, but if you try it on 4.1.2-SNAPSHOT and run into the same problem + file a jira issue I can probably fix whatever it is.

Re: AJAx request and init script (Tapestry 4.1.1)

2007-03-05 Thread Jesse Kuhnert
My memory isn't able to retain state knowledge of 4.1.1 reliably enough to have a clue on this, but if you try it on 4.1.2-SNAPSHOT and run into the same problem + file a jira issue I can probably fix whatever it is. On 3/5/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Hello, I've the followin

AJAx request and init script (Tapestry 4.1.1)

2007-03-05 Thread Andrea Chiumenti
Hello, I've the following problem in Tapestry 4.1.1: I've a component that conditionally renders other components. With default components like TextField I've no problems, while if I try to ad an Autocompleter it seems that when the component is rendered no tapestry.widget.synchronizeWidgetState

Re: Trying to use StateObjectFactory...

2007-03-05 Thread Richard Kirby
Hi Alexander, There are loads of docs! The thing to know is that the part is a general feature of HiveMind1, so look at the docs at http://hivemind.apache.org/, however within a Tapestry project you naturally want to access Tapestry related services, so look at http://tapestry.apache.org/ fo

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Thank you, Ben, Now I ca see how it works. Alexander -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: 05 March 2007 14:44 To: Tapestry users Subject: RE: Trying to use StateObjectFactory... Hi Alexander, The way I have done this is to make the factory a service as w

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Thank you, Richard, Are there any docs on what I can do in ? Say, I want to obtain HttpRequest? Alexander -Original Message- From: Richard Kirby [mailto:[EMAIL PROTECTED] Sent: 05 March 2007 14:44 To: Tapestry users Subject: Re: Trying to use StateObjectFactory... Hi Alexander, You n

Re: Trying to use StateObjectFactory...

2007-03-05 Thread Richard Kirby
Hi Alexander, You need to define a service that you then reference in the invoke-factory: interface="org.apache.tapestry.engine.state.StateObjectFactory"> Cheers Richard Kolesnikov, Alexander GNI wrote: Hello everyone, I am using Tapestry 4.0.2. I want to use an

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Ben Dotte
Hi Alexander, The way I have done this is to make the factory a service as well. HTH Ben -Original Message- From: Kolesnikov, Alexander GNI [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 6:34 AM To: Tap

Re: T5 binding problem

2007-03-05 Thread Howard Lewis Ship
Two problems here: 1) Not well formed XML. That "<" inside the test attribute isn't allow. Use < 2) OGNL isn't supported in T5. For anything more complicated than a property access, you do the work in Java code as a synthetic property. On 3/5/07, Davor Hrg <[EMAIL PROTECTED]> wrote: Hi, mayb

Re: Regarding @Persist and @InitialValue on Tapestry 4.0.3

2007-03-05 Thread Jesse Kuhnert
I think Andy fixed this already. Should work fine in 4.1.2-SNAPSHOT. On 3/5/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: Hi all, I recently stumbled into this http://spod.cx/s?dd2, It's about the behavior of a @Persist property with @InitialValue annotation... it seems that the value of

Regarding @Persist and @InitialValue on Tapestry 4.0.3

2007-03-05 Thread Miguel Angel Hernández
Hi all, I recently stumbled into this http://spod.cx/s?dd2, It's about the behavior of a @Persist property with @InitialValue annotation... it seems that the value of the persistent property is been reseted by the InitialValue thus value is lost. Is this issue solved, or reported? I couldn't find

T4 -- Filter in WebRequestServicerPipeline Issue

2007-03-05 Thread Tim Downey
Hi, I'm trying to implement a pattern that does some automatic cleanup and checking using the WebRequestServicerPipeline. I'm performing some URL checks to detect when a user is switching amongst "applications" in my WAR. I've used Hivemind to add a filter to the WebRequestServicerPipeline, but

Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Hello everyone, I am using Tapestry 4.0.2. I want to use an ASO with some security information in it. The information should be obtained from HttpRequest on the ASO's creation. I decided to use a StateObjectFactory to create such an ASO and configured it like this:

Re: [T4] Adding body of a sub-component w/o using a template

2007-03-05 Thread Richard Kirby
Hi Christian, Assuming your LinkSubmit subcomponent extends the org.apache.tapestry.form.LinkSubmit class, just override the public void renderBody(IMarkupWriter writer, IRequestCycle cycle) method and put in whatever code you like. Cheers Richard Christian Haselbach wrote: On Sun, Mar 04

T5 binding problem

2007-03-05 Thread Davor Hrg
Hi, maybe this was reported and solved but here it goes ... I've tried the tapestry tutorial and it was very nice and easy. I've made few mistakes but error reporting is great so it was fixed quickly. the problem occured when I tried to add some of the proposed changes to the app.. just to test

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-05 Thread Peter Stavrinides
Thanks for the screencasts Howard, its a great way to get productive quickly, a real time saver!!! Weisu wrote: Great work Howard, just wonder where can I find the source code of this Screencast and all the other Screencasts. Thanks! Massimo Lusetti wrote: On 3/1/07, Howard Lewis Ship <[EM