Re: T5: BeanEditor component containing BeanEditor component

2008-06-16 Thread Kristian Marinkovic
Hi Howard, i added https://issues.apache.org/jira/browse/TAPESTRY-2460 with a maven project for this problem g, kris Kristian Marinkovic <[EMAIL PROTECTED]> 12.06.2008 12:29 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: T5: BeanEditor component containing Bea

Re: Strange behavior when instantiating properties directly in the page

2008-06-16 Thread Dmitry Shyshkin
Hi, Thorsten This is correct behavior. Tapestry pages are shared across all requests, so User object will be the same. you need to add some code like follow: @Persist @Property private User user; @OnEvent(Form.PREPARE) void prepare() { if (user == null) { user = new User();

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread Christian Scheid
hey dave, not a problem at all. I only used alt+ctrl+x as i was becoming tired using shortcuts that are already bound while developing the feature. I guess there might be a nicer default shortcut anyway. Which shortcut would you suggest instead? I will also have a look myself if i find a shortcut

Strange behavior when instantiating properties directly in the page

2008-06-16 Thread Thorsten Castor
Hi, we just figured out that properties which are instantiated directly will be shared between sessions on the same server. So if you start the example app on two browsers and type some text in the textfield of the first browser, hit enter and reload on the second browser you will see the cont

T5: "No root element has been defined."

2008-06-16 Thread Brendan McNichols
Hi All, I just upgraded from 5.0.11 to 5.0.13. After fixing compile errors (changing package names from com.apache.tapestry to com.apache.tapstry5) and running my app, I get an exception with the message "No root element has been defined.". Is there something that changed between 11 and 13 to

RE: Tapestry5 and new Window

2008-06-16 Thread Partogi, Joshua
Hi Sven, That looks so cool. Did you use ext-js for this? best regards, -Original Message- From: Sven Homburg [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 8:30 PM To: Tapestry users Subject: Re: Tapestry5 and new Window http://87.193.218.134:8080/t5c-demo/windowpage 2008/6/16

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread Dave Dombrosky
Christian, It looks like on Kubuntu, the Ctrl-Alt-X key combo is already bound to "Enable/Disable Clipboard Actions". I would be nice if a different key combo could be used to work around this. Sorry to make you change it yet again! -Dave On Mon, Jun 16, 2008 at 12:35 PM, zack1403 <[EMAIL PROT

Re: [T5] Cleaning page's persistent field

2008-06-16 Thread Howard Lewis Ship
You can cheat by taking a page instance, casting it to Component (or to ComponentResourcesAware) and getting it's ComponentResources that way. You can then invoke the discardPersistentFieldChanges() method directly. If you know the name of a page, the ComponentSource service has a method, getPage

[T5] Cleaning page's persistent field

2008-06-16 Thread Marcelo Lotif
Hi guys, I was getting around some issues in my application regarding to the size of the session, and i found on the tapestry site that you can clean the persistent data of a page by injecting ComponentResources and running discardPersistentFieldChanges(), but i also noted that this can only be don

Re: HINT tapestry - tapestry5 package rename

2008-06-16 Thread Howard Lewis Ship
If you can, use find and sed: find . -name \*.java -o -name \*.xml -o -name \*.properties | xargs sed -i'' s/org\\.apache\\.tapestry\\./org.apache.tapestry5./g This finds all .java, .xml or .properties files and uses sed (stream editor) to locate the text "org.apache.tapestry." and replace it wi

Re: T5 : Set dynamic default value for component at pageLoaded but been changed somewhere between beforeRender and afterRender

2008-06-16 Thread Josh Canfield
It sounds like you don't want to use pageLoaded, that is not called for every request. You probably want setupRender, or onActivate. On Sun, Jun 15, 2008 at 12:53 AM, CG <[EMAIL PROTECTED]> wrote: > hi josh, > thx for your reply , i have solved my problem with 2 variables . > > my situation is l

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread zack1403
Works great for me now Christian! Looking forward to further features! Zack Christian Scheid wrote: > > 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 s

Re: Tapestry5 and new Window

2008-06-16 Thread Sven Homburg
if you are familary with maven checkout the tapestry subversion repository https://svn.apache.org/repos/asf/tapestry/tapestry5/tags/releases/5.0.13 and compile with "mvn clean install" 2008/6/16 tengxh <[EMAIL PROTECTED]>: > Yes,it's exactly what i want .But i have it has some problem ,because it

Re: Where can i get t5.0.13

2008-06-16 Thread Ulrich Stärk
tengxh schrieb: Where can i get the new version t5.0.13? 5.0.13 is still being voted on. As soon as the polls are closed and Howard has evaluated the votes he will put up the release. Give it a few more days or use the snapshot releases. Uli

Google API:AuthSubRequest && Tapestry

2008-06-16 Thread IT.Adviser
I need to call http://code.google.com/apis/accounts/docs/AuthForWebApps.html#AuthSubRequest AuthSubRequest throught Tapestry. I has Java examples, that use this function. But I can't understand how change this code with Tapestry usage. -- View this message in context: http://www.nabble.com/Goo

Where can i get t5.0.13

2008-06-16 Thread tengxh
Where can i get the new version t5.0.13?

Re: Tapestry5 and new Window

2008-06-16 Thread tengxh
Yes,it's exactly what i want .But i have it has some problem ,because its version is 5.0.13 and my tapestry version is 5.0.11,so i need upgrade the t5.0.13,where can i download t5.0.13? - Original Message - From: "Sven Homburg" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Monday, June

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread Ralf Schulmeyer
After the update to 1.0.2 it works fine now. I am using linux. Christian Scheid schrieb: 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 shortcu

Re: Tapestry5 and new Window

2008-06-16 Thread Sven Homburg
http://87.193.218.134:8080/t5c-demo/windowpage 2008/6/16 tengxh <[EMAIL PROTECTED]>: > How can i open a new window like window.open() as javascript with > Tapestry5.Who can give some ideas.thanks. -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.goog

Tapestry5 and new Window

2008-06-16 Thread tengxh
How can i open a new window like window.open() as javascript with Tapestry5.Who can give some ideas.thanks.

Re: Tapestry tree

2008-06-16 Thread Andreas Andreou
Hmmm - i tried Dummy and it worked in FF and IE7 But i think i remember some fixes in the tree component the last months, so, try a snapshot from: http://tacos.sourceforge.net/nightly/net/sf/tacos/tacos-core/4.1.2-SNAPSHOT/ On Mon, Jun 16, 2008 at 2:57 PM, laraVar <[EMAIL PROTECTED

Re: Tapestry 5.0.11 - Selecting elements causes Exception in ValueEncoderSource

2008-06-16 Thread Kristian Marinkovic
if you look at the stacktrace you can see that your application cannot find the hibernate dependencies: Caused by: java.lang.NoClassDefFoundError: org/hibernate/cfg/AnnotationConfiguration check your classpath entries/maven dependencies g, kris Tommyboy66 <[EMAIL PROTECTED]> 13.06.2008 1

Re: Tapestry tree

2008-06-16 Thread laraVar
Thanks for the links, I tried the example and it works, but now I have a problem with making tacos tree work inside contrib tableit seems that there is a problem with ajax... Lara laraVar wrote: > > Hi everyone, > > I got an idea to place a tree in my tapestry project. I use Tapestry 4.1 >

Problem with tacos tree

2008-06-16 Thread laraVar
Hello, I found a tacos tree component and I tried to place it inside my contrib table. When the tree is outside the table it works fine but when it is inside the table, when I click on + it does not respond, I need to refresh my page to make it work but then all + nodes open! Have anybody came ac

Re: BeanEditForm Component

2008-06-16 Thread Marcelo Lotif
Not necessarily... Use the BeanEditor instead of BeanEditForm, wrap it with a form and add as many buttons as you like =) 2008/6/15 tengxh <[EMAIL PROTECTED]>: > Do you mean that i need custome the BeanEdit Compoent? > - Original Message - > From: "Shing Hing Man" <[EMAIL PROTECTED]> > To

Re: Tapestry tree

2008-06-16 Thread Andreas Andreou
Check tacos tree - there's an example in the demo app as well http://tacos.sourceforge.net/tacos4.1/ http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdocs/net.sf.tacos.Tacos/Tree/index.html http://fisheye3.atlassian.com/browse/tacos/tacos-4.1/trunk/tacos-demo/src/java/net/sf/tacos/demo/web/pag

Tapestry tree

2008-06-16 Thread laraVar
Hi everyone, I got an idea to place a tree in my tapestry project. I use Tapestry 4.1 and I saw that there are classes in tapestry.contrib.tree.components which could be used. Have anybody tried to use a tree? A few basic instructions on how to start would be of great help to me Thanks in ad

Re: 答复: Save error

2008-06-16 Thread Sven Homburg
ok, i read your first mail wrong, sorry. 2008/6/16 滕训华 <[EMAIL PROTECTED]>: > I am sorry,I can not find the @CommitAfter annotation in the > tapestry-hibernate and tapestry-annotation,where can I find it. > > By the way,I am using the spring to manage the transaction. > > Later I try to add the

答复: Save error

2008-06-16 Thread 滕训华
I am sorry,I can not find the @CommitAfter annotation in the tapestry-hibernate and tapestry-annotation,where can I find it. By the way,I am using the spring to manage the transaction. Later I try to add the @Persist to the property like this: @Persist private TblCustomerInfo customer; and I fo

Re: Save error

2008-06-16 Thread Sven Homburg
attach the @CommitAfter annotation to method like this: @CommitAfter Object onSuccess() { customerManager.saveCustomer(customer); return Customers.class; } 2008/6/16 滕训华 <[EMAIL PROTECTED]>: > In my edit tml page there are two methods: > > void onActivate(long customerId){ >

Re: About save data into table with hibernate

2008-06-16 Thread Kristian Marinkovic
tapestry will start a new transaction for every request. at the end of each request rollback will be called automatically. therefore you have to commit the transaction manually . g, kris "tengxh" <[EMAIL PROTECTED]> 13.06.2008 16:39 Bitte antworten an "Tapestry users" An Kopie Thema Abou