Weird, now it works.
I got some crazy error which I can not remember any more just now. I
had already taken it out and just tried this one:
Then I got your email and took the { and } off again, but I can not
reproduce the problem I had earlier... Maybe something didn't
reload/propagade proper
Looks really nice - I hope it'll catch on!
> -Original Message-
> From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 08, 2006 11:18 PM
> To: TapestryUsers
> Subject: Slightly OT: Public Tapestry based site and service
> is seeking
> users, testers, and contributers
>
That should work just fine - which error do you get?
> -Original Message-
> From: Mark [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 09, 2006 8:16 AM
> To: Tapestry users
> Subject: Concatenating strings in OGNL
>
>
> Hi,
>
> how can I concatenate strings using OGNL?
>
> What I would
Hi,
how can I concatenate strings using OGNL?
What I would like to do is something like this:
stylesheet="asset:mainCss">
The resulting title should look like this: "My Application - Admin Section".
Is there a way to do this in OGNL or do I need to add a Java function to
the page/component?
Well, I could specify *all* of the workers that I want my auto-wire worker
to follow by using a comma-separated list. That might do the trick!
-Original Message-
From: Mark Lehmacher [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 6:04 PM
To: Tapestry users
Subject: RE: Tapernate-Ex
I'll second the recommendation for the book. It was very valuable
while learning tapestry.
--sam
On 5/8/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
Hi Dwi,
Try downloading this source code from an excelente book on Tapestry:
(the code is for free, the book is not!)
http://www.agileskills2.o
Of course i am and i think most of us are interested in such a service !
Manage "template" emails in an application is quite a boring and complex
task and delegate this to a dedicated service seems to be the right
approach !
Stephane
Henri Dupre wrote:
I don't agree on this... Also I don't
The way I see it, it definitely IS the ordering:
When you contribute the autowirer with
before="tapestry.enhance.abstract-property" and
after="tapestry.enhance.dispatch-inject" parameters you don't guarantee that
the parameter-worker already performed it's work, because it is not part of
those se
Hi Dwi,
Try downloading this source code from an excelente book on Tapestry:
(the code is for free, the book is not!)
http://www.agileskills2.org/EWDT/source.zip
See the program PhoneBook. This is the program created in a chapter
preciselly on the contrib:table component that builds a CRUD with
I am interested in your EmailService, and I'm sure others would be, too.
Your point about dynamic content is a good one: it's quite likely
that an email would contain ExternalLinks, PageLinks, and perhaps
even stateless DirectLinks -- and it would be nice to generate those
in the email exac
I don't agree on this... Also I don't see really differences between
"static" email and interactive HTML. In the emails we generate, there is
lots of dynamic content although there is no form handling, we use the same
components plus many other tapestry features. Velocity is fine, but not when
you
Hi,
The method
record(String message, ValidationConstraint constraint)
of
org.apache.tapestry.valid.ValidationDelegate
will lookup any message automatically in the message property file.
However there does not seem to be a record-method that allows me to pass
in both the message-key and any
Let me invite you to try and use the public Tapestry
based application I have been developing for a while and my company SourceLabs
supports and hosts
http://area51.sourcelabs.com/cjar/app
Features:
* search for Java artifacts by name or content (class and package name
1. Im using refresh feature of shell component
but the application have this properties
org.apache.tapestry.default-cookie-max-age
-1
i'll shearching for information for this properties
thank you for you guide,,
On 5/8/06, Mark <[EMAIL PROTECTED]> wrote:
Sorry.. wrong subject (again)
Tapestry4.
I want to wrap tapestry getting the request for a page and returning from
rendering the page with getting the hibernate session and setting up a
transaction and doing some logging...
I want to do this before I start to open up Spring in Action an
Tapestry4.
I want to wrap tapestry getting the request for a page and returning from
rendering the page with getting the hibernate session and setting up a
transaction and doing some logging...
I want to do this before I start to open up Spring in Action and integrate
Spring into my project (the
Thaks a lot Mark
Mark wrote:
Stephane Decleire wrote:
If i understand well your configuration file, you encapsulate the
Spring bean messageSource in the class
SpringMessageSourceBasedComponentMessagesSource managed by Hivemind.
So messageSource is defined as a classic Spring bean in your
Well, it should probably take a parameter to say whether or not to cache
(defaults to true).
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 1:25 PM
To: Tapestry users
Subject: Re: InjectSpring initialisation error
James Carman wrote:
> This has to do w
James Carman wrote:
This has to do with the way the InjectObjectWorker is implemented. I think
it should be changed to lookup the object each time rather than look it up
once and inject that particular value into the object.
Oh, that's what the InjectObjectWorker does? It caches and reuses
Stephane Decleire wrote:
If i understand well your configuration file, you encapsulate the
Spring bean messageSource in the class
SpringMessageSourceBasedComponentMessagesSource managed by Hivemind.
So messageSource is defined as a classic Spring bean in your
contextApplication file.
Correct
I've written a ServletRequestServicerFilter for implementing an
open-session-in-view filter, much like the one in Tapernate (in fact, I used
TapernateFilter as my reference.)
In the no-exception case, it works fine. However, I was assuming that page
exceptions would get thrown back to the filt
Hi,
I need to post the source code for the T4 version of DynamicBlock.
The T4 version (referred to in the linked blog entry) no longer manipulates
page structure, instead it generates a page with the component declared inside
it, inside a Block.
DynamicBlock now behaves much like RenderBlock
The reason is mainly historical ...
But i also prefer to keep the best of both world : Spring is for me the
best way to glue the layers of our applications (Tapesty, Hibernate and
AOP for transactions, Web Services, ...) as Tapestry is the best
presentation layer ;-)
James Carman wrote:
Use
Thanks a lot. Such a stupid error **shame**
I won't forget, that's certain !
Cheers
ZedroS
On 5/8/06, Andreas Andreou <[EMAIL PROTECTED]> wrote:
change
public abstract String getInternalId();
to
public abstract Long getInternalId();
ZedroS Schwart wrote:
> Hi all
>
> In a class called Utilisa
Use HiveMind and not Spring. :-) Why are you using Spring to
instantiate/configure your beans? Do you have a compelling reason to use a
different IoC container? Are you using AOP?
-Original Message-
From: Stephane Decleire [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 12:34
No, my Spring bean is a "classic" one.
Do you know a way to bypass this problem ?
James Carman wrote:
This has to do with the way the InjectObjectWorker is implemented. I think
it should be changed to lookup the object each time rather than look it up
once and inject that particular value into
This has to do with the way the InjectObjectWorker is implemented. I think
it should be changed to lookup the object each time rather than look it up
once and inject that particular value into the object.
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Monday, Ma
Are you trying to use a non-singleton Spring bean?
-Original Message-
From: Stephane Decleire [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 12:18 PM
To: users@tapestry.apache.org
Subject: InjectSpring initialisation error
It seems that when a Spring bean is injected in a Tapestry
It seems that when a Spring bean is injected in a Tapestry page using
@InjectSpring, its initial state is not recovered where the page is
detached.
Is it a known bug ? Is there a way to force the reinitialisation of the
bean ?
Thanks in advance.
--
Stéphane Decleire
05 56 57 99 20
06 63 78 6
All,
We would like to do a 1.1.2 release sometime in the near future. If you
have any particular issues in Jira that you would like to see addressed,
please vote for them so that we may better prioritize based on user need.
Since this is going to be a maintenance release, we're going to concentra
I'm writing three pages that all pertain to the management of users,
so naturally all three have similar property string needs. There will
be some differences, of course, but a lot of the strings are the same.
Is there a way (other than an application level properties file) to
share the definiti
If i understand well your configuration file, you encapsulate the Spring
bean messageSource in the class
SpringMessageSourceBasedComponentMessagesSource managed by Hivemind.
So messageSource is defined as a classic Spring bean in your
contextApplication file.
Is that correct ?
And how do you in
Are you using the tapestry-spring jar? I think that works for me, using
this syntax:
class="com.mark_arnold.util.web.tapestry.SpringMessageSourceBasedComponentMessagesSource">
value="spring:messageSource"/>
Hope this helps you...
M
Danger Will Robinson!
I'm very nervous about any component that tries to change page structure.
In the Tapestry 5 documentation I'm finally stating strongly one of
the basic tenets of Tapestry: Static structure, dynamic behavior.
DynamicBlock violates that rule I believe.
On 5/8/06, sp y <[EM
- Do you allow cookies? Are you sure it stays within the same session?
- Is this the first page within your application?
- Does it work if you add a link in that page to itself and click that
link a few times, rather than using the reload (I know it's not what you
want but may give pointers to w
I thought the ordering was getting screwed up too. But, I added
LoggingInterceptor to the ParameterPropertyWorker and my auto-wire worker
and the parameter one seems to be running first. If the parameter worker
runs first, this problem should not occur, since the property would have
already been
change
public abstract String getInternalId();
to
public abstract Long getInternalId();
ZedroS Schwart wrote:
Hi all
In a class called UtilisateursPage.java , I've put :
public abstract class UtilisateurPage extends BasePage implements
PageBeginRenderListener {
@Persist("client")
p
Hi all
In a class called UtilisateursPage.java , I've put :
public abstract class UtilisateurPage extends BasePage implements
PageBeginRenderListener {
@Persist("client")
public abstract String getInternalId();
public abstract void setInternalId(Long id);
...}
I call this page so
I've tried to import my Spring bean User in Hivemind using
SpringLookupFactory without success.
Has anybody use this integration ? And could show me a sample of
hivemind configuration ?
Thanks in advance.
Stephane Decleire wrote:
Hi,
I need a User component in a Tapestry form like this :
Add % in front of the message, something like this:
validators="validators:required[%message.key]"
seng kim khong wrote:
Hi All,
Regards to the aboe subject, would like to ask that how can we use
different
localized message in validator?
Thax a lot :P
--
Regards,
Khong Seng Kin
---
Just omit the "message:" part, like this:
name:page.name:name
The Table will automatically look for the message key in your page's message
catalog.
Angelo Luis wrote:
I want to make the description of my Table component localized...
How do i do that???
i try to make that way, but dont work
I want to make the description of my Table component localized...
How do i do that???
i try to make that way, but dont work -> name:message:page.name:name
Dear:
a have a page with the refresh property set in 10 seconds, in a couple
refesh times, in lose my ASOs
Any one can give my a clue???
Thank you, in advance
--
Diogenes A Moreira
Project Manager
PLEASE NOTE
This message, along with any attachments, may be confidential or
legally privilege
Hi,
I need a User component in a Tapestry form like this :
@Persist("client")
public abstract void setUser(User user);
public abstract User getUser();
But my User component use Spring IoC to get its Address class.
Without a Spring declaration, the Address of my User isn't instantiated
Paul Cantrell pobox.com> writes:
> Ideally, I'd be able to do this:
>
> getPasswordField().recordError("Incorrect password");
>
> ...or something like that.
Try:
class ErrorRecord {
static void record(IFormComponent field, String msg) {
field.getForm().getDelegate().record(field,
Hi All,
Regards to the aboe subject, would like to ask that how can we use different
localized message in validator?
Thax a lot :P
--
Regards,
Khong Seng Kin
arun garg persistent.co.in> writes:
> But the trouble is that if I make an asset and insert it, there are parsing
> problems because one tag can not be
> put inside another:
> insert value="ognl.asset1">>
Have you tried:
--
Kent Tong
Author of a book for learning Tapestry (http://www.agil
Numa Schmeder euroconsumers.com> writes:
> I have a problem localizing a tapestry application in japanese, a
> translator has translated all properties file in japanese in utf-8,
> so all the properties file are encoded in utf-8, opening thoses file
> in eclipse or in a text editor that sup
A little correction, the Shell delegate parameter is of type IRender, not
IValidationDelegate.
> --- Ursprüngliche Nachricht ---
> Von: "Mark Lehmacher" <[EMAIL PROTECTED]>
> An: "Tapestry users"
> Betreff: RE: Tapernate-Example HiveMindAutowireWorker Problem
> Datum: Mon, 8 May 2006 12:30:51 +02
Rob Dennett tmit1.org> writes:
> Can you test your pages using HtmlUnit with mock services? I have a service
> that is drawing data from the database and I would like to fake that for
> testing purposes, but I can’t figure out how to do it.
The way I do it is to create an XXXTestCaller extern
Yup, that's what I am saying.
Looks like it's wiring component parameters as well:
5705 HiveMindAutowireWorker:performEnhancement [DEBUG] Creating auto-wired
accessor for property delegate on component
classpath:/org/apache/tapestry/html/Shell.jwc, line 22, column 96
5856 HiveMindAutowireWorker:p
Thanks for pointing out :)
On 5/8/06, Steve Motola <[EMAIL PROTECTED]> wrote:
I believe he's refering to:
http://www.behindthesite.com/blog/C1931765677/E20060309215538/index.html
Quoting Andreas Bulling <[EMAIL PROTECTED]>:
> On 08. Mai 2006 - 10:25:32, sp y wrote:
> | Hi All,
> |
> | If any
On 08. Mai 2006 - 04:37:42, Steve Motola wrote:
| I believe he's refering to:
|
| http://www.behindthesite.com/blog/C1931765677/E20060309215538/index.html
Thanks for that! Sounds _very_ interesting... ;-)
Kind regards,
Andreas
For yet another CRUD example you can also take a look at a demo of the Cognition
Framework:
http://www.thelabllc.com:8080/slave
This example is available in your dev environment through a 'new project
template' within the Modeler (http://www.thelabllc.com). You can view a
walkthrough here:
h
I believe he's refering to:
http://www.behindthesite.com/blog/C1931765677/E20060309215538/index.html
Quoting Andreas Bulling <[EMAIL PROTECTED]>:
> On 08. Mai 2006 - 10:25:32, sp y wrote:
> | Hi All,
> |
> | If anyone successfully tested Michael Henderson's DynamicBlock in Tap4?
> The
> | err
I've implemented Sam's solution in my project (thanks Sam !).
When the page is refreshed with the new items in the drop down list, i
would like that this form element keep the focus but the focus is reset
to the first element in the form ...
Any advice is welcome.
Stephane
Sam Gendler wrote:
On 08. Mai 2006 - 10:25:32, sp y wrote:
| Hi All,
|
| If anyone successfully tested Michael Henderson's DynamicBlock in Tap4? The
| error I had encountered was 'factory already defined' java.lang.error. The
| example that downloaded from Michael Henderson's website has the same error.
What Dynami
57 matches
Mail list logo