how to access components pages ???

2008-02-16 Thread Mohammad Shamsi
Hi, i wanna access to a components page, from component code. i wanna to know the page name, access page class and its properties form a component this used in class. -- sincerely yours M. H. Shamsi

Re: how to access components pages ???

2008-02-16 Thread Steph
You just have to inject : @Inject private ComponentResources componentResources; Then, you access page properties like this : componentResources.getPage().get Stephane Mohammad Shamsi a écrit : Hi, i wanna access to a components page, from component code. i wanna to know the pa

Re: Event bubbling

2008-02-16 Thread Steph
I've achieved to handle the event of my component in its container by changing the event handler like this : @OnEvent(component="the_name_of_my_component_in_the_container") So i can handle now all the events bubbling from my component. But what if i just want to handle the event of my 'detaillin

Event bubbling

2008-02-16 Thread Steph
Hi, I've got a strange behavior in event bubbling ... I have an actionlink in a component : Show details ... If I write an event handler in the component, the event is handle correctly : @OnEvent (component="detaillink") Object detailLink(Long id) { ... do the handling based on the id

Re: how to access components pages ???

2008-02-16 Thread Mohammad Shamsi
Thanks Stephane, On Feb 16, 2008 6:02 AM, Steph <[EMAIL PROTECTED]> wrote: > You just have to inject : > >@Inject >private ComponentResources componentResources; > > Then, you access page properties like this : > >componentResources.getPage().get > > Stephane > > Mohammad Shamsi

RE: T5: grid's css in 5.0.10

2008-02-16 Thread Kevin Menard
Hi Angelo, It is perfectly valid for an element to have multiple CSS classes. The class names are space-separated in the template. You still use the "." notation as a class selector in your CSS. Thus, if you want to match an element that contains all three classes, you need to specify all three

T 4.1.3 - Closing @Dialog without calling server

2008-02-16 Thread Wojciech Ciesielski
Hi all, As in the topic - how can I close dialog window created with some jwcid="[EMAIL PROTECTED]">... component WITHOUT calling server side (ie. without calling java listener toggling dialog state binding and updating dialog component via ajax features). ? Regards, Wojtek ---

Re: T 4.1.3 - Closing @Dialog without calling server

2008-02-16 Thread Igor Drobiazko
Try this: dojo.widget.byId('myDialog').hide(); On Feb 16, 2008 7:26 PM, Wojciech Ciesielski <[EMAIL PROTECTED]> wrote: > Hi all, > > As in the topic - how can I close dialog window created with some jwcid="[EMAIL PROTECTED]">... component WITHOUT calling server side > (ie. without calling java

T5: Fetching the rendered page result.

2008-02-16 Thread Olivier Jacquet
Hello, Is it possible to access the rendered page result from within a page without calling the actual http:// address? I would need this so that I can setup a page that generates xml (xsl-fo) to be processed by fop [1] to convert it to pdf. That is much more readable than generating the xm

Re: T 4.1.3 - Closing @Dialog without calling server

2008-02-16 Thread Andreas Andreou
you get a reference to the dojo widget for that dialog and call hide on it... In javascript, dojo.widget.widgets returns an array of all widgets in a page, and dojo.widget,byId('myId') returns the widget with the given id... Then, just call reference.hide() On 2/16/08, Wojciech Ciesielski <[EMAI

Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-16 Thread Shing Hing Man
In tap 5.0.9, I have a text file accessLog.txt at the root of classpath. I use mvn package to create the war file and copy the war file into the deploy directory of Jobss 4.0.5AG. In a page, the txt file is accessed in the following way. @Inject @Path("classpath:accessLog.txt"

Re: T5: Quick fadeout of invalid value notice

2008-02-16 Thread Bill Holloway
It'd be great to be able to configure that. contrib app defaults to the rescue! bill On Feb 15, 2008 6:24 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Sorry, no. I can look into putting the delay into a property of > Tapestry that can be easily overridden. > > > On Fri, Feb 15, 2008 at 1: