Hello list.
I want to implement a library which provides standard pages for the
users application.
There are two requirements:
1. The user should configure the path where these pages will be available.
2. The user should be able to override them
I think there are 2 things needed to accomplish th
Hi folks,
Quick question - I am trying to pass parameters using the activation context.
I normally use:
InjectPage
PageX thePage
...
...
onSomeEvent() {
thePage.setSomeParameter("SS");
Return thePage;
}
But I have a situation where I need to use the String method for page
navigation but still nee
hi piero,
i'd create a service that has a mappedConfiguration
and contribute the default pages in the libraries' module
(wrapped in another custom object).
if an user wanted to change the default he could do a
MappedConfiguration.override() to replace the default
contribution.
i must admit i d
On Mon, 18 Jan 2010 11:00:12 -0200, wrote:
Hi folks,
Hi!
But I have a situation where I need to use the String method for page
navigation but still need to pass a parameter.
You can't return a String and still pass the activation context. Why do
you need to return a String at first?
hi,
you can't do it this way. if you return a string Tapestry will interpret
it as a logical page name and return the rendered page as
response (see PageNameComponentEventResultProcessor)
but you can create a Link with the desired paramters using the
LinkSoruce.createPageRenderLink method and
> i'd create a service that has a mappedConfiguration
> and contribute the default pages in the libraries' module
> (wrapped in another custom object).
>
> if an user wanted to change the default he could do a
> MappedConfiguration.override() to replace the default
> contribution.
This is a good
so you're basically trying to map the same
url to different pages
you could try creating an advise similiar to the
ComponentEventLinkEncoderMethodAdvice
(used by the URLRewriter) and replace the page
name with one of your contributed from your service.
even depending on the current context.
(or
> This is easier in 5.2 as there's a new RequestGlobals property that
> identifies the name of the page for the request.
Wow thats a useful feature, nice!
- Original Message -
From: "Howard Lewis Ship"
To: "Tapestry users" , r...@su3analytics.com
Sent: Sunday, 17 January, 2010 21:54:19
Thx for the reply. I was kindof expecting that.
I have a large collection of lots of different Objects of varying classes (all
stemming from the one superclass) and have a view/edit page for each of them.
Instead of a big switch I simply wanted to redirect to page
"viewthe"+selectedType and the
On Mon, 18 Jan 2010 12:18:10 -0200, wrote:
I have a large collection of lots of different Objects of varying
classes (all stemming from the one superclass) and have a view/edit page
for each of them. Instead of a big switch I simply wanted to redirect
to page "viewthe"+selectedType and th
Excellent.. Thanks Thiago. Ill give that a go.
-Original Message-
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
Sent: 18 January 2010 15:03
To: Tapestry users
Subject: Re: Passing Activation parameters to a page
On Mon, 18 Jan 2010 12:18:10 -0200, wrote:
> I have a la
Thanks Kris, you made me think - I don't need to use doSomething method at this
point - so a pagelink was enough and I could control that from the tml.
Yours and Thiago's suggestions were excellent - ill try both out and see which
one I understand best ;)
A
-Original Message-
From: Kr
Hi Benny,
That sounds promising. I'll try it out, thanks.
-Original Message-
From: Benny Law
Reply-to: "Tapestry users"
To: Tapestry users
Subject: Re: Different ExceptionReport for different pages
Date: Sun, 17 Jan 2010 16:06:07 -0500
I haven't tried it myself, but the Tapestry docu
Hi
I have an actionlink with in a loop as given below, and the action link
refreshes the same page with some additonal data in it, everything works
fine, Now i wanted to differenciate the link that was clicked (by changing
the color or so) how do i do that with in the loop, to check which link wa
Hi,
I know this isn't a Mailing list about Chenille, but i believe it's kind of a
commom subject.
Well... When I have a page that has, for instance, a TabSet and my session
expires while it is opened, when the user choose to change the Tab, the Ajax
request made to the server returns no respon
> encoder="applicationEncoder">
>
> conntext="currentApplication.id">${currentApplication.applicationName}
>
>
>
> Note: Values for the loop is loaded dynamically from database, so i cannot
> have one property to check for If condition like . Please
> suggest.
In your page class y
Thanks Piero, for the quick response yes i do have that method like
onActionFromShowDetails(long id){}
where i can set a property to boolean true /false. But my problem is as i
mentioned my application list is dynamic in that case if i have N
applications then i would need N such properties to
> Thanks Piero, for the quick response yes i do have that method like
> onActionFromShowDetails(long id){}
> where i can set a property to boolean true /false. But my problem is as i
> mentioned my application list is dynamic in that case if i have N
> applications then i would need N such proper
On Mon, 18 Jan 2010 19:36:25 -0200, asm_saf wrote:
Hi
Hi!
I have an actionlink with in a loop as given below, and the action link
refreshes the same page with some additonal data in it, everything works
fine, Now i wanted to differenciate the link that was clicked (by
changing the color o
Thanks everyone i tried the suggestion posted by Piero and it worked.
Thiago H. de Paula Figueiredo wrote:
>
> On Mon, 18 Jan 2010 19:36:25 -0200, asm_saf wrote:
>
>> Hi
>
> Hi!
>
>> I have an actionlink with in a loop as given below, and the action link
>> refreshes the same page with some
Hi,
we've solved this issue just yesterday with a custom AccessControlDispatcher.
Works great for inPlace grids and other zone update stuff.
Add this to your AppModule
public void contributeMasterDispatcher(
OrderedConfiguration
configuration,
21 matches
Mail list logo