To add more info...
I added a bit to make sure it was the timing. I set the cookie scope
manager into a cart subclass and when done using it in the listener
method i called the manager's store method on it. Of course store gets
called again by the system a bit after but by then the cart is not
I've been trying to setup a new scope for ASO's using cookies. I have
the ASO working fine and injecting into pages.
The problem is by the time the system calls
StateObjectPersistenceManager#store for the cookie manager it seems to
be too late to add cookies to the outgoing response. I checked
I asked the same question a few weeks. Ron Piterman
had kindly answered it.
You can check out the his answer at
http://article.gmane.org/gmane.comp.java.tapestry.user/29260/match=shing
Basically, if you want to have ',' in your pattern,
you have to define your pattern in a bean.
The $ sign no
Apache has another project in the commons called httpclient that should
do the trick. A little tricky to set up the first time, but works pretty
well.
Jean-Eric Cuendet wrote:
Hi,
I'm implementing a payment solution with Tapestry. I have a page on
which a user can choose some articles and th
Actually... ;) I can't speak for 4.x, but this works with 3.0.3.
I had a similar sort of situation where I needed to override all
link-component types to use a custom renderer.
So... if you do something like the following in your .application file:
Then all references in your application to Direc
Title: Vinu Varghese
Wish you a Happy New Year
--
[ Good is not Good when better is
Expected ]
My Email : [EMAIL PROTECTED]
My Web : www.vinusweb.com
X minds
Solutions Unfolded
[www.x-minds.org]
Title: Vinu Varghese
Wish you a Happy New Year
--
[ Good is not Good when better is
Expected ]
My Email : [EMAIL PROTECTED]
My Web : www.vinusweb.com
X minds
Solutions Unfolded
[www.x-minds.org]
I apologize for just mooching help off this list, but I haven't been able to
figure this out other places.
For my database layer, I want to always write in the database the username
of the user that is changing the record. So if I create a new record, I want
to write who created it (created_by
AspectJ provided around advice might help you :)
with AOP you could instrument any classes and inject custom code quite
cleanly.
John Smith <[EMAIL PROTECTED]> wrote: I could but then I would have to change
all the code to use that extended
class. Like for PageLink, everything now would have
I am trying to find a way to provide a hook into everything that renders. I
want to integrate some business rules into Tapestry so that I can turn off
the rendering of some components if some condition is true. For example, if
you are not part of the admin group then the "Delete User" button doe
I could but then I would have to change all the code to use that extended
class. Like for PageLink, everything now would have to use MyCustomPageLink.
Or I would have to crack open the tapestry.jar and change the component
class of PageLink to MyCustomPageLink.
Original Message Follows
Hi!
I've been trying to do pattern validation using the new validator approach
in Tapestry 4 (RC3) but it seems it is not possible to use [, ] and , in the
pattern string. It seems like the constructValidatorList() method in
ValidatorFactoryImpl cannot handle those kinds of characters and my guess
Couldn't you just override the component's renderBody method? And
then do something like:
Public void renderBody(IRequestCycle cycle) {
If (foo)
Super.renderBody(cycle);
}
--- Pat
> -Original Message-
> From: John Smith [mailto:[EM
I am trying to find a way to provide a hook into everything that renders. I
want to integrate some business rules into Tapestry so that I can turn off
the rendering of some components if some condition is true. For example, if
you are not part of the admin group then the "Delete User" button doe
Hi,
I'm implementing a payment solution with Tapestry. I have a page on
which a user can choose some articles and then call a well crafted URL
to make the payment by credit card (www.saferpay.com). I need to give
Saferpay 3 URLs:
- 1 if the transaction is OK
- 1 if the transaction is NOK
-
Thank you very much! That is incredibly helpful!
Sorry if I sounded angry. It wasn't my intent.
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 30, 2005 10:08 AM
To: Tapestry users
Subject: Re: How does one control rendering?
Hmmm...Your email s
Hello,
I am having issues calling nested Spring Services in my code.
I am using Tapestry 4.0 rc3 with Spring and Hibernate and using the
tapestry-spring.jar for integration.
What I am trying to do is populate a dropdown in the pageBeginRender()
method. In that method, when I call a Spri
Hmmm...Your email sounds very angry. I will answer it anyways.
All content in tapestry is written to a IMarkupWriter class instance, which
is similar to a markup tag output buffer. There are a few services involved
in taking an incoming response and rendering output. Like DirectService.
If I were
Your approach was the one that I reasoned was probably what to do, and
suggested in my last e-mail that got no response. My guess is that
nobody knows how to do this, its impossible, or I'm way off how to do
it. I'm hoping it's the last thing. If Tapestry is so inflexible that
you can't even do
Thanks Omar, you give me a big clue, but getServiceParameters seems to
be deprecated on T4 then
I Put the actionLink in my html file with a listener, then on my js Menu
y put the link as I can see on hidden actionLink but with an additional
parameter and in Java file I use
String menuActio
Thanks Ahmed, this is what I need, I'll probe it, and Happy New Year.
JQ
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
or
exist a Tapestry menu to do it better or easier?
For me this menu was helpful in many situations:
http://metamorphosis.krysalis.org/krysalis-menu/
Ahmed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Thanks for help!
Works fine ;)
-Original Message-
From: Shing Hing Man [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 3:22 PM
To: Tapestry users
Subject: Re: DatePicker: Translating date
>
> value="ognl:quoteDateValue"/>
> value="translator:pattern=y
Hi ,
I think you can also try if / else component, which is available in
the version 4.
If you stick to use tapestry 3 you can download from http://www.t-deli.com/
regards,
Vincent
On 12/30/05, Andreas Idl <[EMAIL PROTECTED]> wrote:
> Hi
>
> If you are using tap3:
> You may use the contrib:FormCo
On Thursday 29 December 2005 13:14, Vincent wrote:
> Hi
>
> Will cycle.getServiceParameters/setServiceParameters meet your needs?
>
> regards,
> Vincent
>
> On 12/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote:
> > On Thursday 29 December 2005 11:06, Andreas Idl wrote:
Not sure exactly who you are
Hi
If you are using tap3:
You may use the contrib:FormConditional. It stores the conditions in hidden
fields and so provides the same data during rewind. The Conditional doesn't,
and so can result in a stale link.
Andreas
> Hi All,
>
> I have a form with a conditional field password. The first
Hi All,
I have a form with a conditional field password. The first time the form apaers
it is not shown. When the user submits a certain condition is checked and if
met the form is shown again but with the password field now. Then the user
fills in his password and resubmits.
Up until now eve
27 matches
Mail list logo