Re: BeanEditForm and Polymorphism

2011-01-17 Thread Elin
Of course. I started with tapestry some months ago so im not an expert but i will share everything im learning with others through tutorials (hopefully i will end some by the end of this week). The hardest part of tapestry is starting with it. If we all share our knoledge with newbies, it will be

Re: BeanEditForm and Polymorphism

2011-01-17 Thread Elin
Thanks Werner. The problem here was that i wanted a generic method. At first, i dont know what kind of subclasses are avaliable because they are managed by a service so i can add more subclasses just annotating them and i will have more subproducts avaliable without any code changes. Because of th

Re: BeanEditForm and Polymorphism

2011-01-16 Thread Elin
Thanks a lot, i managed to solve my problem thanks to your advice. -- View this message in context: http://tapestry.1045711.n5.nabble.com/BeanEditForm-and-Polymorphism-tp3343510p3343792.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

BeanEditForm and Polymorphism

2011-01-16 Thread Elin
Hi all. Im developing a new project and im having some problems with BeanEditForm and inheritance, maybe you can help me. I have a base class called product. >From that base class (abstract class or interface, doesnt matter) i have different subproducts extending from this base class. I want t

Re: Discussion- the verdict

2011-01-13 Thread Elin
I started with tapestry 5.1.2 some months ago thanks to a book called "Tapestry 5" from "Alexander Kolesnikov". It was a bit hard to understand how to create sites with this framework and yes, i also noticed the lack of documentation but with each new release it went better. Each time i had a pro

Re: MultiZoneUpdate position param

2010-12-06 Thread Elin
I was planning to create some kind of component for a web based chat following this "news feed" tutorial: http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ Take alook, may be usefull for you. -- View this message in context: http://tapestry.1045711.n5.nabble.com/MultiZoneUpdat

Re: Tapestry custom component + hibernate

2010-11-08 Thread Elin
Problem solved. There was some kind of conflict with a previous version of my entity... its working now ;) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3255809.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Tapestry custom component + hibernate

2010-11-08 Thread Elin
Having problems again. My packaged component is working fine except the hibernate part. I have my main app and a custom componet packaged into a jar. This component has: com.udc.mylib.entities com.udc.mylib.pages com.udc.mylib.services ... When i load the packaged component, its displayed corr

Re: Tapestry custom component + hibernate

2010-11-08 Thread Elin
Thx a lot. I will keep investigating now until it works correctly now that i know its possible. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3254992.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Tapestry custom component + hibernate

2010-11-08 Thread Elin
Is it possible to create a component that uses some hibernate entities, package it into a separated .jar and then import this component into my main project being able to autocreate this new entities? Something like creating my custom component package following this tutorial http://tapestry.apa

Re: How to display form success?

2010-09-15 Thread Elin
Im a bit newbie but im thinking that you could just check the boolean after render is done and if the boolean is true, set it to false again :/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-display-form-success-tp2840958p2841099.html Sent from the Tapestry - User

Re: T5 Eventlink Query

2010-09-13 Thread Elin
Im just starting with tapestry but, why would you like to do that? As far as i know, the eventlink is very similar to the actionlink, and its usually used for some kind of ajax request. Could you explain a bit more what are you trying to do with those 2 templates? -- View this message in context:

Re: How to set up Tapestry 5 on Tomcat 5

2010-09-12 Thread Elin
Well... if i understand u correctly u download tapestry from the website (so u are not using maven). The needed libraries depends on what are u goning to do. For a simple project you will need tapestry-core and tapestry-ioc, those are the main ones. Anyway, i would recommend u to use maven becaus

Re: Tapestry tree render without recursion?

2010-09-10 Thread Elin
Ok just found this http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/tapestry-crud/branches/1.1/src/main/java/br/com/arsmachina/tapestrycrud/components/TreeSelect.java?revision=595&view=markup so i will take a look on it. I will come back if i have some kind of problem with this. Just w

Tapestry tree render without recursion?

2010-09-10 Thread Elin
Im making a component for rendering my categories tree but i have seen that i cant use recursive components (calling themselves not even indirectly) so, any advice about how to do this (your own ideas or something u have read around)? Example: Coffee Tea Black tea Gre

Re: Problem with components TML files

2010-09-09 Thread Elin
Thx a lot howard. U are always the man making the things easier for the people whos starting with tapestry. I have seen the 2 different paths u are talking about so i will try to configure my IDE with the different outputs. Thx again ;) -- View this message in context: http://tapestry.1045711.n5

Problem with components TML files

2010-09-09 Thread Elin
I created a simple project with Maven archetype (the 4.2.0 version from the tapestry.apache.org catalog) . I open it on Netbans 6.9.1 as a maven project, everything is ok, i create a custom component at the "components" package adding the java and the .tml file. After adding this component to my I

Tapestry + GAE + Eclipse + Maven

2010-09-03 Thread Elin
Hi. Just discovered Google App Engine and im trying to upload 1 single tapestry application to the server. Im using eclipse with the GAE plugin. I made a new project with maven on the archetype 5.2.1. I imported it on eclipse but i cant get it work with the GAE plugin. Any advice step by step on t

Capturing hibernate exception

2010-08-20 Thread Elin
I have a project where im using hibernate with Tapestry. Everything works fine. Following the tutorials, i created my Hibernate entities, i created my DAOs where i inject the hibernate session at and i use them for my data access. The problem comes when my database fails (its down, unreachable or

Re: Events and multizone update

2010-08-19 Thread Elin
Thx a lot. Thats all i needed :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Events-and-multizone-update-tp2641385p2641538.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To u

Events and multizone update

2010-08-19 Thread Elin
I have a custom component based on an "ajaxformloop" that displays rows with a delete buttom for them. I need to update several zones afer deleting a row from the ajaxformloop and cant find a way to do it. From here i have some questions about events (im sorry im starting with tapestry and im a b

Re: Update zones after session object changes

2010-08-18 Thread Elin
Thx a lot for your answers. Gonna experiment a bit with the information u gave me. I will be back if i need help again. Thx a lot for your help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Update-zones-after-session-object-changes-tp2639152p2639567.html Sent from the

Re: Update zones after session object changes

2010-08-18 Thread Elin
The problem is that i know how to multiupdate. Thats not the problem. The problem is that i need some kind of event for that. I have my page. Inside my page i have a custom component that displays the shopping cart items with a delete buton for each one. Well... i need some kind of event from m

Update zones after session object changes

2010-08-18 Thread Elin
Hi. Im new to tapestry and im trying to do some projects but its a bit hard because of the lack of documentation. Well im doing a simple shopping cart. The cart is stored into my session and im developing some components for showing the data. I made this with the ajaxformloop component so im abl