delete confirm

2008-06-13 Thread tengxh
In list there is a column with the delete funtion,but i want to user confirm the action,in other word,I want to have a confirm window "do you really delete this record",in t5,how to do this,give some idea,thanks.

Re: T4.1.5 - BeanForm Throwing Exception during HTTP POST rewind of Form component

2008-06-13 Thread Andreas Andreou
Didn't find anything weird :) Try excluding more of your pojo properties until you find which one causes this... Also, try the properties parameter as described at http://tacos.sourceforge.net/tacos4.1/beanform/component-reference.html instead of the exclude one On Sat, Jun 14, 2008 at 5:24 AM,

Re: T4.1.5 - BeanForm Throwing Exception during HTTP POST rewind of Form component

2008-06-13 Thread Andreas Andreou
So, you're saying that when you're creating a new bandPojo it works, but when you're editing an existing one it fails? I'm taking a look at the error messages + the beanform templates to see why this is happening - is it possible to try T4.1.6-SNAPSHOT and OGNL-2.7.3 in the meantime (just in case)

T4.1.5 - BeanForm Throwing Exception during HTTP POST rewind of Form component

2008-06-13 Thread lenards
Hello all, I'm having an issue with BeanForm (version 0.9). I have a feeling it's something I'm missing - but I've done about all the research and probing I can think of to no avail. The particulars - I'm executing in Jetty 4.2.27 (old, I know - but it seems rather trusty) on ubuntu linux. My t

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

2008-06-13 Thread Estevam Henrique Portela Mota e Silva
today at work I was looking for a mistake adnd Isaw that the memory was being full. The tables were making the memory full. I believe that I am having problems with the aplication. How do I erase the memory and have it full? I believe that its a persistence on the memory. I used the probe to find o

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread Christian Scheid
I changed the shortcut configuration for the switch file feature and now it works for me on my osx and windows machine using ctrl+alt+x. Would be glad if someone could give it a go to see if the new shortcut binding works well for you. The fix is available in version 1.0.2 which is available throug

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread Christian Scheid
Hey Zack, yes the action is supposed to switch from any template file to the according java class file no matter if that file was open before or not. So it works for you when you click the action from the menubar, right? I think i will have a look if i can modify the shortcut so that it is ctrl+al

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

2008-06-13 Thread Javier Sanchez
This is also a nice resource from Sun: http://java.sun.com/performance/reference/whitepapers/6_performance.html JAVIER SANCHEZ EDESA S.A. On Fri, Jun 13, 2008 at 9:06 AM, 9902468 <[EMAIL PROTECTED]> wrote: > > Hi, > > @Persist annotation is bad for scalability and should be avoided where > possib

RE: About save data into table with hibernate

2008-06-13 Thread Jonathan Barker
You should include more information in your post: T5 version, Hibernate version, relevant code. >From your getHibernateTemplate(), it looks like you might be using the Spring hibernate integration. Disappearing information in this case is likely the result of mis-configured Spring transaction ma

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread Daniel Jue
I am using the plugin under Ganymede M7 on Windows XP. The navigate-> menu optio n works there, however the binding is showing up as Alt + x, which does not work. I changed the binding to Ctrl+Alt+X, and now it works fine! This is a great plugin for me, because my packages are nested very deep a

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread zack1403
Ah there it is! I am running ubuntu which looks like it turns the shortcut into Alt X which unfortunately opens the XML menu instead of switching to the page. Also, is it supposed to switch from the page to the template? Because it doesnt seem to work there even though there is no xml menu :\ It

Re: Tapestry 5.0.11 - Selecting elements causes Exception in ValueEncoderSource

2008-06-13 Thread nille hammer
Hello Tommy, rewrite to If you explicitly name a model (t:model="option"), it has to be an implementation of org.apache.tapestry.SelectModel. Your Enum "Option" apparently is not an implementation of that. That causes the exception I think. For Enums it is not necessary to explicitly name a

About save data into table with hibernate

2008-06-13 Thread tengxh
I use the getHibernateTemplate().saveOrUpdate(obj) to save the data,inputing with beaneditform component of T5.After i click the create/update button ,i query the table with sql analyse tool immediately,the new data exists,but after a while ,the new data will lost.How can i save the new data int

Component is null in mixin

2008-06-13 Thread Lance Java
My last post did not get a response so perhaps including some code might help. I have a mixin which I attach to a custom component but the component is null in the afterRender method of my mixin It appears that @InjectContainer is not working... is there something I need to add to my component? (M

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

2008-06-13 Thread 9902468
Hi, @Persist annotation is bad for scalability and should be avoided where possible. Of course, this cannot be always done. If it is known that only couple of users uses the page (Admin console or something.) then you can persist larger objects to session. And you don't need to have that user o

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

2008-06-13 Thread zack1403
Hi Peter, Thanks for your help. Didn't know the two issues were one in the same. Damn you javassist! Zack Peter Stavrinides wrote: > > Hi Zack > > These are well known issues with Javassist and JDK 6, see: > > http://www.nabble.com/TransformationException-ClassNotFoundException-td17156180.

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

2008-06-13 Thread Kristian Marinkovic
That is not the case! the jvm uses the PermGenSpace to store the classes meta-information (eg. needed for reflection). everytime Tapestry reloads and enhances a page a new class is generated and its meta-information gets stored in the PermGenSpace. Even if the same page class has been enhanced b

Getting non-embedded components in the component model?

2008-06-13 Thread Dan Adams
Looking at ComponentModel it doesn't seem as though there is a way to get components defined in the template, only those embedded with @Component. Is there another way to do it? Dan Adams Senior Software Engineer Interactive Factory p: 617.235.5857 -

Tapestry 5.0.11 - Selecting elements causes Exception in ValueEncoderSource

2008-06-13 Thread Tommyboy66
Hello, i have to upgrade a Tapestry-Project from Vers. 5.0.6 to 5.0.11 and now there are several problems with some components. For example, i want to select items from a dropdown field. The code in the older Tapestry-Version works fine, but now i get an exception in ValueEncoderSource which i c

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

2008-06-13 Thread Marcelo Lotif
Hi guys, I had some problems like this too, and i want to know from you, tapestry experts: Do you think that the wrong usage of @Persist annotation can cause problems like this? If we have more things to "persist", we will have a bigger client session, combined with many clients all the time in a t

[T5] @CommitAfter is missing

2008-06-13 Thread Grigoris Ioannou
Hi all, I am trying to add a DAO layer in my application, using the sample code provided at: http://tapestry.formos.com/nightly/tapestry5/tapestry-hibernate/userguide.html The problem is that the annotation @CommitAfter is missing and HibernateTransactionDecorator cannot be found in the classpat

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread Christian Scheid
Hey Zack, thanks for checking it out! What OS are you running? I only tested it under OSX and the shortcut is Ctrl+Option X. I think i read something in the eclipse docs that modifiers can differ on OS's. You can use the action and see the shortcut if you use the action from the menubar: Navigate

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

2008-06-13 Thread Peter Stavrinides
Hi Zack These are well known issues with Javassist and JDK 6, see: http://www.nabble.com/TransformationException-ClassNotFoundException-td17156180.html#a17182647 http://www.nabble.com/Re%3A-T5%3A-TransformationException-p16541145.html In your case though you might be able to work around it by ad

T5: Any plan to include Javascript Widget in T5?

2008-06-13 Thread Partogi, Joshua
Dear all, Is there any plan in the future to include Javascript widget like Dojotoolkit or Ext-JS in Tapestry-5 ? If there's no plan for that in the future we want to include it in our project otherwise we'll be just using the ones bundled with T5. Best regards, IMPORTANT NOTICE: The informati

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

2008-06-13 Thread Konstantin
Hi, it's me again :-) Filip S. Adamsen-2 wrote: > > 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

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

2008-06-13 Thread zack1403
Add.java = http://pastebin.com/m6f3771f6 I am able to cause the error by adding a throw/catch around my session.save. Although that is in the onSubmit() method so it shouldnt actually be running on page load. Zack 9902468 wrote: > > If possible please attach also the page (Add.java) and corres