Joel,
I ran across this component that wraps a template engine:
http://213.160.23.119:8080/t5components/t5c-contrib/howto_freemarkerservice.html
Andy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
May be is a sign that you need to refactor your class because is
getting too many responsibilities. :)
César.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Also, there's the var: binding prefix, which allows for the storage of
temporary values. However, its limitation is that the value is not
typed, so you can't build property expressions off of it.
On Fri, Feb 29, 2008 at 4:34 PM, Hugo Palma <[EMAIL PROTECTED]> wrote:
> This is a really cool featur
I've thought about adding an @Accessible or @GenerateAccessors
annotation that would create the getter and setter automatically.
However, that gets in the way of testablility ... for testing
purposes, you are likely to have those getter and setter methods
anyway.
On Fri, Feb 29, 2008 at 4:34 PM,
This is a really cool feature in T4, but it's not present in T5. I'm
finding that my classes are getting filled with getters and setters when
they could easily (i think) be generated at runtime just like in T4.
Is this by design or is it just a missing feature that will be
implemented in the futur
Doesn't mean I'm going to implement it :-)
On Fri, Feb 29, 2008 at 2:54 PM, David Marquis <[EMAIL PROTECTED]> wrote:
> Done!
> https://issues.apache.org/jira/browse/TAPESTRY-2213
>
> Thank you Howard,
>
> --
> David
>
>
>
> On 29-Feb-08, at 1:49 PM, Howard Lewis Ship wrote:
>
> > Sounds reas
Done!
https://issues.apache.org/jira/browse/TAPESTRY-2213
Thank you Howard,
--
David
On 29-Feb-08, at 1:49 PM, Howard Lewis Ship wrote:
Sounds reasonable to me; add it to JIRA.
On Fri, Feb 29, 2008 at 10:14 AM, David Marquis
<[EMAIL PROTECTED]> wrote:
Hi all,
I have a quick suggestion to
Ahh, that's how you do it tapestry. I guess I still can't get out of the tiles
mindset. Thanks.
-Original Message-
From: Olof Næssén [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 4:35 PM
To: Tapestry users
Subject: Re: T5: layout limitation?
You can always make a header and
You can always make a header and footer component and reuse them anywhere
you like.
/Olof
On 29/02/2008, Zheng, Xiahong <[EMAIL PROTECTED]> wrote:
>
>
> How can I have more than one in the layout template? My
> immediate problem is I need to include common header and footer contents
> in the tem
How can I have more than one in the layout template? My
immediate problem is I need to include common header and footer contents
in the template in stead of hard coding them since they can go to other
templates as well.
Thanks,
Xiaohong
--
You'll need to supply your own data type and editor for Timestamp. A
data type is a logial name for a Java type that is used to select an
editor Block and output Block, used by Grid, BeanDisplay,
BeanEditForm, etc.
Tapestry is treating a Timestamp like a java.util.Date, because of
inheritance ..
Ugh. That shouldn't work. That's going to screw up an validation
error messages.
The hard way is to override the editor for the property and just omit
the Label component entirely.
Seems like an @OmitLabel annotation would be useful as well, that clue
Tapestry in that it should not render a Lab
Wouldn't this be a better question for the Trails mailing list?
On Fri, Feb 29, 2008 at 7:04 AM, Ken in nashua
<[EMAIL PROTECTED]> wrote:
>
> Folks,
>
> Build was fine yesterday. Today is different. It fails due to remote repo.
>
> Can anyone explain the lapse or how to resolve? trace below...
I know Andreas has done some work for NetBeans but I doubt you'll see
many of the developers writing IDE plugins for an IDE unless they use
it or
someone is paying them for it.
In terms of total cost (ie time, paying people to write plugins,
etc..) - if you absolutely must have IDE support - it so
John,
I agree that such support would be nice, but having worked with T4 and T5, I
can say it's much less necessary with T5.
The error reporting generated from my inevitable typos gives a very nice
listing of available properties, and class reloading makes fixing things
much faster.
It would hav
You'll find all those features in Loomy
(http://blogs.logical-software.com/roller/loomy)
Pai911 wrote:
> Basically, we need the auto-completion support for built-in & user-defined
> components
>
> For instance, when you write a component , a list of available parameters
> pop up for you to choose
That I've not seen. If your company requires something of that level -
open source - perhaps they will consider funding it's development.
Pai911 wrote:
> Please see the "Flash demo" in here
>
> http://handyedit.com/index.html
>
> Best Regards,
>
>
> Chris Lewis-6 wrote:
>
>> Yeah that cou
Thanks for your help.
Davor Hrg wrote:
there's some insight in the rpoblem since it happened for the snippet shown...
... and a workarround..
http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
Davor Hrg
On 2/29/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
There's a workarou
I'm working on IntelliJ support for T5 right now :o)
We're very close to releasing the first beta. And yes, it has all the
auto-completion, drag&drop, documentation visualization, component/page
creation wizard kind of features
And lot's more
Check out some screenshots here
http://blogs.l
sounds like you search for a drag 'n drop IDE !?
2008/2/29, Pai911 <[EMAIL PROTECTED]>:
>
>
> Basically, we need the auto-completion support for built-in & user-defined
> components
>
> For instance, when you write a component , a list of available parameters
> pop up for you to choose
>
> this wa
If you use Eclipse you should check out the html template functions.
As a team you could define how you were going to use various
components and then set them up so it autocompletes.
Once you have one machine setup correctly, you can export it out to
the other developers.
I did this a fe
Sounds reasonable to me; add it to JIRA.
On Fri, Feb 29, 2008 at 10:14 AM, David Marquis <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a quick suggestion to improve the Loop component:
>
> We should be able to specify a block to display if the loop source is
> empty (size = 0)
>
>
>
Jesper,
Following up on my earlier response...
You might want to look at the work done in the tapestry5-acegi project,
where there was a HttpSessionIntegrationFilter rewritten to be used within
the Tapestry pipeline rather than from web.xml
I think this is a very similar situation.
Jonathan
Please see the "Flash demo" in here
http://handyedit.com/index.html
Best Regards,
Chris Lewis-6 wrote:
>
> Yeah that could be nice. I'm still confused about your statement
> that this kind of support exists in Idea. In fact I'm quite sure this
> level of support has never existed for any
Jesper,
I tried running your test, which gives a lazy-loading exception trying to
access the Set from BeanA. If you change your Hibernate mapping to
use lazy="false" then the problem goes away.
I think you will find that your OpenSessionInView filter is not opening a
session. The net result is
Yeah that could be nice. I'm still confused about your statement
that this kind of support exists in Idea. In fact I'm quite sure this
level of support has never existed for any version of Tapestry.
Pai911 wrote:
> Basically, we need the auto-completion support for built-in & user-defined
> co
there's some insight in the rpoblem since it happened for the snippet shown...
... and a workarround..
http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
Davor Hrg
On 2/29/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> There's a workaround for the JDK bug in Tapestry 5.0.10.
>
> O
Hi all,
I have a quick suggestion to improve the Loop component:
We should be able to specify a block to display if the loop source is
empty (size = 0)
There is no item matching your requestt:parameter>
I know we can do this :
There is no item matching your requestt:paramete
Basically, we need the auto-completion support for built-in & user-defined
components
For instance, when you write a component , a list of available parameters
pop up for you to choose
this way, we save more time from consulting the documents.
In addition, IDE can provide a toolbar of built-in
There's a workaround for the JDK bug in Tapestry 5.0.10.
On Fri, Feb 29, 2008 at 8:40 AM, Baofeng Yu <[EMAIL PROTECTED]> wrote:
> Looks like the NPE problem is due to a JDK 5 bug. After I upgrade JDK to
> 1.6, the problem is fixed.
>
> Baofeng
>
>
>
>
> Baofeng Yu wrote:
> > Yes, it happens co
I'm not sure what you mean by IDE support. I don't think you mean
tooling because unlike spindle for T3, there are no special plugins for
T4 or T5. Many of us, including myself, use Eclipse for T5. Is there
something in particular you are asking about or are having trouble with?
chris
Pai911 wrot
If your building trails to your local repo, populate javax and build with
trails repo commented out as above.
This will get you by as a workaround until it is resolved.Best regards Ken in
nashua
_
Need to know the score, the l
No... Not yet anyway!
Ideally, barebones, I'm just looking for a way to instantiate the
rendering engine in a main method. I know there's infinite flexibility
when the http client/container are included, but I'd rather leave them
out of it.
I know this isn't a practical application for Tapestry,
Dear all:
I' ve learnt and used Tapestry 4 for more than 6 months
It's really a pleasure developing with Tapestry,and therefore, for the last
two month I have tried to
advocate the use of Tapestry in my company.
Today, I did a short presentation to my co-workers, and they think the
separation
The question I have is on what could you mean by "generate files".
If you can just have an job to hit a particular url, then you can use
tapestry to generate that url.
If you want tapestry to programmatically generate a page, that is
conceptually possible, and I think I saw some code floating
Looks like the NPE problem is due to a JDK 5 bug. After I upgrade JDK to
1.6, the problem is fixed.
Baofeng
Baofeng Yu wrote:
Yes, it happens consistently when I restart jboss and access the page
the first time after the restart. Afterwards, it's all OK. I am using
5.0.9.
Baofeng
Robert
> Jesper Zedlitz <[EMAIL PROTECTED]> wrote
> This is the T4 feature:
> <
http://tapestry.apache.org/tapestry4/UsersGuide/template.html#template.directives.content
>
>
> Is something like this possible with T5?
The replacement of $content$ is the t:container construct (see
https://issues.apache.o
How can a form in Tap 5.0.11 include asynchronous components (select,
checkbox, ...) which update the form itself and a synchronous submit
which redirects on another page in its onSuccess event ?
Stephane
I wouldn't think it would either, but when you use Maven to grab their tools,
it brings in Struts:
http://repo1.maven.org/maven2/org/apache/velocity/velocity-tools/1.3/velocity-tools-1.3.pom
-Original Message-
From: Christian Köberl [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29,
I don't quite understand why this is delaying in IE...
Is it possible to create a simple example that demonstrates the delay you're
seeing and attach it to JIRA?
On Fri, Feb 29, 2008 at 5:22 PM, sasidhar <[EMAIL PROTECTED]> wrote:
>
> Thanks Andreas Andreou.
>
> I reset the cursor style using -
Wasn't my idea, thank Howard for figuring it out. ;)
On Fri, Feb 29, 2008 at 10:19 AM, Pai911 <[EMAIL PROTECTED]> wrote:
>
> For those who encountered this issue
>
> This issue ,as said by Jessek, is solved by "not" sharing Tapestry related
> library between multiple
>
> Tapestry applicatio
Has anyone already tried to implement dependant dropdown boxes with the
Ajax features of Tapestry 5.0.11 ?
I would like to implement a component to get a user address (country,
zipcode, city) and i would like to present the user the cities according
to the zipcode and the country just filled.
Thanks Andreas Andreou.
I reset the cursor style using - dojo.byId(a1).style.cursor = "none". PFB
the code snippet
tapestry.fx.attachAjaxStatus( function(show) {
if (show) {
// show your node
} else {
dojo.byId(a1).style.cursor = "none";
// hide your node
}
Now normal cursor reappears in
For those who encountered this issue
This issue ,as said by Jessek, is solved by "not" sharing Tapestry related
library between multiple
Tapestry application.
Thank you Jessek!
Jessek wrote:
>
> I think that Howard may have finally solved this mystery for us in
> this JIRA ticket https://i
Christian Köberl wrote:
>> With T4 it was possible to write complete HTML pages and
>> only use the body-part for output. Is there a similar possibility with
>> T5?
>>
> Do you mean Invisible Instrumentation (see
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html)?
>
I am n
Tapestry is not the right tool to generate files - we tried this in T4 and
failed. T5 is even more component-oriented. Components just don't work well
for generating text files. Use Velocity or FreeMarker.
Joel Wiegman-2 wrote:
>
> and velocity has a dependency on Struts.
>
Velcity has no depe
Yeah, it'd be a really nice feature. Right now I'm using velocity tools
to accomplish this... and velocity has a dependency on Struts.
So I have JARs for three templating engines (Tapestry, Velocity, and
Struts) in my WAR! :-)
-Original Message-
From: Chris Lewis [mailto:[EMAIL PROTECTED
Folks,
Build was fine yesterday. Today is different. It fails due to remote repo.
Can anyone explain the lapse or how to resolve? trace below... Thanks
Best regards Ken in nashua
C:\Prototype\Mavenized\Product\trails\trunk\trails>mvn clean install[INFO]
Scanning for projects...[INFO] Reacto
Maybe someone with more detailed knowledge about Tapestry's IoC
infrastructure can help me with this problem.
I have written a unit test (in fact it's more a kind of integration test)
using the PageTester. Injected into the page is a DAO configured via
Spring. If run in non-transactional mode the
You can get a reference to the server-side (dom) document, which will
contain generated markup, but I am almost certain that you can't write
code like you mentioned (pass a component instance into a kind of
rendered). The stream return is to make different http responses easy,
including binary file
The type of file doesn't really matter here. I just want to leverage
the Tapestry templating engine.
For example, say my TML looked like this:
ENTRY NAME: ${entry.name}
ENTRY ADDRESS: ${entry.address}
I'd of course need to remove the HTML validation that Tapestry does for
me, but I'm guessi
On 2/29/08, Chris Lewis <[EMAIL PROTECTED]> wrote:
> I'm fuzzy on your goal. What 'files' do you want to make? You want the
> generated markup of a component? A page?
Maybe (X)HTML documents, XML, HTML e-mails, other text formats, I
guess. Am I right, Joel?
--
Thiago
--
I'm fuzzy on your goal. What 'files' do you want to make? You want the
generated markup of a component? A page?
For the record, I'm fairly sure T5 is specifically designed to avoid
semantics like:
MyComponent component = new MyComponent();
component.setName("Test");
Components don't 'exist' like
this works, thanks
Thiago HP wrote:
>
> A simple workaround is to add a line like this in you app.properties:
> edit-label=
>
> --
> Thiago
>
>
--
View this message in context:
http://www.nabble.com/t5%3A-BeanEditForm-and-column-label-tp15754436p15758922.html
Sent from the Tapestry - User
Hello all,
Our application has the need to generate files.
I'm interested in trying to use Tapestry to do this since we're already
using T5 on the presentation layer.
Has anyone extracted the Tapestry templating engine to do other
processing? Something like the pseudo-code below:
// BEGIN
@In
Works like a charm thanks. I wasn't aware of this one. Thanks.
-Ursprüngliche Nachricht-
Von: Thiago HP [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 29. Februar 2008 13:24
An: Tapestry users
Betreff: Re: T5: Assets, resources and file path
Have you tried ?
--
Thiago
---
A simple workaround is to add a line like this in you app.properties:
edit-label=
--
Thiago
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Have you tried ?
--
Thiago
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Pai911 wrote:
> Put an InvokeListener component in the For
>
> when the rewinding occures, it will invoke the listener with each Iteration.
>
> In each iteration, the page property is stored with different value which
> you can use
>
> The listener is like
>
> public void updateUser(IRequestCyc
Thanks!
I've added it in JIRA as TAPESTRY-2209
Cheers,
Adriaan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
never mind... I'm going to try out a workaround for this and
if I'll find something interesting I'll post it here.
Thanks Horward and many compliments for your great job.
-Rick
Howard Lewis Ship wrote:
>
> I've seen this a couple of times just now; the debugger is having some
> trouble with
Hi,
I use zone to display some messages when use click a actionLink, is there a
way to automatically hide the zone after a certain period of time? thanks.
A.C.
--
View this message in context:
http://www.nabble.com/t5%3A-zone-auto-disappear--tp15755347p15755347.html
Sent from the Tapestry - Us
Hi there,
It seams I do not understand the asset-idea fully. The problem of referencing
images and scripts in source (e.g for including GWT + Ext components) seams to
be quite tricky since tapestry uses the path (url) of pages to add additional
parameters. So I stuck with path issues when us
Hi,
Is there a way to set column label to null? if I do this, it will cause an
exception:
model.get("edit").label("");
--
View this message in context:
http://www.nabble.com/t5%3A-BeanEditForm-and-column-label-tp15754436p15754436.html
Sent from the Tapestry - User mailing list archive at Nab
64 matches
Mail list logo