T5: T5.0.10 and Hibernate

2008-02-14 Thread Angelo Chen
Hi, I have several pages working well in T5.0.9 but got following error in T5.0.10: An unexpected application exception has occurred. Render queue error in Expansion[PropBinding[expansion TestPage1(call.usr.name)]]: could not initialize proxy - the owning Session was closed here is a simplified

Re: T5: autocomplete and textual input

2008-02-14 Thread Angelo Chen
yes, i just notice that i can enter text as long as that dropdown not yet display, this confuses users a little as they will wait to see if the suggested list has what they want to type, if not they have to type it, but it's too late by that time. Davor Hrg wrote: > > it is a text field after a

Re: T5: autocomplete and textual input

2008-02-14 Thread Davor Hrg
it is a text field after all, and proposals are only to help reenter existing text. Davor Hrg On Fri, Feb 15, 2008 at 3:27 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > Autocomplete returns a list of values that user can select, if I'd let the > user type in a value which is not in t

T5: zone example

2008-02-14 Thread Angelo Chen
Hi, Is there a simple zone sample? thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-zone-example-tp15494028p15494028.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubs

T5: autocomplete and textual input

2008-02-14 Thread Angelo Chen
Hi, Autocomplete returns a list of values that user can select, if I'd let the user type in a value which is not in the list, it seems impossible, example: my onProvideCompletionsFromCity will return the 10 major cities, if it is not there, user can just type in whatever he wants to type, possibl

Re: where is 4.1.4?

2008-02-14 Thread Paul Stanton
ah! ok, thanks. Andreas Andreou wrote: no 4.1.4 ever released :) 4.1.3 is the previous to 4.1.5 version On 2/15/08, Paul Stanton <[EMAIL PROTECTED]> wrote: Hi, Can't find a download for 4.1.4: http://archive.apache.org/dist/tapestry/ does anyone have a copy? i need to roll back from 4

Re: where is 4.1.4?

2008-02-14 Thread Andreas Andreou
no 4.1.4 ever released :) 4.1.3 is the previous to 4.1.5 version On 2/15/08, Paul Stanton <[EMAIL PROTECTED]> wrote: > Hi, > > Can't find a download for 4.1.4: > http://archive.apache.org/dist/tapestry/ > > does anyone have a copy? i need to roll back from 4.1.5. > > Thanks, Paul. > > > > --

where is 4.1.4?

2008-02-14 Thread Paul Stanton
Hi, Can't find a download for 4.1.4: http://archive.apache.org/dist/tapestry/ does anyone have a copy? i need to roll back from 4.1.5. Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: T4.1 : clientSideValidation

2008-02-14 Thread Andreas Andreou
thx go to Ulrich - he's helped on many other issues as well On 2/14/08, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > I attached some minor documentation improvement to > http://issues.apache.org/jira/browse/TAPESTRY-1086 some time ago which > documents the need of a @Body component in order for cl

Re: AbstractMethodException in t5 (5.0.11 snapshot)

2008-02-14 Thread Joachim Van der Auwera
Answering my own question, the problem was caused by a version mismatch. I had a couple of translators and the latest tapestry versions require these to have a "getType" method. Adding some extra output in tapestry allowed my to figure out the problem and fix it. Anyway, big thanks for the h

Re: execute javascript from ajax eventlistener

2008-02-14 Thread Paul Stanton
Found a solution although it seems like a hack: java: getRequestCycle().getResponseBuilder().addStatusMessage(null, "evalz", "alert('executed');"); js: dojo.event.topic.subscribe("evalz", function(msg){eval(msg.message);}); anyone got a better solution? p Paul Stanton wrote: Hi All. I hav

Re: AbstractMethodException in t5 (5.0.11 snapshot)

2008-02-14 Thread Davor Hrg
:) I think you injected the field wrongly :) @inject Field field; you must declare actual type @Inject TextField field; or @Inject DateField field; this is however a candidate for a jira issue, tapestry uses type declaration to determine the component class, if the component is in temp

Re: T4.1 Ajax "web service" listener support

2008-02-14 Thread Andreas Andreou
Seems you're looking for something like: https://issues.apache.org/jira/browse/TAPESTRY-979 ... but perhaps it's not that hard to just make DWR and hivemind work together (i.e. contribute hivemind services to a new service that will deal with registering them with DWR, e.t.c.) On the other hand,

Re: T4.1 Ajax "web service" listener support

2008-02-14 Thread Jim
Thanks, Igor. Does that mean, then, there's no native support for this sort of thing? ClientLink would help me if: A) The return-value of the function it generates is the return value of the Listener (e.g. a JSON String) B) There were a way to specify a JavaScript function that handles the

AbstractMethodException in t5 (5.0.11 snapshot)

2008-02-14 Thread Joachim Van der Auwera
Anybody has any ideas what can be causing this exception? java.lang.AbstractMethodError Stack trace * org.apache.tapestry.internal.services.FieldValidationSupportImpl.toClient(FieldValidationSupportImpl.java:87) * org.apache.tapestry.corelib.base.AbstractTextField.begin(Abstract

Re: T4.1 Ajax "web service" listener support

2008-02-14 Thread Igor Drobiazko
Have a look at the ClientLink component in Tacos. http://andyhot.gr/tacos-demo/ClientLink.html Please see here how to use it: http://tacos.sourceforge.net/tacos4.1/apidocs/net/sf/tacos/components/ClientLink.html Hope this helps On Thu, Feb 14, 2008 at 6:57 PM, Jim <[EMAIL PROTECTED]> wrote: > H

Re: T4.1 : clientSideValidation

2008-02-14 Thread Ulrich Stärk
I attached some minor documentation improvement to http://issues.apache.org/jira/browse/TAPESTRY-1086 some time ago which documents the need of a @Body component in order for client side validation to work. Maybe someone could have a look at it and commit it... Uli Andreas Andreou schrieb: D

Re: T4.1 : clientSideValidation

2008-02-14 Thread KLessou
Yeah ! thanks you ! It works very well with : On Thu, Feb 14, 2008 at 3:27 PM, Andreas Andreou <[EMAIL PROTECTED]> wrote: > Do you get any javascript errors? Are you using the @Body component in > your page? > > On Thu, Feb 14, 2008 at 3:45 PM, KLessou <[EMAIL PROTECTED]> wrote: > > I tryed t

T4.1 Ajax "web service" listener support

2008-02-14 Thread Jim
Hello! I'm going through the Ajax documentation, and I'm all set as far as tying @EventListener methods to client-side events. However, I'm a little confused as to how the client is to receive/process the server response. I do see how the core Tapestry components have an updateComponents p

Re: Howard deserves praise

2008-02-14 Thread Denis McCarthy
Great - I'll give it a whirl. On 14/02/2008, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > That doc is out of date, the partial stuff came along a lot in 5.0.9 > and 5.0.10 and will come along further in 5.0.11. Environmentals > (PageRenderSupport, Heartbeat, ZoneSupport) are all working in 5.

Re: Tapestry is not working

2008-02-14 Thread Onno Scheffers
Hi Marie, ik think Howard is trying to tell you is that it is impossible for any of us to tell you where the problem occurs without more information. A lot of things could have been configured wrong, mistyped, misplaced etc. I used the same book (Enjoying Web Development With Tapestry) to get up

Re: Howard deserves praise

2008-02-14 Thread Howard Lewis Ship
That doc is out of date, the partial stuff came along a lot in 5.0.9 and 5.0.10 and will come along further in 5.0.11. Environmentals (PageRenderSupport, Heartbeat, ZoneSupport) are all working in 5.0.9 and 5.0.10. On Wed, Feb 13, 2008 at 3:02 AM, Denis McCarthy <[EMAIL PROTECTED]> wrote: > We ar

Re: Tapestry is not working

2008-02-14 Thread Howard Lewis Ship
Here's the first reference you need: http://www.catb.org/~esr/faqs/smart-questions.html On Thu, Feb 14, 2008 at 4:21 AM, Marie Christin Platenius <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to learn Tapestry with this link: > http://www.agileskills2.org/EWDT/chapters1-4.pdf > Now I have proble

T4 Redirect to external URL

2008-02-14 Thread Marnix Bindels
After logging out from my tapestry 4 app. I'd like to redirect to an arbitrary URL. I'm doing my usual Redirection exception thing but to no avail. Googling did not bring a solution either. Anyone care to give a suggestion? My pageBeginRender concludes with: setFinalTarget("http://www

Tapestry is not working

2008-02-14 Thread Marie Christin Platenius
Hi, I tried to learn Tapestry with this link: http://www.agileskills2.org/EWDT/chapters1-4.pdf Now I have problems with the HelloWorld-Tutorial (starts on page 12): I get the Home.html on //localhost:8080/HelloWorld/Home.html but not on //localhost:8080/HelloWorld/app. So I think my Tapestry i

Re: display text value

2008-02-14 Thread Igor Drobiazko
http://tapestry.apache.org/tapestry4.1/components/general/insert.html On Thu, Feb 14, 2008 at 3:35 PM, venturer <[EMAIL PROTECTED]> wrote: > this is how i display text > > > > if i dont want to use textfield. can i just display the plain text value > of > "somethingVar" ? > > >

display text value

2008-02-14 Thread venturer
this is how i display text if i dont want to use textfield. can i just display the plain text value of "somethingVar" ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T4.1 : clientSideValidation

2008-02-14 Thread Andreas Andreou
Do you get any javascript errors? Are you using the @Body component in your page? On Thu, Feb 14, 2008 at 3:45 PM, KLessou <[EMAIL PROTECTED]> wrote: > I tryed this but without result anyway :-( : > > *html :* > clientValidationEnabled="true" > > > Task > Entry > field="component:de

Re: T4.1 : clientSideValidation

2008-02-14 Thread KLessou
I tryed this but without result anyway :-( : *html :* Task Entry Description *java :* @Component(bindings = { "value=description", "displayName=message:task.description", "validators=validators:required,maxLength=20"}) public abstract TextField

Re: T5: ActionLink/Zone components inside a loop (solved, better)

2008-02-14 Thread Corin Lawson
Oh I get now... I tried using "${component:myZone}.id" as the zone attribute of the link but all the variations I tried just rendered something like this: "[EMAIL PROTECTED]" I couldn't work out how to access properties of the component. Any ideas? But it gave me another idea to free my code f

Re: T5: cookies and expire check

2008-02-14 Thread Igor Drobiazko
It looks like the only one possibility to use the service CookieSource instead of Cookies. which provides you the access to javax.servlet.http.Cookie On Thu, Feb 14, 2008 at 1:20 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > hi, > > I use this to get cookies, it works, but how to check if cookie

adjustable table columns width

2008-02-14 Thread learner
is there any example to create adjustable table column width? like yahoo mail style? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: cookies and expire check

2008-02-14 Thread Angelo Chen
hi, I use this to get cookies, it works, but how to check if cookie has expired? String logCookie = cookies.readCookieValue(logKey); Thanks, a.c -- View this message in context: http://www.nabble.com/T5%3A-cookies-and-expire-check-tp15479307p15479307.html Sent from the Tapestry - User mai

Re: T5: ActionLink/Zone components inside a loop (solved, better)

2008-02-14 Thread Hugo Palma
No problem, just glad i could help :o) Regarding the component prefix, have you tried using it ? Because it really is just what that line says. You just have to provide the id of a component and the expression will resolve to the component instance. Example: Home This would render the pagelink

Re: T5: maintaining ASO in a service?

2008-02-14 Thread Davor Hrg
yes :) On Thu, Feb 14, 2008 at 10:10 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi Davor, > > Thanks, that works. is following code having same effect? > > page: > > @ApplicationState > private SessionData _user; > private boolean _userExists; > > if (!_userExists) { > // do some

Re: T5: maintaining ASO in a service?

2008-02-14 Thread Angelo Chen
Hi Davor, Thanks, that works. is following code having same effect? page: @ApplicationState private SessionData _user; private boolean _userExists; if (!_userExists) { // do something... } service: if (!asm.exists(SessionData.class)) { // do something... } Davor Hrg wrote: >