Re: Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-24 Thread ownedthx
onent. The only thing odd (and it's not that odd, because I've done it before), is that the page and the component have the same name: 'browse'. Is there something else in the works here, such as Javaassist, that might be the cause for the seg fault? Regards, Seth owned

Re: Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-24 Thread ownedthx
And again, an interesting tidbit: I only get this when I attach a debugger to my web container (Jetty). I'm using the Intellij IDEA. It's still very vexing... making it obviously much harder to debug. Just wish I knew where to even look. ownedthx wrote: > > I got hit

Re: Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-24 Thread ownedthx
9 21:52:42 -0300, ownedthx > escreveu: > >> And again, an interesting tidbit: I only get this when I attach a >> debugger to my web container (Jetty). I'm using the Intellij IDEA. > > A segfault that only happens during a debug session looks like a JVM or > IDEA

Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
Hi all, Tapestry doesn't allow nested components. Ok, no problem. However, there is a situation where, say in component A's template, that I want to define a block which has a reference to component A--but I'll only call that component in a Zone update via Ajax. In other words, there isn't act

Re: Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
ent as the response to a render phase method. That should also avoid recursion detection. Just have to try I guess. Seth ownedthx wrote: > > Hi all, > > Tapestry doesn't allow nested components. Ok, no problem. > > However, there is a situation where, say in compone

Re: Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
able to do this, since I'm not actually doing recursion. It's like I want a: ownedthx wrote: > > The injected page 'trick' probably is not going to work. the action > attribute of the form, unsuprisingly, points back to the path of that > injected page; not wh

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
I've tried everything I can think of. Opened a feature request on Tapestry: https://issues.apache.org/jira/browse/TAPESTRY-2752 ownedthx wrote: > > Tried using a mixin on the zone returned. I wanted to see if I could just > return my component on BeforeRenderTemplate. I guess

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
; With a bit more information about the specific details of what you're > trying to accomplish, the list might be able to propose a solution > that will work for you. > > Cheers, > > Robert > > On Sep 20, 2009, at 9/205:01 PM , ownedthx wrote: > > > > >

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
your including A => B => A, does > that mean you have a nested form?? > With a bit more information about the specific details of what you're > trying to accomplish, the list might be able to propose a solution > that will work for you. > > Cheers, > > Rober

Re: Avoiding recursion detection in ajax situations.

2009-09-22 Thread ownedthx
fields), so that I can intercept the store() method, in which I return the ajax page's component instead of the injected pages component, so that t:formdata hidden field 'points' to the ajax page's form and not the injected one. Not alot of code, but a ton of work and investigat

In Ajax request to component causing another component a chance to render

2009-05-18 Thread ownedthx
Here's my scenario... I want to create a component with an embedded form that has a textfield, and on submit, fires an Ajax request to the component. However, I have this idea that I'd like to let this component fire a custom event (using triggerEvent) back up to the page, and the page could te

Re: In Ajax request to component causing another component a chance to render

2009-05-18 Thread ownedthx
here are less common usecases why this would be useful for more traditional web apps. Seth Thiago H. de Paula Figueiredo wrote: > > On Mon, May 18, 2009 at 12:47 PM, ownedthx wrote: >> One note: I'm avoiding using zone updates to >> orchestrate this cross-component behavior,

Re: In Ajax request to component causing another component a chance to render

2009-05-18 Thread ownedthx
onent: Search Results component: ... loop over property 'searchTerm' Thanks much Thiago, Seth Thiago H. de Paula Figueiredo wrote: > > Em Mon, 18 May 2009 13:44:05 -0300, ownedthx > escreveu: > >> Let me try an example. Take a pretty ri

Serializing a component as the value of a textarea

2009-06-02 Thread ownedthx
Hi all, I have a model that is a tree structure, which I've modeled in Tapestry as each node being a Component. (I have many possible node types, each with their own Component, possibly containing n children of other of these node components). When I include this tree-structure component directl

Re: Serializing a component as the value of a textarea

2009-06-03 Thread ownedthx
//tapestry.formos.com/nightly/tapx/tapx-templating/). > Basically you'd want it to render your component structure into a String > or some other object and > bind that as a value to your textfield. > > HTH, > > Uli > > ownedthx schrieb: >> Hi all, >>

Stuck on implementing recursion (or something like it) cleanly

2009-06-05 Thread ownedthx
Yesterday I opened a feature request for recursive components, https://issues.apache.org/jira/browse/TAP5-739, and had it closed for the reasons described there (basically, 'not possible'). First of all, thanks Thiago for taking the time to describe the issue and the pointer to a technique as a w

Re: Stuck on implementing recursion (or something like it) cleanly

2009-06-06 Thread ownedthx
Thanks for responding Denis, Your approach (markup writer approach) will get the HTML out and to the client, but it still doesn't help much with problems #1 and #2, right? As an update to the list, I'l explain what we are having to do to get at least close to achieving #1 and #2. You'll se

Re: Stuck on implementing recursion (or something like it) cleanly

2009-06-06 Thread ownedthx
learned to turn it off... Anyway, thanks all, Seth ownedthx wrote: > > Yesterday I opened a feature request for recursive components, > https://issues.apache.org/jira/browse/TAP5-739, and had it closed for the > reasons described there (basically, 'not possible'). > > Fir

Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-07 Thread ownedthx
Hey there, I am trying to use PageRenderLinkSource by Injecting it into a component, and then using it in a property getter, like so: @Inject private PageRenderLinkSource linkSource; public String getDetermineURL() { org.apache.tapestry5.Link link = linkSource.createPageRenderLink("Star

Re: Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-07 Thread ownedthx
.Link link = linkSource.createPageRenderLink("Start"); link.addParameter("test", "blur"); return link.toString(); } If I comment out link.addParameter(), no segfault. Leave it in, segfault. ownedthx wrote: > > > Hey there, > > I am trying to use PageRenderLinkSo