Re: T5.3 Grid, inPlace Update and expired Sessions

2011-09-10 Thread Fernando Padilla
Hm.. Did someone already propose to have Tapestry-Security support a popup-login flow? So when tapestry-security hijacks a ajax request, it would return a multizoneupdate that would generate a popup-zone (tapestry doesn't have native support for those yet, but really should!); and would hand

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Fernando Padilla
I think he meant, that he opens the database transaction in the validation step.. then some unknown time later, he commits it within success. that does sound a bit dirty to me. On 11/16/10 11:03 AM, Howard Lewis Ship wrote: On Mon, Nov 15, 2010 at 9:22 PM, Kalle Korhonen wrote: That's exact

Re: how to make tapestry ignore some html tags while parsing tml file

2010-11-09 Thread Fernando Padilla
I would create my own component that would output the "<#= " " #>" text around it's body: void beginRender( MarkupWriter writer ) {writer.raw("<#= ");} void afterRender( MarkupWriter writer ) {writer.raw(" #>");} then you can use that component anywhere in your templates data.yesterday.tota

Re: DISCUSSION: Time zones and date selection

2010-08-19 Thread Fernando Padilla
nd requirements... :) On 8/19/10 1:36 AM, Dmitry Gusev wrote: I didn't use one, but I believe such service exists that resolves client timezone by client IP. Client IP -> Location -> TimeZone. And this all may be resolved in very first request. On Thu, Aug 19, 2010 at 10:4

Re: Libarary "core" mapping not working in 5.2.0-SNAPSHOT

2010-08-18 Thread Fernando Padilla
wait, so we can't map libraries onto the "core" prefix? Can we map it into a "" prefix? The issue is that we leveraged that capability to essentially bring our libraries all under the same namespace.. To make accessing common/shared components easier to code against.. instead of On 8/1

Re: DISCUSSION: Time zones and date selection

2010-08-18 Thread Fernando Padilla
Since our apps deals with sports team schedules, timezones are important for us. That's why I kept trying to suggest timezone support, whenever you discussed locale support. But your main question is how to determine a client's timezone. There is no http-header way to get it, and a Javascri

LabJs

2010-03-24 Thread Fernando Padilla
I just learned of this neat Js library to help load Js files faster. Maybe Tapestry should look into leveraging it. If the new JavascriptSupport, could expose script dependencies, then it could automatically parallelize script download. Tapestry could then use it to load scripts for zones to

Re: IOC Service Survey

2009-12-02 Thread Fernando Padilla
A Tapestry IoC service is just a bean. If you read up on Spring IoC or Guice IoC they are all the same concepts and fulfill the same purposes. Each might have slightly different features mechanisms, but you get the idea. So if your question is truly academic, you should be reading up on gene

Re: Tapestry-Spring in standalone mode

2009-11-13 Thread Fernando Padilla
what do your "jobs" do? Why do they need anything from Tapestry? On 11/13/09 2:54 PM, Joost Schouten (ml) wrote: Do you mean timed java jobs (java equivalent of cron jobs)? If so, since you are already working with Spring, have a look at: http://static.springsource.org/spring/docs/2.5.x/refere

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Fernando Padilla
So.. read the exception stack trace fully.. If down at the bottom it talks about slf4j or some logging issue.. then it's because Jetty purposefuly hides the slf4j libraries from tapestry (because jetty ships with slf4j for itself ) and you have to add a particular vmarg to fix that. At least

Re: T5: Include Google Analytics Code

2009-07-28 Thread Fernando Padilla
The google code doesn't HAVE to be the last thing on the page. It will work anywhere on the page. You can bring in the js file normally through tapestry's addScriptLink (or IncludeJavascript annotation), and then add the google code through addScript.. it would be something like below, but y

Re: t5: why always downloading these files?

2009-07-09 Thread Fernando Padilla
Not sure who depends on those files.. but they do not exist in those repositories.. http://mvnrepository.com/artifact/javassist/javassist that's why it keep trying and trying to download them, but is never successful. Since it's only a pom file, I suppose it doesn't break the build... i gues

Re: Java support added to Google AppEngine

2009-04-17 Thread Fernando Padilla
further adoption in that arena. Cheers, Alex Kotchnev On Fri, Apr 17, 2009 at 12:34 PM, Fernando Padilla wrote: Don't forget right now GAE/Java is really really beta. You are only allowed to have 30 cuncurrent threads? Unless your app is only serving a small number of users, I can'

Re: Java support added to Google AppEngine

2009-04-17 Thread Fernando Padilla
work, so there's some frustration at play among those who have already upgraded to T5.1 who want to also be GAE users. Super-awesomely-critical? Probably not. Just frustrating. Christian. On 17-Apr-09, at 12:34 , Fernando Padilla wrote: Don't forget right now GAE/Java is reall

Re: Java support added to Google AppEngine

2009-04-17 Thread Fernando Padilla
Don't forget right now GAE/Java is really really beta. You are only allowed to have 30 cuncurrent threads? Unless your app is only serving a small number of users, I can't vote to use GAE/Java for actual production apps, not yet.. And like someone just said, this just came out a week ago. G

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread Fernando Padilla
did you try @Environmental? DH wrote: I remember @Inject RenderSupport is not available in ajax action request even though in latest snapshot, I just tried several days ago and got error. Thanks DH - Original Message - From: "Fernando Padilla" To: "Tapestr

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread Fernando Padilla
You use the normal RenderSupport.addScript(..) method. And tapestry adds it to the json response, and it gets executed by loadScriptsInReply... DH wrote: 1. If your return is Block or Zone, just put ... inside the block or zone. 2. If return is JSONObject, can do like this: JSONObject re

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-14 Thread Fernando Padilla
We have been using Tapestry 5, "it rocks". We do so many sites using Tapestry, and mostly facebook, so here is our index site (not tap5): http://www.citizensportsinc.com/ Most of the sites listed off of this site are Tapestry 5. Except for Protrade.com (Tap4), and a handful of apps we bough

Re: Decent jetty runner for eclipse

2009-04-13 Thread Fernando Padilla
we add this to our vmargs: -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true -Dtapestry.production-mode=false -Xmx500m Thiago H. de Paula Figueiredo wrote: On Mon, Apr 13, 2009 at 2:28 PM, Sergey Didenko wrote: Don't you use webapp.setServerClasses( new String[] {"-org.mortbay.jetty.plus.

Re: Problem using many times the same component on one page

2009-04-10 Thread Fernando Padilla
Using clientId with zones can be a little bit tricky if you don't understand how clientIds are generated, and how they will change after the zone is reloaded, etc etc. And will probably will not work when you try to load the zone the second time. And using getClientId on a zone won't work if

access component from mixin

2009-03-31 Thread Fernando Padilla
What is the best way to get the component a mixin i applied to, from within the mixin? I want to access the clientId of the component that the mixin has been tied to. How would I do that? pseudo-code: mixin { afterRender { getComponent().getClientId(); } } -

Re: @IncludeStylesheet and non-local CSS

2009-03-27 Thread Fernando Padilla
hu, Mar 26, 2009 at 9:53 PM, Fernando Padilla wrote: that's exactly what we do.. we just named it "url", instead of "uri". :) :) Well, it's a trivial piece of code, so if a committer wants to run with it - feel free, although you might want to check to make

Re: [T5] Asset Url is changed via domain. Meet Problems when use Alias or AliasOverrides

2009-03-27 Thread Fernando Padilla
hmm. Is there an AssetFactory? Tuan wrote: Thanks Fernando Padilla, I created AssetSourceDecorator as you said. The result is + For all assets are accessed by @includestylesheet, @include, It is ok. + For all assets are accessed in template ${asset:tapestry_banner.gif}, it

Re: How to parse and map URLs?

2009-03-26 Thread Fernando Padilla
i think we had a discussion on the mailing list a bit back, I think we were refering to it as "virtual hosting". Michael Prescott wrote: This probably won't help you, but have a look at URLRewriter ( http://tuckey.org/urlrewrite/), which is a filter that does URL rewriting. I'm not sure if you

Re: @IncludeStylesheet and non-local CSS

2009-03-26 Thread Fernando Padilla
that's exactly what we do.. we just named it "url", instead of "uri". :) :) Geoffrey Wiseman wrote: On Thu, Mar 26, 2009 at 1:40 PM, Dave Greggory wrote: Just use RenderSupport. I just built my own component named asset attacher for this purpose. And if anyone's curious what the other appr

Re: @IncludeStylesheet and non-local CSS

2009-03-26 Thread Fernando Padilla
we use YUI. We simply added a "url" asset factory prefix (which tapestry should really really add by default actually, like 10 lines of code). If you want it, I can attach my code easily. And no, you should not bundle yui locally. It already does a tonne of on-demand loading, dependency reso

Re: [T5] Asset Url is changed via domain. Meet Problems when use Alias or AliasOverrides

2009-03-26 Thread Fernando Padilla
another thing you can play with, which is sometimes easier to integrate, is the service decoration. try learning about decorators. On 3/26/09 12:09 AM, Tuan wrote: Hi all, This is my problems when I use Alias or AliasOverrides. Please help me correct them. _*Context: *_ IndexPage.tml M

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
ry it again then. Thanks. -Original Message- From: Fernando Padilla [mailto:f...@alum.mit.edu] Sent: 24 March 2009 15:35 To: Tapestry users Subject: Re: Executing javascript on ajax call return This already works.. when you do RenderSupport.addScript(), while rendering a zone/block, it will

Re: Executing javascript on ajax call return

2009-03-24 Thread Fernando Padilla
ing for a while that there needs to be more client-side events, so that the zone element could ire "tapestry:zone:fetched", "tapestry:zone:show", etc. On Mon, Mar 23, 2009 at 3:19 PM, Thiago H. de Paula Figueiredo wrote: Is therea JIRA for that so I can vote on it? Em Mon, 2

Re: 5.0.18 - 5.1.0.1 upgrade problems

2009-03-24 Thread Fernando Padilla
I believe for page links, there is no difference. And you can just get the LinkFactory. For EventLinks, now it starts to get different because you are targetting both a page and a component ( which can be on a different page ). I'm still not a master on figuring this out, but I know what to

Re: Executing javascript on ajax call return

2009-03-23 Thread Fernando Padilla
Nope, there is no way to do javascript callbacks after a zone is updated. Zones right now are missing lifecycle callbacks, that you can hook into. They do have the show/update callbacks that the Effects hook into, but it could/should/hopefully will be expanded, eventually.. :) things like:

Re: dialog component

2009-03-23 Thread Fernando Padilla
st server-side). Thiago H. de Paula Figueiredo wrote: Em Mon, 23 Mar 2009 15:42:19 -0300, Fernando Padilla escreveu: if someone is actually going to be doing a "dialog" component for tapestry, please just think about doing a zoneDialog component :) Nice idea! In our company

Re: dialog component

2009-03-23 Thread Fernando Padilla
if someone is actually going to be doing a "dialog" component for tapestry, please just think about doing a zoneDialog component :) In our company we created a zone.dialog backed by YUI ( since it's YUI, i have not submitted it to tapestry.. ). So it's really easy, and quite popular. It work

Re: Tapestry4e - New free eclipse plugin for Tapestry 5

2009-03-20 Thread Fernando Padilla
huge pat on the back for tackling this! :) Though I vote/recommend that you change the name :) because I am already confused.. "use Tapestry4e when you want to develop Tapestry v5, but not Tapestry v4". :) And there might be branding confusing as well.. between the Tapestry plugin and the Tap

Re: T5.1: date modified in asset cache path

2009-03-19 Thread Fernando Padilla
the DTM of the CSS, relative URLs from the CSS file to image assets (each in a virtual folder based on DTM of the asset) would break. On Thu, Mar 19, 2009 at 10:22 AM, Fernando Padilla wrote: I myself want the assets to be cached with a MD5 signature, so I don't have to track explicit ver

Re: T5.1: date modified in asset cache path

2009-03-19 Thread Fernando Padilla
I myself want the assets to be cached with a MD5 signature, so I don't have to track explicit versions.. etc etc. (that's what we do right now with our own AssetFactory, but we have not upgraded to 5.1..) On 3/19/09 9:33 AM, Jack Nuzbit wrote: I've just upgraded an application from 5.0.18 to 5

Re: t5: overriding URLEncoder

2009-03-18 Thread Fernando Padilla
cursion: the service depends on itself in some way. Please check org.apache.tapestry5.internal.services.AliasManagerImpl(Logger, Collection) (at AliasManagerImpl.java:32) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:150) for references to another servic

Re: t5: overriding URLEncoder

2009-03-17 Thread Fernando Padilla
ase check org.apache.tapestry5.internal.services.AliasManagerImpl(Logger, Collection) (at AliasManagerImpl.java:32) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:150) for references to another service that is itself dependent on service 'AliasOverrides&#x

Re: Spring root context and Tap 5.1

2009-03-17 Thread Fernando Padilla
No. I think you can only do one way or the other at the moment. Inge Solvoll wrote: Does that configuration mean that you can't inject T5 IoC services into spring? On Tue, Mar 17, 2009 at 3:47 PM, Anthony Schexnaildre wrote: Thank you. -Anthony On Mar 17, 2009, at 10:36 AM, Andy Pahne wro

Re: t5: overriding URLEncoder

2009-03-17 Thread Fernando Padilla
Sadly, this feature is aliasing, not override. So technically, you should not step on the toes of the original service at all.. 1) So do not use "withId("URLEncoder")", since there is already a service with that name. Try changing that to "URLEncoder2". 2) if you bind it to "URLEncoder.cla

Re: Q : Could not find a coercion from type java.lang.String to type java.util.Date

2009-03-15 Thread Fernando Padilla
Though I agree that String<->Date by default is a no-go. I think tapestry could have a Long<->Date coercion. :) Howard Lewis Ship wrote: Converting between strings and dates is too finicky for Tapestry to handle automatically (without screwing it up for some people). Instead of including the

Re: about T5 javascript

2009-03-10 Thread Fernando Padilla
tionLink in the component tml file and create a new ZoneManager from the zone element and the link but I can't get that to work ether. Fernando Padilla wrote: URL = a url you would build on the serverside using something like: resources.createEventLink( "" ); Let me

Re: about T5 javascript

2009-03-09 Thread Fernando Padilla
oneId. step 2 is basically what Tapestry.activateZone would replace.. so you can do this without relying on an actionlink or form.. mwilliam...@kcp.com wrote: I would like to use this feature but I can't figure out what url this is. Fernando Padilla wrote: that said, any committers

Re: about T5 javascript

2009-03-08 Thread Fernando Padilla
that said, any committers want to add a simple function for people to use?? something like this: Tapestry.activateZone = function( zoneId, url ) { var zoneManager = Tapestry.findZoneManagerFromId( zoneId ); zoneManager.updateFromURL( url ); } Inge Solvoll wrote: var zoneObject

Re: Invoking a custom show javascript method for a Zone

2009-03-03 Thread Fernando Padilla
You might have already tried this, but, you know that there is a "show" operation and an "update" operation.. so you maybe you should set both? Dave Greggory wrote: Thanks for the suggestion, Igor. Unfortunately, it didn't work. So I tried doing the following in AfterRender. renderSuppo

Re: [T5] Struggling With Concepts

2009-02-18 Thread Fernando Padilla
This is basically the same technique I was outlining.. just implemented using a Tapestry RequestFilter, instead of a normal J2EE Filter. If done properly, there should be no more modifications required within tapestry. Robert Zeigler wrote: Not necessarily. If you intercept the request via a

Re: [OT] By boss decided

2009-02-18 Thread Fernando Padilla
For general Java: How about LinkedIn? Anything with OpenSocial/Shindig ( Myspace, Hi5, Orkut, iGoogle, maybe even Yahoo Social ). For Tapestry: I would like to say my sites but they are only timid successes ( tapestry is not the issue, just the business :) protrade.com apps.facebook.com/br

Re: [OT] By boss decided

2009-02-18 Thread Fernando Padilla
How about LinkedIn. Otho wrote: Yup, no websites in java. Googlemail doesn't count. And german Telekom and Postbank are totally niche companies. :) 2009/2/18 Daniel Honig Ok...very late for meHorrible post! But I do have some real points... let me bullet point - dynamic language fra

Re: [T5] Struggling With Concepts

2009-02-17 Thread Fernando Padilla
guration information which is keyed off the site name. The sub-directory approach is certainly what I want, but Tapestry's way of handling this would require me to duplicate every page into a peer package structure, which is not maintainable, not dynamic, and not an option. Cheers, Levi Fernando

Re: [T5] Struggling With Concepts

2009-02-15 Thread Fernando Padilla
e we make a few more of the Link-generating and Request-path-parsing services public and overridable. On Sat, Feb 14, 2009 at 6:48 PM, Fernando Padilla wrote: I'm sorry, but this is not quite what Tapestry is meant to solve for.. It solves nicely for state within a page.. or within a user&#

Re: [T5] Struggling With Concepts

2009-02-14 Thread Fernando Padilla
I'm sorry, but this is not quite what Tapestry is meant to solve for.. It solves nicely for state within a page.. or within a user's session, etc etc. Since what you're trying to do is have your code support a form of "virtual hosting", it might be easier if you deal with it using normal J2EE

Re: [T5] Internationalizing included js

2009-02-11 Thread Fernando Padilla
Not the best option but: Don't forget that included js files are determined using Tapestry's Internationalication/Localization code.. http://tapestry.apache.org/tapestry5/guide/localization.html so: include( my.js ) would look up the right js file using the locale of the user: my_en.js my_

Re: Confirm("are you sure want to delete") in LinkSubmit

2009-02-05 Thread Fernando Padilla
I would review the Form javascript. I bet that there are already ways to hook into the form validation/submittion flow, so that you can add a listener there, and do a popup before the form submits.. Then once you figure out how to do that, I would probably create a new component that adds tha

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Fernando Padilla
;other" renderer that I need to patch up? Fernando Padilla wrote: Sorry for the wait. I don't have the final answer for you, but I do have information to share.. :) I think it'll be the same technique of overriding tapestry's document linker, but there are two render pip

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Fernando Padilla
hole application reports the same error. (all pages which has tapestry form in it). FYI, I have more than one tapestry application running on the same JBoss server. Just curious, if it messes up things. I am stuck and any help would be greatly appreciated! Fernando Padilla wrote: yah, this

Re: Switch from Prototype to jQuery?

2009-01-30 Thread Fernando Padilla
We use YUI ourselves. What ever happened to the concept of pluggable javascript implementations? So people can choose what underlying javascript system to use? Chris Lewis wrote: I have a great deal of experience with prototype, and not so much with jQuery. From my brush with it, it seems to

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Fernando Padilla
which would return the deepest DocumentLinker at the moment (the default, not the Custom one).. So yeah a little confusing.. :) :) Thiago H. de Paula Figueiredo wrote: Em Thu, 29 Jan 2009 15:14:40 -0300, Fernando Padilla escreveu: No. DocumentLinker would be run first ( deeper in the markup f

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Fernando Padilla
Maybe try this: configuration.add( "CustomDocumentLinker", mydoclinker, "after:DocumentLinker,before:RenderSupport" ); Dude.Checkitout wrote: I am using 5.0.18 version and not ready to move to 5.1 yet. Is there any way to override the DocumentLinker in the 5.0.18 version?

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Fernando Padilla
No. DocumentLinker would be run first ( deeper in the markup filter chain ), it would be the only one that RenderSupport would bind to ( RenderSupport does a environment.peekRequired ). So only that DocumentLinker would do it's stuff. and the default DocumentLinker throws an exception if the

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Fernando Padilla
ocumentLinker. Any help in this will be appreciated. Fernando Padilla wrote: I have lots of experience playing with that :) (since we publish to html, fbml). Here are some questions: 1) do your documents have a root node? what is it? 2) do you want to change the behavior of how it includes javascr

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Fernando Padilla
I have lots of experience playing with that :) (since we publish to html, fbml). Here are some questions: 1) do your documents have a root node? what is it? 2) do you want to change the behavior of how it includes javascript and css? Or just have it work with non-html root nodes? Dude.

Re: T5: HiddenField?

2009-01-21 Thread Fernando Padilla
Field, just wondering why it's not there by default in Tapestry.. because I think it's a pretty valid usecase.. :) later 'nando Thiago H. de Paula Figueiredo wrote: Em Wed, 21 Jan 2009 19:47:55 -0300, Fernando Padilla escreveu: Since if I use a form context, then I think I h

Re: T5: HiddenField?

2009-01-21 Thread Fernando Padilla
appropriately.. thank you :) Thiago H. de Paula Figueiredo wrote: Em Wed, 21 Jan 2009 14:43:31 -0300, Fernando Padilla escreveu: So.. Is there really ho HiddenField component for Tapestry 5? Is this just a minor oversight, or is there a different way to add values to be passed through form

T5: HiddenField?

2009-01-21 Thread Fernando Padilla
So.. Is there really ho HiddenField component for Tapestry 5? Is this just a minor oversight, or is there a different way to add values to be passed through form? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: profiling tapestry components

2009-01-16 Thread Fernando Padilla
#x27;s a lot of churn in the JVM's eden heap space. On Thu, Jan 15, 2009 at 8:17 PM, Thiago H. de Paula Figueiredo wrote: Em Thu, 15 Jan 2009 23:19:56 -0300, Fernando Padilla escreveu: The database was just upgraded and io/cpu is really really low. So that won't be the case. I would s

Re: profiling tapestry components

2009-01-15 Thread Fernando Padilla
u, 15 Jan 2009 20:57:19 -0300, Fernando Padilla escreveu: Well, we have a large app that is not performing very well.. and now I have to figure out how to make it more performant.. In my humble opinion, you're starting to performance bottleneck from the wrong side of the stack. Most of the

Re: profiling tapestry components

2009-01-15 Thread Fernando Padilla
about time per component; that time would be very short & hard to measure. Why are you interested in component render times? On Thu, Jan 15, 2009 at 4:35 PM, Thiago H. de Paula Figueiredo wrote: Em Thu, 15 Jan 2009 20:26:38 -0300, Fernando Padilla escreveu: I was wondering if I could create so

profiling tapestry components

2009-01-15 Thread Fernando Padilla
I was wondering if I could create some sort of profiler, that would print out the render time for each component.. that way I can use that information to try to pinpoint components that need to be optimized.. any ideas? - T

Re: zone enhancements?

2009-01-13 Thread Fernando Padilla
If you want to learn about how zones are implemented, this is the code you'll have to review: in tapestry.js: Tapestry.ZoneManager Tapestry.Initializer.zone Tapestry.Initializer.linkZone in java: ClientBehaviorSupport.addZone ClientBehaviorSupport.linkZone RenderSupport.addInit Essentially, w

zone enhancements?

2009-01-12 Thread Fernando Padilla
We are starting to use zones a lot more and they are a great and simple concept. I was wondering if anyone had any comments or had put any legwork towards these simple enhancements. 1) updatingEffects along the lines of the showEffect and updateEffect currently supported, except that this

Re: t5: when running tomcat behind Apache

2009-01-12 Thread Fernando Padilla
But as I understand it X-Forwarded-For is not a secure header.. Anyone along the way could add/modify that header, so you should use that information with a grain of salt.. Peter Stavrinides wrote: Since version 2.6 Apache mod_proxy has native support for the AJP protocol (proxy_ajp), which

timezone support

2009-01-09 Thread Fernando Padilla
I was just wondering if someone has put some thought into having tapestry support TimeZone, just as it now supports Locale? That way we can render all dates appropriately? - To unsubscribe, e-mail: users-unsubscr...@tapestry.ap

Re: problem with t:formdata

2009-01-08 Thread Fernando Padilla
by default t:loop serializes the source list into t:formdata, so that in can have predictable form processing. But if you can reconstitute the source list used by the loop, and understand that the form might behave erratic in some edge cases ( if the list changes between form render and form h

Re: spring context troubles

2009-01-03 Thread Fernando Padilla
like I'm faced with two evils: breaking compatibility on the one hand, maintaining two different sets of Spring integration on the other. On Fri, Jan 2, 2009 at 10:50 AM, Fernando Padilla wrote: That's alright to keep them separate, but I'm just worried that the 5.0.18 will stop wo

Re: spring context troubles

2009-01-02 Thread Fernando Padilla
estry-spring. I haven't found a way to do both: allow injection of Tapestry services into Spring beans and expose Spring beans as Tapestry services. The lifecycles of the two containers do not mesh easily. On Thu, Jan 1, 2009 at 3:23 PM, Fernando Padilla wrote: nice work around. but I wan

Re: spring context troubles

2009-01-01 Thread Fernando Padilla
. This allows you to benefit from the improvements to tapestry-core without having any compatibility problems with the changes to tapestry-spring. I'm adding documentation to the web site to explain this. On Mon, Dec 29, 2008 at 4:20 PM, Fernando Padilla wrote: I'm sorry that I'm ha

Re: spring context troubles

2008-12-29 Thread Fernando Padilla
l.java:52) Howard Lewis Ship wrote: We need to figure out the order that the filters are initialized, so that the Tapestry filter can be initialized first. I think just listing it first in the web.xml may do the trick. On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla wrote: I just tr

Re: spring context troubles

2008-12-29 Thread Fernando Padilla
ward Lewis Ship wrote: We need to figure out the order that the filters are initialized, so that the Tapestry filter can be initialized first. I think just listing it first in the web.xml may do the trick. On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla wrote: I just tried it, and it won't

Re: spring context troubles

2008-12-29 Thread Fernando Padilla
classes of XmlWebApplicationContext and DefaultListableBeanFactory, to hook in the logic that allows Spring beans to use @Inject and @InjectService. You should be fine if you just remove the ContextLoaderListener from your web.xml. On Mon, Dec 29, 2008 at 3:22 PM, Fernando Padilla wrote: I jus

Re: spring context troubles

2008-12-29 Thread Fernando Padilla
from your web.xml. On Mon, Dec 29, 2008 at 3:22 PM, Fernando Padilla wrote: I just tried to run with the latest tapestry-trunk, and I get this really nasty exception :( :( I initialize my own spring context with a ContextLoaderListener, because I need spring outside of tapestry. Why is tap

spring context troubles

2008-12-29 Thread Fernando Padilla
I just tried to run with the latest tapestry-trunk, and I get this really nasty exception :( :( I initialize my own spring context with a ContextLoaderListener, because I need spring outside of tapestry. Why is tapestry attempting to create a context? 2008-12-29 15:18:27,363 [main] ERROR org

spring context troubles

2008-12-29 Thread Fernando Padilla
I just tried to run with the latest tapestry-trunk, and I get this really nasty exception :( :( I initialize my own spring context with a ContextLoaderListener, because I need spring outside of tapestry. Why is tapestry attempting to create a context? 2008-12-29 15:18:27,363 [main] ERROR

[TAP5] single letter properties not working??

2008-12-29 Thread Fernando Padilla
https://issues.apache.org/jira/browse/TAP5-425 In our code we used some single letter properties. This used to work in tapestry 5.0.15 or so.. but when we upgraded to 5.1-SNAPSHOT, tapestry now fails at runtime with a very weird execption. Any clues to get this fixed in tapestry would be app

Re: IoC Question with Alias

2008-11-23 Thread Fernando Padilla
though I have no idea what you're trying to do :) have you considered using decorators? Those work well in most cases where you want to "override" a default service, and it always seems easier to understand.. [EMAIL PROTECTED] wrote: This happens to me in one Tapestry5 project when I start

Re: T5: call Javascript after Tapestry.init()

2008-11-21 Thread Fernando Padilla
Yeah. I saw that too. I was wondering if the zone init stuff should happen before any user defined javascript as well. Nick Davies wrote: Hi, Apologies if I'm being dull here, but I'm trying to trigger an AJAX call automatically once a page has finished loading - the idea is that the main pag

Re: [T5] Something like GORM for Tapestry?

2008-11-06 Thread Fernando Padilla
sorry no. But we use JDO/JPA and we have helper methods that look much like that, but not as concise.. but really easy to create a HQL, JDOQL, JPQL from a method like this: List books = dao.findByFields( Book.class, "firstname", "Howard Lewis", "lastname", "Ship" ); Otho wrote: Hi all,

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Fernando Padilla
This is probably because it can't download the files.. I would double check your networking, but because you're emailing us I'll assume it's working. Someone I know also had issue like this, and the cause for him was he installed it as root on his laptop, so when he tried to build it as his

aggressive flash variables?

2008-11-03 Thread Fernando Padilla
https://issues.apache.org/jira/browse/TAP5-320 So I was wondering if anyone had any thoughts on this issue? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: flash variables being cleared too aggressively?

2008-10-31 Thread Fernando Padilla
page rendering) Fernando Padilla wrote: So I have an issue, and it's that the Form.validationDelegate Flash variable is being cleared too soon. I'll say that we don't have a normal usecase, but just wondering how you could help. The reason for the modified flow is because

flash variables being cleared too aggressively?

2008-10-31 Thread Fernando Padilla
So I have an issue, and it's that the Form.validationDelegate Flash variable is being cleared too soon. I'll say that we don't have a normal usecase, but just wondering how you could help. The reason for the modified flow is because we are embedding the site withing Facebook/OpenSocial. I'm

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Fernando Padilla
Is it failing while trying to handle a the returning url? Or trying to render the link to begin with? Can you give us the url that it generates ( before you click on it? ) if possible? Andy Pahne wrote: In my page class I build a List like this: public List getNavigationParameters(

Re: new URLEncoder Service

2008-10-29 Thread Fernando Padilla
that's what I was talking about :) And I was just wondering because we already have a mechanism to decorate a service (decorateService), and adding an "overrideService" syntax might be something to play with.. though as we've seen tapestry ioc contributions/configurations don't support overr

Re: new URLEncoder Service

2008-10-28 Thread Fernando Padilla
Just wondering if Tapestry-IOC will ever support something like "override" of services ( like alias )? Howard Lewis Ship wrote: Contribute a new implementation of URLEncoder to the Alias service configuration and Tapestry will use the contributed one instead of the default URLEncoder service.

Re: so much useless logging

2008-10-23 Thread Fernando Padilla
dispatch logging controlled by the Tapestry SymbolConstants.PRODUCTION_MODE flag? Should it be a separate app-wide flag? Should it be configurable on a class-by-class basis? I know I would prefer to be able to toggle it on the fly without a restart. Jonathan -Original Message- Fr

Re: so much useless logging

2008-10-22 Thread Fernando Padilla
Most people use Log4j, so I don't think suggesting "Markers" is a worthwhile suggestion. Second, though Log4j filters are an option, I really think that's an advanced solution that again, most users never have to deal with. Also it's totally wasteful of cpu, having tapestry do all of this log

Re: contributeComponentClassResolver

2008-10-21 Thread Fernando Padilla
But we did put them into a component library. :) The thing is that we had to change how a normal PageLink/EventLink works to be able to integrate with Facebook properly.. But in general, if I bring in a component library, but need to override a component, how can I do that.. without you say

how to override tapestry core components?

2008-10-20 Thread Fernando Padilla
I need to override the tapestry core components ( PageLink, EventLink ), within a library, not within an application. I created a library that all of our facebook apps use. We need to override the PageLink and EventLink components to be able to work within facebook properly (minimal features)

Re: so much useless logging

2008-10-20 Thread Fernando Padilla
oying but it only happens when the page is first loaded, subsequent requests will generate "cleaner" debug statements Toby 2008/10/18 Fernando Padilla <[EMAIL PROTECTED]> alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was not able to complain earlier

so much useless logging

2008-10-17 Thread Fernando Padilla
alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was not able to complain earlier.. Please help: but tapestry is just spewing TONS of debug, that I still don't see any easy way to turn off. Please help, this is just ridiculous! First the contribution system is broken

Re: contributeMetaDataLocator ordering....

2008-10-04 Thread Fernando Padilla
t;, etc. But that's just not cool, and what if I have 2 or three layers of users, and each wants to set/override the meta.. thank you for giving me something to read! :) -Filip On 2008-10-03 20:20, Fernando Padilla wrote: > can you tell me why you want to change the contributio

  1   2   >