Try searching the bug tracker...
I found
http://issues.apache.org/jira/browse/TAPESTRY-607 'Output encoding
problem with some versions of Tomcat 5' (btw, what's your servlet
container?) and some others that may help...
For the record, tapestry 3-4 used a custom resourcebundle loader that
didn't r
I think that kind of complication becomes more trouble than just
implementing onActivate(), onPassivate().
On Wed, Jul 9, 2008 at 3:24 PM, Josh Canfield <[EMAIL PROTECTED]> wrote:
> Is there opposition to adding an index to the annotation so you don't have
> to use source order?
>
> @PageActiviati
I know most eyes are focused on T5, but people work with legacy apps
as well so...
I have a small application built on Tapestry 3.0.3.
It compiles, and I can build a .war, but no matter what I try, the
.war won't contain the tapestry jars.
The app is supposed to work in a hosted environment, I woul
Is there opposition to adding an index to the annotation so you don't have
to use source order?
@PageActiviationContext(index=2)
private Bar b
@PageActiviationContext(index=1)
private Foo a
Josh
On Wed, Jul 9, 2008 at 2:36 PM, Igor Drobiazko <[EMAIL PROTECTED]>
wrote:
> I see a problem with mul
ASOs are specified in terms of implementation classes, not interfaces.
That makes it more awkward and error prone to create a proxy for them
(you have to create a subclass and hit all the non-private methods and
make them delegate, and there can be issues concerning constructors
that get in the way
Also, maybe you should be using ConcurrentHashMap or other classes
specifically made for multi-threaded access. And if you review the
javadoc for that class, I think they discuss how they handle iterators
in a multi-thread safe manner..
Howard Lewis Ship wrote:
Does raise an interesting poi
> So it does seem to me that if you are using Ajax techniques and thus
> explicitly asynchronous access to the application, you should be
> mindful of this. We could bounce around some ideas as to how the
> framework could assist: perhaps a per-session/per-page lock?
A per-session/per-page lock
Does raise an interesting point.
In a traditional page app, you would rarely have request overlap. It
was possible (a wildly clicking user, perhaps). Often the main page
would be one request, followed by a series of overlapping requests to
retrieve static assets.
It would be possible to add a f
On one page I use a persistent Hashmap. The page contains an actionLink
with a click event handler. The onclick event is activated with a delay
using setTimeout. When the event is fired another actionLink is
activated. Now what happens is that during the handling of the first
actionLink the second
I see a problem with multiple @PageActivationContext annotations inside a
page class.
Consider following example:
public class Start{
@PageActivationContext
private Foo b;
@PageActivationContext
private Bar a;
}
When Eclipse "Sort Member Save Action" feature is enabled, the order of
But you can't use a delegate component without a template, right?
On Wed, Jul 9, 2008 at 12:15 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Another option is to use the Delegate component and pass it the Block
> instance.
>
> On Wed, Jul 9, 2008 at 9:59 AM, Josh Canfield <[EMAIL PROTECTED]>
Another option is to use the Delegate component and pass it the Block instance.
On Wed, Jul 9, 2008 at 9:59 AM, Josh Canfield <[EMAIL PROTECTED]> wrote:
> I don't recall if you can use MarkupWriter to write blocks yet, but one
> method I've used is to return the block from the beginRender method,
Just one thing if anyone try this again:
I had to add a xmlns, otherway it doesn't uses the Border component:
t:type="Layout" xmlns:t="
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
Did it worked for you without the xmlns?
2008/7/9 Fabio Kreusch <[EMAIL PROTECTED]>:
> Thanks, that'
I thought that its main contribution to be able to use it for multiple
values,
and not yet I understand why this functionality has not been implemented.
So, I agree for jira.
Ted Steen wrote:
At the moment you should think of the @PageActivationContext as a
convenience annotation for you to us
Wow I love that. Somehow I mistakenly thought it didn't work that way,
thanks.
As a related question :
is there a way to get the 'real' session instead of the proxy on a call to
getSession()
The reason I'm asking is that in a lot of cases I want to use (Hibernate's)
DetachedCriteria's, so I c
IMHO, this is not the easyest approach
I prefer to inject the next page, set it's attributes and then pass it
as the method's return... this way you can set as many parameters as
you like
On Wed, Jul 9, 2008 at 2:29 PM, Francisco Manzano
<[EMAIL PROTECTED]> wrote:
> why don't ?
>
> Ted Steen wrot
At the moment you should think of the @PageActivationContext as a
convenience annotation for you to use when you only want to place a
single value in the context. Personally I think it would make more
sense if you where able to use it for multiple values.
Maybe worth adding a JIRA for that?
For ex
why don't ?
Ted Steen wrote:
I dont think you can use that with multiple values as the context :/
2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>:
Or, you can use the new @PageActivationContext annotation for a greater
simplicity
Zanius
Ted Steen wrote:
Just add more parameters to t
>
> Or, you can use the new @PageActivationContext annotation for a greater
> simplicity
>
http://tapestry.formos.com/nightly/tapestry5/apidocs/src-html/org/apache/tapestry5/internal/transform/PageActivationContextWorker.html#line.37
037if (fields.size() > 1)
038throw
If you are using tapestry-hibernate, the injectable Session service is
a perthread proxy. It can be shared across threads, but each method
invocation on the proxy is redirected to a real per-thread Hibernate
session.
On Wed, Jul 9, 2008 at 9:27 AM, Britske <[EMAIL PROTECTED]> wrote:
>
> I found s
>
> How can I get the current (per-thread) hibernate-session (as configured
> through tapestry-hibernate) from a singleton custom tapestry service?
>
I haven't tried creating a getInstance type method for my service classes,
but here is my understanding. The default scope for a service is singleto
I dont think you can use that with multiple values as the context :/
2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>:
> Or, you can use the new @PageActivationContext annotation for a greater
> simplicity
>
> Zanius
>
> Ted Steen wrote:
>>
>> Just add more parameters to the activate/passivate-meth
Hi,
I have an inplace grid, enclosed in a form, and which renders a checkbox
for a boolean attribute. (The code is at the end of this mail).
My problem is that the grid refuses to sort its columns
If I remove the rendering of the check box and just display the boolean
value, sorting works fi
Or, you can use the new @PageActivationContext annotation for a greater
simplicity
Zanius
Ted Steen wrote:
Just add more parameters to the activate/passivate-methods.
Or you can use (Object[] parameters).
Or you can use (EventContext context)
The way to go for you would be to just add more p
I don't recall if you can use MarkupWriter to write blocks yet, but one
method I've used is to return the block from the beginRender method, it's
rendered after whatever you write within the method. I believe for both
blocks you would have to use both beginRender and beforeRenderTemplate, or I
supp
Hi Fabio,
I can't find any examples on how can I store a user session login on T5.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html
>
> And how can I protect pages so that only
> logged users can see it?
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
ht
Palette Component behaves different in FireFox then it does in Safari and IE
If palette item is moved in FireFox the following events are triggered
onSuccess()
onSubmit()
If palette item is moved in Safari or IE none of the above events is triggered.
Is this suggested to be
I found some partial references on the list, but nothing that really answered
the question, so:
How can I get the current (per-thread) hibernate-session (as configured
through tapestry-hibernate) from a singleton custom tapestry service?
For reference:
I have a MySingleton-class build as a tapes
Hello all again.
I can't find any examples on how can I store a user session login on T5.
Does anyone know how can I do it? And how can I protect pages so that only
logged users can see it?
Thanks.
--
Fabio Kreusch
[EMAIL PROTECTED]
Thanks, that's what I needed!
2008/7/8 Onno Scheffers <[EMAIL PROTECTED]>:
> Hi Fabio,
>
> it looks like you're looking for the same thing I was looking for a while
> ago.
>
> http://www.nabble.com/Re-%3A-Re-%3A-T5%3A-Layout-question-tc16448904.html#a16448904
>
> Look for Peters' responses in tha
Just add more parameters to the activate/passivate-methods.
Or you can use (Object[] parameters).
Or you can use (EventContext context)
The way to go for you would be to just add more parameters to the
activate/passivate-methods.
2008/7/9 t <[EMAIL PROTECTED]>:
> void onActivate(String message)
>
Hi there,
I am developing a tree component which can take several classes as
nodes. Each class should have it's own body, stored in parameters - and
then rendered, of course.
Now, lets say I have I have this code in my Test.tml:
---
Sorry, guess I should have searched first. Could consider this a bump I
suppose :)
On 09/07/2008, Joel Wiegman <[EMAIL PROTECTED]> wrote:
>
> There is indeed... Looks like the fix version is "5.0" though, which is
> some strange holding place where defects seem to disappear to:
>
> https://issues
void onActivate(String message)
{
System.out.println("Another page is activated! The
message is: " + message);
this.passedMessage = message;
}
String onPassivate()
{
System.out.println("Another page is passivated...");
return passedMessage;
}
This is the
There is indeed... Looks like the fix version is "5.0" though, which is
some strange holding place where defects seem to disappear to:
https://issues.apache.org/jira/browse/TAPESTRY-2234
-Original Message-
From: Andreas Andreou [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2008 8:
i think there's already a jira for this
On 7/9/08, Patrick Moriarty <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Although I can subclass Autocomplete and implement the configure(JSONObject)
> method to specify an afterUpdateElement, the fuction I specify (as a String
> here) gets surrounded by double-q
properties files can not be encoded other than iso1,
you should use natve2acii to convert them.
this might solve your problem
Davor Hrg
On Wed, Jul 9, 2008 at 12:12 PM, Sebastian Altmann <[EMAIL PROTECTED]> wrote:
>
> Ok seems like this won't get me anywhre.
>
> I just can repeat:
> All my prop
injection via annotations to fields is only possible for pages,
components...
for pages and comps byte code is changed and greater flexibility is
possible,
for services that tapestry autobuilds, tapestry will use the constructor
with most parameters,
everything else you must connect your self..
Ok seems like this won't get me anywhre.
I just can repeat:
All my properties filese are 100% encoded in UTF-8 (checked this in eclipse
and in an external editor) and all umlauts are displayed properly (except in
the special case described above).
To this problem you mentioned concerning Java P
Hi,
Although I can subclass Autocomplete and implement the configure(JSONObject)
method to specify an afterUpdateElement, the fuction I specify (as a String
here) gets surrounded by double-quotes by JSONObject.toString()
Thus it is not interpreted as a function. It would be nice if I could use
s
Hi,
is it possible to use the Tapestry Localization (message catalog) outside of
pages and components, e.g. in business objects creating reports?
A simple
@Inject
private Messages messages;
doesn't work.
Of course Tapestry could supply messages from the main application catalog
only, bu
I had quite a number of this dead lock issues before, have to modify the
code, trial and error, just to make it works, looks like the main problem is
this jdbc 3.x, so far so good.
Davor Hrg wrote:
>
> nice to know :) , thnx
> I still use 3.x :)
>
> On Wed, Jul 9, 2008 at 9:10 AM, Angelo Chen
nice to know :) , thnx
I still use 3.x :)
On Wed, Jul 9, 2008 at 9:10 AM, Angelo Chen <[EMAIL PROTECTED]>
wrote:
>
> just discovered that my mysql jdbc driver is stil 3.x, updated to 5.1.6 in
> pom.xml, problem goes away up to now.
>
>
> Angelo Chen wrote:
> >
> > Hi,
> >
> > I encounter this wa
just discovered that my mysql jdbc driver is stil 3.x, updated to 5.1.6 in
pom.xml, problem goes away up to now.
Angelo Chen wrote:
>
> Hi,
>
> I encounter this warning quite often, it usually happens when I updated a
> row using mysql command line, then quit, after that I either update or
>
44 matches
Mail list logo