A very commendable effort Howard! I believe this type of documentation
will go a long way towards a more usable and marketable framework.
A minor comment from an editorial perspective regarding the cookbook
section, perhaps the naming is misleading: 'cookbook' represents
recepies so you might
Hi,
the documentation is really getting better, more understandable. But I would
like to print it and read offline (from
paper), is there any way how to show all documentation as one HTML page or PDF
to print it easily?
Jirka
Howard Lewis Ship napsal(a):
> I've been working on new documentati
Joshua Jackson wrote:
Dear all,
By default T4 files such as *.jwc, *.page, *.html are required to be
place inside WEB-INF/.
But I find this quite messy when there are other configuration from
another framework. Is there any way I can move these files to another
folder?
Thanks in advance
H
Dear all,
By default T4 files such as *.jwc, *.page, *.html are required to be
place inside WEB-INF/.
But I find this quite messy when there are other configuration from
another framework. Is there any way I can move these files to another
folder?
Thanks in advance
--
What you want today, may
I'm wanting to add custom t:parameter elements to a beaneditor within a Form.
This is not a BeanEditorForm, but a vanilla Form element with a beaneditor
within it. Screencast #5 shows how to add custom t:parameter blocks to a
BeanEditorForm. I've tried similar with a BeanEditor - adding the b
But when I tried to pass my own data structure, it throws an exception like
this:
..
Could not find a coercion from type java.lang.String to type
com.xxx...MyDataStructure.
Actually, MyDataStructure is quite complex, it contains some primitive data
types (byte,int,boolean), another custom data st
Sorry, I was unclear in my cut and paste of your question.
You can pass anything as a parameter.
If you want to get access to your component in your page then define an
attribute with the right type and use the @Component annotation. Add a
getter to your component if you want to get something ba
So the @Parameter can only be used to passed user-defined data structure to
the custom component...
Is there a way such that the page that displays the custom component can
have access to the componet's properties (public getter functions) in order
to retrieve the user-defined data structure? F
> For @Parameter attributes of custom components, can it be user-defined
> data
> structure? Or it has to be simple java-defined ones?
>
Yes.
>
Yes, but you don't need the ${}, the default binding is property
Josh
On Nov 12, 2007 3:01 PM, ronaldlee <[EMAIL PROTECTED]> wrote:
>
>
> For @Pa
Well, not in a single WAR. What you need is to built an *EAR* (Enterprise
Application Archive), and package inside there the WAR's of your tapestry
developed applications.. What it is important to note is that WAR is an
standard for a web application developed by Sun for the Java server side
techno
For @Parameter attributes of custom components, can it be user-defined data
structure? Or it has to be simple java-defined ones?
For example, can I have this in my custom component:
@Parameter
MyOwnDataStructure data
And in my main page I will feed that param using the page's property
function
On Nov 9, 2007 7:09 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Feedback is encouraged!
I've already said this kind of works are invaluable expecially when
are written side by side with concrete examples as the ones taken from
tapestry-core.
In this regards the only this i would say is the
Ronald,
Tapestry receives input (and fires events) using its Form component,
which is used for creating html forms. Checkboxes are themselves
components and are tied to boolean properties of the containing page (or
component in your case). If you have declared the checkboxes as 'raw'
html tag
Hi,
I wrote a simple component which contain a check list (using checkboxes). I
put it in a page where it has a function to listen to the submit event.
Inside my onSuccess function, how can I access that component's check list
that user has set?
thx.
Ronald
--
View this message in context:
htt
Hi,
Thank you, I forgot this injection.
Best regards,
Stef
> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Mon, 12 Nov 2007 11:28:22 -0800 (PST)
> To: users@tapestry.apache.org
> Subject: Re: [T4] Context real path
>
> Have you tried the following ?
>
>
> @InjectObject(service:
Have you tried the following ?
@InjectObject(service:tapestry.globals.ServletContext")
public abstract ServletContext getServletContext();
Shing
--- Istvan Szucs <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I get the real context path in Tapestry
> 4.0.2?
>
> It is not enough:
> pub
The following is my implementation of a
remove component.
Put the following in the component directory:
public class Remove {
protected boolean beginRender(){
return false;
}
}
Usage :
Fred
Shing
--- Geoff Callender
<[EMAIL PROTECTED]> wro
You likely want to inject the ServletContext into your page. In T4.0.2, you
need to explicitly reference the tapestry.globals name (don't recall it off
hand -- check the HiveDoc). In Tapestry 4.1+, you don't need to inject it
by name, as it will be auto-wired.
--
Kevin
On 11/12/07 1:35 PM, in
My component takes a parameter with a default binding prefix of
'literal'. This parameter needs to be able to receive strings with
characters like '>', but apparently the literal prefix causes them to be
converted to entities. How can I pass unfiltered characters to my
component as a parameter?
Just another tidbit...
The parent is actually Home.html
I guess I am wondering why the Script component is not rendering when specified
deeper beyond Home.html
Are there limitations?Best regards
Ken in nashua
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: Script component locality of
d
Hi,
How can I get the real context path in Tapestry 4.0.2?
It is not enough:
public void test(IRequestCycle cycle) {
String contextPath =
cycle.getEngine().getInfrastructure().getContextPath();
}
Best regards,
Stef
GET FREE 5
The reason why I am asking this... is because then I specify the @Script
definition in the parent, the javascript code gets rendered properly in the
initialization of the body and just near the actual widget markup. If I specify
the @script definition in the child, no scripting gets rendered at
Hello all. I'm working on a component that makes a 'slide show.' It
doesn't accept input as its only every used do display images. I'm
writing it so that users can have total control (if they wish) over how
the images are cycled, how the rotation starts, and what to do at the
end of the cycle.
I believe that what you want to do is create a constructor that takes
RequestGlobals as a parameter. Then store the value out into a final
property for access later.
private final RequestGlobals _globals;
public MyDispatcher(RequestGlobals globals) {
_globals = globals;
}
public boolean dispatc
Hi !
Is it possible to run multiple Tapestry Applications in the same Web
Application (same war).
Are there any known issues doing so, like Hivemind Registry clashes or some
singletons that the applications will have to share, etc ...
Thanks in advance.
There isn't a very good way to do that, there's no possiblity of
squirreling the link object away somewhere?
On Nov 12, 2007 6:54 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have this in the code, it generates a link:
>
> String link1 = resources.createPageLink("mypage", true,
> usr.
Hello,
I would like to render a tapestry page, components and all in the
background. I will set up the page parameters and it will be initialized
correctly, but i want to do this in the background and pass down the html.
This is what I had, and it worked for the early versions of tapestry. Ju
Folks,
I have ParentTemplate.html and ChildTemplate.html
ChildTemplate is a tapestry Component
ChildTemplate happens to exercise tapestry script and has a respective
ChildTemplate.script
QUES: Where should I place the @Script definition... in ParentTemplate or
ChildTemplate ?
I realize
hi...
i have list of daya displayed by grid component
now i want to add checkbox for each row
could anyone give me an example how to do it ?
thnx
Dwi Ardi Irawan
~ ...and the story goes ~
Blog : http://dwiardiirawan.blogspot.com
__
Do You Yah
Hi !
Is it possible to run multiple Tapestry Applications in the same Web
Application (same war).
Are there any known issues doing so, like Hivemind Registry clashes or some
singletons that the applications will have to share, etc ...
Thanks in advance.
i have a field name like this --> fieldname:display name:fieldname how to use
i18n for table field ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi all,
is there any possibility to use dynamic layouts for example, i'd like to use
some variable for my
layout name (${layout} which is then filled in my pageclass at runtime
depending on some conditions.
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
thank you,
harald
Hi,
I have this in the code, it generates a link:
String link1 = resources.createPageLink("mypage", true,
usr.getId()).toURI();
later I'd like to turn link1 back into a instance of Link, possible? Thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Link-to-string-and-b
$Remove$ is not yet implemented.
You can accomplish what you're trying to do with Any:
http://wiki.apache.org/tapestry/Tapestry5AnyComponent
In that case the runtime href will be prefixed with "t:" to
override the (informal) additional href used for preview.
The cleaner option is to write your
Anything wrong with the one that ships with T5?
http://tapestry.apache.org/tapestry5/tapestry-test/
Unforutnately, it's hard-coded that you have to use Firefox for your
testing (or is that 'fortunately'?), but I've been using it and it works
great.
-Original Message-
From: Angelo Chen [
Digging further, it appears to be a problem when caching is disabled in
Firefox and the Yslow! Plugin is activated in Firefox. So, the whole thing
is a bit perplexing. My guess is that Yslow! Is somehow resubmitting the
form. With the same setup this behavior is not observed at all with T5 --
th
On Mon, 12 Nov 2007 10:06:49 -0200, Geoff Callender
<[EMAIL PROTECTED]> wrote:
One of T4's great selling points was that the templates could be made
previewable in a browser or WYSIWYG tool. Is this possible in T5?
Yes. Some people people use, for example, the Grid component, as ,
but yo
I think that should work.
Howard has already said in other threads that he plans to support the
$remove$ and $content$ notations from T4 in T5. It's just a matter of
time until that happens.
Geoff Callender wrote:
I was thinking particularly of stylesheet handling. In T4 you could
put $remo
I was thinking particularly of stylesheet handling. In T4 you could
put $remove$ around a stylesheet that used a relative path. The
approach I'm taking in T5 is this kind of thing:
The first link makes it previewable, but it might not be valid at
runtime eg. if the te
That is indeed possible:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
See "Invisible Instrumentation" at the bottom.
-Filip
Geoff Callender skrev:
One of T4's great selling points was that the templates could be made
previewable in a browser or WYSIWYG tool. Is this
Of course. It's even better :)
On 11/12/07, Geoff Callender <[EMAIL PROTECTED]> wrote:
> One of T4's great selling points was that the templates could be made
> previewable in a browser or WYSIWYG tool. Is this possible in T5?
>
> Geoff
--
What you want today, may not exist tommorrow
Blog: htt
One of T4's great selling points was that the templates could be made
previewable in a browser or WYSIWYG tool. Is this possible in T5?
Geoff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
That didn't seem to work for me. Is what you are using for T4 or T5? I'm
trying to do this in T5.
mnguyen21 wrote:
>
> Thanks! I'll try that!
>
> --Michael
>
>
> -Original Message-
> From: Norman Franke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 08, 2007 1:40 PM
> To
Thanks andy,
This is good enough for me as I need the latest build because it
already has some fixes I need.
Cheers,
On 11/12/07, andyhot <[EMAIL PROTECTED]> wrote:
> http://tapestry.apache.org/tapestry4.1/download.html has the url for the
> snapshot repo.
> It's not really nightly builds - just
No, I haven't noticed something like this... how is it possible for us
to reproduce this?
Kevin Menard wrote:
Hi all,
I've just run into a problem with one of our apps that has likely been there
for some time. It seems all of our form listeners are called twice. I've
confirmed this behaviour
http://tapestry.apache.org/tapestry4.1/download.html has the url for the
snapshot repo.
It's not really nightly builds - just manual builds from the committers
Joshua Jackson wrote:
Dear all,
Is there any maven repo for T4 snapshot/nightly build? Since I always
need the latest build for T4.
Th
Hi has anyone given any thought to this:-
The possibility of creating test (black box) scripts that are generated in
some way as code is developed.
Would tapestry lend itself to this?
I haven't looked into this at all and have no idea what I am asking. But I
have a hunch that Tapestry might be able
Kevin Menard wrote:
Hi,
Hello,
Is there anyway to configure validation for a BeanEditForm other than with
the Validate annotation? I'd like to have validation, but really can't
apply the annotations because I'm working with classes coming out of a
library.
I see at least two other way, o
On Nov 12, 2007 8:54 AM, Alexander Lamb <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> We are making use of @ApplicationState to inject a session object in
> our various components.
>
> As I understand it, the first time Tapestry finds @ApplicationState it
> creates an instance of the class we inten
49 matches
Mail list logo