unavailable etc.
To solve this we've made our own RedirectException, and exception handler
that catches it and performs redirect.
The last problem we have is spam in logs, that goes from RenderQueueImpl
class.
Is there any correct way in tapestry to redirect during render?
With best regards, Andrey.
data
unavailable.
page request check looks better but, imho, code would become much harder to
understand and support.
2014/1/16 Thiago H de Paula Figueiredo
> On Thu, 16 Jan 2014 05:49:09 -0200, Andrey wrote:
>
> Hello!
>>
>
> Hi!
>
>
> We are in need of redirect fr
But in addition our exception handler extracts redirect destination from
our custom exception and performs redirect.
16.01.2014 17:08 пользователь "Thiago H de Paula Figueiredo" <
thiag...@gmail.com> написал:
> On Thu, 16 Jan 2014 10:41:55 -0200, Andrey wrote:
>
>
Hello tapestry community,
Our project went into public pre-production phase and we want it to be
added on Tapestry Applications page (
http://tapestry.apache.org/applications.html).
How can we do it?
Best regards, Andrey.
Hi, everyone
I start to explore world of Tapestry 5. It so exciting. But at first
time is very difficult to find simple elegant (maybe pattern-like)
solution. And i want to ask, can any point or give advice on creating
Master-Detail presentation. I want to have two independent component
but with po
Actualy not. It's only a tools. I'm asking advice on how to decompose
and interact between two components.
There is an explanation of this UI pattern
http://en.wikipedia.org/wiki/Master-detail
On Tue, Aug 18, 2009 at 01:07, Juan E. Maya wrote:
> if i understand u. Maybe what u need is just a
> Act
By "component" i mean Tapestry component. I try to understand how to
place two components on page. And make they optionaly linked.
On Tue, Aug 18, 2009 at 02:02, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 18:33:36 -0300, Andrey Larionov
> escreveu:
>
>>
, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 20:05:41 -0300, Andrey Larionov
> escreveu:
>
>> By "component" i mean Tapestry component.
>
> Ok!
>
>> I try to understand how to place two components on page.
>
> Just declare them in the
17 Aug 2009 20:44:55 -0300, Andrey Larionov
> escreveu:
>
>> By linking i mean next:
>> When i perform (for example) select action on first component, second
>> should get selected value and display corresponding changes. But if
>> one of components is absent, then
Thanks. I'll try it.
On Tue, Aug 18, 2009 at 04:20, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov
> escreveu:
>
>> As i understand, i should in first component create a field of type of
>> second component and anotate
t;tapestry:parameter">
Create new Feed...
I want to pass FeedList (template of which) into FeedElement. But my
example are wrong.
On Tue, Aug 18, 2009 at 04:33, Andrey Larionov wrote:
> Thanks. I'll try it.
>
> On Tue, Aug 18, 2009 at 04
Thanks for good point. try it now.
On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 22:12:13 -0300, Andrey Larionov
> escreveu:
>
>> One more question. How to pass enclosing component into nested. I mean
>> "self". In loop
The only way i can achive result is ugly getSelf hack. Thru
environmental service i can't access no component no wraped component.
On Tue, Aug 18, 2009 at 05:57, Andrey Larionov wrote:
> Thanks for good point. try it now.
>
> On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula
>
But the correct solution was in using prop: prefix to refer to
enclosing component.
Thanks for pointing. Work in progress.
On Tue, Aug 18, 2009 at 07:51, Andrey Larionov wrote:
> The only way i can achive result is ugly getSelf hack. Thru
> environmental service i can't access no c
Example from of parametrizing BeanDisplay component
(http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanDisplay.html)
dosnt work
${bean.link.toUpperCase()}
this block produces exception somthing like
Class components.FeedEntryElement does not
Thanks. I think documentation should be fixed
On Wed, Aug 19, 2009 at 12:39, Ulrich Stärk wrote:
> Replace bean with the name of your property that you want to display. I
> guess it's entry? So it would be ${entry.link.toUpperCase()}
>
> HTH,
>
> Uli
>
> On 19
ilter instead? If so, could i operate
ApplicationState in them?
Thanks
Andrey Larionov
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Acegi/Spring is too complicated for my needs :(
The IP is need to validate cookie on federated ID server.
If user change those IP then validation fail and he represented as guest.
On Thu, Aug 20, 2009 at 17:48, Sebastian Hennebrueder wrote:
> Andrey Larionov schrieb:
>>
>> I t
My problem is what in Dispatcher or RequestFilter passed an Request
instance which not provide getRemoteAddr.
And what is difference beetween Dispatcher and RequestFilter?
Thanks
On Thu, Aug 20, 2009 at 18:06, Thiago H. de Paula
Figueiredo wrote:
> Em Thu, 20 Aug 2009 10:55:20 -0300, And
So in my case i should contribute HttpServletRequestFilter? Am i right?
On Thu, Aug 20, 2009 at 18:26, Ulrich Stärk wrote:
> It's all about what gets called when. See here [1] for an overv
-
To unsubscribe, e-mail: users-unsubscr
>> Em Thu, 20 Aug 2009 11:33:48 -0300, Andrey Larionov
>> escreveu:
>>
>>> So in my case i should contribute HttpServletRequestFilter? Am i right?
>>
>> If using a RequestFilter, it should be contributed to RequestHandler. If
>> using a Dispatcher, it sh
It's not a hack, but RequestFilters services Request not an HttpServletRequest.
On Thu, Aug 20, 2009 at 19:15, Thiago H. de Paula
Figueiredo wrote:
> Em Thu, 20 Aug 2009 11:54:02 -0300, Andrey Larionov
> escreveu:
>
>> Thanks. I decide to try HttpServletRequestFil
In SpringModuleDef exists private method locateExternalContext. It has
return type of ConfigurableWebApplicationContext. But its calls only
from contructor where assignment occurs to variable with type of
ApplicationContext.
It highly limits me on programmaticaly creating server context and
passing
What solution i can advice until it not fixed?
I see only copypaste method.
Thanks.
On Mon, Aug 31, 2009 at 08:09, Howard Lewis Ship wrote:
> Please add an issue to JIRA.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apach
Created TAP-830 (https://issues.apache.org/jira/browse/TAP5-830)
On Mon, Aug 31, 2009 at 14:16, Andrey Larionov wrote:
> What solution i can advice until it not fixed?
> I see only copypaste method.
> Thanks.
>
> On Mon, Aug 31, 2009 at 08:09, Howard Lewis Ship wrote:
>> P
I want to remove a spring part from my project if possible. But i need
analog of spring FactoryBean. Read documentation but dosnt found any
point. I think solution is near of ObjectLocator or ObjectProvider,
but have no idea how to start. Anybody solve this problem?
---
If i provide a factory bean as a property value, Spring use getObject
return, to set property.
On Tue, Sep 8, 2009 at 18:27, Andrey Larionov wrote:
> No, FactoryBean can create new instance on every call of getObject.
>
> On Tue, Sep 8, 2009 at 18:10, Sebastian Hennebrueder
> wrote:
Just more specific info. In spring i have FactoryBean for connections
pool. it answers on FactoryBean.getObject calls with some db
connection object.
On Tue, Sep 8, 2009 at 18:01, Andrey Larionov wrote:
> I want to remove a spring part from my project if possible. But i need
> analog of
No, FactoryBean can create new instance on every call of getObject.
On Tue, Sep 8, 2009 at 18:10, Sebastian Hennebrueder wrote:
> Spring or Pico Container or Guice or whatevery you like.
-
To unsubscribe, e-mail: users-unsubscr..
thanks paul.
On Tue, Sep 8, 2009 at 20:46, Paul Field wrote:
> Hi Andrey,
>
> "Thiago H. de Paula Figueiredo" wrote on 08/09/2009
> 15:51:14:
>
>> Em Tue, 08 Sep 2009 11:27:06 -0300, Andrey Larionov
>
>> escreveu:
>>
>> > No, Factory
Also interesting, is in Tapestry dispose mechanism like in spring?
(Implementing DisposableBean)
On Wed, Sep 9, 2009 at 09:06, Andrey Larionov wrote:
> thanks paul.
>
> On Tue, Sep 8, 2009 at 20:46, Paul Field wrote:
>> Hi Andrey,
>>
>> "Thiago H. de Paula Figuei
I want to create stateless application. Which aproach i should use.
For example i have an some pagination component similar to GridPager,
but less coupled to paginating component. In Tapestry current page is
stored in Persist field. WHat is alternative solution? Can i use
onActivate/onPassivate t
> one request to another.
>
> 2009/9/30 Andrey Larionov
>
>> I want to create stateless application. Which aproach i should use.
>>
>> For example i have an some pagination component similar to GridPager,
>> but less coupled to paginating component. In Tapestry cur
are trying to activate/passivate components , I think there is current
> post on the user mailing list.
>
> 2009/9/30 Andrey Larionov
>
>> Also i have two components which works like described on page
>> http://tapestry.apache.org/tapestry5.1/guide/pagenav.html
>> in se
he.tapestry.users+onactivate+component#query:list%3Aorg.apache.tapestry.users%20onactivate%20component+page:1+mid:mqs3srsveutjt4mu+state:results
>
> 2009/9/30 Andrey Larionov
>
>> But Pages is Components. As i understand there are no distinction. Or i'm
>> wrong.
>>
Thanks, but my interest not only in pager, but in creating complex
stateless apllications easy
On Wed, Sep 30, 2009 at 17:20, Jack Nuzbit wrote:
> rote a paging component that I think would do what you want. The
> component takes a PageSource implementation which acquires the paged list of
> item
thanks, but its requires to create such code on every page
On Wed, Sep 30, 2009 at 19:38, Sergey Didenko wrote:
> is to pass page activation context as action
> context, then initialize and return component as AJAX response:
>
> The code may require some cleanup, but the idea is the following:
Can i inject (via @SessionState) SSO objects into services? I'm try
but value of field always null.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Thanks. Obivious solution. i should be more attentive.
On Wed, Oct 14, 2009 at 11:53, wrote:
> Hello Andrey,
>
> Andrey Larionov schrieb am 14.10.2009 09:40:29:
>
>> Can i inject (via @SessionState) SSO objects into services? I'm try
>> but value of field always
I need to show and hide Form by click on some link. Actualy want to do
this without persistency. Should i do it on client side? And how? Can
anybody suggest direction
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.a
otype API to show or hide DOM elements, and
> scriptaculous for more visual effect.
>
> If you want to persist the state, you can send an Ajax Request on toggle
> that updates the state each time the user click on your link.
>
> Regards
> ChristophE.
>
> 2009/10/19 Andrey Lar
I have two loops, which renders some elements (active and inactive).
Both loops are inside Zone. For every element i have one of two action
link (depends on state of element). ActionLink is linked to update
Zone which contains whis loops. When page rendered first all is ok.
Action triggered and ret
I try to port some application from Spring to tapestry (i don't like
one IoC container over another), but this issue is blocker for me.
Can anybody describe state?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
Fo
Nobody can comment on this?
On Wed, Nov 18, 2009 at 14:37, Andrey Larionov wrote:
> I try to port some application from Spring to tapestry (i don't like
> one IoC container over another), but this issue is blocker for me.
> Can anybody
Hi, I have some strange behavior of DojoAjaxResponseBuilder class.
I have a component filter it’s ajax component so when clicking on filter I
open\close it.
Problem is that sometimes this component works and sometimes it response
empty ajax-response.
In Log I see that it handle by DojoAjaxRespon
T4 question
I have this structure: Page 1àPage2 à @Blockà @Block
With Last block I have some weird problem, some times after render it this
is no ajax response(response is empty).
When I debug Tapestry sources I’ve see that in good and in bad response
tapestry works (recursively) but in bad r
Hi.
I want to use tapestry cache but with cache I want to also use hot deploy
without restarting the server.
Could it be done? And How?
I have a @Submit Form, this component closes @Dialog, I want onComplete of
this call make another ajax call
How can I do it?
Hi, I have a problem.
I have dialog that used in 2 pages each page implements Interface
"CommonPage"
in component I have getParentPage that returns "CommonPage"
When I switch pages I have cast exception : $Page1 cannot be cast to
com.mycompany.Page2
what could be the problem?
tags in templates) or to allow
including links to external assets.
Another suggestion is to be able to add initialization scripts in head
of document insted of end.
--
Andrey Larionov
-
To unsubscribe, e-mail: users-unsubscr
Looks like what my message was ignored or lost in mail list.
2010/8/7, Andrey Larionov :
> Today i migrated my application to T5.2-SNAPSHOT (i'm was obliged,
> because spring-3.0 was required by thirdparty library). And i have few
> notes about Asset handling.
> First of all, wh
Today i migrated my application to T5.2-SNAPSHOT (i'm was obliged,
because spring-3.0 was required by thirdparty library). And i have few
notes about Asset handling.
First of all, when i found what i cannot reference Assets by static
urls (they was hardcoded in templates) i start thinking about
sol
Hello,
I can not succeed in setting up the tapestry-spring-security.
I created a default project from maven archetype, line this:
http://tapestry.apache.org/tapestry5.1/quickstart/.
I followed instructions from
http://www.localhost.nu/java/tapestry-spring-security/conf.html
and used some code from
Alex, it is your right to require free beer from me :)
I changed the version of tapestry-spring-security to 2.1.0 and found a
login page.
Thank you very much!
On Wed, Oct 13, 2010 at 11:32 PM, Alex Kotchnev wrote:
> Andrey,
> I think you might have some versioning issues that you migh
Hi guys,
Is there a way to make authentication in Tapestry using store procedure.
I have several stored procedures in Postgres, like
login(session_id, username, password, locale)
logout(session_id)
get_roles(session_id)
I was trying to use Spring Security, but did not find a way to use
stor
Thank you all for answeres.
I have chosen Tynamo-security and implemented a realm. You can find it attached.
But when I try to login, I receive encrypted password. But I want it
as plain text.
There are some matchers but I can not get the way how to use it.
link:
http://shiro.apache.org/configura
er(new SimpleCredentialsMatcher());
>
> But wouldn't you rather want to compare the hashes?
>
> Kalle
>
> PS. attachments won't go through
>
>
> On Tue, Oct 19, 2010 at 11:31 PM, Andrey Gladilin
> wrote:
>> Thank you all for answeres.
>> I have chose
);
stmt.setString(2, password.toString());
stmt.execute();
...
I don't use any matcher here. As far as I can understand, matchers are
used in realms, am I right?
So, how can I get a plain text password here?
Or how can I decode it?
On Wed, Oct 20, 2010
Stupid me. I've been checking the `password.toString()`, but should
have to do `new String(password)`.
My login form is working fine.
Thank you all for help!
On Wed, Oct 20, 2010 at 11:12 PM, Andrey Gladilin
wrote:
> Seems that this advise does not work for me.
> Look, I implement a
Please, remove this odd config file
On Tue, May 3, 2011 at 02:19, ael wrote:
> i cannot understand what is the use of shiro.ini
> when you can put all of your users in the database.
>
> For me shiro.ini is an old style.
>
> Just my opinion :)
>
> --
> View this message in context:
> http://tapes
Hello Everybody
We are searching for improving the performance for our projects which use
Tapestry.
We have done a lot of work to optimise the performance on all the layers:
1. db layer
2. object-relational mapping layer, we use ehcache to keep the result
of any query between requests
3. even
61 matches
Mail list logo