Hello,
What I'd like to achieve is similar to
I thought that if I specify the formal parameters of TextField as informal
parameters on this custom component then it would work as expected. But I've
just realized that it doesn't.
Is the above construct not supported? (Why? :)
BR,
Norbi
Question: does Tap use component pooling, like it does for pages?
When you lock form submission and page visiting does it block other
concurrent accesses from other users to the same page and form?
If your form concurrency's sound and safe, I find it's a really
interesting solution, could you se
Hey
I tried opening the UsersGuide/hivemind.xml file included in the
tapestry-4.0-beta13 docs but is seems that the file is not valid XML.
In four places, start tags are missing.
Best wishes,
Jan
-
To unsubscribe, e-mail: [
Hey
I want to change injected property tapestry.url.BaseTagWriter in the
Shell component. Is it safe to do so?
I suspect I have to change the Hivemind configuration but what is the
safe way to do this in a particular web application? I have no clue how
to work the HiveMind services so could
Hi Ashish ,
You can use validators on components like Fileupload also. Use the
BaseValidator's required property on you component.
Thanks
Ashish Raniwala wrote:
Hi Guys,
This should be a trivial question.
How do we do validation on NON ValidField components? e.g. If I use Upload
compone
Hi Ashish,
Use org.apache.tapestry.form.validator.Required on your component.
Thanks
*
*Ashish Raniwala wrote:
Hi Guys,
This should be a trivial question.
How do we do validation on NON ValidField components? e.g. If I use Upload
component and want to validate if user has entered a file n
Also check out this thread
http://thread.gmane.org/gmane.comp.java.tapestry.user/26820
It has a validator for filenames to be used with the Upload component
sreejith wrote:
> Hi Ashish ,
>You can use validators on components like Fileupload also. Use the
> BaseValidator's required property on
Using the FormTable I am having the following message :
"Could not find an adaptor for class
br.com.mycompany.web.tapestry.helpers.ListItemWithSelection"
Where ListItemWithSelection is a simple class with 2 atributes.
Help
On 11/29/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
[..]
> I have to debug the Beta as well, doubling my search space.
These are usual phrases, and this is an argument of usual debate.
Every project has different ways of thinking (which just reflect the
leading developers ideas), the general me
I understand Patrick's stand. Tapestry 4.0 is still changing its API from
beta to beta. I understand different projects have different policies on
betas and RCs. Does Tapestry have a stated policy somewhere? What's the
milestone for an API freezing? I can feel the frustration that a big chunk
of wo
I've written a download service where I set the filename like this:
response.setHeader("Content-disposition", "attachment; filename=\""
+ filename + "\"");
It appears I have to encode non-ascii characters somehow, how do I do that?
--Martin
--
> Didn't mention that if you found a bug and maybe even help to fix it
> or you're experience help correcting a wired behaviour, you could
> contribute something back to the project as well.
>
> Regards
> --
> Massimo
Fundamentally though, I'm not in the business of debugging Tapestry.
Did you try:
String foo = ("Content-disposition", "attachment; filename=\""
> + filename + "\"";
String bar = java.net.URLEncoder.encode(foo);
Reponse.setHeader(bar);
--- Pat
> -Original Message-
> From: Martin Strand [mailto:[EMAIL PROTECTED]
>
Has anybody seen any actual performance numbers comparing Tomcat
5.5.x/JNI/APR with just plain Tomcat 5.5.x? Having built the shared
libraries and installed them into my JRE, about all I can say is that using
the APR makes configuration harder. The Tomcat doc makes noises to the
effe
When I'm
> working on a commercial
> product though, I'll never go out of my way to
> expose myself to additional
> somebody else's bugs in order to fix them. I just
> can't afford that big a
> potential hit in my personal productivity, whatever
> the advantages to
> society at large.
>
>
Hmm. I would think that the reason to use APR with Tomcat would be to
leverage Apache's SSL libraries. I'm not even sure if there's a big
performance benefit of that as opposed to alternative solutions such
as offloading SSL to a load-balancer. But you might benefit from
re-using Apache's SSL confi
Hi,
Our SA recently setup a new deployment environment that we're having
configuration issues with.
It seems to throw an argument type mismatch while trying to build the
ApplicationSpecificationInitializer related services.
Locates and parses the application specifi
>
> You cannot be serious. C'mon, are you saying that
> dealing with "blackboxed" product bug helps your
> personal productivity?!
>
> "Common good" is a worthy purpose, but even on very
> pragmatic, personal and immediate level it is highly
> rewarding to be able to dive into somebody else's co
In the best of all possible worlds, I'm with you, I'd like to have
apache in front. In the real world though, httpd.conf scares the willies out
of me; it's like sendmail.cf without the clarity or ease of use :).
--- Pat
> -Original Message-
> From: Mark Wilcox [mailto:[EM
The URLEncoder seems to make the filename look even messier. Should I use
a specific character encoding?
--Martin
On Tue, 29 Nov 2005 18:13:44 +0100, Patrick Casey <[EMAIL PROTECTED]>
wrote:
Did you try:
String foo = ("Content-disposition", "attachment; filename=\""
+ fi
I couldn't answer that unfortunately; I usually just use the default
character encoding and it works for me. I suppose you could try alternate
encodings (UTF-8 is always a good place to start).
--- Pat
> -Original Message-
> From: Martin Strand [mailto:[EMAIL PROTECTED]
>
See the archives:
http://www.tapestryforums.com/viewtopic.php?t=2748&highlight=oc4j,
http://www.tapestryforums.com/viewtopic.php?t=2746&highlight=oc4j
and
http://www.tapestryforums.com/viewtopic.php?t=1528&highlight=oc4j
It is not that hard to fix.
Gabriel H. Lozano M. wrote:
Hi,
Our SA rec
I'm trying to find a way to get at the correct IP address for the user,
but am running into this problem: I always get the same value for
getRemoteAddr(), and this value is wherever the first request comes
from. I've seen one exception to this, and it looked like it was
related to expired sessions
Perm space is garbage collected when the classloader that loaded the
class files is garbage collected. And this happens not only during hot
redeploys. This is info is per JVM spec.
Serge.
Scott Russell wrote:
This is a common issue that has also been noted on the hibernate forums, among
othe
Hm... Scanning those old posts, I might have misread your post. Maybe
you are running into a different issue here. What OC4J version are you
using?
Regards,
Martijn
Martijn Hinten wrote:
See the archives:
http://www.tapestryforums.com/viewtopic.php?t=2748&highlight=oc4j,
http://www.tapestryf
There's the 'yah but' though, which is that, in a web app, JVM
singletons can hang onto the classloader which, in turn, keeps references to
all the classes it has loaded. Hence even when the GC makes a sweep through
perm space, the "old" classes are still references (by the singleton) and
It was then explained that service-properties are indeed cached.
This might eventually change but for now,
inject service:tapestry.globals.HttpServletRequest
and do a getRemoteAddr() on it
Noam Solomon wrote:
>I'm trying to find a way to get at the correct IP address for the user,
>but am runnin
Hello again,
I've tryed to put into my tapestry app hivemotule.xml :
But this doesn't work since hivemind complains that this conflicts with
the previous definition.
So, how could i override WebRequestServicerPipeline ?
Thanks in advance,
kiuma
P.s.: I've worked with hivetranse, but
AFAIK, You should encode the file name using BASE64 or Quoted-printable
encoding:
Use commons-codec (it's probably in your classpath anyway):
http://jakarta.apache.org/commons/codec/
fileName = new QCodec("utf-8").encode(fileName);
String contentType = provider.getConten
In this point I think is *very* important to have a design plan for
Tapestry. Probably the main cause of going from beta to beta is random
API changes because of the "this is better..."... "no! this is even
better!" ... "no, that was broken, it doesn't support X"...etc cycle.
A release plan ca
I'm a brand new Tapestry user, so I'll probably be having a lot of
silly questions for a while... a priori apologies for that.
I'm looking at converting an existing application, and one commonly
used idiom there is that it displays a table of items. The way it
does this is that it iterates over
This is the direction I'm looking to evolve the framework.
This will start being easier in 4.1. I'll be able to seperate user
code from framework code since user code will no longer extend from
Tapestry base classes (a compatibility layer will remain until 4.2 or
4.3).
Right now, Tapestry code and
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael Campbell
> Sent: Tuesday, November 29, 2005 11:02 AM
> To: tapestry-user@jakarta.apache.org
> Subject: What's the patte
Just hypothetically, what's the possibility of throwing it all away and
just include an integration layer with the old components / pages?
It may be cheaper that evolving? Is it possible?
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Howard Lewis Ship wrote:
This is the direction I'm looki
I am working on Oracle 10.1.3.0.0 Developer preview 4. Please help me!!}
Thanks
Gabriel
-Mensaje original-
De: Martijn Hinten [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 29 de Noviembre de 2005 01:28 p.m.
Para: Tapestry users
Asunto: Re: problem starting tapestry with oracle
Hm... Sc
I have the exactly same feeling as you.
Tapestry needs to learn the management aspect from other open source
projects such as Eclipse, Spring Framework, etc.
On 11/29/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
>
> >
> > You cannot be serious. C'mon, are you saying that
> > dealing with "black
I am getting the same error, here is the entire error message.
Using the latest "OC4J 10g (10.1.3) Developer Preview 4". The
same app starts normally on Tomcat 5.
500 Internal Server Error
org.apache.hivemind.ApplicationRuntimeException: Unable to
construct service
tapestry.init.ApplicationSpecif
Hehehe,.That's easy to say ;)
On 11/29/05, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> I have the exactly same feeling as you.
>
> Tapestry needs to learn the management aspect from other open source
> projects such as Eclipse, Spring Framework, etc.
>
>
>
> On 11/29/05, Patrick Casey <[EMAIL PR
An unfair comparison; those other projects started with a hierarchical
employee situations, developed an internal framework, then
open-sourced it. Tapestry has evolved as an open source project
entirely. I can guide it as best I can, but nobody is in a position to
"order" others to follow a proced
Just out curiosity, Pat, what kind of particular "JVM level singletons"
hold onto classloaders?
Thanks,
Serge
Patrick Casey wrote:
There's the 'yah but' though, which is that, in a web app, JVM
singletons can hang onto the classloader which, in turn, keeps references to
all the classe
"Patrick Casey" <[EMAIL PROTECTED]> writes:
>
>element="tr">
>
>/>
>
>
>
Thanks Patrick. I don't know what I'm looking at yet there, but I
have both Howard's and Kent's books, so I know what to look FOR...
-
Hi Guys,
In Tapestry 3, I do not see parameter Validator for Upload component though
I noticed that Tapestry 4 allows to add validator for Upload component.
As we are still on Tapestry 3, is there is way I can achieve similar
functionality?
Thanks,
Ashish
-Original Message-
From: Andreas
Try to add your service in the pipeline like this
or replace the implemetation of WebRequestServicerPipelineBridge with your
implementation
...
Mit freundlichen Grüßen
Michael Frericks
|-+>
| |
I believe the two most common culprits are the JDBC driver manager
and Commons Logging.
--- Pat
> -Original Message-
> From: Sergei Dubov [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 29, 2005 12:18 PM
> To: Tapestry users
> Subject: Re: java.lang.OutOfMemoryError:
This post happens to have a fairly in depth coverage of some of the issues
that can cause the OutOfMemoryErrors in web applications, and some solutions
which may help you encounter it less often:
http://www.patrickpeak.com/page/patrick/20050614#your_web_app_is_leaking
HTH,
Spencer
On 11/29/05,
> -Original Message-
> From: Fabiano Choueiri [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 29, 2005 4:06 PM
> To: Tapestry users
> Subject: Error message using contrib:FormTable.
>
>
>
> Using the FormTable I am having the following message :
>
> "Could not find an
Such question constantly pops up. Tapestry developers
take note, if the message said something like:
+++
Could not find an adaptor for class [ZZZ]. Please
make class Serializable or provide adapter ( see YYY
class for inspirations)
+++
That would make matters clear and greatly enhance
Tapestry l
Hi Guys,
I am using sitemesh with tapestry. All my pages work fine except the page
having Upload component. Page having upload component renders fine but once
I upload a file and want to go to next page, sitemesh decorator does not
decorate the response and page always forwart to "Home" page, i
Why does the Select component appear to be so complicated? I have an
ArrayList of objects. Each object has id and label properties (among
others). In order for me to display and use these objects I have to
implement IProperySelector. Once one is chosen, I have to loop through the
array until I find
You're not doing it incorrectly, but you're basing your critique on
a false assumption, to whit that the property select component will always
be backed by an instance of java.util.List containing valid beans. By
implementing IPropertySelection, you add a layer of abstraction which means
t
On Nov 29, 2005, at 3:07 PM, Michael Campbell wrote:
"Patrick Casey" <[EMAIL PROTECTED]> writes:
Thanks Patrick. I don't know what I'm looking at yet there, but I
have both Howard's and Kent's books, so I know w
Thanks for your quick reply. You have a point. There is a great deal of
flexibility in the Tapestry approach. It does seem to sacrifice some
simplicity, though. I believe in the utility of Tapestry because it makes my
development tasks easier, in general. So, I believe it would help to have a
frame
Have you tried
http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Search/viewComponent&sp=SrobertzListPropertySelectionModel
? It does require implementing the "NamedListItem" interface, but that's
only got a single method "getItemName". Also, if you search the list
archives, somebody po
53 matches
Mail list logo