The ServerContextFactory.get() only works if dwr has been already called from
a dwr initiated thread, otherwise it returns null.
BarryDev wrote:
>
> Got the reverse ajax method working. An interesting gotcha if trying to
> trigger a dwr reverse ajax call from a tapestry thread you need to get
Howard Lewis Ship wrote:
>
> Ooops. I'll check a fix in for that with some other outstanding
> changes (no JIRA issue necessary).
>
>
Thanks Howard,
Got the reverse ajax method working. An interesting gotcha if trying to
trigger a dwr reverse ajax call from a tapestry thread you need to g
So am I dead in the water here? Sounds like this functionality isn't
supported in T5? Seems strange that Tapestry 5 requires an INPUT field to
be contained within a Form, and AJAX uses Zones, and you can not combine the
two. So basically, AJAX functionality in T5 should only be used with
straig
You declared your services configuration to be a List, so your problem is here:
Configuration configuration
That should be OrderedConfiguration which collects and orders its
contributions to form a List.
What are you building?
On Fri, Nov 7, 2008 at 4:42 AM, bobpuley <[EMAIL PROTECTED]> wrote:
In my Tapestry 4.1 app, I have the session store a persistent cache
that contains a variety of counts and such read from the database. I
don't want to calculate this each time the user hits a page, hence the
cache.
My question is, how do I integrate this with HiveMind so I can access
othe
Just what I needed.
Keith
On Nov 7, 2008, at 2:54 PM, Thiago H. de Paula Figueiredo wrote:
Em Fri, 07 Nov 2008 16:38:17 -0300, Keith Bottner
<[EMAIL PROTECTED]> escreveu:
Here is the Notification class.
Tapestry 5 uses redirect-after-post by default, so the request that
shows a page is
Em Fri, 07 Nov 2008 16:38:17 -0300, Keith Bottner <[EMAIL PROTECTED]>
escreveu:
Here is the Notification class.
Tapestry 5 uses redirect-after-post by default, so the request that shows
a page is not the same request that submitted a form or triggered an
action. You should persist your f
Em Fri, 07 Nov 2008 16:14:22 -0300, jthompson209 <[EMAIL PROTECTED]>
escreveu:
java.lang.RuntimeException
Persistent fields may not be updated until after the page has finished
loading. This may be due to a persistent field with a default value. The
default value should be removed.
so my ques
Please read the Tapestry tutorial ... especially the section on
persistent field data.
On Fri, Nov 7, 2008 at 11:38 AM, Keith Bottner <[EMAIL PROTECTED]> wrote:
> Design Problem: To have a single page that can be passed various
> notifications instead of having tens if not hundreds of separate
> n
Design Problem: To have a single page that can be passed various
notifications instead of having tens if not hundreds of separate
notification pages that just display successful completion, errors, etc.
Our Solution: Was to use a @InjectPage in those pages and use setters
on the page to set
Hello
With last night snapshot I am getting a new error. We use to be able to
initialize persisted fields in the class contructor, now we get this error
java.lang.RuntimeException
Persistent fields may not be updated until after the page has finished
loading. This may be due to a persistent fie
Tapestry has a Request service that is a "property shadow" of
RequestGlobals.request. That means that you can inject Request and
any method you invoke on it is forwarded to the current per-thread
Request object.
The end result is you can treat Request as you like ... as the current
Request ... ev
Hi,
I want to create a binding which is dependent on data within the user
session.
How can runtime information such as the request/session be made
available to the Binding?
In other bindings I have written I have injected any services I needed
into the BindingFactory - but BindingFactory is
Thank you Olle and everyone else who replied to my query.
Indeed, I had to recreate the repository (plus I missed one or two
dependencies).
p.
Quoting Olle Hallin <[EMAIL PROTECTED]>:
The standard cure-most-dependency-problems medicin for Maven is to wipe your
local repository and try aga
That should only be triggered by the use (implicit or explicit) of
JavaScript, such as a Form component (client validation and initial
field focusing), or a DateField, etc.
The error is coming from the environmental DocumentLinker; it is
possible to override Tapestry's DocumentLinker with your own
Hi,
we are using T5 for over a year now. Since zones weren't avaliable at the
time we started, we have some places where we respond to Ajax requests with
pages.
Since the response only contain snippets which are inserted in an existing
page they must not have as root-element.
This causes :
Pro
Is there a possibility to have the standard sort link/icons on
overridden grid headers.
The manual specifically mentions that these are not displayed when
overriding the header, but this means that a lot of overhead (copying
most of grid if I am not mistaking) is needed if the standard sort
beh
That bug is fixed in 5.0.16
https://issues.apache.org/jira/browse/TAP5-287
On Fri, Nov 7, 2008 at 3:33 PM, Joachim Van der Auwera <[EMAIL PROTECTED]>wrote:
> The default.css in 5.0.15 contains the following section :
>
> IMG.t-autoloader-icon {
> margin-left: 4px;
> width: 16px;
> heigth:
The default.css in 5.0.15 contains the following section :
IMG.t-autoloader-icon {
margin-left: 4px;
width: 16px;
heigth: 16px;
background: url( ajax-loader.gif );
}
The "heigth" is a typo and should be changed to "height".
Kind regards,
Joachim
--
Joachim Van der Auwera
PROGS bvba
Hi,
I also want to keep the former behavior of URL encoding but have issues
with form submissions.
For keeping the former behavior I added a custom URLEncoder service
which does mostly what was before done in TapestryInternalUtils (see the
code at the end of the post).
However, when I do a form
This is me thinking out loud, so this might not work at all because i
haven't tried it. But here's what my first go at this would be.
In the application module:
public static void contributeRegistryStartup(OrderedConfiguration
configuration, @Inject @Value("${tapestry.start-page-name}"
Hi,
thanx for your answer, martijn!
[ And sorry for my post picking up an already existing topic as a new
thread (I right now *found* the T5-list posts in my mail client, I must
have configured a filter without remembering this :)) ]
We're using AJAX GETs to links with context arguments, I would
+1
Szemere Szemere schrieb:
Is there an easy way to have Tapestry auto-load or auto-request the start
page when the core Tapestry servlet loads up?
The first page to load when we restart Tapestry takes over 10seconds (mostly
because of Hibernate and number of linked pages), which we only get
On Fri, Nov 7, 2008 at 1:35 PM, Otho <[EMAIL PROTECTED]> wrote:
> Yes of course, but Tapestry and Groovy integrate quite well.
yes I recall an attempt I do not know if anything beyond basic page
was ever implemented.
http://www.troymaxventures.com/2007/08/grails-tapestry-grapestry-part-1-of-n.htm
Is there an easy way to have Tapestry auto-load or auto-request the start
page when the core Tapestry servlet loads up?
The first page to load when we restart Tapestry takes over 10seconds (mostly
because of Hibernate and number of linked pages), which we only get to when
making the first request
Em Fri, 07 Nov 2008 07:57:33 -0300, CG <[EMAIL PROTECTED]> escreveu:
Hi, I would like to use actionLink to pass value that key by user in a
TextField , it seems like it cannot get the blank value from the
textbox ...and pass to the onActionFromXXX ..
can I actually use actionLink here ? or sh
Em Fri, 07 Nov 2008 04:49:05 -0300, Inge Solvoll <[EMAIL PROTECTED]>
escreveu:
Isn't this the same problem I ran into some weeks ago? Forms not
supported in zones?
My experience says that you can put a Form inside a Zone, but you cannot
put a Zone around some fields inside a Form (hence t
Hi,
i get an error during contribute method invocation, using T5 IOC in my
application.
I don't use T5 core and other, simply get Registry via builder, inspired to
code stored on the tapestry wiki
(http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly) and code of
TapestryFilter/ServletApplication
Hi,
i get an error during contribute method invocation, using T5 IOC in my
application.
I don't use T5 core and other, simply get Registry via builder, inspired to
code stored on the tapestry wiki
(http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly) and code of
TapestryFilter/ServletApplication
Yes of course, but Tapestry and Groovy integrate quite well. You don't have
to use all Java for everything.
2008/11/7 Alex Shneyderman <[EMAIL PROTECTED]>
> > That is not the same, since you don't only have the AND operator at hand.
> >
> > def books = Book.findAllByPublisheddateBetween(lastyear
> That is not the same, since you don't only have the AND operator at hand.
>
> def books = Book.findAllByPublisheddateBetween(lastyear, today)
You do realize that what you are asking is not possible given that impl
language is Java (for Tapestry based projects)?
So DAO's your friend. If you like
Yes, that would be a nice option, but realistically my skill-level just
isn't high enough and my time too sparse to do an integration myself and
keep it up to date with Tapestry releases.
Regards,
Otho
I think this
http://www.chenillekit.org/chenillekit-tapestry/listbinding.html should do
what you want.
On Fri, Nov 7, 2008 at 10:54 AM, Daniel Alonso Sanchez <[EMAIL PROTECTED]>wrote:
>
> Hi everybody again.
>
> I need to pass a list of literals as parameter of a custom component. Look
> like thi
Perhaps you can create your own binding?
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
Martijn
On Fri, 2008-11-07 at 02:54 -0800, Daniel Alonso Sanchez wrote:
> Hi everybody again.
>
> I need to pass a list of literals as parameter of a custom component. Look
> like this:
>
>
Hi, I would like to use actionLink to pass value that key by user in a
TextField , it seems like it cannot get the blank value from the
textbox ...and pass to the onActionFromXXX ..
can I actually use actionLink here ? or should I use form submit ?
Thanks.
CG
-
Hi everybody again.
I need to pass a list of literals as parameter of a custom component. Look
like this:
t:newBeanColumn t:id="formpersonales" object="datosPersonales"
numColumns="1-3-5-2"
That literal (1-3-5-2) are 4 numbers that i need to process, but tapestry
give me an exception. Is the
Initially I used to activation context for my Ajax calls as well. I now
use the request parameters and JSON for Ajax calls instead of the
activation context. I think the rationale for the activation context is
that it makes nicer looking URLs but that's not needed for Ajax calls.
So you can either
Otho, don't forget that Grails allows you to use alternative view rendering
technologies on top of GORM. So, maybe you should be looking for some kind
of Tapestry - Grails integration.
On Fri, Nov 7, 2008 at 8:50 AM, Otho <[EMAIL PROTECTED]> wrote:
> That is not the same, since you don't only ha
Hi,
with the fix of TAP5-302 (URL encoded strings that contain symbols such
as %2f (encoded "/") are decoded incorrectly in some environments) the
URI encoding/decoding changed.
AFAICS URIs containing anything else than a-z, A-Z, 0-9 or one of -_.:
are considered invalid.
Therefore, when I have
That is not the same, since you don't only have the AND operator at hand.
def books = Book.findAllByPublisheddateBetween(lastyear, today)
with lastyear and today being Date instances is also possible and a lot
more.
Sure it is possible to construct queries from arbitrary length method calls.
But
The standard cure-most-dependency-problems medicin for Maven is to wipe your
local repository and try again.
Delete (or rename) $HOME/.m2/repository (Linux) or
%USERPROFILE%\.m2\repository (Windows).
Also: the standard way to package a any Maven project is mvn package.
mvn war:war happens to work
41 matches
Mail list logo