Re: Best practice, Links in components.

2006-01-30 Thread Markus Eberle
events and such. > > Now to my question, what is the best way to create links to other pages > (from within the component) for example to a EditEvent page to edit a > particular event. I want to call the EditEvent page from within > the renderComponent() method, and also pass one or sev

Re: Tapestry 4.0 is NOT Java 1.3 compliant

2006-01-13 Thread Markus Eberle
but i just dont see a reasen why not > to choose the most recent, most safest java version... -- Markus Eberle TNG Technology Consulting [EMAIL PROTECTED] http://www.tngtech.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Home causes IE to launch Acrobat Reader

2006-01-03 Thread Markus Eberle
ontent-type is sent? Just in case: Are your sure, the user, who sent the screenshot is not kidding you? Cheers, Markus -- Markus Eberle TNG Technology Consulting [EMAIL PROTECTED] http://www.tngtech.com - To unsubscribe,

Re: Effectively Disabling a TextField Input

2005-12-29 Thread Markus Eberle
t; value="ognl:dataBean.account" size="40" > > > > readonly="true"/> > > > > > or > > > > > > > value="ognl:dataBean.account" size="40" > > > > onKeyUp="javascript:this.value='&

Re: Effectively Disabling a TextField Input

2005-12-28 Thread Markus Eberle
abling a text field using tapestry, the returning value is not evaluated (afaik). In order to perform your task, you should use javascript to disable the text field on page-load and do the popup-search/fill-in. Cheers, Markus -- Markus Eberle TNG

Re: java.lang.OutOfMemoryError: PermGen space

2005-11-28 Thread Markus Eberle
number of classes. I've got less than 50 classes right now for > > all components, pages and business logic but I'm still getting that error. > > > > Perhaps this PermGen space error is because of a large number of enhanced > > classes? Or perhaps "hot code r

Re: JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Markus Eberle
D] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > Home page : > http://uk.geocities.com/matmsh/index.html > > > > ___ > To help you stay safe and secure online

Re: Tapestry Programmer wanted

2005-07-12 Thread Markus Eberle
Quoting Vadim Pesochinskiy <[EMAIL PROTECTED]>: > What is Picasso? Thanks. Codename for Tapestry 4 Cheers, Markus -- Markus Eberle TNG Technology Consulting [EMAIL PROTECTED] http://www.tngtech.com - To unsub

Re: Look Mom, No Page Specification File!

2005-07-06 Thread Markus Eberle
u are doing) This are only my thoughts, as up to now i have not found an useful application for annotations in my project :-) Cheers, Markus -- Markus Eberle TNG Technology Consulting GmbH [EMAIL PROTECTED] http://www.tngtech.com -

Re: SMTP from tapestry

2005-06-30 Thread Markus Eberle
Quoting Daniel M Garland <[EMAIL PROTECTED]>: > > Hi all, > > How do I go about sending email from a tapestry page? Like from any other Java program, just use Java Mail :-) Cheers, Markus - To unsubscribe, e-mail: [EMAIL PR

Re: [ANNOUNCE] Tapestry 4.0-beta-1

2005-06-28 Thread Markus Eberle
Quoting Vjeran Marcinko <[EMAIL PROTECTED]>: > - Original Message - > From: "Luc Peerdeman" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, June 28, 2005 8:51 AM > Subject: Re: [ANNOUNCE] Tapestry 4.0-beta-1 > > > > Hi, > > > > I don't quite understand what the problem is that some people have

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

2005-06-21 Thread Markus Eberle
Hi, this problem is common to Tomcat, as the problem is in the classloader, some thoughts about this can be found at http://www.patrickpeak.com/page/patrick/20050614#your_web_app_is_leaking Cheers, Markus > Hello, > > I've also run into this problem during development AND on our live > produ

RE: Border vs Tiles

2005-06-06 Thread Markus Eberle
Zitat von Andrey Tkach <[EMAIL PROTECTED]>: > Thank you. Solution turned out to not so simple like in Tiles or using > . I need to write custom component for each part of the page. Well a custom component is not more complex than a jsp, that could be included, as the jsp still requires the logic.

RE: Tapestry and OutOfMemoryError

2005-06-01 Thread Markus Eberle
Looking at http://java.sun.com/docs/hotspot/gc/index.html (Other considerations) you seem to be right. To delay the OOME you have to set the -XX:MaxPermSize option (default is 64m) (http://java.sun.com/docs/hotspot/VMOptions.html). But the OOME will occur anyway, as der permanent heap gets filled u

Re: Tapestry and OutOfMemoryError

2005-05-31 Thread Markus Eberle
;you, I'm suspecting that it has something to do with tapestry debug mode > >(caching.disabled=true), because it works *endless* as you said when set > >to "false", and errors out when set to "true". Would be good to know :) > > > >Thanks much!

RE: Tapestry and OutOfMemoryError

2005-05-31 Thread Markus Eberle
as something to do with tapestry debug mode > (caching.disabled=true), because it works *endless* as you said when set > to "false", and errors out when set to "true". Would be good to know :) > > Thanks much! > > -Original Message- > From: Markus Ebe

Re: Tapestry and OutOfMemoryError

2005-05-31 Thread Markus Eberle
> >When the J2EE server is run with the JVM arguments > >-Dorg.apache.tapestry.disable-caching=true, does tapestry keep creating > >objects and not Garbage collect them? When I have the argument set, I > >get OutOfMemoryErrors when developing my code after working with my web > >application for abo

Re: Calling into Tapestry from External URL

2005-05-25 Thread Markus Eberle
Hi, Take a look at the IExternalPage interface. If your page is implementing this you are able to call the page from your flash. Cheers, Markus Zitat von Tim Sawyer <[EMAIL PROTECTED]>: > Hi, > > I'm new to Tapestry (struts developer *shudder*) and I'm trying to build an > MIS console with

Re: [OT] Web apps should be structured to reflect domain?

2005-05-22 Thread Markus Eberle
Hi, we mostly use something like com.company.app.tapestry.pages.user com.company.app.tapestry.pages.messages com.company.app.tapestry.components.user com.company.app.tapestry.components.messages so you see what the tapestry part is and could there choose from the domain part. Cheers, Markus

Re: Hibernate + Spring: LazyInitializationException

2005-05-20 Thread Markus Eberle
But if i am putting the hibernate-session into the http-session and the user starts to "click" around in a second window, how do i decide, when to close the hibernate-session, as suddenly there are two or even more "transactions" associated with it? Zitat von Jacob von Eyben <[EMAIL PROTECTED]>:

Re: Hibernate + Spring: LazyInitializationException

2005-05-18 Thread Markus Eberle
Zitat von Didier LAFFORGUE <[EMAIL PROTECTED]>: > > I think that the LazyInitializationException occurs when you try to access a > property of your object outside the hibernate session. > In fact, imagine you have 2 mapped objects: employee and company => in this > example, an employee has only on

RE: HTML in response stream

2005-05-17 Thread Markus Eberle
The last time i have tried using the XML transformation capabilities of the different browsers is atleast one and a half year old, but at this point the transformation took quite some time until the user was able to see the result. So at this time we switched back to server-side transformation. Ch

RE: Tapestry's Simplicity Blues

2005-05-12 Thread Markus Eberle
Zitat von Patrick Casey <[EMAIL PROTECTED]>: [...] > But, and here's where .NET and I parted ways, it doesn't have a lot of > features to make the *hard* stuff simple. Want an abstract object > persistence layer like Hibernate? So sorry, roll your own, or use a thin > resultset wrapper like ADO. W

Re: Reload button causes wierd behavior

2005-04-29 Thread Markus Eberle
On Friday 29 April 2005 11:53, david joffrin wrote: > Hi, > > Let me summarize all the thread again: EnterOffer page -> > EnterOfferConfirmation page -> OwnOffer page. All those transitions are done > through the Submit component and those access methods. > Sample of the transition EnterOfferCon

Re: Reload button causes wierd behavior

2005-04-29 Thread Markus Eberle
How is the onDoSthg method invoked? A submit from the browser? If this is the case, the reload button of the browser resends the last post request, which was necessary to create the page. On Friday 29 April 2005 11:35, david joffrin wrote: > Hi, > > Just tried and looked in my debugger... but I g

Re: If we call it Tapestry 4.0, not 3.x, Maybe we would do much

2005-04-22 Thread Markus Eberle
On Friday 22 April 2005 16:43, Justin Morgan wrote: > Erik Hatcher writes: > >> Hungarian notation does have its uses. > > Bah! Not in Java it doesn't. > > I write: > Agreed. One of the great things about Java is that it eliminates the > need for Hungarian notation. > > Even in plain old Jav

Re: tapestry bug?

2005-04-22 Thread Markus Eberle
On Friday 22 April 2005 10:30, news.gmane.org wrote: > I write a table to list all record in a ArticleList page , and use > ArticleEdit page to edit a record ( record A ),every thing is ok; but if > I user IE 6 to open a new window(IE6 menu ->File ->new winodw) to view an > nother record ( reco

Re: Help with component expression

2005-04-15 Thread Markus Eberle
Thanks > Frank > - Original Message ----- > From: "Markus Eberle" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Friday, April 15, 2005 11:00 AM > Subject: Re: Help with component expression > > > > oh well, it seems that your "getSess

Re: Help with component expression

2005-04-15 Thread Markus Eberle
t; |+> > > > > > > >------| > > | > > | > > | To: "Tapestry users" > &

Re: Help with component expression

2005-04-15 Thread Markus Eberle
No, you don't have to rename it, is ok so. Have you tried to rename in to with a lowercase "author". On Friday 15 April 2005 16:06, Frank wrote: > Here is my code from the tutorial > > // Return the model of the table > public ITableModel getAuthorTable() throws HibernateException > { >

Re: Help with component expression

2005-04-15 Thread Markus Eberle
On Friday 15 April 2005 16:00, Frank wrote: > Hello, I have the following in Home.Page: > > > > > > Web server reports: > > Unable to resolve expression 'AuthorTable' for [EMAIL PROTECTED] > > I do not understand what is wrong. What does AuthorTable mean? Your page class

Re: how to create new page instance - not to get page from pool in request cycle if page exist?

2005-04-13 Thread Markus Eberle
Quoting Bocko <[EMAIL PROTECTED]>: > Hi, > > I would like to create new page instance regardless of engine page pool. > More precise I need from pageLoader to create me always new page - not to > get page from pool. Is this possible? > > Detailed explanation: > In my app is link to open new windo

Re: Encoding a URL within a URL as a parameter

2005-04-04 Thread Markus Eberle
Hi, to simply encode the string use: org.apache.commons.codec.net.URLCodec _urlCodec = new org.apache.commons.codec.net.URLCodec(); String encoded = _urlCodec.encode(dataToEncode, "UTF-8"); HTH Markus On Monday 04 April 2005 16:33, Joshua Long wrote: > Whats the easiest way to encode a

Re: Page redirect from pageBeginRender method?

2005-03-31 Thread Markus Eberle
Hi, what about throwing a [Page]RedirectException? This should solve your problem. Bis denne dann, Markus On Thursday 31 March 2005 12:46, Bocko wrote: > Hi, > > Problem is that my component could not throw pageRedirectException or use > cycle.activate("page") in method pageBeginRender