Sadly I don't think Tapestry supports TimeZone, only Locale.
I was thinking it would be great (and relatively easy) to duplicate the
current Locale support for TimeZone.. then the datepicker could be
changed to work with that information..
While you're at it, someone could think about addi
Yup, you can't, this is how webapps work in general, sorry. But you can
create a filter to get what you want, read on.
The problem is that if it's a POST request, someone (webapp container,
request object) has already digested the whole body of the request and
convert it into properties of th
Well, you should keep reading up on Filters and how they can replace the
request/response objects, they are very useful.
You'll want to create your own Request object ( extending
HttpServletRequestWrapper ). In its constructor you absorb the
inputstream into a byte[]. Then you create another
You have to declare the component first ( within the .jwc, .page or
through annotations ). While you're declaring it you can use the
property option to have tapestry automatically bind the component to a
property for you, or you can call a getComponent( "name" ) (something
like that, or getCom
Just a warning. The 'scheme' parameter under 4.0 doesn't really work by
its self. You need to use the 'scheme' and 'port' parameters exposed
under 4.0.1.
If you have a url "http:80" and you just change the 'scheme' it turns
into an invalid url "https:80", since you can't have one web server
Because it might not work in all the settings... What about under the
PageRedirectException, or the cycle.activate (server side redirect
essentially, the client isn't given the chance to reconnect under SSL).
But I guess tapestry could throw an exception if someone tries to
access a page inse
on, or am I wrong?
Or does T4 always include the port number in the links?
-Original Message-
From: Fernando Padilla [mailto:[EMAIL PROTECTED]
Sent: 05 April 2006 16:32
To: Tapestry users
Subject: Re: AW: https
Just a warning. The 'scheme' parameter under 4.0 doesn'
Actually the more I think abou this, it seemss feasible to implement
this feature in tapestry. As long as there is a default link renderer
code that every link uses, and can be configurable/changeable through
hivemind.
- add 'secure' meta-data to the page somehow
- change render cycle to th
e no port then the browser automatically connects to 443 if
it sees a leading https:// so that should work in production, or am I wrong?
Or does T4 always include the port number in the links?
-Original Message-----
From: Fernando Padilla [mailto:[EMAIL PROTECTED]
Sent: 05 April 2006 16:32
To:
Sorry. I feel bad for the original poster, I'm the one that submitted
the patch thinking that FormSupport was an internal class only used by
Form, so I guess I'm the root cause for David's bad day at work.. I know
how I hate it when the rug gets pulled out from under me without
expecting it.
If the buggy interface is introduced and fixed within
a release cycle - rip the band aid off really fast.
Appreciate the work for a patch. Hopefully this will ease a vote for
release. [and if my access comes in time I'll be glad to step in on it
to ease 4.1 resources]
Brian
Fernando Padilla
wait, did I mess up my patch again? I'm confused. oh well.
Leonardo Quijano Vincenzi wrote:
lol , and it's ironic that I now need a signature change in
AbstractFormComponent. A protected to public method.
Weird huh!
-
To uns
Yes, please post this up on the wiki, it is definitely useful.
I wonder if there is some way to add this to the core tapestry. Also,
it might be clearer to add application or library wide assets, so we
just modify the .application or .library rather than the hivemodule.xml
then we can si
once you get this working, could you submit a patch against the main
form component to support this through a simple parameter?
Dan Adams wrote:
Okay, I've got the common problem where I want to prevent some users
from double clicking submit buttons and double submitting a form. I've
got the fo
actually, sorry to bother you, but did you work out something this
simple to support a "submit on enter" for textfields?
Dan Adams wrote:
Okay, I've got the common problem where I want to prevent some users
from double clicking submit buttons and double submitting a form. I've
got the following
There might be better ways, but one way that does work without too much
trouble is Client-Side-Includes:
http://del.icio.us/fern/csi
I created a page that just returned the desired html fragment, then I
pointed my CSI call to that url and had it replace a div in the calling
page...
of cours
So. We have this image we use for the navbar. We changed the navbar
image, but because we had set the expires to be a day, the change wasn't
apparent to people for a day after we deployed.
I proposed to our team to leverage the tapestry's Asset system to have
normal context assets add a nonce
did you have your costum validator support validating null values?
Validator.getAcceptsNull()
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/form/validator/Validator.html
radone wrote:
> You should try to add a "required" validator like this:
>
>
>
>
> -RB-
>
> Josep
A few weeks ago we had a memory leak that we thought was caused by
Tapestry, but was in fact caused by us confusing Tapestry. We had gone
and overriden the getLocale() method in the BasePage to return a "new
Locale( "en_US" )" which totally confused Tapestry's PagePool, so that
it never recognized
Howard Lewis Ship wrote:
> On 10/26/05, Fernando Padilla <[EMAIL PROTECTED]> wrote:
>
>>A few weeks ago we had a memory leak that we thought was caused by
>>Tapestry, but was in fact caused by us confusing Tapestry. We had gone
>>and overriden the getLocale() meth
It would be great to shake hands with you guys, just say when and where.
Richard Clark wrote:
> That sounds like a fine idea! Count me in.
>
> ...R
>
> On Nov 2, 2005, at 12:44, Howard Lewis Ship wrote:
>
>> I'll be staying in Palo Alto, CA next week for a client engagement.
>> Perhaps we coul
One way would be to just use what Paul already pointed out. You define
one dateFormat property, and you use that same dateFormat property
across all date Inserts.
But maybe you meant change the format without having to explicitly set
it. In that case, you'll probably have to create your own
Though not very clean I use a javax.servlet.Filter that locks down parts
of the site by redirecting to/fro http/https.
So if a url coming in points to any of those pages I make sure that it's
request.isSecure, else I get the full url and replace the scheme(
http,https ) and port( 80,443 ), and
So.. I can do everything in a component without a jwc file. I've been
trying to google around, and I can't figure out how to add a component
to a library without a jwc file...
how are we supposed to do so again?
-
To unsubscr
I couldn't read through the threads ( didn't seem like the right
solution anyhow ). This is what our html developer came up with, a nice
javascript hack: (right off of our site) He simply created a javascript
function that is called that does the named-anchor dereference, instead
of letting t
to a component library without
refering to a jwc.
Fernando Padilla wrote:
I couldn't read through the threads ( didn't seem like the right
solution anyhow ). This is what our html developer came up with, a nice
javascript hack: (right off of our site) He simply created a javascript
fun
alright, again. version 2
I reviewd the documentation on annotations and simplified the .jwc
I still want to know how to add a component to a library without a jwc file?
Fernando Padilla wrote:
Alright, I had reason to stay up anyhow.
Attached is a version of a NameLink component that takes
Look at iframe:
http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5
http://www.htmlcodetutorial.com/frames/_IFRAME.html
But then the HTML fragment has to be a different URL. Or you can try
using some sort of javascript to squirt the HTML into the iframe:
http://www.codingforums.com/ar
I have lately been wondering, what's the real difference between
DirectLink and ExternalLink. It looks like I can boil it down to just
what listener method they call.
- PageLink goes to a page, without using a listener method.
- DirectLink goes to a user defined listener method.
- ExternalLink go
We are developing a high load application. One of our requirements is
to have no server side sessions.
As the documentation says, Tapestry tries it's best to not start a
HttpSession until it has to. But I need a tighter guarantee, that it
does not start a HttpSession ever. For example I would p
PM
> Subject: RE: forcing No Server Session
>
>
>>
>> How about you just set up a visit object that throws an error in its
>> constructor?
>>
>> --- Pat
>>
>>> -Original Message-
>>> From: Fernando Padilla [mailto:[EMAIL PROTECT
who is the maintainer of XTiles? Could they just put it up on xtiles
homepage, as an official port.
seloha . wrote:
> I have tried several times to send an attached zip file of 16kB
> containing the modified XTiles source code but delivery fails. Is there
> a restriction for sending attachments t
I was wondering about Tapestry's support for TimeZone. Though I haven't
used it, I hear that it has good support for Locale, but how about
TimeZone??
My application has a strict no server session policy; Is the Tapestry
Locale/TimeZone support consistent with that?
yes we're using Tap 4.
-
Yes we're interested. We're about to start QA/Load/Performance phase,
so any gotchas you learn would be great. Though, it sounds like it's
probably application specific, if there was anything wrong with
Tapestry, please let us know. :)
Robert Cole wrote:
> Thanks again Pat. Tomcat's initial serv
Hey. So I was wondering if there was an easy way to point an
ExternalLink to a different protocol.
We want to have most of the site be in HTTP, except the credit card
entry page, that should be HTTPS.
options? ideas? discussion?
--
wow. I asked about this just a few days ago. But I don't quite
understand the last mile. Once Tapestry is patched, what do I have to
do in my webapp to turn this on for my credit card entry page..
We have to override all Engine Services?
ps - I am currently looking into using urlrewrite to do
This sounds like an if statement.
The issue with tapestry is not the act of choosing what component to
render, that's pretty easy, but it's the
defining/constructing/initializing/binding part. I don't know how to do
all of that at runtime, and you probably shouldn't because of page
construc
In Tap4, are there no default datasqueezers for Collections or at least
Arrays of various types?
It seems to be defaulting to the SerializableSqueezer for a simple String[].
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Could someone with more time and hunger just spend a week to duplicate
and adapt the IScript support for stylesheets? It's a minor oversight
to not have done it from the beginning, but I think it's time to bring
this kind of support into the core Tapestry.
It seems possible, or am I missing somet
So I suppose HTML page weight isn't an issue? If tapestry behaves just
fine on a local network then it's probably not Tapestry's fault, look at
the network and tomcat. I'll also mention/remind everyone to look into
turning on the HTTP/1.1 Compression (very easy for tomcat). It's a
win-win sort o
40 matches
Mail list logo