>>> Tapestry And GWT (Google Web Toolkit)
>>>
>>
>> Tapestry and GWT may be compared but it's a kind of different breed.
>> Integrating GWT in Tapestry works well and is a kind of quick use.
>>
>Well, so it worths to say that, explaining why they are different breed, and
>that they may
Any help on this? Howard?
On Sun, Mar 16, 2008 at 12:16 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is my SaltSource service from tapestry5-acegi package.
>
> @Marker(AcegiServices.class)
> public static SaltSource buildSaltSource(@Inject
> @Value("${acegi.password.salt}
Hi,
I tried T5 (5.0.11) client side validation in Internet Explorer, and it
seems that it not works in IE6 (I see POST in jetty log) and IE7 brings up
an ugly Error popup window "Object does not support property or method"
--
View this message in context:
http://www.nabble.com/Client-side-valid
I was just extending Autocomplete, and I wanted to add a callback to
the config, so I override the config:
protected void configure(JSONObject config)
{
config.put("callback", "myMethod");
}
and in my javascript I have:
function myMethod(element, entry) {
console.info(elem
It's not a hash code, its a unique id. Because Tapestry is having to
render the page piecemeil, across a series of Ajax requests, it can't
know what ids are already taken when it is trying to generate unique
DOM ids for elements, therefore, an Ajax request gets a namespace:
this timestamp as a hex
Thanks Howard, that is in fact what I was after.
Howard Lewis Ship wrote:
> t:id is used to set the Tapestry ID for the form; the client id is
> derived from the Tapestry ID. The Tapestry ID must be a fixed value.
>
> After the Form renders, you can access its clientId propety to
> determine the
I would factor out the shared interfaces into a library-core that
could be inheritted by the app-core and by the add-on projects.
At runtime, T5 IoC will be able to knit together everything.
On Wed, Mar 19, 2008 at 2:41 PM, raulmt <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a core app and oth
Nope, WinXP Pro and D: is NTFS.
Yunhua Sang a écrit :
Are you using Vista and the D:\ is FAT32?
I saw strange behaviors on this combination some times ago.
On Wed, Mar 19, 2008 at 4:45 PM, José Paumard <[EMAIL PROTECTED]> wrote:
Hi all,
Let's take the simple following case :
Hi,
I have a core app and others projects (say project1 to projectN) that add
functionality to this core (they are kind of extensions). The core app is
packaged as a war and project1 to N as jars.
The problem I have is that the core app doesn't have any dependency by code
to the others projects
Hello,
I have a T5 Grid which can have dynamic number of columns. I am using the
model to add/delete the columns. I can get it to work perfect if it is a
text field. I actually want some of those columns to be a text box. Since
the columns are generated dynamically, i am not able to specify the
You can do some tricky things, such as have more than on activate
method, using different numbers of parameters. The activate event
handler methods are called in order of parameter count, largest number
to fewest.
It's really hard to discuss in the abstract.
If the value can be coerced back and
t:id is used to set the Tapestry ID for the form; the client id is
derived from the Tapestry ID. The Tapestry ID must be a fixed value.
After the Form renders, you can access its clientId propety to
determine the client ID that was allocated for it. Often this is used
when generating client-side
Hello all,
I'm writing a component that will embed a form in it's template. This
form will serve to hold a text and submit control, but the submission
will be hi-jacked by my own ajax call. As such, the page will not
refresh but merely have some pieces updated. In my template i'm trying
to provide
Are you using Vista and the D:\ is FAT32?
I saw strange behaviors on this combination some times ago.
On Wed, Mar 19, 2008 at 4:45 PM, José Paumard <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Let's take the simple following case :
>
> Start.tml :
>
> refresh
>
>
> Menu.tml :
> refresh
>
> Start.ja
Hi all,
Let's take the simple following case :
Start.tml :
refresh
Menu.tml :
refresh
Start.java :
@OnEvent(value="refresh")
Class refresh() {
return Start.class ;
}
Menu.java :
@OnEvent(value="refresh")
Class refresh() {
return Start.class ;
I'll try this, but the property I need to set is not a simple string at all.
Bill
On Wed, Mar 19, 2008 at 5:52 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> You can set your property and then call onActivate(...) on an instance
> of the page injected via @InjectPage and then return that. If
HI,
Today I got back to a project that I haven't touched for a couple of months
and noticed that Tapestry error page that is displayed is totally short.
Sometimes it displays only the heading and sometimes a heading and the first
paragraph. I am pretty sure that this problem existed before in thi
Hi,
Perhaps this one should go into a FAQ/tutorial/cookbook somewhere? I
think it would be a great help for people new to the framework.
--
Chris
Robert Zeigler wrote:
Check on the value of the "production mode" symbol?
Detailed exception reports are disabled in production mode.
New apps cre
Check out the tapestry.production-mode parameter on:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html
> -Original Message-
> From: Dragan Djuric [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2008 3:12 PM
> To: users@tapestry.apache.org
> Subject: [T5] Detailed
Check on the value of the "production mode" symbol?
Detailed exception reports are disabled in production mode.
New apps created with the archetype default to disabling production
mode (if I remember correctly).
You could try adding:
-Dtapestry.production-mode=false
to your runtime configuratio
HI,
Today I got back to a project that I haven't touched for a couple of months
and noticed that Tapestry error page that is displayed is totally short.
Sometimes it displays only the heading and sometimes a heading and the first
paragraph. I am pretty sure that this problem existed before in this
It is indeed an Ajax request, the
t:zone XML attribute is there, so there is no problem with that.
>From what I see, T5 sometimes maps a TML
as (seen by inspecting the DOM)
or as
And in the 1st case, clicking on the link refresh the page, with an
error message.
When I try to narrow
Given your recommendation that using HibernateSessionManager in unit
tests is not appropriate, and Howard's little hint about constructor-
based injection, I was able to come up with an acceptable strategy,
whereby I create the sessionfactory and the session for my unit tests,
and pass that
Martin Kersten wrote:
Tapestry And GWT (Google Web Toolkit)
Tapestry and GWT may be compared but it's a kind of different breed.
Integrating GWT in Tapestry works well and is a kind of quick use.
Well, so it worths to say that, explaining why they are different breed,
and that they ma
The error you get is probably due to the fact that it is not an ajax request.
you can only return blocks from event methods when making ajax requests.
you have to make the request with Ajax.request(...) or by using
tapestry default ajax mechanism. (...)
hope it helps!
2008/3/19, Martin Kersten <
Hi,
can anyone tell me how I can observe the onchange event of a DatePicker
wrapped by Tapestry's DateField?
Jens
--
View this message in context:
http://www.nabble.com/-T5--React-on-DatePicker%27s-onchange-event-tp16147372p16147372.html
Sent from the Tapestry - User mailing list archive at Na
I see. When I read the AJAX documentation correctly your code snippet should be
on the save side.
Sorry but I can't see anything wrong.
Cheers,
Martin (Kersten)
Von: José Paumard [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2008 17:33
An: Tapestr
In case I wasn't clear, I was referring to the "traditional" binary
downloads; they now include the Tapestry JARs, 3rd party JARs, and
source JARs (for the Tapestry code).
On Wed, Mar 19, 2008 at 9:36 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> This is especially true for 5.0.11, where the
This is especially true for 5.0.11, where the dependencies of
tapestry-ioc and tapestry-core are bundled with those libraries. so
you can be up and running from the binary download very quickly
(still, the Maven support for setting up the project template is very
nice).
On Wed, Mar 19, 2008 at 9:
Code snippets are very basic :
In the tml :
click
me
someBlock">
In the class :
@Inject
private Block someBlock ;
@OnEvent(value="someEvent")
Block clickMe() {
return someBlock
;
}
What I would expect is to see the content of the block in the div
"som
Thanks for the input, I will change that item. I should have been more
careful in my wording.
What I meant by "used" and "not specifically required" is that many T5
tutorials use Maven to get you started (archetypes, screencasts, articles,
appfuse), but that you are not required to use Maven at al
Sounds like onActivate? What do you try to do? Can you give us the exact case
(event type). Code Snippet?
Von: José Paumard [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2008 17:18
An: Tapestry users
Betreff: Re: Component event handlers
Hello Chris,
Hello Chris,
Thank you for your fast answer.
It is Block (not BlockImpl, this class is in the internals of T5, so
using it is not recommended). I switched to Object, but it didnt change
anything. Here is the exact error message :
A component event handler method returned the value
[EMAIL
too little information...
some events support return value, some don't...
tell more on exact case
Davor Hrg
On Wed, Mar 19, 2008 at 5:12 PM, José Paumard <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Everytime I try to return an injected block in an event handler method, I
> get an error me
What is the declared return type of your method? It should be Object,
and not BlockImpl.
José Paumard wrote:
> Hi all,
>
> Everytime I try to return an injected block in an event handler
> method, I get an error message, telling me that BlockImpl is not a
> valid returned value. From the nightly g
Hi all,
Everytime I try to return an injected block in an event handler method,
I get an error message, telling me that BlockImpl is not a valid
returned value. From the nightly generated docs, this is supposed to
work. Has anyone experienced this too ?
Thank you,
José
--
>Tapestry And GWT (Google Web Toolkit)
Tapestry and GWT may be compared but it's a kind of different breed.
Integrating GWT in Tapestry works well and is a kind of quick use.
I plan to contribute such easy integration with a quick tutorial to
integrate several GWT components into tapestry pages (
Tapestry works well without Maven. You dont need it.
Just drop all required libraries into the lib-path and you are done.
Also I would like to add that developing using tomcat also works well.
-Ursprüngliche Nachricht-
Von: Daniel Jue [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. Mär
A little feedback:
>When not to use Tapestry
>If you are not allowed to use Maven. (Currently used by T5 for
gathering library dependencies, although not specifically required)
This is simply not true. It is possible to use Tap 5 without Maven at
all. In fact, I'm running a major intranet applica
Hi everyone,
just to inform everyone who has the same problem: Removing Sitemesh has
done the job for me. There is still a exception each time I make an AJAX
call (from Jetty, I think), but the "SyntaxError: unterminated string
literal" is gone and it's working like a charm.
Regards,
Tobias
I've made the stub page, and I've tried to keep it marketing-free and
of course honest. Smart project managers are going to ask when you
_would not_ want to use a particular framework, and potential users
should be able to get that kind of information from us easily.
Those of you with experience
Heh... I'd recommend
Tapestry 5: Building Web Applications
nice tricks on how to cut maven out of the loop (if, like me, you don't like
it). I used it to get started.
T5 was at 5.10, and other than having to use a different maven command (via
the mailing list), Its all smooth sailing.
Other than
you can add new form fields on the client-side using javascript
on the server-side you then have to parse/obtain/process the
data manually from the Request service you can inject almost
everywhere. you'll have to think about a smart way to name the
form fields so you can find them in the Request.
Nobody has an idea?
Jens Pfau wrote:
>
> Hello,
>
> I would like to have a table with form fields where each row stands for
> the
> values of one data set. Furthermore, I would like to allow the user to add
> new rows on the fly, preferably using client-side actions without
> reloading
> the e
Have you given http://www.jsecurity.org a look ?
I would be cool if a tapestry-jsecurity module existed, as an
alternative for acegi and other Spring based security solutions.
Joshua Jackson wrote:
>
> No worries. I am integrating T5 with Spring Security 2. But I'm not
> comfortable with it. I am
Praise Tapestry! I guessed the solution just by intuition.
To retrieve the new value you just need to introduce a parameter.
Field validation is done before setting actual properties.
I read the documentation but I missed the parameter of onValidate.
http://tapestry.apache.org/tapestry5/tapestry-
Hi all,
I came across a strange behavior. I'm not sure it's a bug, since from
the docs I fully understand why I get this error, but still, I have the
feeling that something could be done here.
Suppose we have a classical login / register zone, with a tml that
looks like that :
I allready use it and it is not set.
Give you an idea:
Page {
private String item = "default";
onSuccessFromItemForm() {
print(item) -> "item";
}
onValidateFromItem() throws ValidationException {
print(item) -> "default";
}
}
You see. I would have expected that o
On 3/19/08, Christian Edward Gruber <[EMAIL PROTECTED]> wrote:
> Fair enough. I'm convinced. Sorry for the false positive, Joshua.
>
> Cheers,
> Christian.
No worries. I am integrating T5 with Spring Security 2. But I'm not
comfortable with it. I am looking for the best for T5 to have
security.
Hi,
Why not just simply add a page to the Tapestry homepage with arguments
for/against tapestry?
Everyone who really is interested in informations and differences between * and
Tapestry could have a look at and anyone who wants to ignore 'trolls' can do so
and/or send the url.
Even a link-list
Fair enough. I'm convinced. Sorry for the false positive, Joshua.
Cheers,
Christian.
On 19-Mar-08, at 06:50 , Filip S. Adamsen wrote:
Joshua is not a troll.
Besides, he didn't mention Wicket.
-Filip
On 2008-03-19 07:46, Christian Edward Gruber wrote:
I love it when someone invents new peo
Yes, I know. And if you use onValidateFromNewItem (with newItem the id of
the field, not the form) you will see that the value of the property is
set. Or are you already using the id from the field?
Regards,
Olivier
On Wed, 19 Mar 2008 13:47:37 +0100, "Martin Kersten"
<[EMAIL PROTECTED]> wrot
Hi Oivier,
I actually use onValidateFromComponent. The problem is that the property
in question was not set to the field value to check.
Cheers,
Martin (Kersten)
-Ursprüngliche Nachricht-
Von: Olivier Jacquet [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2008 12:47
An: Tap
I like that the security aspect of T5 is open for me to implement.
Choices for this kind of thing is good. Imagine you are mandated to
use some other existing framework.
Code reuse is good. Do we really want to find people to write a
Netegrity Siteminder plugin for a custom security framework?
I
Hi,
I ran into this issue as well. onValidate() is actually called multiple
times. Try it with onValidateFromNewItem(). I can't check if that's how I
solved it here.
Regards,
Olivier
On Wed, 19 Mar 2008 11:39:55 +0100, "Martin Kersten"
<[EMAIL PROTECTED]> wrote:
> Having a simple form cont
Hi,
You can always have a look at the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowTos
And if you're as new as me the book
http://tapestry.apache.org/articles.html actually helped quite a bit but it
might already be somewhat outdated (was written for 5.0.6 or something).
You can always as
Hi,
i'll be in Dubai for the next 6 days, so, if any Tapestry fan
(that resides there) wants to meet, just send me a private email
Have fun list!
--
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
-
You can set your property and then call onActivate(...) on an instance
of the page injected via @InjectPage and then return that. If your
onPassivate method returns the correct activation context I think it'll
work. The property will have to be persistent, of course.
-Filip
On 2008-03-19 11:0
Joshua is not a troll.
Besides, he didn't mention Wicket.
-Filip
On 2008-03-19 07:46, Christian Edward Gruber wrote:
I love it when someone invents new people to stage internet conversations.
note the "just only" and other little language features that this troll
uses in all his posts, regar
I mean exactly that,
I'm comfortable with my html code, css and js
I can inline what I need, I'm not proposing this as a general approach,
but I like doing just that: take part of rendered content and do
something with it.
if something is a compoenent framework, a component should be independant,
Well, i believe if someone is aware of these issues, there's nothing
wrong with using
this solution - I've had some cases where data access is fast but data
processing
(in order to present) was quite complex, so this really helped.
For reference, another not-yet-mentioned problem of this kind of c
Having a simple form containing a simple field (TextField) I have
problems validating
its content.
The validation is done using onValidate. The Form is
processed using onSuccess. The problem arises that onValidate is
invoked *before* the property is updated with the value to validate.
D
Hi all,
I came across this stack trace while clicking on a EvenLink link with a
zone attribute. Can anyone tell me if it's a known issue or not ? If
it's not I'll try to isolate a simple use case to contribute it.
Thank you,
José
WARN - EXCEPTION
java.io.IOException: Syntaxe du nom de f
I was on the same boat just the other day. I ended up moving that
property to the context and it worked fine for me.
On Wed, Mar 19, 2008 at 12:51 AM, Bill Holloway <[EMAIL PROTECTED]> wrote:
> I have an actionlink method to redirect to a page that has an
> activation context but that also needs
> ...this king of component is useful for capturing output so it can be sent
> via email for example.
This does not sound like a good idea. Do you mean requesting a page and cut it
out or grabbing part of the DOM during same request. Just wondering... .
-Ursprüngliche Nachricht-
Von: Da
I agree that this is not something to take on lightly,
and data should be cached, and rendering left as is.
but besides caching this king of component is useful
for capturing output so it can be sent via email for example.
I like to keep most things stateless (only dependant on parameters),
so fro
A little late, and a little less than promised.
Rudimentary code is available at:
http://code.google.com/p/tapestry5-cayenne/
Note that the code there is based on working application code, but the
actual code is currently untested.
Maybe I will have a bit of time this weekend to hack on this som
I just needed a custom validator tutorial and found the
offical tutorial of Tapestry 5. Saidly it is still incomplete.
Are there any plans to complete it? It doesn't look very promising
if the official tutorial is out of order. (Also I would appreciate
the additional informations.)
Cheers,
Mar
Robin Helgelin wrote:
The bad thing about tapestry-acegi is that it is not very flexible, though.
Recently I was trying to apply tapestry-acegi for CAS authentication
(http://www.ja-sig.org/products/cas/) and found that I had to rewrite almost
every line of its module class, which unfortunately
On Wed, Mar 19, 2008 at 9:03 AM, Ivan Dubrov <[EMAIL PROTECTED]> wrote:
>
> What's the reason to make it NOT depend on Spring? tapestry-acegi does NOT
> uses Spring IoC container, it uses T5 IoC for configuring the services, but
> it does use some Spring utility classes, which is in my opinion jus
yuan gogo wrote:
At least, if tapestry-acegi doesn't have a dependency on spring, that will
be very GOOD!
http://www.acegisecurity.org/standalone.html
"we recommend you take a look at Spring and consider using it in your
applications. Irrespective of whether you do so or not, we strongly
re
What’s the reason to make it NOT depend on Spring? tapestry-acegi does
NOT uses Spring IoC container, it uses T5 IoC for configuring the
services, but it does use some Spring utility classes, which is in my
opinion just fine (it certainly increases size of the final archive, but
who bothers abo
Maybe a JSecurity option on tapestry would be a deal ;-).
www.jsecurity.org
I also don't like the ACEGI framework for personal reason.
Cheers,
Martin (Kersten)
-Ursprüngliche Nachricht-
Von: Chris Lewis [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2008 08:48
An: Tapestry us
On 18 mar 2008, at 20.35, Howard Lewis Ship wrote:
I see these little extra characters as a bit of a rabbit hole=; I'd
rather add yet another parameter to identify which columns should be
sortable
Also, in a lot of my apps, re-sorting the table should usually set the
paging to page 1. I guess
Hi Yuan,
When I spent a few minutes looking at acegi I read that it can be used
without Spring. Of course shortly after I read that I decided not to use
it because it's documentation is circular (ie, you must first learn
spring). Let me say this to you even though most know this by now - I
hate ac
BTW, I hope I can contribute codes.
But, unluckily, I'm not so skilled to do that for now! :-(
2008/3/19, Christian Edward Gruber <[EMAIL PROTECTED]>:
>
> I love it when someone invents new people to stage internet
> conversations.
>
> note the "just only" and other little language features that
I don't understand u well, I think.
But I'm not making FUD here if you read the mail list before. Or my English
is so bad to understand u, if so, I apologize.
yes, security "without configuration" is impossible, by "without
configuration" I mean I hope there's something looks like "Native", if th
77 matches
Mail list logo