Hello!
I've found following workaround: use external spring context like in T5.0.
I add in web.xml
tapestry.use-external-spring-context
true
In beans I use it like:
If you want request scope in spring:
org.springframework.web.context.request.RequestContextListener
Define in applicatio
Otho,
Thanks, the link was very useful and cleared my doubts.
I just think it's a too trivial question and was kinda hard to find any
answer... Anyways, I already bookmarked the link you sent.
Otho wrote:
>
> You can find the answer here:
>
> http://jumpstart.doublenegative.com.au:8080/jumps
I've got non singleton beans in a parent/children relation. For example :
- a Folder bean with a property Files which point on a Set of File beans.
- several File beans with a property Folder which point on a Folder bean.
Until Tapestry 5.0.18, i used to implement those non singleton beans as
Spri
sorry :) i managed to make it work ok. The problem was really on
the JS part (as you suggested). As I don't have possibility to make
event links on client-side I did it by hand and it revealed, that the
one case I used to make an event-handler url is not the only case
tapestry has. Another is when
Hi,
it seems that i have a serious problem with the message catalog encoding.
the default eclipse encoding creating new and saving *.properties files
seems to be ISO-8859-1. Also if the encoding was UTF-8. eclipse change it
to ISO-8859-1.
i have two message catalogs "Login.properties" and "Login
You might like to check out the example at
http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo
Shing
--- On Tue, 19/5/09, mark99 wrote:
> From: mark99
> Subject: Checkboxes within a loop in a form
> To: users@tapestry.apache.org
> Date: Tuesday, 19 May, 2009, 1:1
Figured out what was wrong. It *was* so much components per page, actually.
We have this page, user dashboard, and a dozen pagelinks within it. Each
pagelink fully loaded the page it was pointing to, causing that page to load
its components in turn, etc. I modified CPEI and PageImpl to be able to l
Em Mon, 18 May 2009 13:44:44 -0300, Chuck Kring
escreveu:
Hi everybody,
Hi!
I need to cleanup the persistent fields when the page is no longer in
use and I'm considering using the window onunload event
and a hidden eventlink to trigger the page to clean up.
You don't need a hidden eve
Em Mon, 18 May 2009 14:28:59 -0300, ownedthx escreveu:
Oh. I think I get it. If the zone contains another component, then
that'd cause it to render, right?
Yes. The zone, and everything inside it, is rerendered.
Your pseudomarkup looks correct. ;)
--
Thiago H. de Paula Figueiredo
Indepen
Oh. I think I get it. If the zone contains another component, then that'd
cause it to render, right?
Let me see if I get this right with some pseudomarkup:
Root page (that contains the two components, searchForm and searchResults):
Search Form component:
I believe you will need a submit notifier component.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/SubmitNotifier.html
Wrap the submit notifier around and use the AfterSubmit event to
capture its values.
- Original Message
From: mar
Hi
I've got a problem implementing a form which renders checkboxes within a
loop, and then posts back the values of the checkboxes on form submission.
In my form submission handler, I need to know which checkboxes the user
checked.
What I'm looking to do is something like this:
Page:
Em Mon, 18 May 2009 13:44:05 -0300, ownedthx escreveu:
Let me try an example. Take a pretty rich web app like markmail:
http://tapestry.markmail.org/search/?q=tapestry
When you search on markmail, it causes a whole page refresh. (not what
I'm trying to do). But, what if instead it updated
Em Mon, 18 May 2009 13:31:43 -0300, Andy Buckley
escreveu:
One final, final (I hope) thing: the decoded context appears to be
shared between pages using the same session,
They aren't. Maybe you're populating persisted fields . . .
private Map _params = new TreeMap();
. . . or falli
Hi everybody,
I have a page that implements a dashboard-like functionality in which
various AJAX calls update charts and other data.
This page is has several persistent variables in order to support the
AJAX functionality. All of the elements in the page are
surrounded for a form but the us
Let me try an example. Take a pretty rich web app like markmail:
http://tapestry.markmail.org/search/?q=tapestry
When you search on markmail, it causes a whole page refresh. (not what I'm
trying to do). But, what if instead it updated just the applicable
components on the page, such as the se
Thiago H. de Paula Figueiredo wrote:
> On Mon, May 18, 2009 at 11:48 AM, Andy Buckley
> wrote:
>> XML
>>
>> but as mentioned elsewhere in the thread, this generates a URI without
>> the parent page's context (which magically still works), i.e. the URI
>> generated by the above is
>> .../view/xml
>
Don't worry about it, turns out our internal network is screwed up...
connections between users and the load balancer is secure, but not between load
balancer and app server.
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Monday, May 18, 2009 11:56:56 AM
Subject: R
On Mon, May 18, 2009 at 12:47 PM, ownedthx wrote:
> One note: I'm avoiding using zone updates to
> orchestrate this cross-component behavior, because in my understanding, the
> bulk of the logic has to then live in Javascript in the client.
Why? Just curious. :)
--
Thiago
-
obviously, it is.
- Original Message
From: Martin Strand
To: Tapestry users
Sent: Monday, May 18, 2009 11:40:40 AM
Subject: Re: [t5.0.18] Secure Annotation / BaseURLSource
Just a guess... perhaps baseSecureURL is not an https url?
On Mon, 18 May 2009 15:15:50 +0200, Dave Greggory
Here's my scenario...
I want to create a component with an embedded form that has a textfield, and
on submit, fires an Ajax request to the component. However, I have this
idea that I'd like to let this component fire a custom event (using
triggerEvent) back up to the page, and the page could te
Just a guess... perhaps baseSecureURL is not an https url?
On Mon, 18 May 2009 15:15:50 +0200, Dave Greggory
wrote:
>
> I've been using BaseURLSource(since behind a firewall/load balancer) fine all
> this time, and recently I needed a secure page, so I added the @Secure
> annotation on that
On Mon, May 18, 2009 at 11:48 AM, Andy Buckley
wrote:
> XML
>
> but as mentioned elsewhere in the thread, this generates a URI without
> the parent page's context (which magically still works), i.e. the URI
> generated by the above is
> .../view/xml
> rather than the hoped-for
> .../view/p1234/xml
Thiago H. de Paula Figueiredo wrote:
> On Mon, May 18, 2009 at 10:57 AM, Andy Buckley
> wrote:
>> Thanks for the advice. I'd rather avoid using separate pages, as
>> mentioned, but including the format handling in the activation context
>> is certainly possible. It prompts another question, though
On Mon, May 18, 2009 at 11:19 AM, Andy Buckley
wrote:
> public EventContext onPassivate(EventContext context) {
> return context;
> }
In onPassivate(), you should return the activation context value for
that page request (i.e. the value you pass to the context parameter of
PageLink). In your cas
Robert Zeigler wrote:
> 1) If you're using action links, then
> onXML won't work. The proper "magic method" naming is:
> on[from]
>
> as:
> onActionFromXml, and so forth.
>
> If you want:
> onXML() {} then you need to use an event link with the event name of xml.
Thanks, I hadn't noticed EventLi
On Mon, May 18, 2009 at 10:57 AM, Andy Buckley
wrote:
> Thanks for the advice. I'd rather avoid using separate pages, as
> mentioned, but including the format handling in the activation context
> is certainly possible. It prompts another question, though: how do I
> return the "normal" page render
Thiago H. de Paula Figueiredo wrote:
> Em Fri, 15 May 2009 14:39:23 -0300, Robert Zeigler
> escreveu:
>
>> PS: I don't see EventContext implementing Iterable. It just
>> doesn't make sense from a semantic POV, even it makes things a bit
>> more convenient. It's also a "public" interface; it's n
Thiago H. de Paula Figueiredo wrote:
> Em Fri, 15 May 2009 12:36:34 -0300, Andy Buckley
> escreveu:
>
>> Any replies to this (see below, or my previous mail in this thread)?
>>
>> Specifically, can I use Tapestry components to link "bookmarkably" to
>> page events as a way of displaying the page
I've been using BaseURLSource(since behind a firewall/load balancer) fine all
this time, and recently I needed a secure page, so I added the @Secure
annotation on that page. But that page is no longer working because @Secure
annotation ends up sending continuous redirects. What am I doing wrong
run mvn with -DdownloadSources=true
On Mon, May 18, 2009 at 12:20 PM, hari ks wrote:
>
> Hi,
>
> 1.First of all I downloaded tapestry-src-5.0.18.zip.
> 2. did a "mvn install" after commenting out all testng.xml , and copying
> pom.xml to project root.
> 3. Created a dummy tapestry project in e
Hi,
1.First of all I downloaded tapestry-src-5.0.18.zip.
2. did a "mvn install" after commenting out all testng.xml , and copying
pom.xml to project root.
3. Created a dummy tapestry project in eclipse that was working with tapestry
binaries.
4. copied all jars from /.m2/repository and created
32 matches
Mail list logo