AW: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-15 Thread Peter Schröder
this one was very helpfull to me: http://web.aanet.com.au/websystems/start.html -Ursprüngliche Nachricht- Von: Bruno Mignoni [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 14. März 2007 18:08 An: Tapestry users Betreff: Eclipse + Maven2 + Tapestry 4.0.2 Does Anybody have a Tutorial to

How to clear tapestry components cache at the beginning of new session?

2007-03-15 Thread Andrew M.
Hi all! I use the @Input component to display user name, when user is logged in. The problem is that when user logs out(ends session) and then logs in using another account, the @Input component displays old user name. (as a matter of fact, whole page shows old content, not only that @input)

AW: How to clear tapestry components cache at the beginning of new session?

2007-03-15 Thread Peter Schröder
hi andrew, this depends on how you pass the values to the Input fields. if you use private class members, these are not reset while the page is put back to the page-pool. instead you should use abstract-getter and setter methods. kind regards peter -Ursprüngliche Nachricht- Von:

Why initialize() is deprecated

2007-03-15 Thread Kolesnikov, Alexander GNI
Hi All, Could you please tell me why initialize() method is deprecated in Tapestry 4? I have to use a couple of properties in the 'old' way because my getters and setters do something, they don't just access a private member. And in initialize() I set the corresponding private members to null as

tapestry-prop and version 4.1.2

2007-03-15 Thread Andrea Chiumenti
Hello, A little question: Why isn't prop: binding inside tapestry-4.1.2 ? Thx, kiuma

Autocompleter probs

2007-03-15 Thread Yiannis Mavroukakis
Hello, I have the following html snippet form jwcid=[EMAIL PROTECTED] updateComponents=ognl:{'clientUpdate','shipperUpdate','consigneeUpdate' } div jwcid=[EMAIL PROTECTED] div class=titleTextClient/div span jwcid=@If

Wrapping dojo components for tapestry

2007-03-15 Thread Steve Shucker
Can someone point me to a good primer for wrapping dojo components to be used with tapestry 4.1. Yesterday I went through a lot of grief before I realized that tapestry was setting parseWidgets=false. Eventually I concluded that: 1) Tapestry doesn't want dojo to automatically inspect the

Default ServiceParameterNames

2007-03-15 Thread Skorpien126
Hi @All, some of my colleagues asked me, why we have to map the indexed ServiceParamters.(we use FriendlyUrls) ... so I ask you if it´s possible to change the following fact. The ServiceParameters are saved in an List. Is it possible to save them in Map... so that we could get the value of the

RE: Autocompleter probs

2007-03-15 Thread Yiannis Mavroukakis
Argh! Feel free to take me out back and shoot me in the head about that one However that's still not it :( Same issue.. -Original Message- From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 4:27 PM To: Tapestry users Subject: Re: Autocompleter probs try to

Re: Why initialize() is deprecated

2007-03-15 Thread Sam Gendler
Because they are perfectly usable alternatives that accomplish the same thing, so the initialize() method isn't needed any longer and may be removed in a future release. You can initialize params when a page is first attached to the request via the PageAttachListener interface, and you can clean

Re: Can Tapestry 5 be used for production?

2007-03-15 Thread Pablo Ruggia
The code quality is very good, and what is done is very stable. But a think you will have two problems: - No upload component yet. - No javascript support for components is bundled into de framework yet. On 3/15/07, Celia Mou [EMAIL PROTECTED] wrote: Greeting, everyone! I know Tapestry 5 only

Re: tapestry-prop and version 4.1.2

2007-03-15 Thread Kalle Korhonen
I suppose because the recent snapshots contain the new OGNL which does the same as tapestry-prop and more. http://blog.opencomponentry.com/2007/03/05/tentative-ognl-27-snapshot-release-out-to-blow-up-a-project-near-you/ http://www.mail-archive.com/users@tapestry.apache.org/msg09348.html Kalle

Re: tapestry-prop and version 4.1.2

2007-03-15 Thread Andrea Chiumenti
Oh! nice On 3/15/07, Kalle Korhonen [EMAIL PROTECTED] wrote: I suppose because the recent snapshots contain the new OGNL which does the same as tapestry-prop and more. http://blog.opencomponentry.com/2007/03/05/tentative-ognl-27-snapshot-release-out-to-blow-up-a-project-near-you/

Re: Autocompleter probs

2007-03-15 Thread Andrea Chiumenti
Send the template as attachment then ;) On 3/15/07, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Argh! Feel free to take me out back and shoot me in the head about that one However that's still not it :( Same issue.. -Original Message- From: Andrea Chiumenti [mailto:[EMAIL PROTECTED]

Injecting services into application scope ASO

2007-03-15 Thread Borut Bolčina
Hello, can someone provide some code hints to Hivemind and Spring newb - that would be me - on how to inject 1. Hivemind service into application scope ASO 2. Spring service into application scope ASO I want to cache some long term objects in the global ASO, but want (if it is at all

T5 javascript

2007-03-15 Thread Anjana Gopinath
Hi, I am trying to build a small app using tapestry 5. And trying to add a dojo table. I keep getting javascript errors in Firefox, so was wondering whether anyone has tried dojo with tapestry 5? i need to have a table with checkboxes, wasnt sure how to do this with the tapestry grid

RE: Autocompleter probs

2007-03-15 Thread Yiannis Mavroukakis
Here you go :) Thank you, Yiannis -Original Message- From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 18:39 To: Tapestry users Subject: Re: Autocompleter probs Send the template as attachment then ;) On 3/15/07, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Argh!

RE: Can Tapestry 5 be used for production?

2007-03-15 Thread Yiannis Mavroukakis
Why not use Tap 4.x then? -Original Message- From: Celia Mou [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 17:53 To: Tapestry users Subject: Can Tapestry 5 be used for production? Greeting, everyone! I know Tapestry 5 only has preview releases at the moment. I'm excited to see the

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Jesse Kuhnert
That's pretty cool! I think we'll have to make a news item about it just because.. I have to ask though, is the local lookup manager configurable? I mean, if your app isn't on a network with multicast enabled (almost all of them :( ), you'd need at least a little help finding mahalo in many

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Hugo Palma
I've been thinking a little about the fact that Tapestry doesn't really have a place for the general community to use as a home for components, services and Tapestry related stuff that may be useful to others. I think this is why tapestry-contrib was created, but it being under Apache it

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Jesse Kuhnert
I think it sounds like a fine idea...Though I wouldn't want it to become too closely tied to Tapestry as that could have the opposite effect of making people feel like they are competing with the framework / developers or something similar. No offense to javaforge or anything, but as long as

Re: T5 javascript

2007-03-15 Thread Howard Lewis Ship
It may be a conflict between the Prototype.js library and the Dojo libraries. I haven't tried this yet. On 3/15/07, Anjana Gopinath [EMAIL PROTECTED] wrote: Hi, I am trying to build a small app using tapestry 5. And trying to add a dojo table. I keep getting javascript errors in Firefox, so

T5-PageValidateListener ASO exists method @InjectStateFlag

2007-03-15 Thread Weisu
Hi, I cannot find this in T5, I am try to have a login page before other pages, I was doing this inT4: public void pageValidate(PageEvent event) { if (!getClientSessionExists()) { Login login = getLogin(); login.setNextPage(InvoiceApproval);

Re: T5 javascript

2007-03-15 Thread Anjana Gopinath
Thanks for responding , Howard. switched to ordinary html table with loop component. Anjana Gopinath On Mar 15, 2007, at 7:40 PM, Howard Lewis Ship wrote: It may be a conflict between the Prototype.js library and the Dojo libraries. I haven't tried this yet. On 3/15/07, Anjana

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Jérôme BERNARD
Answering a comment Howard put on my blog (http://weblog.kalixia.com/archives/2007/03/16/integration-between-tapestry-5-and-jini/#comment-1470): Regarding the use of BeanEditForm, it's completely useless in my example. Just wanted to increase the WFPLOC (Whoah Factor Per Lines Of Code -- TM :-)

T5 Select component

2007-03-15 Thread Anjana Gopinath
Hi I am trying to use the tapestry 5 Select component to display a drop down box. I created a enum with different values and tried giving this enum as the model parameter. It seems to be displaying only the first element of the enum. I get a dropdown with the all the values if the enum

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Jérôme BERNARD
On 3/16/07, Hugo Palma [EMAIL PROTECTED] wrote: I've been thinking a little about the fact that Tapestry doesn't really have a place for the general community to use as a home for components, services and Tapestry related stuff that may be useful to others. I think this is why tapestry-contrib

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Hugo Palma
Jesse Kuhnert wrote: I think it sounds like a fine idea...Though I wouldn't want it to become too closely tied to Tapestry as that could have the opposite effect of making people feel like they are competing with the framework / developers or something similar. I agree. The scope and goal of the

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Hugo Palma
Jérôme BERNARD wrote: On 3/16/07, Hugo Palma [EMAIL PROTECTED] wrote: I've been thinking a little about the fact that Tapestry doesn't really have a place for the general community to use as a home for components, services and Tapestry related stuff that may be useful to others. I think this

Re: T5 Select component

2007-03-15 Thread Weisu
In 5.0.3, you can use a List to display the dropdown. The html template looks like: select t:type=select t:model=supplierName t:value=nameValue/ And the component class looks like: public List getSupplierName() { //define your list List result = ..;

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Andreas Andreou
I wouldn't tie tacos to ajax that closely... Renaming tacos-core to tacos-ajax and adding a whole bunch of new modules + a few more devs is certainly a way forward. I guess Viktor can help with the accounts, or perhaps give us access to do that. Tacos already has 4 and 4.1 specific sections.

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Howard Lewis Ship
Here's the shorter version of your example: t:jini serviceInterface=net.jini.space.JavaSpace Found JavaSpace! table tr t:type=loop source=spaceAttributes value=attribute tdt:beaneditform object=attribute//td /tr /table t:parameter name=serviceNotAvailable Oops, we could not

Re: T5-PageValidateListener ASO exists method @InjectStateFlag

2007-03-15 Thread Howard Lewis Ship
PageValidateListener is now handled using the activate event, i.e., onActivate(). There is not yet an equivalent to the @InjectStateFlag. Here's an idea; how about if the ApplicationStateWorker (the code that handles the @ApplicationState annotation) looks for a companion field (with Exists

Re: Tapestry sub-projects / related projects

2007-03-15 Thread Jesse Kuhnert
I mostly just wanted to edit the subject line so we don't keep treading all over Jeromes announcement. I agree...The current site + demo do tend to be ajax driven, but there was a glimmer of hope that we'd be able to support more services and other things as well...Don't let my opinion sway

Re: [Tap5] Integration between Tapestry and Jini

2007-03-15 Thread Jesse Kuhnert
Hehe...quite right. I must've just spent too much time in that area, at one point I think I had the small achievement of being the first one to implement a 2 phase commit trans mgr. Well either way, good work. I love stuff like this. It makes my nerdy little heart all warm fuzzy. :) On

Re: T5 Upload component?

2007-03-15 Thread Howard Lewis Ship
There's a pipeline of RequestFilters associated with the RequestHandler service. On 3/14/07, Pablo Ruggia [EMAIL PROTECTED] wrote: Sorry, i forgot to wrote that the forms blows because it doesn't get the parameter values, because it's not prepared to recieve a multipart request. To prepare the

Dynamic components with template (? extends BaseComponent)

2007-03-15 Thread Portuendo Vestado
Hi all, I'm trying to find a way to have the Delegator component use some other component with a template (chosen at runtime) to render output, and the closest I found was using PageLoader's createImplicitComponent() function. Is this correct for my intent? Are there more proper means of

Re: Hivemind Registry and Spring

2007-03-15 Thread Jesse Kuhnert
You can't, unless you control it through your own ApplicationServlet implementation. (or know the context parameter it is stored in, which I don't remember off hand as I've never used it ) On 3/14/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote: Hi all, How can I expose the Hivemind

Re: [OT] [T5] tapestry project structure

2007-03-15 Thread Jesse Kuhnert
You know, IDEA supports sub-modules fantastically. just thought I'd poke in and be the annoying off topic guy ... ;) On 3/14/07, Dan Adams [EMAIL PROTECTED] wrote: hmm. i've been quite happy with it, barring a couple small bugs. in any case, team projects sets are a normal eclipse thing and

Re: T4.1.1 - Portlet problem

2007-03-15 Thread Jesse Kuhnert
I think the biggest barrier to this happening is a working test environment for me to run things against. The information out there feels overwhelming and I've hard a hard time finding the stomach for it. If someone wanted to donate some sort of Workbench/Timetracker (anything) type setup that I

Re: Wrapping dojo components for tapestry

2007-03-15 Thread Jesse Kuhnert
Yeah, I don't know why the dojo documentation has parseWidgets = true for everything. No one actually uses that setting for high profile web sites. Then again, I've had many heated disagreements with some of them so it's not surprising..(though there are equally good devs for the minor annoyances

Re: T5 javascript

2007-03-15 Thread Jesse Kuhnert
There shouldn't be any incompatibilities between the libraries, if there are I'm sure many people would like to know. More than likely you were just having errors unrelated to T5 or prototype. (but maybe not, hard to say off hand ) On 3/15/07, Anjana Gopinath [EMAIL PROTECTED] wrote: Thanks

Re: Autocompleter probs

2007-03-15 Thread Andrea Chiumenti
empty ;p On 3/15/07, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Here you go :) Thank you, Yiannis -Original Message- From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 18:39 To: Tapestry users Subject: Re: Autocompleter probs Send the template as attachment then