Re: HUGE BUG - MEMORY LEAK IN TAPESTRY 3.0.3!!! - PLEASE SUPPORT

2005-06-20 Thread Michael Musson
On 6/17/05, Tomas Jucius <[EMAIL PROTECTED]> wrote: > But after a lot of resets jvm memory becomes full, and I get > "java.lang.OutOfMemoryError" This issue has been raised in a previous thread. It was found that setting the property disable-caching to true would eventually lead to an out of memor

Re: Tapestry and OutOfMemoryError

2005-05-31 Thread Michael Musson
I am definitely seeing this problem also. I have to finish code for a deadline, but tracking this down was next on my list. It does seem that the problem does not occur when disable-caching is false, but I need to make sure before this app goes into production for a large number of users. As for t

ListEdit problem inside another component

2005-05-27 Thread Michael Musson
Hi, I am trying to use a ListEdit inside another component (not directly in a page like the examples). I am running into a problem with my associated ListEditMap. The examples override pageBeginRender() to set up the ListEditMap. This method does not exist for components so I am using prepareForRe

Re: As a User, which two items would you personally most like to see in the next Tapestry Release?

2005-05-06 Thread Michael Musson
One example like what I think Patrick is saying is the evil browser back button. One benefit of pushing persistence to the form like .NET is that the "context" stays in sync with the browser (ie. I go back to a previous version of the page (now stale) but the embeded context is also stale (consiste

Re: Components to fry JSF and all other frameworks

2005-05-05 Thread Michael Musson
Personally I am excited about the prospects of HiveMind and Tapestry together. I am relatively new to Tapestry but I work on large systems. Tapestry in its current version is a nice web GUI. However, Tapestry + HiveMind starts to look like a powerful application framework for building big complicat

Re: Components vs Pages?

2005-05-05 Thread Michael Musson
On 5/5/05, Kunal Ashar <[EMAIL PROTECTED]> wrote: > ...if my app requires data to persist or be passed across sessions, would > pages be better suited than components? Pages and Components are View entities. They may need to track some light state, but the sort of data you seem to be describing b

Re: init something once

2005-05-02 Thread Michael Musson
Global was also a little bit of a problem for me because it doesn't know the context when it is created. On 5/2/05, Paul Ferraro <[EMAIL PROTECTED]> wrote: > Not quite - the global object is instantiated along with other engine > parts in AbstractEngine.setupForRequest(...). Although, as you corre

Re: ClassCastException in setupForRequest() [HELP...]

2005-05-02 Thread Michael Musson
Debugging class loader problems is not fun. Keep in mind that if the same class is loaded by two different class loaders, the two instances of the class are not considered the same by Java even though they are literally the same class. This is easier to do than it may seem on the surface. So in th

Re: Tapestry Enhanced Classes

2005-05-02 Thread Michael Musson
; Sent: Monday, May 02, 2005 9:36 AM > To: 'Tapestry users'; 'Michael Musson' > Subject: RE: Tapestry Enhanced Classes > > I could be wrong on this, but if you create properties for your page > class, then tapestry won't have to enhance it, will it? I&#x

Re: Tapestry Enhanced Classes

2005-05-02 Thread Michael Musson
the debugger in eclipse all the > time to debug Tapestry page classes. > > Richard > > -Original Message- > From: Michael Musson [mailto:[EMAIL PROTECTED] > Sent: Monday, May 02, 2005 8:31 AM > To: Tapestry users > Subject: Tapestry Enhanced Classes >

Tapestry Enhanced Classes

2005-05-02 Thread Michael Musson
I have a .page file that defines a property. Tapestry enhances my page class by adding a member and the getter/setters and some reset/seriallize on change functionality. This enhancement creates a new class with the auto-generated code. The generated class is causing all sorts of difficulties with

Re: automatically set element parameter in Foreach and ListEdit

2005-04-28 Thread Michael Musson
Or as a compromise: If the @Foreach is used on a span then have it work as-is. But if the @Foreach is used on a non-span then infer the element tag as suggested above. On 4/28/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > It is not always the case. I rarely use the element=".." attribute on > @Fo

Re: OGNL Voodoo

2005-04-26 Thread Michael Musson
I don't have any special knowledge of the OGNL implementation, but it seems that just wrapping a class to bolt on its accessors is not sufficient in the general case where the class is a descendant in a derivation hierarchy. What isn't clear to me is why ognl would need to do any type of wrapper o

Re: Cache control results?

2005-04-24 Thread Michael Musson
Yes, although the actual content of the control is quite lengthy and generated recursively, and using the IMarkupWriter is a nice convenience. If I go that route it would be nice to cache the writer or at least its internal buffer. But I wanted to make sure there is not a better way to do this sin

Cache control results?

2005-04-24 Thread Michael Musson
I have a control that must do some intensive calls in order to render itself. The actual content of the control will normally render unchanged from call to call. There are only a few well defined spots that could change the content of the control. Ideally I would like to have the control save a co