The important thing to keep in mind is that the "object" parameter to the
"encoder" element is a hivemind reference, which means it can be a reference to
another hivemind service, or to a spring service.
or
You can configure those beans in the usual way. My guess at what you want is
(u
JIRA ?
On 10/20/06, Frank <[EMAIL PROTECTED]> wrote:
Hi,
Got a problem with duplicate id's :
When Tapestry render the HTML there are 2 id's in the code, and this gives
the async update a javascript error.
Regards
Frank
--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team membe
https://issues.apache.org/jira/browse/TAPESTRY-1116
On 10/20/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
I've got a CSS menu bar on my pages. I want the links in the menu to
use ExternalLink so that they are bookmarkable. I can't have the link
submitting back to a listener method in my shell co
Hi all,
What's the best way to get access to a spring bean setup using the standard
context from isnide a service encoder?
I have the following (well, something like it: obviously the names have been
changed to protect the innocent..)
Whcih doesn't yeild anything except stack traces. What's
Thanks Jeff. Shawn, I assume your email response to me crossed paths
with Jeff's, but if not, I'd look pretty carefully at his solution.
It is a more heavyweight solution than I'm sure any of us want, but it
will definitely get the job done and doesn't look like it would be too
hard or time consu
Specifically, we use a service that implements
org.apache.tapestry.services.WebRequestServicerFilter. The only method
you need to implement is WebRequestServicerFilter.service, and the only
really important thing is to call servicer.service() to keep the chain
going. See Tapestry's DisableCaching
It's nice to at least know you've had the same problem. Your code below
represents exactly what I'm after, but I so far haven't found any
practical way to make it work. I've tried things like creating my own
POST (using HttpClient) within the current request cycle, but dealing
with this "inner" r
Can you expound upon how you plug in the WebRequestFilter.
Constructing the WebRequest subclass looks simple enough, and the
Callback factory dosn't seem too tough, but injecting a web request
filter sounds like hivemind magic that I'm unaware of.
This seems like something we'd want to provide a
Do these scripts need to have the same filename as the *.script file?
I'm trying to include a number of files from the yui library, and only
want to include them on pages that use their services. But when I try
to do either:
or
And place the files in the appropriate location, I get the follo
Not sure if this will help, but here's how we handle this (it's kinda
complicated, but it works):
* All of our callback generation for interstitial processes like login
go through a Callback factory service. In order to preserve URL
integrity for bookmarking and the like, we use an ICallback
impl
some robots.txt magic?
On 10/20/06, spamsucks <[EMAIL PROTECTED]> wrote:
hi everybody,
Sorry for the title, but that's what is happening. I have a very high
traffic (very public) site that now is using ajax/tapestry for some
functionality. Because we are being constantly crawled by bots, my
li
hi everybody,
Sorry for the title, but that's what is happening. I have a very high
traffic (very public) site that now is using ajax/tapestry for some
functionality. Because we are being constantly crawled by bots, my
listeners are invoked on the "voting for a playlist" links in my app, and
I can think of a couple of ways of doing this. The way I do this is
to use an ExternalCallback, store that in session, and after
successful authentication, I just execute the callback. However, this
only works if you use ExternalLinks, and doesn't work at all if
someone submits a form after bein
I've got a CSS menu bar on my pages. I want the links in the menu to
use ExternalLink so that they are bookmarkable. I can't have the link
submitting back to a listener method in my shell component, beacuse
then the URL is always one page behind the page I am actually looking
at, since the parame
I'm hoping to find a better way to handle expired sessions without
redirecting to a default page. I have many users which tend to let
sessions time out over lunch or over night, but who expect to be able
to resume working at any time without losing form data, etc.
I have a typical "protected" bas
I have a follow-on question. For most every thing I have found I don't
need a .page or .jwc file at all. However, for some cases like this I
do (the other is changing the default Home location).
But the .page file is pretty empty. Is there away to avoid having to
have this empty .page file?
-Pat
Hi,
Got a problem with duplicate id's :
When Tapestry render the HTML there are 2 id's in the code, and this gives
the async update a javascript error.
Regards
Frank
Nevermind, looks like Andreas and Thomas answered your question.
Although I have to say that overriding the page names in your
hivemodule file seems like a cleaner approach than "hiding" the
default pages in your .application. My guess is that you were running
into a page resolution issue i
The default StaleLink page extends BasePage, so you shouldn't have to
extend a special base class. However, the default StaleLink page
class declares a "message" property (i.e. public abstract void
setMessage(String message)), so your custom page probably needs the
same thing.
There doesn
Hi,
I have a problem with this convination. When I use a simple
PropertySelection getter / setter it's work fine but when I use a @Form
component to render many options to select it not works.
My Java code:
public abstract UserPage extends BasePage implements
PageBeginRenderListener {
...
@Persist
[EMAIL PROTECTED] wrote:
* Yes, the "StaleLink" "StaleSession" and "Exception" keys are 'magic'
Actually, i wouldn't call them magic :)
They're real pages - the framework defines them ...
See
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapest
* Yes, the "StaleLink" "StaleSession" and "Exception" keys are 'magic'
* No, the "New" is just part of Andreas' class naming example
* No, no special interfaces needed in the backing .java classes
* Nothing needed in the hivemodule
For comparison's sake, here's my StaleLink configuration:
==
Hm... just to be damned sure;
* The strings "StaleLink" and "StaleSession" are "magic", right, in the
sense that they're properties spelled exactly like that in some class, so
spelling them wrong is a nono?
* Is there something "magic" about "New" as the prefix to the page names?
Can I call them
I've answered my own question following "sleeping on it"...
The serialVersionUIDs hadn't been updated for a couple of files, meaning that
they wern't recognised as being new - presumably something got serialized at
some point!
Am installing the ant task serialver to automate the process of
indeed, there are some typos (?) in
http://tapestry.apache.org/tapestry5/source-repository.html
Do:
svn co
http://svn.apache.org/repos/asf/tapestry/tapestry5/tapestry-core/trunk/
tapestry-core
svn co
http://svn.apache.org/repos/asf/tapestry/tapestry5/tapestry-project/trunk/
tapestry-project
in the .application
Mats Henricson wrote:
Hi!
I think that page describes how to do it in Tapestry 3.
I use this in 4, and it works:
GeneralError is my page, and it has a corresponding Java, HTML and page
class.
Unfortunately you can't handle stale sessions the same way. I've
stru
Hello,
I would try Tapestry 5 to play with it.
How can i found the sources for build it.
I've tried to reach the svn repository for URL proposed on the site but it's
seems to be only for browser view.
I'de liked to download the sources files, build it and try it (i've already
work 5 months with
Yeah, but all of that happens in the page itself. The ServiceEncoder just
works on parameters if they exist.
On 10/20/06, Warner Onstine <[EMAIL PROTECTED]> wrote:
Do you currently handle null/empty params, so that if a user types in
manually:
http://localhost:8080/eventscalendar/event/
it woul
Hi!
I think that page describes how to do it in Tapestry 3.
I use this in 4, and it works:
GeneralError is my page, and it has a corresponding Java, HTML and page
class.
Unfortunately you can't handle stale sessions the same way. I've struggled
with that for about two days now. The info I
29 matches
Mail list logo