Re: contrib:PopupLink Problem

2006-12-20 Thread Nick Westgate
Use PopupLinkRenderer, as mentioned in the other popup thread. In T3 I use it like this: ... Cheers, Nick. wong wayne wrote: Dear All Is any way to popup a window and loading a external page with Popup L

Re: hook into T4's page creation process

2006-12-20 Thread Dennis Sinelnikov
That would be neat. Another option would be to create a parent page and have other pages extend it. For example: public abstract class SecurePage extends BasePage implements SomePageListener { ... } public abstract class MyPage extends SecurePage { .. } Every time MyPage gets rendered, the

DirectLink with another element instead of

2006-12-20 Thread talk.small
I want to create the href with DirectLink, but with another owner element of instead of becuase I want to render an image map on the page like this: sitemap.gif Does anyone know how can I achieve it? Thanks talk.small -- View this message in context: http://www.nabble.com/DirectLink

Re: Popup a Tapestry page in a new window?

2006-12-20 Thread talk.small
Thank you, István It is pretty much what I am looking for. talksmall Istvan Szucs wrote: > > Use the org.apache.tapestry.contrib.link.PopupLinkRenderer bean is your > page. > It is a example, visit this page: > http://lombok.demon.co.uk/tapestry4Demo/TestPopup.html > > Bye! > > István Szücs

Re: Can you comment on this?

2006-12-20 Thread D&J Gredler
Just call me Paris ;-) (mythology joke...) On 12/21/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Uh oh You just brought up their biggest Achilles heal. Good for you :) On 12/20/06, D&J Gredler <[EMAIL PROTECTED]> wrote: > Case in point ;-) > > http://www.nabble.com/Directly-map-a-bean-to-

Re: Can you comment on this?

2006-12-20 Thread Jesse Kuhnert
Uh oh You just brought up their biggest Achilles heal. Good for you :) On 12/20/06, D&J Gredler <[EMAIL PROTECTED]> wrote: Case in point ;-) http://www.nabble.com/Directly-map-a-bean-to-HTML-form-tf2845102.html#a7944709 On 12/20/06, D&J Gredler <[EMAIL PROTECTED]> wrote: > > Emmanuel - >

Re: Can you comment on this?

2006-12-20 Thread D&J Gredler
Case in point ;-) http://www.nabble.com/Directly-map-a-bean-to-HTML-form-tf2845102.html#a7944709 On 12/20/06, D&J Gredler <[EMAIL PROTECTED]> wrote: Emmanuel - I tend to view this as a free intellectual market at work. There were inadequacies in Tapestry and strengths in Wicket that drove th

RE: Problem when using morwe than one intance of an Autocompleter

2006-12-20 Thread Chris Perfect
I have confirmed that the 4.1.2-SNAPSHOT fixes the issue. Thanks! Chris -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 December 2006 8:54 AM To: Tapestry users Subject: Re: Problem when using morwe than one intance of an Autocompleter Ouch . ...Ok I

contrib:PopupLink Problem

2006-12-20 Thread wong wayne
Dear All Is any way to popup a window and loading a external page with Popup Link? Popup link works fine when refer to a page within same project but cannot display properly (blank) when referring a external link. Here are my coding html page component id="_popupLink_payment" type="contrib:Po

hook into T4's page creation process

2006-12-20 Thread karthik G
I just want to add an annotation on the page and then take some action when the page is being bound to a request from the page pool. @SecuredPage abstract class MyPage extends BasePage{ } Is there anyways i can hook into T4's page creation process and then depending upon the annotation take som

Re: Tap4 documentation: the For component example is not complete

2006-12-20 Thread Cyrille37
andyhot a écrit : I'd open one JIRA issue in the 'documentation' category, and i'd start adding my findings there... Thanks Andreas I think it is important to spread the notoriety of Tapestry. When people wants to "get a try" it must be clear and easy. I'll try to report every error/missin

Re: EventListener - sending more info to server

2006-12-20 Thread Alexandru Dragomir
I have : @EventListener(targets="myTarget" , events="myEvent") and also the javascript function : myTarget.myEvent=function(customObject) {} I would like to send customObject to the server in the same way the BrowserEvent is sent.. Which is the best aproach ? Alex On 12/20/06, Alexandru Dra

Re: Standalone plugins

2006-12-20 Thread Pedro Abelleira Seco
Oh! good to hear that. I was trying to replace the service tapestry.init.ApplicationSpecificationInitializer with a simple class that adds the id and path to the libraries. It should work, but I will better wait and try to use your better library. Thanks Pedro --- Norbert Sándor <[EMAIL PROTEC

Re: Tap4 documentation: the For component example is not complete

2006-12-20 Thread andyhot
I'd open one JIRA issue in the 'documentation' category, and i'd start adding my findings there... Cyrille37 wrote: > Hi, > I continue to post some erratum for the online documentation. > I'm a beginner so I fall in every simple hole. > > The "For" component example on pages > http://tapestry.apac

Tap4 documentation: the For component example is not complete

2006-12-20 Thread Cyrille37
Hi, I continue to post some erratum for the online documentation. I'm a beginner so I fall in every simple hole. The "For" component example on pages http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/For.html http://tapestry.apache.org/tapestry4.1/components/general/for.html is not

EventListener - sending more info to server

2006-12-20 Thread Alexandru Dragomir
Can i send some more information to the server , like a custom JSON object ? Now , i only see it done submititing a form with this object as a hidden field. Thanks! Alex

Re: Can you comment on this?

2006-12-20 Thread Dennis Sinelnikov
I agree. It takes a little while to get a developer thinking in a "Tapestry" way, but once that's done, it becomes contagious and fun -- constantly innovating and finding a better/neater solution to a problem. Looking forward to Tap5... -Dennis Mark Stang wrote: After 18 months of developin

Re: Problem when using morwe than one intance of an Autocompleter

2006-12-20 Thread Jesse Kuhnert
Ouch . ...Ok I think you've run into a bug I had in the javascript template for this component. (I wasn't properly using the key to make my javascript variable names unique) It's fixed and deploying now, but you'll have to make sure you are using the 4.1.2-SNAPSHOT version of Tapestry, not 4.1.1

Re: Tap4 UsersGuide/State.html#state.aso.access error

2006-12-20 Thread Jesse Kuhnert
If you replace the "tapestry4" part of that url with "tapestry4.1" you'll find the up to date version. ;) On 12/20/06, Cyrille37 <[EMAIL PROTECTED]> wrote: Hi, I think there is an error in that page http://tapestry.apache.org/tapestry4/UsersGuide/state.html#state.aso.access in the example of ch

Tap4 UsersGuide/State.html#state.aso.access error

2006-12-20 Thread Cyrille37
Hi, I think there is an error in that page http://tapestry.apache.org/tapestry4/UsersGuide/state.html#state.aso.access in the example of chapter "Accessing Application State Objects" The example is : But it should be : I post this erratum for the **marketing/notoriety** of Tapestry. It is ver

Re: Table component

2006-12-20 Thread Jason Crocker
Carlos, This is perfect! Thanks :-) Jason [EMAIL PROTECTED] wrote: --> Does anyone know where I can find a simple example using the table component with partial results from a database (i.e. getCurrentPageRows,getRowCount, etc.)? Jason, Sorry I just re-read your post . . . The key part I mi

RE: Table component

2006-12-20 Thread Carlos.Fernandez
--> Does anyone know where I can find a simple example using the table component with partial results from a database (i.e. getCurrentPageRows,getRowCount, etc.)? Jason, Sorry I just re-read your post . . . The key part I missed was the "example" ;) This is a scrubbed impl of a tableModel we us

Re: EventListener , target being a programatically created widget (dojo)

2006-12-20 Thread Alexandru Dragomir
It worked. I just needed to make sure that the id of the widget is the same as the id of the component. This is what i was missing in the begining. (And i passed the id as a target.) Alex On 12/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Have you even tried it? This is definitely thought

RE: Table component

2006-12-20 Thread Carlos.Fernandez
--> Does anyone know where I can find a simple example using the table component with partial results from a database (i.e. getCurrentPageRows, getRowCount, etc.)? The contrib:table source parameter can accept an impl of IBasicTableModel. http://tapestry.apache.org/tapestry4.1/tapestry-contrib

Re: Table component

2006-12-20 Thread Jason Crocker
Thanks Jesse. I've been to this page but I thought using the source parameter loaded the entire list, which isn't what I want to do. Am I missing something? Jason Jesse Kuhnert wrote: The very bottom of the page has a pretty good example of how to do some of these lower level detail kind of r

Re: Table component

2006-12-20 Thread Jesse Kuhnert
The very bottom of the page has a pretty good example of how to do some of these lower level detail kind of renders: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html On 12/20/06, Jason Crocker <[EMAIL PROTECTED]> wrote: Does anyone know where I can find a si

Table component

2006-12-20 Thread Jason Crocker
Does anyone know where I can find a simple example using the table component with partial results from a database (i.e. getCurrentPageRows, getRowCount, etc.)? I have a service layer function that accepts the criteria, limit and offset and would rather load just the data that's going to be disp

RE: Can you comment on this?

2006-12-20 Thread Mark Stang
After 18 months of developing with Tapestry 3.03, I don't know what my next framework will be, but you can bet it will be Tapestry. Having worked with Model 1 Frameworks using JSP's and then working with Struts 1.x, I have had envough of anything related to .jsp or taglibs. I have no experienc

Re: Radio components

2006-12-20 Thread Jesse Kuhnert
http://tapestry.apache.org/tapestry4.1/javascript/form.html && http://tapestry.apache.org/tapestry4.1/usersguide/upgrade4.0.html (the last one is a work in progress) On 12/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Whatever happened to adding onchange="javascript:this.form.events.ref

Radio components

2006-12-20 Thread Greg.L.Cormier
Whatever happened to adding onchange="javascript:this.form.events.refresh();" to a Radio component in 4.1? Documentation doesn't mention the new method, hoping there is one :( Thanks, Greg - To unsubscribe, e-mail: [EMAIL PROT

RE: Inject EJB 3 into Tapestry 4 page

2006-12-20 Thread Denis Souza
No, nothing. I didn't look very far since it's not critical for me. I'm thinking that I could eventually write a hivemind service that wraps any EJB I need. It wouldn't be as clean, but it would be enough, at least in my case. Denis -Original Message- From: Bastian Voigt [mailto:[EMAIL PR

Re: Standalone plugins

2006-12-20 Thread Norbert Sándor
I'm working on a library which can: - inject library references into other libraries using hivemind configurations - implements global namespace for tapestry components - supports dynamic rendering of components by name (not perfect solution but it works in most cases) The code is already fin

Re: Problem implementing countdown timer

2006-12-20 Thread D&J Gredler
Not moving makes them easier to hit with a railgun, though! On 12/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: God damn campers. ;) On 12/20/06, Daniel Jue <[EMAIL PROTECTED]> wrote: > Daniel, > > As an avid eBay user, I've been eagerly awaiting a feature like this! > Now everyone can b

Re: Get component id in EventListener with multiple targets

2006-12-20 Thread Cyrille37
Jesse Kuhnert a écrit : Just add a BrowserEvent parameter to your method and it will be automatically populated for you. Once added you should be able to do something along the lines of this to figure out which component fired the event (maybe I should enhance this part to provide a more direct r

Re: Problem implementing countdown timer

2006-12-20 Thread Jesse Kuhnert
God damn campers. ;) On 12/20/06, Daniel Jue <[EMAIL PROTECTED]> wrote: Daniel, As an avid eBay user, I've been eagerly awaiting a feature like this! Now everyone can be a sniper. =) Now we just need some suspense music that streams in the background... Dan On 12/18/06, Leffel, Daniel <[E

Re: Problem implementing countdown timer

2006-12-20 Thread Daniel Jue
Daniel, As an avid eBay user, I've been eagerly awaiting a feature like this! Now everyone can be a sniper. =) Now we just need some suspense music that streams in the background... Dan On 12/18/06, Leffel, Daniel <[EMAIL PROTECTED]> wrote: I have a really simple app that I'm trying to build.

RE: Tapestry plugin for netbeans, new release!

2006-12-20 Thread Greg.L.Cormier
Sweet! THis was my next request :) An update URL! -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent: Wednesday, December 20, 2006 10:40 AM To: Tapestry users Subject: Re: Tapestry plugin for netbeans, new release! i did ? oh yea :) actually, better remo

Re: Get component id in EventListener with multiple targets

2006-12-20 Thread Jesse Kuhnert
Just add a BrowserEvent parameter to your method and it will be automatically populated for you. Once added you should be able to do something along the lines of this to figure out which component fired the event (maybe I should enhance this part to provide a more direct route): void someButtonCl

Get component id in EventListener with multiple targets

2006-12-20 Thread Peter Beshai
I would like to have multiple targets hooked into a single EventListener, but I cannot figure out how to distinguish which component fired the event within the listener itself. For example, if I have an event listener: @EventListener(targets = {"button1","button2","button3","button4"}, events=

RE: External page URL change in Tapestry 4

2006-12-20 Thread Robert J. Walker
Well, in the meantime I read up more on ServiceEncoders and came to the conclusion that it shouldn't be too tough, so I went ahead and wrote one that seems to work fine. It was almost done by the time I got your post. The thing I like about this solution is that it doesn't require another librar

Re: Tapestry plugin for netbeans, new release!

2006-12-20 Thread D&J Gredler
I don't use netbeans, but may have to try it out ;-) On 12/20/06, andyhot <[EMAIL PROTECTED]> wrote: i did ? oh yea :) actually, better remove the old modules, and then use this update url : http://andyhot.di.uoa.gr/repository/nbtapestry/updates/updates.xml it's even more up-to-date + you'll

Re: Can you comment on this?

2006-12-20 Thread D&J Gredler
Agree 100%. I guess I just consider the marketing aspects to be part of the free intellectual market :-) On 12/20/06, Marilen Corciovei <[EMAIL PROTECTED]> wrote: Daniel I think you are right but only partially. We must never neglect the marketing aspects. A "thing" either free or comercial is

Re: Can you comment on this?

2006-12-20 Thread Marilen Corciovei
Daniel I think you are right but only partially. We must never neglect the marketing aspects. A "thing" either free or comercial is promoting itself only less than 50% by it's quality because only a very little number of decisions are taken by quality in todays world. Aspects like mouth to mouth,

Re: Tapestry plugin for netbeans, new release!

2006-12-20 Thread andyhot
i did ? oh yea :) actually, better remove the old modules, and then use this update url : http://andyhot.di.uoa.gr/repository/nbtapestry/updates/updates.xml it's even more up-to-date + you'll always get the latest [EMAIL PROTECTED] wrote: > Andy snuck out a new release on us! > > https://nbta

Re: Inject EJB 3 into Tapestry 4 page

2006-12-20 Thread Bastian Voigt
Hi, did you find out anything? I am having the same problem. Regards Bastian Voigt On Monday 18 December 2006 21:44, Denis Souza wrote: > That's just about what I need, but for EJB 3. This service seems to assume > EJB 2.x since it requires a home interface. -

Tapestry plugin for netbeans, new release!

2006-12-20 Thread Greg.L.Cormier
Andy snuck out a new release on us! https://nbtapestrysupport.dev.java.net/ Downloading 0.2.0 now ;) Thanks Andy! -Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can you comment on this?

2006-12-20 Thread D&J Gredler
Emmanuel - I tend to view this as a free intellectual market at work. There were inadequacies in Tapestry and strengths in Wicket that drove this one user to choose Wicket over Tapestry (and the other frameworks). If enough people agree with him, either Tapestry addresses these issues and becomes

Re: Can you comment on this?

2006-12-20 Thread Jesse Kuhnert
Why would Tapestry be losing any kind of battle because one person wrote an email saying they "recommend" using Wicket? When Wicket is actually technically / some other version of better that I can measure I'll admit it but I'm obviously biased towards Tapestry so my opinions are highly suspect.

Re: Standalone plugins

2006-12-20 Thread Pedro Abelleira Seco
Thank you. I will look into this if I get the time. --- Ron Piterman <[EMAIL PROTECTED]> escribió: > again, the trick is adding references to a library > without coding it. > Tapestry defines in the hivemind registry the > service point : > > tapestry.parse.SpecificationSource > > which is resp

Re: Standalone plugins

2006-12-20 Thread Ron Piterman
again, the trick is adding references to a library without coding it. Tapestry defines in the hivemind registry the service point : tapestry.parse.SpecificationSource which is responsible for reading the specification from files - I would think that to make dynamic libraries load, you need to imp

Re: Standalone plugins

2006-12-20 Thread Pedro Abelleira Seco
Thanks for your response. What I have in mind is to be in the situation of having a general web application with a common set of services and components (including the a general Border, etc.) and getting different contractors to develop different parts of the app in parallel without having to touc

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Ron Piterman
Happy debugging :) Ron Cyrille37 wrote: > Ron Piterman a écrit : >> I would tip that you hold a reference to a page or some threaded bean >> where you shouldn't. just a wild guess - >> > Hi Ron. > Thanks for your little chocolate :) > > But the same code (really no change) does not run in a s

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Cyrille37
Ron Piterman a écrit : I would tip that you hold a reference to a page or some threaded bean where you shouldn't. just a wild guess - Hi Ron. Thanks for your little chocolate :) But the same code (really no change) does not run in a same way when hosted in Tomcat and Glassfish. There is no

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Ron Piterman
I would tip that you hold a reference to a page or some threaded bean where you shouldn't. just a wild guess - Cheers, Ron Cyrille37 wrote: > Hi, > > I could not reproduce the problem with a simple code. It only happend > with the complet project (Tap, Spring, Hibernate, BeanForm...) > > Shoul

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Cyrille37
Hi, I could not reproduce the problem with a simple code. It only happend with the complet project (Tap, Spring, Hibernate, BeanForm...) Should I add a Jira entry to remember the problem, or I'm alone with this and let wait to see later. cyrille Cyrille37 a écrit : andyhot a écrit : clie

Re: Popup a Tapestry page in a new window?

2006-12-20 Thread Cyrille37
Istvan Szucs a écrit : Use the org.apache.tapestry.contrib.link.PopupLinkRenderer bean is your page. It is a example, visit this page: http://lombok.demon.co.uk/tapestry4Demo/TestPopup.html Hello, Perhaps you can add a link to your page http://lombok.demon.co.uk/tapestry4Demo/app in the Tape

Re: Standalone plugins

2006-12-20 Thread Ron Piterman
It could be done, but above all needs restarting of the servlet container for every change- Since hivemind lets you peekup configuration from every jar on the classpath, configuration isn't an issue. However, adding a library without making an explicit reference to it should be quite difficult -

Can you comment on this?

2006-12-20 Thread Emmanuel Sowah
Hi Guys, I came across this article http://www.infoq.com/news/2006/12/wicket-vs-springmvc-and-jsf and thought probably someone here could comment. Is Tapestry really losing the battle against Wicket? Emmanuel