Hello All,
I've found out today that I have this setting in my jetty configuration:
org.apache.tapestry.disable-caching
true
When I remove this it behaves the same at it does when running under Tomcat.
Now I've read in the documentation
inline
Alex Kotchnev wrote:
Would there be any value to having a top-level domain for the book (e.g.
tapestry-book.org or something like that), or can we find it a home for the
book somewhere under the Tapestry namespace ?
A top-level domain should brink more visibility to the effort. Also, i
Hi,
I have a file upload form that requires user to encode a caption, I'm
trying to validate it on onValidateForm, but this is called after file has
been uploaded,
is there a way to check first the caption before uploading taking place?
this will save time.
Angelo
< t:form t:id="upload_form"
hi,
I try simple select component in tapestry form.
1.1 Vali lepinguprojekti
tüüp
And then in onSuccess component.
java.util.Map lepingu_tyyp =
requestGlobals.getHTTPServletReques
Em Wed, 27 Aug 2008 17:53:42 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:
Hi,
I am currently struggling to find the best way to setup a model for a
beandisplay from within a component.
My 2 cents: in your BeanModel getBeanModel() method.
Thiago
--
Not sure if I get this. Wouldn't that make it quite hard to get hold
of the BeanModelSource service?
On Thu, Aug 28, 2008 at 11:34 AM, Thiago H. de Paula Figueiredo
<[EMAIL PROTECTED]> wrote:
> Em Wed, 27 Aug 2008 17:53:42 -0300, Markus Joschko
> <[EMAIL PROTECTED]> escreveu:
>
>> Hi,
>> I am curr
How can use tag to determine column to show and not remove property in
?
${user.email}
${user.name}
--
View this message in context:
http://www.nabble.com/t%3Agrid-use-tag-to-show-column%2C-not-remove-tp19197672p19197672.html
Sent from the Tapestry - User mailing list archiv
After having upgraded to 5.0.15-SNAPSHOT our existing application
crashes with OutOfMemory Exceptions (heap) space occassionally. It
happens sometimes when I view a page containing a simple form and
submitting it once in a while. I think it happens more often when class
reloading is involved.
Hi, after quite a while using Tapestry I've got a situation where I need an
event handler that accepts an unknown amount multiple parameters.
mark(boolean checked, String[] itemIds)
mark(boolean checked, String... itemIds)
mark(boolean checked, List itemIds)
I've tried these and the Last one wor
(Sending again since the formatting was really bad and I have more to
add/clarify)
Hi, after quite a while using Tapestry I've got a situation where I need an
event handler that accepts an unknown amount multiple parameters.
mark(boolean checked, String[] itemIds)
mark(boolean checked, Str
Thanks, Howard.
Surely someone has an opinion on which approach is best?!?!
Suggestions, please.
Geoff
On 27/08/2008, at 9:18 AM, Howard Lewis Ship wrote:
Don't forget about the "exception" event that allows a page to handle
its own exceptions before they are passed off to the
RequestExce
If your select is simple and static, you can use an Enum attribute as the
value parameter. Tapestry will automatically do the rest for you.
But if you want something more complicated, there are many examples on the
wiki page:
http://wiki.apache.org/tapestry/Tapestry5HowTos
more specifically:
http
In this wiki page
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects
are missing method in GenericSelectModel.java file
public void addOptionGroup(String label, boolean disabled, List
options) {
List optionModels = new ArrayList();
if (labelFieldAdapter == null) {
Hi all,
I'm making some profiling on an web app made with Tapestry 4.1.5 which
returns XML.
The result are disappointing as the average access time (got with
JMeter) is around 2000ms.
In JProfiler, I found that OGNL expressions compilation uses 40% of
processing time.
As the JMeter script is
Hello,
here's my problem :
the short exception
ERROR 14:28:02.703 Processing of request failed with uncaught exception:
Exception in method org.atlog.mjweb.base.BaseInfo.onActivate(long) (at
BaseInfo.java:15), parameter #1: Coercion of xfade2.css to type
java.lang.Long (via String --> Long)
I haven't used the upload component, but the usual way would be to use
"validate:required,minlength=3" or something similar in your textfield and
rely on client-side validation.
> -Original Message-
> From: Angelo Chen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2008 05:11
> To
I don't have a solution to this, but would also be interested to hear of
one.
You can do it!
That is the reason why this page is a wiki page.
And of course, you have to be sure of what you're doing.
On Thu, Aug 28, 2008 at 8:55 AM, Argo Vilberg <[EMAIL PROTECTED]> wrote:
> In this wiki page
> http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects
> are missing met
Hi,
I use following to limit file size during uploading, it seems to me that
Tapestry-upload first the entire file then decide if the size is greater
than 500k, example, if the file is 4mb, it will be accepted first, then
reject it afterwards, is this correct? if yes, then is there other way to d
I think some major ajax has to be used.
2008/8/28 Szemere Szemere <[EMAIL PROTECTED]>:
> I don't have a solution to this, but would also be interested to hear of
> one.
>
--
Pozdrawiam,
Dariusz Dwornikowski
ProAdmin
ul. Królowej Jadwigi 44/2
61-872
On Thu, Aug 28, 2008 at 5:08 PM, ProAdmin Dariusz Dwornikowski
<[EMAIL PROTECTED]> wrote:
> I think some major ajax has to be used.
Look into Component Reference on Tapestry5 documentation site
--
Massimo
http://meridio.blogspot.com
Hi,
When i upload a t5 app to a Tomcat 6, i can see the change of template files
immediately if I access it using:
http://mydomain.com but if I access it www.mydomain.com I can't see the
changes, still old one, why? the setup is here:
www.mydomain.com
--
View this message in conte
Yes I know the page, I keep it open all the time. Im juts new to
tapestry and do not know how to 'bite' it. That is why I wrote here.
Today I will try to wirte some component to have multiple upload.
What I invented is such scenrio:
I get Button (Upload), when i click it and choose file, the file
The html file object only supports 1 file at a time, it's also locked down
by browser security so you can't set the value via javascript.
To upload multiple files you can either use multiple file objects with some
user friendly javascript or use an applet or a flash component.
I've seen some open
On Thu, Aug 28, 2008 at 5:25 PM, ProAdmin Dariusz Dwornikowski
<[EMAIL PROTECTED]> wrote:
> Can somebody confirm it is a good direction?
Doesn't the ajax and form related component help you?
--
Massimo
http://meridio.blogspot.com
Hi,
This is just off the top of my head, but perhaps you can get the page
through ComponentSource, set the property (it'll need to have a public
setter, of course), get the page's ComponentResources and create a
PageLink to the page, and send a redirect using that.
That *might* work.
-Filip
Hi all,
I'd like to announce the first release of a Tapestry5-Cayenne
integration module that Robert Zeigler and I have been working on.
The goal of this module is to provide seemless integration of the
Cayenne ORM with your Tapestry5 web apps. It's very similar in nature
to the Hibernate module.
Nice!
2008/8/28 Kevin Menard <[EMAIL PROTECTED]>
> Hi all,
>
> I'd like to announce the first release of a Tapestry5-Cayenne
> integration module that Robert Zeigler and I have been working on.
> The goal of this module is to provide seemless integration of the
> Cayenne ORM with your Tapestry5 w
Hi,
i want to use svg in my webapp, since it makes it easy to create images
on the fly.
My plan is to make t5 pages that output svg instead of html, which
should be easy.
But alas svg is not as straigh forward as it should. Little browser
support might force me to convert the svg to images
Hi,
Yes, it's possible to do this with regular pages. Simply return a
StreamResponse with the right headers from onActivate. You'll have to
handle caching etc. yourself, but it's not hard.
-Filip
On 2008-08-28 19:46, Atle Prange wrote:
Hi,
i want to use svg in my webapp, since it makes it
>From the front end, multi file uploads must be done using JS to create
additional file input elements on the fly. Uploading them "via AJAX" is
all about perception, as you can't actually do it since the JS would
need to stream the bytes of the selected files (which is of course not
allowed). The p
On Thu, Aug 28, 2008 at 3:27 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> The tricky part unfortunately is dealing with T5. I don't know how you
> can create new components on the fly.
You just cannot do that. Tapestry 5' mantra is "Static Structure,
Dynamic Behavior".
One way to do it would be pu
michael lim yahoo.com> writes:
>
> in my pagevalidate method, i call db to retrieve information and print out on
> page using @insert
>
> how do i cache it so that it will not hit the db so frequent ? any example?
>
> -
> T
Em Thu, 28 Aug 2008 08:21:50 -0300, Blower, Andy
<[EMAIL PROTECTED]> escreveu:
mark(boolean checked, String[] itemIds)
mark(boolean checked, String... itemIds)
mark(boolean checked, List itemIds)
As far as I know, none of the would work because Tapestry would not handle
an event handler
Can't do this in pageValidate but if you use Tacos, you can decorate a
getter method with @Cached which will cache the result for the lifetime of a
single request (
http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html).
Kalle
On Thu, Aug 28, 2008 at 12:25 PM, Henrik Schlanbusch <[EM
Em Thu, 28 Aug 2008 07:03:43 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:
Not sure if I get this. Wouldn't that make it quite hard to get hold
of the BeanModelSource service?
Sorry, I'm not following you.
I always do something like this:
@Inject
private BeanModelSource beanModelSource
JMHO, but I think it depends on the case. In your product example, I'd let
the page itself handle the error since it's relatively clear the user tried
to access a non-existent (possibly removed or non-authorized) product. For a
completely random, non-existent url, I'd try to handle it as soon as
po
Thanks, I was completely focused on finding an event type to do this,
so I have overseen that simple possibility.
On Thu, Aug 28, 2008 at 9:53 PM, Thiago H. de Paula Figueiredo
<[EMAIL PROTECTED]> wrote:
> Em Thu, 28 Aug 2008 07:03:43 -0300, Markus Joschko
> <[EMAIL PROTECTED]> escreveu:
>
>> Not
Hello,
I'm having a problem styling a component that includes its own style
sheet. Many components need to have a default look out of the box, much
like some of the corelib components do, but the problem is the order in
which the style sheets (via @IncludeStylesheet) are added to the page.
The ord
Em Thu, 28 Aug 2008 17:11:09 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:
Thanks, I was completely focused on finding an event type to do this,
so I have overseen that simple possibility.
Sometimes, Tapestry is so simple that people overlook the simplest choice.
Nice! :)
Thiago
-
Yeah I will try do something like that. I can see a problem to put the
files ( paths) to the object i want - along with data from form - in
my case a sports news.
2008/8/28 Thiago HP <[EMAIL PROTECTED]>:
> On Thu, Aug 28, 2008 at 3:27 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
>> The tricky part u
My impression is wrong, it uploads up to the max size specified then trigger
the exception. of course it will be very nice if it can reject when browser
sends the size command.
Angelo Chen wrote:
>
> Hi,
>
> I use following to limit file size during uploading, it seems to me that
> Tapestry-up
Odd, I can't think of a change that would account for that kind of
instability. There's no chance that both 5.0.14 and 5.0.15-SNAPSHOT
jars were on the classpath?
On Thu, Aug 28, 2008 at 3:18 AM, Andy Pahne <[EMAIL PROTECTED]> wrote:
>
> After having upgraded to 5.0.15-SNAPSHOT our existing appli
I put the validator in my component as the follow:
And I define the validate message in the app.properties
The validate work well,but the error message display around the
component,how can I display it within the t:errors of the t:form
Thanks
Hi, getting the selected object from the list is not a problem. The
problem is if I want to edit an object where it has a property
selection on it's form, I want to set it according to the object's
value.
The code:
I have a setter and geter for both model and value object:
public abstract Value
is equals() implemented accordingly for your domain object?
On Fri, Aug 29, 2008 at 7:09 AM, Mohammad Irfan <[EMAIL PROTECTED]> wrote:
> Hi, getting the selected object from the list is not a problem. The
> problem is if I want to edit an object where it has a property
> selection on it's form, I
And if you are performance oriented you use
@Retain
private BeanModel model;
{
model = beanModelSource.create(ProjectProposal.class, true,
messages);
model.add("organization");
model.add("financier");
model.add("priorization", null);
}
pub
47 matches
Mail list logo