Re: PageRenderLinkTransformer: transforming link to seo-friendly version (with no pagename in url)

2011-06-07 Thread gbrits
OK got myself on the wrong track: I thought I needed to create a new Link using Link l = this.pageRenderLinkSource.createPageRenderLink("seofriendly-stuff"); ... but the following works: public Link transformPageRenderLink(Link defaultLink,PageRenderRequestParameters parameters) { return defau

PageRenderLinkTransformer: transforming link to seo-friendly version (with no pagename in url)

2011-06-07 Thread gbrits
So here's the thing: I've got a url: host/pagename/seo-friendly-stuff/id I'd like to transform this url (using PageRenderLinkTransformer.transformPageRenderLink) to: host/seo-friendly-stuff/pagename-id However, trying this I get the error: "Unable to resolve 'seo-friendly-stuff' to a known pa

T5: auto-combining css

2010-11-23 Thread gbrits
Hi , like JS I would like to be able to auto-combine css-stylesheets. Does anyone have an example of how to correctly do this? I quickly tried to do something on my own, overriding DocumentLinkerImpl and effectively mimicking the combination-code for JS (see below) Although the resulting cs

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-29 Thread gbrits
Thanks, but I don't see how that helps. I don't have any conflicting libraries (no prototype, etc. ) just want to make sure the got jquery impl. doens't autoload it's small jscripts, when Ive already included the entire aggregated script to begin with. 2010/10/29 ael [via Tapestry] > > http://d

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread gbrits
a component can contribute to the > corejavascriptstack. > > françois > > 2010/10/28 gbrits <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3241210&i=0>> > > > > > > I've ported my app (t5.1) to use jquery using Got jquery > >

how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread gbrits
I've ported my app (t5.1) to use jquery using Got jquery (http://github.com/got5/tapestry5-jquery/issues) which works very good. However, in the past (when using the regular prototype stack) I supplied my own ClientInfrastructure (using decorateClientInfrastructure) to strip the small javascript

t5: GOT JQuery inplementation fails in extending Tapestry object in IE7

2010-10-23 Thread gbrits
Just as a heads up: I noticed some weid behavior (Tapestry.onDOMLoaded not recognized as a function-error, and other stuff) in IE7. I tracked it down to a syntax-error (excessive comma) in tapestry-jquery.js This breaks the entire client-side tapestry-extension magic in IE7 (and probably other

Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
for people that might run into this: I didn't know that ElementEffect was the prototype way of handling things, jquery handles effects differently. Moreover, it's best practise to observe Tapestry.ZONE_UPDATED_EVENT instead of misusing an effect which is only meant for visual purposes. The pro

Re: T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-22 Thread gbrits
a ui.tapestryZone widget > > So, you need to modify the update function of the widget > to lookup functions in the Tapestry.ElementEffect namespace > and have them run. > > On Thu, Oct 21, 2010 at 21:58, gbrits <[hidden > email]<http://user/SendEmail.jtp?type=node&node=

T5: porting to Got5-JQuery > how to use former Tapestry.ElementEffect ?

2010-10-21 Thread gbrits
I'm porting my tapestry application to jquery using Got5-JQuery and it looks great! One thing I can't figure out though: tapestry allows registering callbacks on zoneupdates, etc. using: Tapestry.ElementEffect. e.g for illustration purposes I had: Tapestry.ElementEffect.updateavailtrigger