T4: New tacos release

2007-12-19 Thread andyhot
Hi, the new tacos release (4.1.1) is already deployed at maven's central repo. Details are at http://tacos.sourceforge.net/tacos4.1/ , here are some quick notes: -) tapdoc and tapdoc-maven-plugin. These can now work with annotation-only components, see http://tacos.sourceforge.net/tacos4.1/ta

Re: Dynamic pages (or: arguments to pages)

2007-11-26 Thread andyhot
Also, if you have access to IRequestCycle, you can do getParameter or getParameters on it But first, read about the external service and about implementing IExternalPage Ulrich Stärk wrote: With Tapestry 4.1 you would inject the WebRequest object and call getParameterValue() on it (see htt

Re: [T4.1.3] Problems using ajax with Tapestry

2007-11-24 Thread andyhot
Ok - i haven't really used prototype in Tapestry, but i took a quick look at PrototypeResponseContributorImpl in org.apache.tapestry.services.impl and it looks like that ResponseBuilder overrides the default one if it finds X-Prototype-Version in the request headers... So, assuming that prototype

Re: OGNL Expression evaluated 4 times on tap 4.1.2 release

2007-11-19 Thread andyhot
Yep, it is on purpose - but I think that Jesse has said that it's supposed to go away eventually... On the meantime, maybe the @Cached annotation can help you. http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html It's in the 4.1.1-SNAPSHOT and it annotates a normal non-abstract met

Re: [T5] Big problem with

2007-11-19 Thread andyhot
Peter Stavrinides wrote: One of the most criticised areas of T4 was the 'uglyness' of urls and the clumsiness of page navigation, as well as creating subfolders for pages etc it was a horrible approach, if you ask me, to issues that should have been seamless. Hi, is it possible to elaborat

Re: [T4] Listeners called twice

2007-11-12 Thread andyhot
No, I haven't noticed something like this... how is it possible for us to reproduce this? Kevin Menard wrote: Hi all, I've just run into a problem with one of our apps that has likely been there for some time. It seems all of our form listeners are called twice. I've confirmed this behaviour

Re: T4 Nightly Build

2007-11-12 Thread andyhot
http://tapestry.apache.org/tapestry4.1/download.html has the url for the snapshot repo. It's not really nightly builds - just manual builds from the committers Joshua Jackson wrote: Dear all, Is there any maven repo for T4 snapshot/nightly build? Since I always need the latest build for T4. Th

Re: T4.1.3 loop index issues, migrating from 4.0.2

2007-10-25 Thread andyhot
Another ognl jira ticket with as much specific information as possible would help me either way. Since you are getting errors that mention OgnlRuntime I'm thinking this isn't a compile time issue at all so would probably consider it more impor

Re: How to create a link to a page programmatically?

2007-10-25 Thread andyhot
You need to inject the IEngineService that you're intertested in (page or external in your case) and call getLink on it http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/IEngineService.html @InjectObject("engine-service:page") public abstract IEngineService getPageS

Re: T4.1.3 loop index issues, migrating from 4.0.2

2007-10-24 Thread andyhot
onverter or Squeeze adapters for all our For loops it's going to be a lot of work. Do you think these issues are down to the OGNL upgrade? Dom

Re: T4.1.3 loop index issues, migrating from 4.0.2

2007-10-24 Thread andyhot
looks like an issue during rewind - take a look at all those parameters and the hints for the @For component at http://tapestry.apache.org/tapestry4.1/components/general/for.html If the form worked in 4.0 and you weren't getting any |StaleLinkExceptions|, then using volatile="true" should proba

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread andyhot
em is with the ([-_\\.]*[A-Za-z0-9]+)* part of the regexp in the user as well as the domain part. Apart from that this regexp will reject email addresses which are valid according to RFC 3696 like [EMAIL PROTECTED] Uli andyhot schrieb: hmmm - nice report - looks like that specific email reg

Re: [T4] Handle AjaxDirectLink when session expired?

2007-10-23 Thread andyhot
No, this is tacos 4.0 specific - what are the contents of the response? I think it was caused due to invalid xml in the response... Also, try setting tacosConfig.debugAjaxResponseError to true and see if it presents any more info Phillip Rhodes wrote: While this is happening in tapestry/tacos,

Re: T4.1.3 : 100% CPU usage on tomcat due to server-side email validation

2007-10-23 Thread andyhot
hmmm - nice report - looks like that specific email regex is problematic when the given string is not email and contains lots of chars (>25-30 result in more than 10 iterations according to RegexBuddy) - we'll probably have to find a better regex i guess http://www.ex-parrot.com/~pdw/Mail-

Re: Tap 4.0.2 to 4.1.2 migration loop / ognl issue

2007-10-19 Thread andyhot
But i 1would point out that this is a good opportunity to clean up your markup Jesse Kuhnert wrote: Sounds like it's just an OGNL bug. If you file it here I should be able to fix it fairly quickly as it looks like something that'll be easy to do: http://jira.opensymphony.com/browse/OGNL (th

Re: T4: creating search form and search result on one page

2007-10-18 Thread andyhot
Of course it's possible - I usually have an If component that either shows the table or an @Insert of "No results found"... What's the real problem you're having? Joshua Jackson wrote: Dear all, Is it possible to create a search form and search result on one page where the search result uses

Re: Tapestry 5 Roadmap

2007-10-17 Thread andyhot
Hi, from the dev-list i've seen that Daniel Gredler and Dan Adams are 2 more quite active T5 committers. petros wrote: Is it now possible to get a realistic date regarding the final release of T5. I do understand the commitment to paying projects have a priority but the last year I have been f

Re: T4.1: Scriptaculous - automatically adding required js files

2007-10-16 Thread andyhot
Suggest includes Suggest.script which contains ... So, you could create you own S

Re: Binding to sub-properties

2007-10-14 Thread andyhot
they should both work, what's the error you're getting? Jesse Merriman wrote: (Tapestry newb, using 4.1.3, maybe answered before but I couldn't find it.) Is it possible to bind to a sub-property? Eg, this works: Home.html: Home.java: public abstract class Home extends BasePage impl

Re: Fwd: Google Alert - "Tapestry 5"

2007-10-11 Thread andyhot
behalf of andyhot Sent: Thu 10/11/2007 12:23 PM To: Tapestry users Subject: Re: Fwd: Google Alert - "Tapestry 5" Mark Stang wrote: For JavaRebel, take a look at the licensing... meaning ??? Mark J. Stang Software Engineer office: +1 303.468.2900 Ping Identity -Origin

Re: Fwd: Google Alert - "Tapestry 5"

2007-10-11 Thread andyhot
Mark Stang wrote: For JavaRebel, take a look at the licensing... meaning ??? Mark J. Stang Software Engineer office: +1 303.468.2900 Ping Identity -Original Message- From: Andreas Andreou on behalf of andyhot Sent: Thu 10/11/2007 8:16 AM To: Tapestry users Subject: Re: Fwd

Re: Fwd: Google Alert - "Tapestry 5"

2007-10-11 Thread andyhot
Man, this JUSTS works! Exactly what i / we need for T4.1... Bill Holloway wrote: Hinting at a better way to reload. Bill H. Austin -- Forwarded message -- From: Google Alerts <[EMAIL PROTECTED]> Date: Oct 9, 2007 5:23 PM Subject: Google Alert - "Tapestry 5" To: [EMAIL PROTECTE

Re: DirectLink problem

2007-10-10 Thread andyhot
Not sure why this fails - I'd also try parameters="ognl:{selectedCountryId, selectedLocationId == -1 ? otherCityId : selectedLocationId, checkIn == null ? null : checkIn.time, checkOut == null ? null : checkOut.time, adultsPerRoom}" but I'd really go with simplifying the ognl expression of thi

Re: [poll] how do people feel about me changing that validation dialog in 4.1.1 ?

2007-10-10 Thread andyhot
x27;s much simpler than the crazy things I was thinking... (At the moment I'm upgrading from Tap4.0 + Tacos to T4.1.2 and it's challenging to get the stuff working the same way visually that it used to.) Thanks again, Rachel andyhot wrote: Not exactly sure what Jesse had originally i

Re: T5: coordinating components and/or mixins

2007-10-10 Thread andyhot
Dojo has the concept of registering for events and publishing events - so, the mixin could emit js that publishes a set of custom events Event content could follow any protocol you decide, either json {nodeId:'textarea1', charsLeft:50, message:''} or even a string textarea1|50| and it would be p

Re: [poll] how do people feel about me changing that validation dialog in 4.1.1 ?

2007-10-10 Thread andyhot
Not exactly sure what Jesse had originally in mind, but changing 'themes' is quite possible & even easy - You just need to override the family of methods at tapestry.form.validation Here's an example I recently used for amplafi: amplafi.presentErrors: function(miObj) { var form = miObj

Re: T4 Custom Component Questions

2007-10-09 Thread andyhot
Well, you can always hack around Shell, e.t.c., but ... I guess you haven't noticed those: http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/html/Shell.html#includeAdditionalContent(java.lang.String) and http://tapestry.apache.org/tapestry4.1/components/general/style.html and eve

Re: PropertySelection component - automatic submit

2007-10-09 Thread andyhot
Just a note that this.form.events.refresh() has been deprecated for more than a year now and actually has been removed in 4.1.4 Correct (as http://tapestry.apache.org/tapestry4.1/javascript/form.html states ) is onchange="tapestry.form.refresh(this.form)" Marcelo Lotif wrote: Hi Ken, i was u

Re: T4.1.3: Why is id suffixed with "_0" ?

2007-10-08 Thread andyhot
perhaps try updateComponents="clientId:ifNotLoggedIn" I think Jesse has made it so that both are the same, but i almost always use the clientId approach myself Martino Piccinato wrote: Unfortunately for some reason some components cannot be used with updateComponents: most notably Insert and

Re: does tapestry 4.2 have an iterator component

2007-10-08 Thread andyhot
Ken, you're right - T4.1.2 doesn't have a Loop component it has always had a @For component Here's a way to turn For into Loop (adjust for < JDK1.5) public class IntIterator implements Iterator{ private int _start, _end; public IntIterator(int start, int end) {_start=start;_end=end;} public bool

Re: [T4.1.2] stale link on ajax modified form

2007-10-08 Thread andyhot
Did you resolve this? Looks like some state is different between render and rewind... and this might be caused by a lot of things. Try persisting things to session till you find what causes the problem, then roll back & use ... the new knowledge Martino Piccinato wrote: just to be precise:

Re: does tapestry 4.2 have an iterator component

2007-10-08 Thread andyhot
Ken nashua wrote: Thanks Bob but I need to span the whole list. Thanks Andy but I how do I cause a for loop to iterate N iterations independent of any collection? I'd use my own Iterator... Having said that, I still dont get your exact use case - how would you do it in java (no web, no ta

Re: does tapestry 4.2 have an iterator component

2007-10-08 Thread andyhot
What's the problem with using two nested @For then? P.S. Does the jsp example really do what you're describing? Ken nashua wrote: I can whip off a solution in JSP while I am typing... value="ognl:currentObject" index="ognl:index"> <% for ( int i = 0; i < 3; i++) spit

Re: [T4.0.2] Strange ArrayIndexOutOfBoundsException in WebRequestServicePipelineBridge?

2007-10-05 Thread andyhot
Not really sure + the whole stacktrace of the original exception is getting hidden... But, try creating your own WebRequestServicePipelineBridge (original is https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/services/impl/WebRequestServicerP

Re: T4.1.3: "Upgrade" from 4.1.2 problem with messages

2007-10-03 Thread andyhot
Patrick, you've already commented on https://issues.apache.org/jira/browse/TAPESTRY-234 and Jesse has reopened it Malin, i'm wondering, what's the VM's default locale? Patrick Klein wrote: Hello! Thanks Patrick - feels good I might have some sanity left then :) So - is this a bug?

Re: T4: Components in Page get Initialized even if its in IF condition block ?

2007-10-01 Thread andyhot
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/AbstractComponent.html#prepareForRender(org.apache.tapestry.IRequestCycle) sunilmanu wrote: Thanks for the reply and information.. So is there any other method that could be used to initialize the properties needed for the page

Re: [ANN] Tacos 4.1.0 release

2007-09-30 Thread andyhot
0.7.0-SNAPSHOT from http://www.erinors.com/developer/maven2/com/erinors/tapestry/tapdoc-maven-plugin/0.7.0-SNAPSHOT has been copied to https://tacos.svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/tapdoc and it already has some tweaks - you can easily build it from there and use it the way

Re: T3: Upload

2007-09-27 Thread andyhot
Perhaps you've misplaced the .java and the .html files and they can't find each other ? Are you sure your .java is really used? Nazmul Bhuiyan wrote: If you click on the link I've provided you will see the code. I've copied the code from there. This is from my Upload.html and formSubmit is as be

Re: Tapestry 4.1.2 JS problems?

2007-09-24 Thread andyhot
worked. -Norman On Sep 24, 2007, at 1:42 PM, andyhot wrote: Tapestry 4.0.2 and tacos never had a DatePicker based on Dojo As seen on http://opencomponentry.com:8080/tacos/forms/FormEffectsExample.html that datepicker is from http://sourceforge.net/projects/jscalendar Perhaps this can be

Re: Tapestry 4.1.2 JS problems?

2007-09-24 Thread andyhot
Tapestry 4.0.2 and tacos never had a DatePicker based on Dojo As seen on http://opencomponentry.com:8080/tacos/forms/FormEffectsExample.html that datepicker is from http://sourceforge.net/projects/jscalendar Perhaps this can be re-included in tacos 4.1 - esp. if someone is willing to work / c

Re: tacos and ControlCheckbox problem

2007-09-20 Thread andyhot
Phillip Rhodes wrote: Hello, Using tapestry 4.0.2 with tacos The tapestry components ControlCheckbox and the Palette both depend upon javascript that is emitted outside the component. Because of this, these components won't work this with Ajax since the content that is emitted from the ajax

Re: OGNL Methode called several times

2007-09-20 Thread andyhot
Indeed, the first invocation of an ognl expression is currently happening 3 times. I remember this is done on purpose, but i dont remember why. We'll eventually remove this. Gusti Benawi wrote: Hello, If i define a method, which is not abstract and call this via ognl, then somehow the whole si

Re: Select component with Enums

2007-09-18 Thread andyhot
Take a look at LabeledPropertySelectionModel of T4... It can decorate every other Model - it simply adds an entry with a configurable label on top. Robin Helgelin wrote: On 9/18/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote: Now I would like to have the same drop down list, only with an

Re: @InjectPage in library -- Page 'XXX' not found in application namespace.

2007-09-18 Thread andyhot
- Add a JIRA for namespace in ExternalLink AFAICT, it is missing - i can add it soon enough. - Add another one for enhancing the InjectPage annotation to accept a boolean parameter, something like useCurrentNamespace - this too can be done pretty quickly - InjectPageLink and InjectExternallLi

Re: Can't build from source

2007-09-17 Thread andyhot
The instruction there are for the 4.0 branch which is located at https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/ The url specified in that page contains now the trunk of 4.1 which is maven2 based so, upon svn checkout you do mvn install Daniel Meza wrote: Hi everyone I've

Re: how to change cursor to hourglass during async event handling

2007-09-13 Thread andyhot
Use @contrib:AjaxStatus http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html ... or, for more control, see http://tapestry.apache.org/tapestry4.1/jsdoc/index.html the tapestry.fx.attachAjaxStatus method Mike Oestereter wrote: Hi During a async call to a

Re: [ANN] Tacos 4.1.0 release

2007-09-08 Thread andyhot
Renat On 08/09/07, andyhot <[EMAIL PROTECTED]> wrote: Renat Zubairov wrote: Actually I'm quite glad that it is not a Dojo tree because in my opinion it's too heavy for my simple usecases. I think that was Jesse's opinion as well :) What is required tape

Re: [ANN] Tacos 4.1.0 release

2007-09-08 Thread andyhot
ill support the latest tapestry 4.1 release, so 4.1.2 in this case... having said that, it works with 4.1.3-SNAPSHOT beautifully Renat On 08/09/07, andyhot <[EMAIL PROTECTED]> wrote: Renat, i dont remember ever it being the dojo tree... even in the previous versions. It's just a co

Re: [ANN] Tacos 4.1.0 release

2007-09-08 Thread andyhot
cosDemo41/app Shing --- andyhot <[EMAIL PROTECTED]> wrote: I should grab this opportunity in order to also thank Shing Hing Man for his contributions... Thx Shing! Martino Piccinato wrote: It's working perfectly. Thanks again for tacos, I think tapestry isn&#

Re: [ANN] Tacos 4.1.0 release

2007-09-07 Thread andyhot
I should grab this opportunity in order to also thank Shing Hing Man for his contributions... Thx Shing! Martino Piccinato wrote: It's working perfectly. Thanks again for tacos, I think tapestry isn't really complete without it. The new DojoWidget component is great :-) On 9/6/07, Igor Drobi

Re: [info] Tapestry >= 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-07 Thread andyhot
That's an awesome bug report... thx for all the hard work Jesse. P.S. I thought you were supposed to be on vacation! Jesse Kuhnert wrote: Short version: Some users have brought up what appears to be a genuine memory consumption bug in the new OGNL expression compiling integration with Tapestry

Re: JavaScript *.js, *.script - not showing up in markup

2007-09-04 Thread andyhot
I dont see the script getting included anywhere... Aren't you using http://tapestry.apache.org/tapestry4.1/components/general/script.html ? Ken nashua wrote: Still no rendering... on markup of this script. ? Any ideas... Best regards Ken in nashua CustomHead.script -

Re: [OT]: IntelliJ and Tapestry

2007-09-03 Thread andyhot
There's a "Build on frame deactivation" checkbox in the web module's settings Also, this thread is interesting: http://www.artima.com/forums/flat.jsp?forum=276&thread=212476 Kevin Menard wrote: Hi all, I'm trying out IntelliJ, yet again, for my Tapestry development. This time I seem to be ha

Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread andyhot
You really should use 4.1.2, from http://tapestry.apache.org/download.html For the dojo path use @Asset("/dojo-0.4.3/") Ken nashua wrote: Folks, I am receiving bootstrap problems with my webapp using T-4.1 4.1 2.6.7 2.0.6 All I am trying to do is operate dojo with T-4.1 as it comes bundled

Re: createReadOnlyBindingException help!

2007-08-09 Thread andyhot
y misunderstanding like the one me and Andrea (I guess) had. If you think it's useful I could provide some code On 8/9/07, andyhot <[EMAIL PROTECTED]> wrote: Well, it looks like the hidden parameter is an in-out one, and it's probably that way by design I guess. The 'va

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread andyhot
Well, we did lots of tests with 4.1.2 and have yet to observe such memory leaks. [EMAIL PROTECTED] wrote: Have you ever observed the memory usage for your Tapestry application? For example, make a simple HelloWorld Application and load the page regularly using HTTP_LOAD. Then watch how the mem

Re: createReadOnlyBindingException help!

2007-08-08 Thread andyhot
Well, it looks like the hidden parameter is an in-out one, and it's probably that way by design I guess. The 'value' and 'index' parameters of @For work similarly but that's more straightforward after reading the docs. Anyway, I think we should just document this. Martino Piccinato wrote: Fin

Re: [T4.0.2] Conditions inside Foreach ends with Stale Session

2007-08-08 Thread andyhot
Well, i've had a lot of conditions inside loops, so im not sure what the problem is here How about trying the @For component perhaps? http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/For.html Mahmut Izci wrote: Hi, It seems that conditions inside of Foreachs cause a "stale se

Re: T4 T4.1.2: tapestry.form.registerForm is not a function

2007-07-02 Thread andyhot
What happens if: a) you enable friendly urls for the asset service b) you remove the base tag from within head (there's a parameter for @Shell for this) Jeremy F. Kassis wrote: Well. No luck on this one. I rolled back to T4.1.1 and everything works. Guess I'm waiting for T5. Thanks for your th

Re: Tap 5.0.5 : Unknown validator type 'regexp'

2007-06-30 Thread andyhot
Hi Shing ! There's a newer one - pending vote to be released as 5.0.5 final... http://people.apache.org/~hlship/tapestry-ibiblio-rsynch-repository/ Shing Hing Man wrote: I am trying out the tutorial on Form at http://tapestry.apache.org/tapestry5/tutorial1/forms.html @Validate("required,reg

[T5] Doctype in rendered html

2007-06-30 Thread andyhot
How would one add a doctype, so that the resulting html contains one? Simply adding one in the template appears problematic, since the produced code is ... which fails to validate (the html tag should be in a new line) - To

Re: Thanks Erik for updates on T5 Wiki !

2007-06-30 Thread andyhot
i'm not sure... i think it's improving things! Perhaps it's a secret NSA bot or something... Jesse Kuhnert wrote: No...even worse than spam. A malicious bot of some kind. On 6/30/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Yeh ... what's up with all the updates? Are they spam or useful

Re: 4.1.2 dojo gregorian.js

2007-06-27 Thread andyhot
Additionally, take a look at http://tapestry.apache.org/tapestry4.1/usersguide/localization.html#localization.accepted-locales It's always a good idea to limit those to the ones your app truly supports andyhot wrote: I had opened up a jira for this: https://issues.apache.org/jira/b

Re: 4.1.2 dojo gregorian.js

2007-06-27 Thread andyhot
I had opened up a jira for this: https://issues.apache.org/jira/browse/TAPESTRY-1551 I'm not exactly sure if there's a way to tell dojo which locales exist in the server so as not to do those requests... The only hack i can offer you is to create those 2 classpath entries yourself, by copying t

Re: Cometd Implimentation

2007-06-07 Thread andyhot
You're right, it works in tomcat too... The code is now in tacos (with minor changes) + there's a demo page in tacos-demo, so one can easily do mvn tomcat:run-war to see it working :) Craig Spry wrote: Andy, Although I haven't tested this yet I think this will work in other servlet containers

Re: Cometd Implimentation

2007-06-05 Thread andyhot
Craig Spry wrote: Thanks for your feedback, I'll try and add the ability to add comments to my site. I would also like to contribute this to somewhere where it can be worked on by more than just me and isn't so hidden away. Can anyone tell me where the best place to put this would be? I'd

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-05 Thread andyhot
Doesn't your app use a hivemodule.xml? See http://tapestry.apache.org/tapestry4.1/usersguide/hivemind.html on where to add this... You then have to place the sitemap.xml file at the same location, and then do the modifications described at http://tacos.sourceforge.net/hivemind/SiteMap.html C

Re: Multiple component validation

2007-06-04 Thread andyhot
From http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Identity.html " Apply this validator to the second field ... " So, you need to do it the other way around, i.e. pass the name of the first field to your validator and apply the validator to the second field -

Re: dirty form checking ...

2007-06-01 Thread andyhot
Jesse recently fixed https://issues.apache.org/jira/browse/TAPESTRY-1245 Did you get a chance to try the dirty form checker again? [EMAIL PROTECTED] wrote: Ok, now I got it right, almost ;). Somehow tapestry tapestry.form.onFormSubmit is not called, when you use tapestry.form.submit to subm

Re: Hidden field contains S

2007-05-24 Thread andyhot
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Hidden.html Peter Dawn wrote: guys, i am using tap3. i have a hidden field component. i have just realised that everytime i store something in it, it pre-fixes my string with a S. i am not sure what i am doing wrong here. if i replace

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread andyhot
Hey, mvn tomcat:run is always an option! Daniel Jue wrote: I have run the Jetty plugin from the t5 simple archetype with great success. I tried it again just now, and it didn't work, because my plugin code was like this: org.mortbay.jetty maven-jetty-plugin

Re: [T4.12] Possible Bug in @Script Annotation

2007-04-12 Thread andyhot
t.java:528) * org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) * org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) * java.lang.Thread.run(Unknown Source) On 4/12/07, andyhot <[EMAIL PROTECTED]> wrote: Chris Chiappone wrote: > I believe there may be a

Re: [T4.12] Possible Bug in @Script Annotation

2007-04-12 Thread andyhot
Chris Chiappone wrote: I believe there may be a bug when using the @Script Annotation. If I do the following: I always get a null pointer exception. What kind of NPE ? can we have a full stack trace ? But if I just do this: It works fine. Could this be a bug? -

Re: Creating ajax-based expandable tree-like structures

2007-04-03 Thread andyhot
Also, 2 very useful implementations of a KeyProvider and a TreeContentProvider where added in tacos-4.1 http://fisheye3.cenqua.com/browse/tacos/tacos-4.1/trunk/tacos-core/src/java/net/sf/tacos/model/impl/BeanPropertyKeyProvider.java?r=469 http://fisheye3.cenqua.com/browse/tacos/tacos-4.1/trunk/t

Re: Tapestry sub-projects / related projects

2007-03-31 Thread andyhot
Did you guys get in touch? I'm going to start reorganizing tacos this weekend (mainly introducing a tap-5 section) so, the jini integration could be the first module of that section. Jesse Kuhnert wrote: Will do.. Hopefully it is happening monday according to what Viktor told me. On 3/18/

Re: Extendet ValidationDelegate not used

2007-03-27 Thread andyhot
Are you sure you made your form use that bean? jwcid="@Form" delegate="bean:delegate" ? Skorpien126 wrote: Hmm I´ve a strange behaviour in my app... I´ve build an own ValidationDelegate because I want to display the errorMessage in the Label. Therefor I thought ... extend a Subclass (http://tap

Re: 4.1.2 try to access hidden class java.util.HashMap$Entry

2007-03-12 Thread andyhot
They look like issues caused by the (new and still in progress version of) ognl ... http://jira.opensymphony.com/browse/OGNL maksymg wrote: Hi, I'm trying to switch my working code from 4.1.1 to 4.1.2-SNAPSHOT, but get an OGNL error. It seems that the Tapestry tries to get list of properties

Re: Jesse-->Temporary jfly public repository

2007-03-11 Thread andyhot
http://issues.apache.org/jira/browse/TAPESTRY Andrea Chiumenti wrote: "...unless you attach an easy to run test case to a jira issue." How ?? I'm very interested, but jotspot doesn't allow registrations, so how can I attach my project to jira? On 3/11/07, Andrea Chiumenti <[EMAIL PROTECTED]>

Re: serve html from packaged component?

2007-03-10 Thread andyhot
Express the folder you're interested in as an IAsset... Then do .buildURL() on it and somehow pass the result to your javascript... That's how AjaxShellDelegate includes dojo and its root folder ... BUT since it's a classpath asset, it'll be protected (i.e. have that checksum appended) So you

Re: AW: Tapestry 4.1.2-SNAPSHOT

2007-03-07 Thread andyhot
I believe you only need to add jboss javassist 3.4.ga in your own pom Andy wrote: I had the same problem a few days ago. I added all m2-repos from the Tapestry pom.xml to my project's pom.xml and then everything worked again... Andy Paulo

Re: tapestry 4 to focus on specified field

2007-03-03 Thread andyhot
haipeng du wrote: I know these. But I just think that may be useful and helpful to add focus fields order list to form. Just add a tabindex informal parameter to the related form fields... You have to manage focus ordering yourself. On 3/2/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

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

2007-03-03 Thread andyhot
ing of "influence its body w/o using a template"), but perhaps you can build a custom component and pass parameters to it... Christian Haselbach wrote: On Thu, Mar 01, 2007 at 08:56:58PM +0200, andyhot wrote: Can you give an example of what you're trying to accomplish ?

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

2007-03-01 Thread andyhot
Can you give an example of what you're trying to accomplish ? Christian Haselbach wrote: Hello, is it possible to add a body to a sub-component w/o using a template? I tried to inject the sub-component (which is specified in the jwc) into the class and than use addBody(). However, doing this du

Re: EventListener and DatePicker

2007-03-01 Thread andyhot
PLease, create a JIRA and post the patch (preferably just a diff) there Lionel Touati wrote: In fact this issue was raised by the fact the DatePicker does not automatically updates after being changed during the AJAX response Here's a patch to the DatePicker.script to handle that L. Lionel

Re: Alternative for Shell parameter parseWidgets

2007-03-01 Thread andyhot
http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdoc/index.html http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.html Take a look at the dojo:Widget component Diego wrote: Is there a alternative way of using dojo Widgets in tapestry 4.1.1. If I don't set parseWidget

Re: contrib:Table mouseover over rows

2007-02-27 Thread andyhot
look (i think) in dean edward's site... there's a hack adding a new behavior for IE that is supposed to emulate hover transparently Peter Dawn wrote: i thought so. my target audience as it turns out is IE. so i guess i am stuck. i tried tr:hover but it didnt work under IE, as you have mentioned

Re: Tapestry 4.1.2: (server side) Input Validation has no effect

2007-02-22 Thread andyhot
http://tapestry.apache.org/tapestry4.1/components/form/form.html Notice the difference between the success and the listener parameter. When using listener, you have to manually check for validation errors... ... by getting the form's delegate and checking it for errors http://tapestry.apache.org/

Re: Tap4.1.2 - DirectLink updateComponents & EventListener not supported by Safari?

2007-02-15 Thread andyhot
Well, since i'm the KDE guy here (Jesse is gnome), i can try to see what happens on Konqueror - hoping that it fails the same way as Safari does ! Anna Vo wrote: I'm going to guess laziness since Safari is the default on a Mac. As for "normal" people... I think it's normal for developers to use

Re: Ajax Loading Indicator (google style)

2007-02-15 Thread andyhot
Well, that's a fresh one... https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js See the tapestry.fx.attachAjaxStatus function and its docs, I think you'll like it. scv wrote: Hi Daniel, I was searching for a solution for this problem too. Now I

Re: overloading src attribute of @Image component

2007-02-14 Thread andyhot
is 100% if it's a context asset If it's a classpath asset, you'll need http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/service/tapestry.asset.ClasspathAssetFactory.html Makes sense now ??? Ken nashua wrote: Still blue in the face... This is the markup that comes from @Asset

Re: overloading src attribute of @Image component

2007-02-14 Thread andyhot
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/asset/ContextAssetFactory.html http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/service/tapestry.asset.ContextAssetFactory.html inject that service and .. use it Ken nashua wrote: Well my last solution has no rea

Re: @Insert default mode

2007-02-14 Thread andyhot
I think I'd create my own component in my application. I could even name it InsertText and it would just delegate to Insert using the desired break mode. Ben Dotte wrote: You're right! I see what happened here. InsertText is marked as deprecated in the 4.1 documentation so we replaced all 17

Re: AssetService problem

2007-02-13 Thread andyhot
I dont think i get any js errors when accessing that... perhaps it's your browser's cache... clear it and retry Julian Wood wrote: Ok this has got me banging my head against a wall. I've built a tap app war file (using maven). It works fine when deployed on my local tomcat. When I send that s

Re: AW: ssl link

2007-02-13 Thread andyhot
I'd keep the RedirectException idea, but make use of the 2nd overload of getAbsoluteUrl... See http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/engine/ILink.html Shing Hing Man wrote: >From getExternalService().getLink(false, esp), you can get the absolute url of the

Re: Roadmap for Tacos integration in Tap 4.1 ?

2007-02-13 Thread andyhot
Here's what exists now: http://tacos.sourceforge.net/tacos4.1/tacos-core/ and take a look at the new dojo sub-library. Apart from that (but not yet in the repo) : - Shing Hing Man was kind enough to port AjaxForm and AjaxDirectLink to ease migration. If your old app used those components, you do

Re: Dojo error on Yahoo search or Live search cached pages

2007-02-13 Thread andyhot
Christian Dutaret wrote: Should I file a JIRA issue for this? Go ahead... did you get to the source of it? 2007/2/1, andyhot <[EMAIL PROTECTED]>: Yea, you're right. Just did a yahoo search for "opencomponentry demo" and the first result (the tacos demo) has the

Re: trying tapestry on the phone...

2007-02-10 Thread andyhot
Patrick Moore wrote: Hi there -- I am trying to access my tapestry 4.1.2 application via a fairly high-end phone browser. (Samsung a900m). I have some preliminary results and a few gotcha's posted on my blog at : http://www.sworddance.com/blog/2007/02/09/phone-usability-design-notes-part-1/

Re: Injecttin

2007-02-10 Thread andyhot
Andrea Chiumenti wrote: Hello, is there somehow to make tapestry to write There isn't ... but add a JIRA, explaining why you/we need this and why you feel it's important - perhaps we need to add something similar. Now, i said there isn't a way, and that's true, but that's only due to bad luck

Re: Tap4.1.1: Autocompleter inside another component does not work

2007-02-09 Thread andyhot
i'm using an autocompleter inside another component inside a for loop which may initially be hidden. Why not try with 4.1.2-SNAPSHOT ? Pedro Viegas wrote: Hi all, Has anyboby been able do use a Tap 4.1.1 Autocompleter inside another component? I have been trying to do so and I get the strange

Re: Debugging dojo.js

2007-02-08 Thread andyhot
Your @Shell component includes that. http://tapestry.apache.org/tapestry4.1/components/general/shell.html See the dojoSource parameter and use the following asset for it: classpath:/dojo/dojo.js.uncompressed.js Daniel Tabuenca wrote: Is there a way to make dojo.js more human-readable? I know i

  1   2   3   4   >