Tapestry 5.0.16 tapestry.script-at-top

2008-11-17 Thread Peter Stavrinides
Hi everyone, Firstly, congrats to the Tapestry team for getting a release candidate out! ...I'm really loving Tapestry! My question: The new configuration parameter tapestry.script-at-top will allow all JavaScript to be appended in the head, but this scope includes my entire site, right? So

Re: Multi-select list

2008-11-17 Thread Peter Stavrinides
The component was named palette, which is probably the reason you can't find it: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Palette.html cheers, Peter - Original Message - From: rs1050 [EMAIL PROTECTED] To: users@tapestry.apache.org

Re: Changing the behavior of short-circuiting render phases (re: TAP5-128, TAP5-126)

2008-11-17 Thread Kristian Marinkovic
hi doug, all we can do is to reopen the bug and vote for it ... :) IMHO i guess one of the reasons why this issue does not get resolved is the added complexity to the page rendering. first because the responsible class ComponentPageElementImpl is already very complex (1000 loc) and it would be

[ANN] JumpStart 3.18 released - for T5.0.16

2008-11-17 Thread Geoff Callender
Hi all, JumpStart 3.18 is now available. It's built on the brand new Tapestry 5.0.16 and contains new examples including AjaxFormLoop and AjaxFormLoop Tailored. You can use it live: http://jumpstart.doublenegative.com.au:8080/jumpstart/ or download it:

Re: Multi-select list

2008-11-17 Thread rs1050
I saw palette, but I would like to have just one list from which users can highlight several rows - not have to move them around from 'available' to 'selected' (which requires two lists) Thank you. Roman. -- View this message in context:

Re: Multi-select list

2008-11-17 Thread Peter Stavrinides
Okay, that wasn't clear from your initial question, well you could still use the informal parameter multiple=true on an t:select / and that should work, but unfortunately then you wont have the option of a java.util.list like you do with the pallet. - Original Message - From: rs1050

How to use Tapestry with Flash components?

2008-11-17 Thread Gutemberg A. Da Silva
I'd like to know how to use Tapestry framework with Flash components to a multimedia application.And what dependecies to use. For example: dependency groupIdcom.javaforge.*tapestry*/groupId artifactId*tapestry*-*flash*/artifactId /dependency Thanks for attention. -- Gutemberg

Path Dynamic

2008-11-17 Thread Gutemberg A. Da Silva
I'd like to know how to use a path dynamic for all assets. For example: class Test { @Inject @Path(context: assets/...) private Asset _testAsset; @Inject @Path(context: assets/...) private Asset _testAsset2; } 'Cause when I'll have to change the path,

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Nov 2008 10:48:32 -0300, Gutemberg A. Da Silva [EMAIL PROTECTED] escreveu: I'd like to know how to use Tapestry framework with Flash components to a multimedia application.And what dependecies to use. Tapestry-flash isn't related to Adobe Flash. It is a field persistence

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Jan Vissers
Here is some info for ya about Adobe Flash components en Tapestry: http://knol.google.com/k/knol/system/knol/pages/Search?q=+intitle%3A%22tapestry+5+flash+integration%22+inauthor%3A%22toby+hobson%22restrict=general I'd like to know how to use Tapestry framework with Flash components to a

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Peter Stavrinides
If you are interested there are two good articles on flash integration with Tapestry here: http://knol.google.com/k/knol/system/knol/pages/Search?q=+intitle%3A%22tapestry+5+flash+integration%22+inauthor%3A%22toby+hobson%22restrict=general cheers, Peter - Original Message - From: Thiago

unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Hi, I`m trying to find the id of a select component from the following .tml file: t:select id=addTo model=playlistNames blankOption=NEVER value=selectedPlaylist/ The tapestry generated id when rendered in the browser has a unique identifier e.g. select:11daaf3019f when means I cant access the

RE: unique ids for a select boxes

2008-11-17 Thread Gabriel Rodriguez
Have you tried setting the clientId property? -Original Message- From: Chris Hannam [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 8:11 AM To: users@tapestry.apache.org Subject: unique ids for a select boxes Hi, I`m trying to find the id of a select component from the

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Yes, it sets a unique id on the name e.g. select:12o34nkasi98 I need to know the id to access the select box. CH On Mon, Nov 17, 2008 at 3:21 PM, Gabriel Rodriguez [EMAIL PROTECTED] wrote: Have you tried setting the clientId property? -Original Message- From: Chris Hannam

RE: unique ids for a select boxes

2008-11-17 Thread Gabriel Rodriguez
Try this: t:select id=addTo clientId=addTo model=playlistNames blankOption=NEVER value=selectedPlaylist/ -Original Message- From: Chris Hannam [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 8:26 AM To: Tapestry users Subject: Re: unique ids for a select boxes Yes, it sets a

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Toby Hobson
I have developed several T5/Adobe Flash apps and as Peter mentions I wrote a couple of documents about it. I would be happy to answer any questions you may have Toby 2008/11/17 Peter Stavrinides [EMAIL PROTECTED] If you are interested there are two good articles on flash integration with

is tapestry 5 better than all of JSF put together(richfaces vs icefaces+adf+tomahawk+JSF RI etc..)

2008-11-17 Thread hari ks
Also - is appcelerator just a hype? thanks Regards, Hari Sujathan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Problems with UTF8 encoding and t:mixins=autocomplete

2008-11-17 Thread Maximilian Weißböck
We are having trouble with UTF-8 encoded Strings like Weißböck using the t:mixins=autocomplete. Using a grid the name is all ok, no encoding problem, but using the mixin the encoding is broken. Any hints to where the problem may be or where should start investigating? The data is ok in the

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Gutemberg A. Da Silva
Hi, I saw your tutorial about Tapestry/Adobe Flash. But I've still some doubts. One of them is like to use the declaration of dependecies. For example: dependency groupIdcom.javaforge.*tapestry*/groupId artifactId*tapestry*-*flash*/artifactId /dependency Is it just

Re: T5: Problems with UTF8 encoding and t:mixins=autocomplete

2008-11-17 Thread José Paumard
Hello Maximilian, I openned a JIRA issue on that point, it has been fixed in a snapshot of 5.0.16. What version are you using ? José Maximilian Weißböck a écrit : We are having trouble with UTF-8 encoded Strings like Weißböck using the t:mixins=autocomplete. Using a grid the name is all

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Hi, Its gets stranger. That works for the first time I visit the page. The select box has the correct name. When I revisit the page the id has changed to : select id=addTo:11dab2a7236 name=addTo From: select id=addTo name=addTo Any ideas why? CH On Mon, Nov 17, 2008 at 3:31 PM, Gabriel

Re: is tapestry 5 better than all of JSF put together(richfaces vs icefaces+adf+tomahawk+JSF RI etc..)

2008-11-17 Thread Howard Lewis Ship
Yes. (*) On Mon, Nov 17, 2008 at 7:43 AM, hari ks [EMAIL PROTECTED] wrote: Also - is appcelerator just a hype? thanks Regards, Hari Sujathan. (*) What did you think I would say? I'm actually not familiar with all of those technologies. I do know Icefaces is quite innovative and

RE: unique ids for a select boxes

2008-11-17 Thread Gabriel Rodriguez
If I remember correctly, this will happen if you're creating more than one instance of it per page. Any id should be unique and Tapestry will help you achieve this whether you want it to or not. Anything else is bad form. -Original Message- From: Chris Hannam [mailto:[EMAIL PROTECTED]

AW: T5: Problems with UTF8 encoding and t:mixins=autocomplete

2008-11-17 Thread Maximilian Weißböck
We are on 5.0.15, thanks for the Info! Max -Ursprüngliche Nachricht- Von: José Paumard [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. November 2008 16:56 An: Tapestry users Betreff: Re: T5: Problems with UTF8 encoding and t:mixins=autocomplete Hello Maximilian, I openned a

Re: unique ids for a select boxes

2008-11-17 Thread Peter Stavrinides
This should be as straightforward as this: t:select t:id=addTo id=addSelect model=playlistNames blankOption=NEVER value=selectedPlaylist/ //gets the object on the client var selectList = document.getElementById(addSelect); - Original Message - From: Gabriel Rodriguez [EMAIL

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Thanks for the help, but I still cant see the problem. I only have one instance of t:select id=addTo in the tml file. There must be some sort of state being saved but I am unable to see where. Any ideas how I can track down why this item is still there? I have no variables using @persist. CH

Re: unique ids for a select boxes

2008-11-17 Thread Peter Stavrinides
have you tried to change id to t:id ? and add id as separate client side value? -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit

[T5] Pagelink bug in Tapestry 5.0.16?

2008-11-17 Thread Michael Dukaczewski
I think I found a bug in the new Tapestry Release Candidate. I have a page (Foo.tml) with following code: t:layout xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; h1Foo/h1 pa t:type=pagelink t:page=IndexHome/a/p /t:layout And of course an Index page. In Tapestry

Re: [T5] Pagelink bug in Tapestry 5.0.16?

2008-11-17 Thread Yunhua Sang
I can see this issue, when the context root is /. Yunhua On Mon, Nov 17, 2008 at 1:23 PM, Michael Dukaczewski [EMAIL PROTECTED] wrote: I think I found a bug in the new Tapestry Release Candidate. I have a page (Foo.tml) with following code: t:layout

T5 selectable grid

2008-11-17 Thread kristjankelt
Hello, I need a grid component that can take a list of entities like the Tapestry grid component does, but in addition it should also be able to display the first column with checkboxes. Selectable grid. This grid component should provide a list of selected entities. t:grid source=users

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Toby Hobson
As Thiago mentioned, tapestry-flash is unrelated to adobe flash, it relates to a client persistence strategy - rails style flash persistence Toby 2008/11/17 Gutemberg A. Da Silva [EMAIL PROTECTED] Hi, I saw your tutorial about Tapestry/Adobe Flash. But I've still some doubts. One of

Re: T5 selectable grid

2008-11-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Nov 2008 16:14:54 -0300, kristjankelt [EMAIL PROTECTED] escreveu: I need a grid component that can take a list of entities like the Tapestry grid component does, but in addition it should also be able to display the first column with checkboxes. Selectable grid. A simple way

[T5] createEventLink problem

2008-11-17 Thread Henry Chen
I want to use jfreechart in my app and found an example on wiki. So I have the code below. But onChart(final int width, final int height, Object... rest){} never got executed, tapestry complaint there is no event handler. I then dropped in a onChart(){} (without any parameters) and it worked. Can

Re: [T5] createEventLink problem

2008-11-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Nov 2008 20:10:39 -0300, Henry Chen [EMAIL PROTECTED] escreveu: I want to use jfreechart in my app and found an example on wiki. In my humble opinion, the best and easier way to handle file generation (including charts) is to have a page class that returns a StreamResponse on

RE: [T5] createEventLink problem

2008-11-17 Thread Henry Chen
Hi Thiago, Thanks for your reply and suggestion. Actually the event handler in this case returns a StreamResponse. I also found my mistake that caused the problem. I replace the createActionLink with createEventLink but forgot to remove one redundant parameter (false) passed in. -Original

Re: [T5] A root element of html is needed when linking JavaScript and stylesheet resources.

2008-11-17 Thread Franz Amador
I'm getting the same error, but it's not JavaScript. DocumentLinkerImpl.updateDocument(Document) is trying to add tapestry's default.css. I'm returning a div block in response to an Ajax page request that's being sent by Dojo's ContentPane widget. I may be able to get away with wrapping it in

[t5][Zone Component] id getElementID

2008-11-17 Thread Tuan
Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other parameters. so how to code to get t:id (or any parameter field) is not used with

Re: [t5][Zone Component] id getElementID

2008-11-17 Thread Tuan
Sorry about typing error. so don't worry about page class name. Thanks Tuan wrote: Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as