RE: sorting table

2005-09-18 Thread Muralidhar Y.
Hi that is because you may not declared contrib library in your application namespace. To avoid that open your .application(every application will have .application file) file and add the following tag. Add the following tag as it is. Muralidhar Y Software Engineer, Adastrum technologies-Nik

problem with IexternalPage and PageRenderListener

2005-09-18 Thread arun garg
we are implementing a progressbar page that will be dynamically updated using the shell component. we are implementing IExternalPage and PageRenderListener. while the page works properly in other browsers there is a problem in Internet Explorer: A few seconds after loading the page gets redirecte

RE: sorting table

2005-09-18 Thread Ananya Goswami
Thanks again... I tried in the way you suggested but it gives the following exception: Library 'contrib' not found in application namespace. Is it necessary to put another library for contrib? Could you tell me where to find it and configure? Thanks & Regards - Anany

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
Try also with this and see. There is a method " protected void finishLoad()" in AbstractComponent and also "finishLoad(IRequestCycle, IPageLoader, IComponentSpecification)". Both the methods are in the same class. finishLoad() will be internally called by finishLoad(IRequestCycle, IPageLoader

Re: contrib Table sorting

2005-09-18 Thread Radim Burget
It is better to do this in *.page because there is automaticaly solved problems with sharing objact state between clients. But if you realy want to initialize in *.java dont use something like this: private List users; public List getUsers(){return users;} public void setUsers(List users){this.

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Johan Maasing
Tomáš Drenčák wrote: But how to insert informal parameters into tag? For instance: .html: Perhaps that wonderful Any component can help you, something like this might work (sorry I don't have time to test this myself): component.html --- component.jwc --- -

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
In clear my doubt is some of our friend said that in tapestry 4 without declaring properties in .page file we can directly declare them in java file as abstarct methods and tapestry by seeing abstract methods itself it will implement them in the enhanced class which tapestry provides at runtime.(wi

RE: rendering informal parameters via template or spec configura tion?

2005-09-18 Thread Muralidhar Y.
If component allows informal parameters you can declare them the same place of component. Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling

RE: rendering informal parameters via template or spec configura tion?

2005-09-18 Thread Muralidhar Y.
Is this what you are asking. When informal parameters are passed to your component it just has to ignore them. Is this right. Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http:

RE: jwc files and annotations

2005-09-18 Thread Muralidhar Y.
I had experimented with your problem. The table sorting interface is "org.apache.tapestry.contrib.table.model.ITableSortingState" and its implementation is "SimpleTableSortingState" . Any of the method from the implementation is only called after the PageRanderListener methods. I am very

Re: Spindle and Tapestry 4

2005-09-18 Thread Massimo Lusetti
On 9/18/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > Thanks, Thanks to you, your work gives an incredible added value to Tapestry. Eager user of spindle watin for Spindle4T4 ... -- Massimo - To unsubscribe, e-mail: [EMAIL PR

Spindle and Tapestry 4

2005-09-18 Thread Geoff Longman
No, it's not ready yet but I'm working hard on it! I've decided that in order to get something out, anywhere near the final release of Tapestry 4, I need to prioritize my efforts. This note is to inform everybody that unless a catastrophic bug is logged against Spindle 3.2 I will not be fixing it

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Tomáš Drenčák
But how to insert informal parameters into tag? For instance: .html: 2005/9/18, Johan Maasing <[EMAIL PROTECTED]>: > phillip rhodes wrote: > > This is tapestry 3.x. > > > > I have a component that uses > > org.apache.tapestry.BaseComponent along with a html > > template. I want my compon

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Johan Maasing
phillip rhodes wrote: This is tapestry 3.x. I have a component that uses org.apache.tapestry.BaseComponent along with a html template. I want my component to emit any informal parameters passed to it. While I got it to accept the informal parameters, it is swallowing them (not emitting them).

Re: Another Stupid Hibernate Question (TP4)

2005-09-18 Thread Tomáš Drenčák
Look at this http://www.theserverside.com/articles/article.tss?l=HivemindBuzz, maybe helps you to better understand hivemind and also there's a good hivemind session service (which I use :) which can be injected into services 2005/9/18, Chris Nelson <[EMAIL PROTECTED]>: > I use the OpenSessionInVi

Re: jwc files and annotations

2005-09-18 Thread Tomáš Drenčák
But again... public abstract Collection getCollection(); public abstract void setCollection(Collection col); public abstract Integer getCollectionId(); public abstract void setCollectionId(Integer id); @InjectObject("service:someService") public abstract SomeService getSomeService(); public voi

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Shing Hing Man
The following is only a suggestion and I have not tried it out. In the java class of your component, overwite the method renderComponent : protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { super.renderComponent(writer,cycle); renderInformalParameters(writer,

Re: jwc files and annotations

2005-09-18 Thread Tomáš Drenčák
Your tapestry page should be not be created when is abstract so cglib have to make page which extends your abstract page. I think that you mean abstract methods in "real" abstract class. You have to extend that methods in extended class. Tapestry makes properties (and other extensions) just to the

rendering informal parameters via template or spec configuration?

2005-09-18 Thread phillip rhodes
This is tapestry 3.x. I have a component that uses org.apache.tapestry.BaseComponent along with a html template. I want my component to emit any informal parameters passed to it. While I got it to accept the informal parameters, it is swallowing them (not emitting them). In my case, onmouseover

RE: jwc files and annotations (abstract methods)

2005-09-18 Thread Muralidhar Y.
Ok I do understand that there cannot be abstract methods at runtime. My question is 2 methods unfortunately by mistake I left them as abstract and 2 methods I want tapestry to implement.at the moment I want to use first two methods so I declared abstract and used them. After a while I forgot to imp

Re: jwc files and annotations (abstract methods)

2005-09-18 Thread Johan Maasing
Muralidhar Y. wrote: Hi if that is the case how does tapestry recognise which abstract methods have to be implemented at runtime and which should not be. For an instance I had 2 abstract methods which should not be implemented by tapestry and 2 abstract methods which I want tapestry to be impleme