Hello everybody,
attached below is an excerpt of the code from the VLib sample project -
the VlibPage Class to be more exact.
I assume this is the BasePage subclass that is used for most (if not
all) pages of the Vlib application.
It uses annotations to access all the required beans, objects an
Hi Hans,
I had a similar problem where pageBeginRender hooked in too late and I
switch to using pageAttached from the PageAttachListener interface.
It works the same way as pageBeginRender but seems to be called earlier.
Not sure if it helps you - and more importantly if it is the right way
t
I'm trying to make a custom password validator, which will require a
user to enter a password before make a change to their settings in my
web app.
For example, when a user is logged in, there's a "change email" page,
and a "change password" page which will require the user to enter their
Thanks for the suggestion -- I will try this out!
Hans
James Carman wrote:
I use a custom persistence strategy for this:
http://www.carmanconsulting.com/svn/public/tapernate/trunk/src/java/com/carm
anconsulting/tapernate/record/EntityPropertyPersistenceStrategy.java
Basically, I copied the se
On 21. Apr 2006 - 14:44:59, James Carman wrote:
| I use a custom persistence strategy for this:
|
| http://www.carmanconsulting.com/svn/public/tapernate/trunk/src/java/com/carm
| anconsulting/tapernate/record/EntityPropertyPersistenceStrategy.java
I don't use Spring but I would like to be able to
I think I'm going to go with my own restart service. Seems to work well,
especially since there was some extra Acegi stuff I wanted to take care of
on logout.
Thanks again!
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Yep, it's used by LinkFactory...
> Better then add a redirect f
Yep, it's used by LinkFactory...
Better then add a redirect filter or create your own Restart service.
FYI, i just looked at tapestry's configurations in META-INF
>From D&J Gredler <[EMAIL PROTECTED]>:
> Thanks for the info.
>
> I'm a little worried that changing org.apache.tapestry.servlet-pat
I've got a page that generates a grid of TextFields with For
components. The fields are populated by nested iterators from the
model.
How do I retrieve the values of the TextFields in my onSolve() listener method?
via IReqestCycle.getParameter()?
The problem here is the fields are named programma
I use a custom persistence strategy for this:
http://www.carmanconsulting.com/svn/public/tapernate/trunk/src/java/com/carm
anconsulting/tapernate/record/EntityPropertyPersistenceStrategy.java
Basically, I copied the session persistence strategy implementation and
modified it a bit to actually jus
yes - this works with threaded/pooled models (not magically but...)
because the implementation of the model (threaded or pooled) is part of
the proxy implementation, which is actually injected.
but when injecting a service-property, the actually injected object
might be a pojo or event a java
I could be wrong, but going with the notion that inject means a hivemind
service I've found that the actual object reference does ~magically~ change
to the correct reference depending on the context and implementation type of
your service. (via proxying I think).
So, if the object in question is a
did you try validate listener ? (assuming you use tapestry 4.0)
http://jakarta.apache.org/tapestry/UsersGuide/events.html
Cheers,
Ron Piterman
Hans L wrote:
Hi,
I'm having some difficulty with trying to reattach Tapestry-persisted
entities to Hibernate sessions. My main problem appears to
Hi,
AFAIK all injected objects are passed as arguments to the constructor of
the page/component class.
so if I use @InjectObject("service-property:...") the property will be
read once and stored in the page class ! so if the property changes, and
the injected object will not reflect any chan
Thanks for the info.
I'm a little worried that changing org.apache.tapestry.servlet-path will
have other repercussions, though. Is there a list of places that it is used
somewhere that I can check?
Thanks again,
Daniel
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> RestartService
Thanks for your answers!
I'll see if I can put something together which does
what I want... ;)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
OK I have narrowed things down a BIT but still am not sure of the best
direction. Because my component is a template-based component (with a
.html file), the component is not self-contained in the Java class
like the Insert component. So, in the "testNoFormat" method when the
newInstance is called
Hi,
I'm having some difficulty with trying to reattach Tapestry-persisted
entities to Hibernate sessions. My main problem appears to be that I
need a "page-begin-processing" method to hook into that is earlier in
the request/response lifecycle than pageBeginRender().
I have done some search
so the workflow looks like:
some action ( submit? ) on page 1
-> generate and set data on page 2
-> display page 2 (data is ok)
-> submit form (page 2)
-> page 2 displayed, data is lost
Briefly looking at the code it seems you just have to add a hidden with
the value binding ognl:someDa
I'm preciselly using a Textarea and using mainlly firefox! :-(
Created the report like you asked.
http://tacoscomponents.jot.com/BugReporter/Bug110
I'll try using a DIV and testing Explorer to see what happens.
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I remember i had lots of
I think some of this will require getting a little bit more comforatable
with the easymock.org library. If newBasePage() is setting up expected calls
for isRewinding() and your component doesn't check for that then you might
need to define your own version of that method.
(You might want to double
This was asked before but there was no response, so, effectively I am
going to ask it again.
I have some relatively simple (and not so simple) components I have
wrapped up into my own library. As part of my progression to Tapestry
4, I am having to re-write the parts of the library and would like
Seems to work well!!
On 4/20/06, Theo vN <[EMAIL PROTECTED]> wrote:
> Hi there
>
> Anybody ever deployed a Tapestry 4 app on the SAP Netweaver J2EE environment?
> Any known problems or issues or gothas?
>
> Thanks
> --
> Cheers
> Theo
>
--
Cheers
Theo
---
Hello gurus:
Maybe excuse me if this question is quite repetitive and maybe obvious
for some of you. I'm trying to show a JasperReport in HTML format in
Tapestry, I search but always the examples that I saw (even for JSP) are
how to show PDFs, but I need to show it now in HTML, or better if y
In data Fri, 21 Apr 2006 12:04:10 +0100, Jimmi Dyson ha scritto:
> Take a look at the Tomcat FAQs:
>
> http://tomcat.apache.org/faq/connectors.html#utf8
i admit that i did not look at it as a tomcat problem so i didn't search
those FAQ. Btw, the connector is already configured to use UTF-8 as
ex
Take a look at the Tomcat FAQs:
http://tomcat.apache.org/faq/connectors.html#utf8
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of marcopar
Sent: 20 April 2006 14:16
To: tapestry-user@jakarta.apache.org
Subject: problems with (sic) character encoding
Hello, i've read
In data Fri, 21 Apr 2006 12:39:32 +0200, Inge Solvoll ha scritto:
> This works for me, I have no shell component:
>
>
>
>
> I had similar problems with characters being encoded the wrong way when
> submitted, the code above resolved the issue.
>
ok but i want to use UTF-8.
In data Fri, 21 Apr 2006 12:47:51 +0200, Eric Fesler ha scritto:
> What happens if you force the browser to consider the page having UTF-8 or
> ISO-8859-1 content.
let me explain the action i made with some detail to avoid confusion.
the page contains a string of "" hard coded just for debu
Hi all,
Has anyone by any change already made a countdown timer component. Countdown
should be in a variable on the serverside.
Willing to share?
Kind regards,
Lennart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
On Friday 21 April 2006 12:25, marcopar wrote:
> In data Thu, 20 Apr 2006 15:16:00 +0200, marcopar ha scritto:
> > Hello, i've read some of the past discussions and tried to apply the
> > solutions described there without success so i'm here.
>
> i want just to add that today i made the upgrade to
This works for me, I have no shell component:
I had similar problems with characters being encoded the wrong way when
submitted, the code above resolved the issue.
On 4/21/06, marcopar <[EMAIL PROTECTED]> wrote:
>
> In data Thu, 20 Apr 2006 15:16:00 +0200, marcopar ha scritto:
>
> > H
In data Thu, 20 Apr 2006 15:16:00 +0200, marcopar ha scritto:
> Hello, i've read some of the past discussions and tried to apply the
> solutions described there without success so i'm here.
i want just to add that today i made the upgrade to 4.0.1 but the problem
persists.
---
Hi!
I'm trying to edit a set of values, and it works fine if I use
@Persist on the data I'm trying to edit.
I would like to avoid @Persist as much as I can as it bloats the session.
Therefore I would like some guidance on how to do it without @Persist
I would like to point out that I have tried @P
Hello, Lukasz!
I have the similar problem. I looked at Tapestry sources and find out, that the
default behaviour you mention, is hardcoded.
To solve this problem I made my own implementation of
tapestry.request.RequestLocaleManager service-point. In this class I changed
method extractLocaleForCurr
Hi Andreas,
Thank you for the Tree and Table components updated reference links. They are
most helpful.
>> What exactly is the problem with Frame support? It's 100% complete.
I experience some problems when logging out of a frames Tapestry app, and can
not subsequently browse back to the Home
34 matches
Mail list logo