Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
4) page 1 is rendered once more. > > > So I'm a little confused.. since you mention another event? > > What does your "editMe" event handler method return? null? A block? a > page name? It should also cause a full redirect to render the full page > ( so you sho

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
it before and give you a warning. You probably have tapestry setup > to render the page on the same request as the form submits ( instead of > returning a redirect ). > > > Is this enough info to get you started hunting? > > > > Dude.Checkitout wrote: >> F

Re: How to override Tapestry's DocumentLinker ?

2009-02-02 Thread Dude.Checkitout
Can anybody throw some light on this issue? I am stuck and not moving forward... Dude.Checkitout wrote: > > Fernando, need your expertise help! I thought the following trick > configuration.add( "CustomDocumentLinker", mydoclinker, > "after:DocumentLinker,before:

Re: How to override Tapestry's DocumentLinker ?

2009-01-31 Thread Dude.Checkitout
Fernando, need your expertise help! I thought the following trick configuration.add( "CustomDocumentLinker", mydoclinker, "after:DocumentLinker,before:RenderSupport" ); worked. Looks like it is not working in all conditions. It runs fine for a while, then out of nowhere I start getting the sa

Re: multiple IoC Registries

2009-01-30 Thread Dude.Checkitout
this issue and so we are > left with this kludge. > > If you have only one Tapestry application deployed in your server, or > you never serialize a service proxy (the latter being a rather rare > occurance) then you can ignore the warnings. > > On Fri, Jan 30, 2009 at 7:40

multiple IoC Registries

2009-01-30 Thread Dude.Checkitout
Getting the following error when refreshing/redeploying the web application in JBoss. "[org.apache.tapestry5.ioc.internal.SerializationSupport] Setting a new service proxy provider when there's already an existing provider. This may indicate that you have multiple IoC Registries." For maintenance

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Dude.Checkitout
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

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Dude.Checkitout
Figueiredo wrote: > > Em Thu, 29 Jan 2009 14:42:47 -0300, Dude.Checkitout > escreveu: > >> I created my own CustomDocumentLinker extending from the tapestry >> DocumentLinker and modified the code to fit our needs. But I have no idea >> how to make Tapestry to use

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Dude.Checkitout
e to it), that's why we declared "before:RenderSupport", to make > sure the MarkupRenderer order is still correct. > > public void contributeMarkupRenderer( > OrderedConfiguration configuration ) { > configuration.override( "DocumentLinker", new CustomDocumentLin

Re: How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Dude.Checkitout
nce 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.Checki

How to override Tapestry's DocumentLinker ?

2009-01-29 Thread Dude.Checkitout
We have a requirement of tml file being delivered without as the root context. As I read the tapestry source, this validation is done in the DocumentLinker. In contributeMarkupRenderer method: MarkupRendererFilter documentLinker = new MarkupRendererFilter() { public v

shows only one top level element

2008-10-14 Thread Dude.Checkitout
According to the http://tapestry.apache.org/tapestry5/guide/templates.html page element is used for displaying multiple top level components. I tried the following code in my tml file: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> First Div! Second Div! Third

T5:Service defined in jar file not available

2008-08-26 Thread Dude.Checkitout
I need help in creating common set of services available for all of our T5 projects. I followed the rules for creating my own component library. In service package of this library, I created a "XXmodule" class and binded services that I want to expose to all other projects. binder.bind(MySer

Re: T5: RequestDispatcher to include Tapestry5 Pages

2008-07-11 Thread Dude.Checkitout
Any pointers on how to do this? Dude.Checkitout wrote: > > > Trying to include Tap5 pages from another J2EE War Servlet/JSP. Using > RequestDispatcher to include the tapestry5 page. It keeps complaining > that the tap5 page does not exist. > > If I try the same URL

T5: RequestDispatcher to include Tapestry5 Pages

2008-07-10 Thread Dude.Checkitout
Trying to include Tap5 pages from another J2EE War Servlet/JSP. Using RequestDispatcher to include the tapestry5 page. It keeps complaining that the tap5 page does not exist. If I try the same URL in browser, it works fine. There were some threads in the forum about this. But nothing worked.