Re: T5.0.13: form problem

2008-06-12 Thread Weisu
Thanks Harald! It works now. Wei. Harald Geritzer-2 wrote: > > >> java.lang.ClassNotFoundException: caught an exception while obtaining a >> class file for org.apache.tapestry5.corelib.components.Form. > > if its the slf4j logger, which isn't found and you're using jetty try to > put a file ca

Re: T5 Components - Help with SidePanel

2008-06-12 Thread Filip S. Adamsen
Sven, you forgot the subtle Jedi hand movement. ;) -Filip Sven Homburg skrev: the parameter "closed" is not implemented. youre pleased to add an issue http://code.google.com/p/tapestry5-components/issues/list 2008/6/11 Marcus <[EMAIL PROTECTED]>: Hi, How can I configure t5components.SidePa

Re: T5 Components - Help with SidePanel

2008-06-12 Thread Sven Homburg
sorry, for a moment the jedi power was left my spirit 2008/6/12 Filip S. Adamsen <[EMAIL PROTECTED]>: > Sven, you forgot the subtle Jedi hand movement. ;) > > -Filip > > Sven Homburg skrev: > >> the parameter "closed" is not implemented. >> youre pleased to add an issue >> http://code.google.com/

Re: T5 t:renderObject and pageLink won't render link just text instead

2008-06-12 Thread Konstantin
Irony ... good :-) Thanks for trying to help me with my dumb questions. I simplified my first sample, let me make it more close to what I wanted: @Property private MyGridRowObject myObject; // public Object getMyDynaObject() { Link testLink; switch(myObject.type) {

T5.0.13 : Form submit not refreshing page anymore

2008-06-12 Thread Stephane Decleire
It seems that since i've upgraded my app on T5.0.13, an event like the one below doesn't refresh the page anymore : Object onSuccessFromMyForm() { ... return this; } Any clue ? Stephane

Creating a mixin on a component that is not a field

2008-06-12 Thread Lance Java
I'm trying to create a SortableTarget mixin on my own component but am not having any luck as yet. I have created a MixinAny component that implements ClientElement so I can attach mixins to an Any style component and get the client id. I have not been able to find any examples of attaching a mixi

Re: T5.0.13 : Form submit not refreshing page anymore

2008-06-12 Thread Stephane Decleire
Don't pay attention to this ... Sometimes, i do really stupid things ... ;-) Stephane Stephane Decleire a écrit : It seems that since i've upgraded my app on T5.0.13, an event like the one below doesn't refresh the page anymore : Object onSuccessFromMyForm() { ... return this; } Any c

How do you deal with dynamic fields

2008-06-12 Thread Eric BIANCHI
Hello List, My application use dynamic fields that I create on the fly in a loop. Problem is : If a field trigger an error, how can I highlight it correctly. I don't want to use the "per field onValidate mechanism" since all the values of the form have not been set yet and I want to do cr

Re: T5: BeanEditor component containing BeanEditor component

2008-06-12 Thread Kristian Marinkovic
Hi Howard, unfortunately it does not work at least as i am doing it :) could you take a look at the sample page below and verify whether i've done a mistake or there is a bug. As mentionend before the display of the beaneditor components works as expected but when is submit the page i get a s

Starting T4, what database layer to use?

2008-06-12 Thread James Sherwood
Hello all, Currently all our development is in T3(I know we are behind). The word has come down its time to upgrade. My question is, what technology works best with T4 as the layer between it and the database? Currently we use Torque with T3(behind again I know). I have been researching it a

Re: Starting T4, what database layer to use?

2008-06-12 Thread Filip S. Adamsen
Hi James, I'd recommend you skip T4 and go straight to T5 if you can live with it not being final yet. As far as I know the final release should happen sometime this summer, though. T5 is already quite mature, though - I've been using T5 in production for more than 7 months with only minor i

Re: Starting T4, what database layer to use?

2008-06-12 Thread 9902468
Hi, You really should skip T4. I've used both and must say that T5 is really much clearer and easier to work with. If you want to go serious with technology, you should probably look for Hibernate - Spring - T5 combo. For our latest project we decided to drop Spring, because T5 ioc offered every

Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Ciaran Wood
I¹ve noticed on a tapestry app that we are building, that if two users on separate machines go to the same page, the second user can see the first users submitted details on the form. We¹re just using a Form component, a model Object in the page class and declaring each of the properties as Œeditor

RE: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Kristian Marinkovic
could you post the source of your page and template? are you using https? http <-> https switches? we're already using T5 in production and never had this issues g, kris Ciaran Wood <[EMAIL PROTECTED]> 12.06.2008 16:03 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Qu

RE: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Cordenier Christophe
Actually, at the end of the request, each variable instance is set to its default value before giving the page instance back to the pool. Do you initialize the member at declaration time ? Can you us more code ? -Message d'origine- De : Ciaran Wood [mailto:[EMAIL PROTECTED] Envoyé : je

Re: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Ciaran Wood
Here's the code: public class Register { @Component private Form registerForm; @Persist("session") private Member member; @PageLoaded void pageLoaded(){ log.debug("member created"); member = new Member(); member.setCurrency("GBP");

RE: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Cordenier Christophe
PageLoaded is executed only once during the page pool instance creation. I Think it's the same as setting a default value to your member variable, and then the Form may always work on the same instance. Can you try something like this : @OnEvent("activate") void pageLoaded(){ lo

Re: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Ciaran Wood
Excellent, that solved the problem. Thanks very much! Ciaran On 12/06/2008 3:52pm, "Cordenier Christophe" <[EMAIL PROTECTED]> wrote: > @OnEvent("activate") - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Question about T5's page lifecycle - instance variables NOT being purged

2008-06-12 Thread Cordenier Christophe
For information, I think that the PersistentFieldManager is told of a modification only when you do a 'new'. In your exemple, the Form is changing the properties of an existing bean. The 'new' is called before the page is attached to the user request. The 'new' must be called after 'PageAttached

Re: Re: T5 t:renderObject and pageLink won't render link just text instead

2008-06-12 Thread nille hammer
Hi Konstanin, I don´t think Filips post was irony. It really is simple. Anyway answering your question: Simply returning a component from a getter (in your case a Link from getMyDynaObject) won´t cause tapestry to render it. For a component to be rendered you have to place it somewhere in the

Re: T5 Questions

2008-06-12 Thread Robert Zeigler
Yes, that's correct for the custom editor. Have a look, for example, at: http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html Under the section "Adding new property editors". If you need a "display", you can similarly add a contribution to BeanBlockSource for your data-type

T5 UTF8 encoding

2008-06-12 Thread maxthesecond
-- View this message in context: http://www.nabble.com/T5-UTF8-encoding-tp17804815p17804815.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Estevam Henrique Portela Mota e Silva
Good Afternoon, Who knows the problem of tomcat on the server. Tomcat's war have 17 in my company Memory (Initial memory pool: 512mb and Maximum memory pool: 1024mb) Version: --> Tomcat 5.5.26 --> JDK 6_05 Server: --> Gigabyte, Core 2 Duo and Memory 2 gb (motherboard has maximum of

Re: Re: T5 t:renderObject and pageLink won't render link just text instead

2008-06-12 Thread Konstantin
Thanks for trying to help me. And as I said I managed to get what I want by creating custom component. With markup like: ${simpleDescription} and appropriate backing class. But it looks like I'm back to here ... Ideal solution for my needs would be: And Java class wi

Re: 答复: 答复: 答复: About refresh action of grid component

2008-06-12 Thread Marcus
Have you checked the content of allCustomers list after call the method customerManager.getCustomersByKey(searchKey)? Marcus

T5 UTF8 encoding

2008-06-12 Thread maxthesecond
After some work I've achieved to be able to store and retrieve my foreign caracters, but know poor of me I've tried to add a link to a textbox, like: input text box content: Hello Box speciall caracters test ñáòú link test www.google.com click to search in google When this input box is sumb

Re: T5 t:renderObject and pageLink won't render link just text instead

2008-06-12 Thread Filip S. Adamsen
Hi there, I wasn't being ironic at all. (Nor am I now.) It still looks to me like you only need a PageLink. It has three parameters that you should use: page, context, and disabled. Page is the page name, context is a list/array of context parameters, and disabled decides whether to render a

Re: T5 UTF8 encoding

2008-06-12 Thread Filip S. Adamsen
Hi, ${} expansions in T5 are filtered, that's your problem. You need to use the Output component with filter="false" or the OutputRaw component to output the value if you don't want it to be filtered. -Filip On 2008-06-12 20:21, maxthesecond wrote: After some work I've achieved to be able t

Re: Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Filip S. Adamsen
Hi, I think you'll have better luck getting an answer on the Tomcat users list. :) -Filip On 2008-06-12 19:06, Estevam Henrique Portela Mota e Silva wrote: Good Afternoon, Who knows the problem of tomcat on the server. Tomcat's war have 17 in my company Memory (Initial memory pool: 512mb a

Re: Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Norbert Sándor
Try to set some more memory for permgen space, eg. /-XX:MaxPermSize=128m/ in case of Sun's JVM. The correct value depends on the environment, you can use for example JConsole to diagnose the JVM. Regards: Norbi Estevam Henrique Portela Mota e Silva írta: Good Afternoon, Who knows the problem

Re: T5 UTF8 encoding

2008-06-12 Thread maxthesecond
Thanks, one more time. What I did is to add the following parameter to my grid component Unfortunatelly with no succes. Things I've observed: 1) If I change the "namewDescriptionCell" to whatever I get the same result 2) If I change tha value=

Re: T5 UTF8 encoding

2008-06-12 Thread maxthesecond
Sorry again I finally make it work, the problem was in the name parameter ,it's a little bit strange but in some cases you have to write: and in others Anyway now working! -- View this message in context: http://www.nabble.com/T5-UTF8-encoding-tp17806489p17808284.html Sent from the Tape

Question About BeanEditForm

2008-06-12 Thread 滕训华
When I put a beanEditForm component in my tml file as following: And in page class public class EditCustomer { @Persist private TblMenuItem customer; public TblMenuItem getCustomer() { return customer; } public void setCustomer(TblMenuItem cus

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-12 Thread zack1403
Hi Christian, I like the thought of some eclipse helper actions for tapestry 5 development! I installed your plugin but the shortcut isnt working. With a tml open I should just be able to press CTRL-ALT-x right? Thanks, Zack Christian Scheid wrote: > > Hey list, > > i created a tiny plugin

[T5] javassit exception? I have no idea...

2008-06-12 Thread zack1403
Anyone know what to make of this error? It showed up out of nowhere and it wont seem to go away :\ Is it an issue with tapestry or my environment (Ubuntu 8, java 1.6)? Thanks in advance, Zack org.apache.tapestry5.internal.services.RenderQueueException: Render queue error in BeginRender[survey/I

Re: [T5] javassit exception? I have no idea...

2008-06-12 Thread 9902468
If possible please attach also the page (Add.java) and corresponding template. -99 zack1403 wrote: > > Anyone know what to make of this error? It showed up out of nowhere and > it wont seem to go away :\ Is it an issue with tapestry or my environment > (Ubuntu 8, java 1.6)? > > Thanks in a

RE: Question About BeanEditForm

2008-06-12 Thread Kristian Marinkovic
correct... the BeanEditForm requires that the bean has a no-arg constructor. If your bean is null the BeanEditForm will instantiate the bean for you. when you don't have a no-arg constructor the component cannot know what data to use to instantiate it. BTW. Hibernate also requires that your en

Re: Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread 9902468
Hi, We had same symptoms with 5.5.25 using T4 during _development_. Our case was identified that the live class loading resulted in that error once the app got big enough. The live reloading is somewhat broken anyway in Tomcat, so we moved to Glassfish in our next project as the development serve