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 
other parameters. so how to code  to get t:id (or any parameter field) 
is not used with "prop" binding?


- The getElementId method of Zone component alway return null (?) 
- not same as other components (ex: actionlink)

Ex:
 + Index.tml
  http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>









 + Index.java
public class Hello {
@InjectComponent
private Zone tZone;
   
@AfterRender

void afterRender() {
System.out.println("> " + tZone.getClientId());
}
}


output: > null

Please give me some info or reference links to solve my problems.

Thanks.
 




[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 "prop" binding?


   - The getElementId method of Zone component alway return null (?) - 
not same as other components (ex: actionlink)

   Ex:
+ Index.tml
 http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
   
   
   
   

   



+ Index.java
public class Hello {
   @InjectComponent
   private Zone tZone;
  
   @AfterRender

   void afterRender() {
   System.out.println("> " + tZone.getClientId());
   }
}


output: > null

Please give me some info or reference links to solve my problems.

Thanks.



Re: [T5] A root element of 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  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 an  block to keep tapestry happy, but
it'd be cleaner not to.  Is there a way to disable adding default.css?


Howard Lewis Ship wrote:
> 
> That should only be triggered by the use (implicit or explicit) of
> JavaScript, such as a Form component (client validation and initial
> field focusing), or a DateField, etc.
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--A-root-element-of-%3Chtml%3E-is-needed-when-linking-JavaScript-and-stylesheet-resources.-tp20384969p20550569.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 Message-
From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2008 6:18 PM
To: Tapestry users
Subject: Re: [T5] createEventLink problem

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 its onActivate method.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 its onActivate method.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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
somebody explain why? How can I pass in the parameters? Thanks a lot!

 

 

 

 

public StreamResponse onChart(final int width, final int height, Object...
rest) {

.

}

 

public Link getChart3() {

return _resources.createEventLink("chart", false, new
Object[]{"600", "400", "aa", "39", "bb", "12", "cc", "12", "dd", "4"});

}

 

 

 

 

 



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 to do it to use Grid's add parameter to add a column and a  
 to define that column content and then wrapping the Grid  
inside a Form.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 them is like to use the declaration of dependecies.
> For example:
>   
>  com.javaforge.*tapestry*
>  *tapestry*-*flash*
>   
>
>Is it just necessary this declaration?
>
> Thanks for attention.
>
> 2008/11/17 Toby Hobson <[EMAIL PROTECTED]>
>
> > 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
> > > Tapestry here:
> > >
> > >
> > >
> >
> http://knol.google.com/k/knol/system/knol/pages/Search?q=+intitle%3A%22tapestry+5+flash+integration%22+inauthor%3A%22toby+hobson%22&restrict=general
> > >
> > >
> > > cheers,
> > > Peter
> > > - Original Message -
> > > From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]>
> > > To: "Tapestry users" 
> > > Sent: Monday, 17 November, 2008 5:21:44 PM GMT +02:00 Athens, Beirut,
> > > Bucharest, Istanbul
> > > Subject: Re: How to use Tapestry with Flash components?
> > >
> > > 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
> > > strategy that removes its value from the session after it is read. It
> is
> > > meant to be used with redirect-after-post.
> > >
> > > --
> > > Thiago H. de Paula Figueiredo
> > > Independent Java consultant, developer, and instructor
> > > http://www.arsmachina.com.br/thiago
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
>
> --
> Gutemberg A. Da Silva
>


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.



class Page {

  @Property
  private List users;

  @Property
  private List selectedUsers;

}


My idea is to create a mixin for the grid component.

Now my question is that what would be the recommended method for adding an 

additional column on the fly.

Kristjan Kelt
-- 
View this message in context: 
http://www.nabble.com/T5-selectable-grid-tp20546080p20546080.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>Foo
>Home
> 
>
> And of course an Index page.
> In Tapestry 5.0.15 it worked fine, but now the link does not work
> anymore. That is what you find in the generated code: Home
> Can someone reproduce this behavior?
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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:

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Foo
Home


And of course an Index page.
In Tapestry 5.0.15 it worked fine, but now the link does not work
anymore. That is what you find in the generated code: Home
Can someone reproduce this behavior?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 http://www.albourne.com/email.html for important 
additional terms relating to this e-mail.

- Original Message -
From: "Chris Hannam" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Monday, 17 November, 2008 6:29:10 PM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Re: unique ids for a select boxes

Thanks for the help, but I still cant see the problem.

I only have one instance of  wrote:

>
> 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]
> Sent: Monday, November 17, 2008 8:58 AM
> To: Tapestry users
> Subject: Re: unique ids for a select boxes
>
> 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 :
>
> 
>
> From:
> 
>
> Any ideas why?
>
> CH
>
> On Mon, Nov 17, 2008 at 3:31 PM, Gabriel Rodriguez <
> [EMAIL PROTECTED]> wrote:
>
> >
> > Try this:
> >
> >  > 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 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 [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 following
> > .tml
> > > file:
> > >
> > >  > > 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
> > select
> > > box
> > > from my javascript.
> > >
> > > Can anyone point me in the right direction?
> > >
> > > CH
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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  wrote:

>
> 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]
> Sent: Monday, November 17, 2008 8:58 AM
> To: Tapestry users
> Subject: Re: unique ids for a select boxes
>
> 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 :
>
> 
>
> From:
> 
>
> Any ideas why?
>
> CH
>
> On Mon, Nov 17, 2008 at 3:31 PM, Gabriel Rodriguez <
> [EMAIL PROTECTED]> wrote:
>
> >
> > Try this:
> >
> >  > 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 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 [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 following
> > .tml
> > > file:
> > >
> > >  > > 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
> > select
> > > box
> > > from my javascript.
> > >
> > > Can anyone point me in the right direction?
> > >
> > > CH
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: unique ids for a select boxes

2008-11-17 Thread Peter Stavrinides
This should be as straightforward as this:



//gets the object on the client
var selectList = document.getElementById("addSelect");



- Original Message -
From: "Gabriel Rodriguez" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Monday, 17 November, 2008 6:00:50 PM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: RE: unique ids for a select boxes


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] 
Sent: Monday, November 17, 2008 8:58 AM
To: Tapestry users
Subject: Re: unique ids for a select boxes

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 :



From:


Any ideas why?

CH

On Mon, Nov 17, 2008 at 3:31 PM, Gabriel Rodriguez <
[EMAIL PROTECTED]> wrote:

>
> Try this:
>
>  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 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 [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 following
> .tml
> > file:
> >
> >  > 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
> select
> > box
> > from my javascript.
> >
> > Can anyone point me in the right direction?
> >
> > CH
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [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 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 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 onProvideCopletionsFrom(String partial)  methode
> but is broken
> >
> > on the web page. All pages and content type is encoded utf-8
> >
> >
> >
> > Thanks, Max
> >
> >
> >
> > 
> >
> > DI Maximilian Weißböck
> > Competence Center Manager
> >
> >
> >
> > Sphinx IT Consulting GmbH
> > A-1060 Wien, Mariahilfer Straße 103
> > T  +43 (0) 1 599 31 - 208
> > F  +43 (0) 1 599 31 - 99
> > M  +43 (0) 664 846 86 55
> > [EMAIL PROTECTED] 
> > www.sphinx.at 
> > FN 71625g HG Wien
> >
> >
> >
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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] 
Sent: Monday, November 17, 2008 8:58 AM
To: Tapestry users
Subject: Re: unique ids for a select boxes

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 :



From:


Any ideas why?

CH

On Mon, Nov 17, 2008 at 3:31 PM, Gabriel Rodriguez <
[EMAIL PROTECTED]> wrote:

>
> Try this:
>
>  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 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 [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 following
> .tml
> > file:
> >
> >  > 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
> select
> > box
> > from my javascript.
> >
> > Can anyone point me in the right direction?
> >
> > CH
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 different.  I think JSF is
fundamentally crippled by being a very slow moving specification
rather than a single framework. However, Tapestry is not the perfect
solution for all cases ... I do think it heavily overlaps *most* of
the cases where people use JSF and I think in the overwhelming
majority of those, the Tapestry application is faster to get up and
running, easier to maintain, and will have better performance and
scalability. Can I back up that statement with numbers?  Sorry, no ...
just with anecdotes from the many, many people I've met who've tried
both JSF and Tapestry.


-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 :



From:


Any ideas why?

CH

On Mon, Nov 17, 2008 at 3:31 PM, Gabriel Rodriguez <
[EMAIL PROTECTED]> wrote:

>
> Try this:
>
>  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 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 [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 following
> .tml
> > file:
> >
> >  > 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
> select
> > box
> > from my javascript.
> >
> > Can anyone point me in the right direction?
> >
> > CH
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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 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 onProvideCopletionsFrom(String partial)  methode but is 
broken

on the web page. All pages and content type is encoded utf-8

 


Thanks, Max

 




DI Maximilian Weißböck
Competence Center Manager

 


Sphinx IT Consulting GmbH
A-1060 Wien, Mariahilfer Straße 103
T  +43 (0) 1 599 31 - 208
F  +43 (0) 1 599 31 - 99
M  +43 (0) 664 846 86 55
[EMAIL PROTECTED]  
www.sphinx.at  
FN 71625g HG Wien


 



  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
   
  com.javaforge.*tapestry*
  *tapestry*-*flash*
   

   Is it just necessary this declaration?

Thanks for attention.

2008/11/17 Toby Hobson <[EMAIL PROTECTED]>

> 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
> > Tapestry here:
> >
> >
> >
> http://knol.google.com/k/knol/system/knol/pages/Search?q=+intitle%3A%22tapestry+5+flash+integration%22+inauthor%3A%22toby+hobson%22&restrict=general
> >
> >
> > cheers,
> > Peter
> > - Original Message -
> > From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]>
> > To: "Tapestry users" 
> > Sent: Monday, 17 November, 2008 5:21:44 PM GMT +02:00 Athens, Beirut,
> > Bucharest, Istanbul
> > Subject: Re: How to use Tapestry with Flash components?
> >
> > 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
> > strategy that removes its value from the session after it is read. It is
> > meant to be used with redirect-after-post.
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java consultant, developer, and instructor
> > http://www.arsmachina.com.br/thiago
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
Gutemberg A. Da Silva


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 onProvideCopletionsFrom(String partial)  methode but is 
broken

on the web page. All pages and content type is encoded utf-8

 

Thanks, Max

 



DI Maximilian Weißböck
Competence Center Manager

 

Sphinx IT Consulting GmbH
A-1060 Wien, Mariahilfer Straße 103
T  +43 (0) 1 599 31 - 208
F  +43 (0) 1 599 31 - 99
M  +43 (0) 664 846 86 55
[EMAIL PROTECTED]  
www.sphinx.at  
FN 71625g HG Wien

 



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]



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
> Tapestry here:
>
>
> http://knol.google.com/k/knol/system/knol/pages/Search?q=+intitle%3A%22tapestry+5+flash+integration%22+inauthor%3A%22toby+hobson%22&restrict=general
>
>
> cheers,
> Peter
> - Original Message -
> From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]>
> To: "Tapestry users" 
> Sent: Monday, 17 November, 2008 5:21:44 PM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: How to use Tapestry with Flash components?
>
> 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
> strategy that removes its value from the session after it is read. It is
> meant to be used with redirect-after-post.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: unique ids for a select boxes

2008-11-17 Thread Gabriel Rodriguez

Try this:



-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 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 [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 following
.tml
> file:
>
>  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
select
> box
> from my javascript.
>
> Can anyone point me in the right direction?
>
> CH
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 [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 following .tml
> file:
>
>  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 select
> box
> from my javascript.
>
> Can anyone point me in the right direction?
>
> CH
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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 following .tml
file:



The tapestry generated id when rendered in the browser has a unique
identifier e.g. select:11daaf3019f  when means I cant access the select
box
from my javascript.

Can anyone point me in the right direction?

CH

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:



The tapestry generated id when rendered in the browser has a unique
identifier e.g. select:11daaf3019f  when means I cant access the select box
from my javascript.

Can anyone point me in the right direction?

CH


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%22&restrict=general


cheers,
Peter
- Original Message -
From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Monday, 17 November, 2008 5:21:44 PM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Re: How to use Tapestry with Flash components?

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  
strategy that removes its value from the session after it is read. It is  
meant to be used with redirect-after-post.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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%22&restrict=general


> I'd like to know how to use Tapestry framework with Flash components to a
> multimedia application.And what dependecies to use.
> For example:
>
>   com.javaforge.*tapestry*
>   *tapestry*-*flash*
>
>
> Thanks for attention.
>
> --
> Gutemberg A. Da Silva
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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  
strategy that removes its value from the session after it is read. It is  
meant to be used with redirect-after-post.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, I'll have to change all Assets and
I'd like to have a default path for Assets.
For example:
   class Test {
  @Inject
  @Path("${defaultPath}/images/...")
  private Asset _testAsset;

  @Inject
  @Path("${defaultPath}/images/...")
  private Asset _testAsset2;
   }

Where I can change the 'DefaultPath' in a default local.

-- 
Gutemberg A. Da Silva


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:
   
  com.javaforge.*tapestry*
  *tapestry*-*flash*
   

Thanks for attention.

-- 
Gutemberg A. Da Silva


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  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" <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Monday, 17 November, 2008 2:16:47 PM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Re: Multi-select list


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: 
http://www.nabble.com/Multi-select-list-tp20533280p20538365.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: 
http://www.nabble.com/Multi-select-list-tp20533280p20538365.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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:

 http://jumpstart.doublenegative.com.au

Keep the feedback and suggestions coming - it all helps!

Cheers,

Geoff

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 ... :)



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 necessary to add some state 
information to the rendering process. currently the rendering is 
completely stateless only relying on the static structure of the page.

i've started to refactor ComponentPageElementImpl just to see
how it could be solved



g,
kris




"Doug Hauge" <[EMAIL PROTECTED]> 
15.11.2008 01:57
Bitte antworten an
"Tapestry users" 


An
"Tapestry users" 
Kopie
"Doug Hauge" <[EMAIL PROTECTED]>, "Adam Ayres" 
<[EMAIL PROTECTED]>, "Matt Ayres" <[EMAIL PROTECTED]>
Thema
Changing the behavior of short-circuiting render phases (re: TAP5-128, 
TAP5-126)








As of Tapestry 5.0.16 (after the fix for TAP5-128), we are now running
into
a problem related to that described in TAP5-126. You closed the TAP5-126
issue
saying that the code was behaving as documented and designed, but it
seems
that this behavior leads to problems when trying to implement generic
mixins
that can safely be added to arbitrary components. I'd like to check
whether
there is any possibility of convincing you to change the behavior so the
reverse phases of a component/mixin are only called if the positive
phase is
for the same component mixin (e.g. a component's cleanupRender is called
if
and only if the component's setupRender was called).

It also seems odd that returning 'true' will cause other methods within
the
same phase to be bypassed. There thus seems to be no way according to
the
documentation at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
to design a mixin that will either short-circuit or continue rendering
as
if it didn't exist. The Tapestry code still seems to allow the behavior
we need by declaring the render phase method to return 'Boolean', and
return
'null' instead of 'true' to continue processing. However, unless I am
missing
something obvious, this is not documented behavior, so it is not clear
that
I can rely on it continuing to work.

The fundamental problem with the short-circuiting behavior as documented
is
that if a mixin short-circuits a render phase by returning either true
or
false, any component that contains it must be carefully written so it
can
handle it. Consider a component

class Component {

   void setupRender() {}

   void beginRender() {}

   void afterRender() {}

   void cleanupRender() {}
}

Where 'setupRender' constructs some objects from the component
parameters, 'beginRender' begins
an HTML element, 'afterRender' closes the HTML element, and
'cleanupRender' cleans up.

And a mixin

class Mixin {
   Boolean setupRender() { ... }

   Boolean beforeRender() { ... }

   Boolean afterRender() { ... }

   Boolean cleanupRender() { ... }
}

We are returning 'Boolean' here instead of 'boolean' so we have the
option of not short-circuiting
anything. If this is not considered supported, instead of returning
'null' in the examples below
simply remove the render phase method from the mixin.

1) If 'Mixin.setupRender()' returns 'true', then
'Component.cleanupRender()' is not called because
the phase is short-circuited, but 'Component.beginRender()' is called,
so 'Component.beginRender()'
would have to be written in such a way that it handles when
'Component.setupRender()' is not called.

2) If 'Mixin.setupRender()' returns 'null', but 'Mixin.beforeRender()'
returns 'false', then rendering
is short-circuited to the after render phase and
'Component.beforeRender()' is not called. However, the
'Component.afterRender()' method is called, so it would have to be
written in such a way that it handles
The 'Component.beforeRender()' not being called, in this case it would
have to create a property that
records whether the HTML element was started, and only add an end tag if
it was.

Thus, in the most general case, each render phase in the component would
have to be written assuming
that any subset of its previous render phase methods may not have been
called, which leads to overly
complicated code.

Doug







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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
Sent: Monday, 17 November, 2008 5:27:31 AM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Multi-select list


Hi,

I could not find multi-select list in the list of T5 components. Appreciate
if you can point me to right place of how to use/get it.

Thank you.
Roman.
-- 
View this message in context: 
http://www.nabble.com/Multi-select-list-tp20533280p20533280.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 if I choose to leave it alone, how could I append a single "special 
case" script (only used on one page) to the head. All my pages are wrapped by 
common Layout, So the way I usually append my 'once off' scripts is with the 
@IncludeJavaScriptLibrary annotation, which works great... is there a similar 
way, but appending in the head instead?

Thanks,
Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]