Hi,
I find out the root cause thanks to your idea Lance.
Actually when you use the @Advise twice, matching the same Interface... then
you MUST use the id parameter in the @Advice Annotation. If not Tapestry try
to create Advice ids based on the Interface name... in that case you end up
with 2 Adv
Actually in my case, the Order in which the Advices are not important.
What I don't understand is why 1 Advice is simply ignored (apparently
because the Advice creates a second ServiceMenu with the same id... )
That being said, I will look into the Advice declaration if there is
anything wrong.
Yes I thought about that But anyway it should work but my approach...
So i try to figure out what is going wrong as I actually hope to have
Modules developped by 3rd Parties in the future...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Several-Advices-on-same-serv
Hi,
I am facing an issue that I know is weird, but I can put my finger on the
root cause of the issue.
Basically I have an App developped around several Tapestry Modules. One of
my Module defines a MenuService that list down all the nodes available in
the different navigation in the site.
Then I
Hi all,
I post this as I had some headaches finding the proper solution and it seems
that nobody posted a similar approach here
First step in AppModule.java:
public static void bind(ServiceBinder binder) {
binder.bind(RequestFilter.class,
XSSRequestFilterImpl.class).w
Hi Thiago !
Thanks for the hint ! That helped me a lot ^^
I will post the solution and the Filter as I see many times this question of
XSS filter have been asked.
Best regards,
Martin
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/XSS-Filter-and-Erratic-Behaviour-of-
Hi all,
I am currently trying to add a general XSS Filter in my application and I am
facing some really weird behavior.
Basically the Filter operate 1 time out of 5...
Here is my approach :
In AppModule.java
public static void bind(ServiceBinder binder) {
binder.bind(H
Yes, I know how to instantiate an Object in a onSetupRender phase for
instance.
But in the case of the BeanEditForm, the problem occurs when submitting.
Maybe the BeanEditForm, on Submit, tries to create a new User before copying
all datas from the Form to the user's properties ?
So I think I do
Hello,
When i use Tapestry, almost my Bean are Interfaces (ex : UserImpl implements
User ). That causes me a problem sometimes, specially when using
BeanEditForm (ex : with @Parameter private User _user ).
When I submit the form after editing a User, I have this error :
Exception instantiating
Hello Everybody,
I recently change some of my ActionLinks with EventLinks. Since that moment
I have that kind of errors :
-
For this URL :
http://127.0.0.1:8080/theorcs-main/index.layoutrenderer.portal.editmodelink:switchEditMode
I have this Warning :
18:30:09,726 WARN Credential:
@InjectService("MyService1")
maxthesecond wrote:
>
>
>
> I have an Interface with 2 different implementations
>
> lets say IMyInterface MyImplementation1 Myimplementation2
>
>
> until now I only needed to use one of the implementations at once, so in
> my client code I just wrote @Inje
Hello everybody,
I am using the tapestry-spring package and I was wondering if there is a way
the refresh to WebApplicationContext ? I looked at the sources but it seems
that the implementation of WebApplicationContext does not extends
AbstractApplicationContext [1].
May be there is a way to res
See : http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html
Parameter : tapestry.start-page-name
Regards,
Angelo Chen wrote:
>
> hi,
>
> t5 loads start page when it is called:
>
> http://localhost:8080/myapp
>
> I'd like it to load home.tmp instead, any way to set it? renamin
Hello everybody !
I'm working on a project that -for practical reasons- have in the same Maven
project several sources folders each one containing a particular SubModule
declared in the main Tapestry App. For the moment there are no Maven
modules.
I was wondering if there is a way to generate Co
Done
https://issues.apache.org/jira/browse/TAPESTRY-2226
--
View this message in context:
http://www.nabble.com/-T5--Index-pages-bug---tp15806148p15810780.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hello everybody,
I have a problem with the new index pages. The system that shortens the url,
shorten too much I think...
Exemple in the Index.tml page a the Root of my Tapestry package :
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; >
test
The generated URL will be http://ho
stry.apache.org/tapestry5/tapestry-core/guide/appstate.html
>
> Also, you can make sure your UserImpl constructor instantiates an empty
> Address object.
>
> Jonathan
>
>
>> -Original Message-
>> From: Kheldar666 [mailto:[EMAIL PROTECTED]
>> Sent: S
nd IOC serices.
>
> in your case i think it makes more sense to let instantiate the enties
> by a factory class
> please read http://www.hibernate.org/328.html
>
> 2008/2/3, Kheldar666 <[EMAIL PROTECTED]>:
>>
>> Well by adding this to my module :
>>
Sven Homburg wrote:
>
> this should help you
> http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
>
> 2008/2/3, Kheldar666 <[EMAIL PROTECTED]>:
>>
>> Hi Everybody,
>>
>> I was wondering if ASO and BeanEditor can work with Interfaces ? At
Hi Everybody,
I was wondering if ASO and BeanEditor can work with Interfaces ? At the
first sight it seems not possible.
Let's say I have this Interface and Classes :
public interface User {
public int getId();
public void setId(int id);
public String getName();
Hello everybody !
Can anybody post an exemple of how to use the 'new' LinkImpl in T5.0.9 ? Do
we still have to use the Internal component ? Is there now a more elegant
and recommanded way to create a Link to an external URL -the use of an
Internal componant is not safe at all- ?
Thanks for the a
Yes, but Howard allready answered that it is not a good idea for the moment.
Fernando Padilla wrote:
>
> Do you mean like skins or themes support?
> ( of which locale is just one dimensions for skins )
>
> Kheldar666 wrote:
>> Hi again,
>>
>> We tried your
Hi again,
We tried your method in our Tapestry demos. It works fine, but it is not
very convinient for the moment. We were wondering if there is a way to
implement the same mecanism that is used by the "Localized Component
Templates". In fact this mecanism would perfectly feet our needs.
If it i
Yes that's what I thought, but it is not very convinient...
Francois Armand wrote:
>
> Thiago H de Paula Figueiredo wrote:
>> On Thu, 06 Sep 2007 10:03:04 -0300, Francois Armand
>> <[EMAIL PROTECTED]> wrote:
>>
>>> I saw that in a (old) thread :
>>> http://mail-archives.apache.org/mod_mbox/t
Hi everybody,
I'm devellopping a Tapestry application that will use several packages
(because I use a JPF plugin architecture).
So in Eclipse, I have several source folder. One for each plug in I
developp.
My problem is that I don't find a way to tell Tapestry IoC that there is a
Module in pack
I do this :
> In AppModule.java :
>
> public void
> contributeApplicationInitializer(OrderedConfiguration
> configuration) {
> configuration.add("mainModuleInitializer", new
> MainModuleInitializer());
> }
>
> With MainModuleInitializer implementing Application
r :)
Cheers,
Martin
Robin Ericsson-3 wrote:
>
> On 8/16/07, Kheldar666 <[EMAIL PROTECTED]> wrote:
>>
>> I may have two questions :
>>
>> - First is it normal that you choose not to use the
>> SecurityContextHolderAwareRequestFilter ? I used this :
>
Well... I made this, and now I can Login / Logout and use isUserInRole() and
getUserPrincipal() methods
> public static void contributeHttpServletRequestHandler(
> OrderedConfiguration configuration,
> WebApplicationContext webApplicationContext,
> @Injec
I may have two questions :
- First is it normal that you choose not to use the
SecurityContextHolderAwareRequestFilter ? I used this :
> public static void contributeHttpServletRequestHandler(
> OrderedConfiguration configuration,
> WebApplicationContext webApplicat
Alleluia
--
View this message in context:
http://www.nabble.com/-Announce--Acegi-Security-library-for-Tapestry-5-tf4279236.html#a12180260
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe
Hi everybody,
I know that the 'multiple skin/layout' discution is something frequently
discussed here, an most of the time the answer is "Use CSS my son". Well
that's indeed probably the best answer, but in some case it's not.
For instance, I'm building a site where people that uses the site can
31 matches
Mail list logo