visit and global

2008-11-04 Thread Muralidhar Y
Hi friends, From tapestry4.1 "getVisit() and getGlobal()" has been deprecated from AbstractPage". So how do we access Visit and Global objects. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9

where is tapestry4.1 java api

2008-11-04 Thread Muralidhar Y
Hi friends I am using tapestry 4.1 but could not find java api. Kindly help. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentialit

RE: visit and global

2008-11-04 Thread Muralidhar Y
I have seen these two links and I am not able to understand. I have done the following and still not able to get the visit object. I have created a class with name Visit and configured that in the FPS.application like the following I have created a custom base page which is FPSBase page in that

RE: visit and global

2008-11-04 Thread Muralidhar Y
Thank you it worked. Thank u so much. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note: - The information

Best practice for onActivate and onPassivate without persistence

2008-11-04 Thread Peter Stavrinides
Hi everyone, I was wandering about best practice for passing multiple parameters to a page without using persist in the mix. Take the following example: void onActivate(Integer companyId, Integer siteId) throws SQLException { _site = getSite(companyId,siteId); } CompanySite onPassivate(){

what is the importance of id and package

2008-11-04 Thread Muralidhar Y
Hi friends what is the importance of id and package in hivemodule.xml Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note:

RE: [Spam Rating:3.40] Re: T5: Ajax components

2008-11-04 Thread James Sherwood
Hello, I am just in the process of learning T5 so the 'easy' part is not so 'easy' right now. Is there any good tutorials on how to make components like I listed by chance? --James -Original Message- From: devilabit [mailto:[EMAIL PROTECTED] Sent: October-31-08 5:55 PM To: users@tapest

Re: what is the importance of id and package

2008-11-04 Thread Howard Lewis Ship
in a HiveMind module, the id is like a package name for a Java class. The id is needed to reference services in other modules. The package is a mapping from HiveMind module to Java class name; it allows you to use simple class names rather than fully qualified class names. On Tue, Nov 4, 2008 at

Re: Accessing ApplicationStateManager from within a Filter

2008-11-04 Thread Keith Bottner
Thanks for the expanded explanation I will take a look at this technique today and see if it fits with what I am trying to do. Keith On Nov 3, 2008, at 8:20 PM, Jonathan Barker wrote: Keith, My rationale is that I only ever create / populate a UserState ASO if a user logs in. This is for

[T5-IOC] How to detect annotation on service implementation class?

2008-11-04 Thread Lubor Gajda
Hi, I'm currently working on T5-IOC and BlazeDS integration and I'm looking for some simple declarative way how to automatically register application services as BlazeDS destinations. What I want to achieve is to be able to automatically detect all services in T5-IOC registry annotated by my cust

Re: [Spam Rating:3.40] Re: T5: Ajax components

2008-11-04 Thread Lance Java
I find this page useful http://wiki.apache.org/tapestry/Tapestry5HowTos 2008/11/4 James Sherwood <[EMAIL PROTECTED]> > Hello, > > I am just in the process of learning T5 so the 'easy' part is not so 'easy' > right now. > > Is there any good tutorials on how to make components like I listed by > c

Re: [T5-IOC] How to detect annotation on service implementation class?

2008-11-04 Thread Howard Lewis Ship
It would be nice if there was a method on Registry or ObjectLocator: List findServicesWithMarker(Class annotationClass); Alternately, adding a way to expose the ServiceDefs for all services (they are immutable). You can collect service interface and marker information there. Also, some kind of p

Re: [Spam Rating:3.40] Re: T5: Ajax components

2008-11-04 Thread Sven Homburg
this url is also very helpfull http://jumpstart.doublenegative.com.au:8080/jumpstart/ 2008/11/4 James Sherwood <[EMAIL PROTECTED]> > Hello, > > I am just in the process of learning T5 so the 'easy' part is not so 'easy' > right now. > > Is there any good tutorials on how to make components like I

Re: where is tapestry4.1 java api

2008-11-04 Thread Geoff Callender
http://tapestry.apache.org/tapestry4.1/apidocs/index.html?overview-summary.html On 04/11/2008, at 8:30 PM, Muralidhar Y wrote: Hi friends I am using tapestry 4.1 but could not find java api. Kindly help. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) Indi

Re: Very Strange error with Tapestry

2008-11-04 Thread Howard Lewis Ship
Tapestry templates are well-formed XML documents. &CIK looks like a malformed XML entity to the XML parser. Try: http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=320193&owner=include&count=40

[ANN] JumpStart 3.17 is out - with editable loops

2008-11-04 Thread Geoff Callender
Hi all, JumpStart 3.17 is now available. Lots of people have been asking for Editable Loops and Encoders, so that's the big thing in this release. In addition, Event Bubbling and Editable Grid have both been revisited and improved. You can use it live: http://jumpstart.doublene

Re: visit and global

2008-11-04 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/usersguide/state.html http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html (InjectState & InjectStateFlag) On Tue, Nov 4, 2008 at 11:00 AM, Muralidhar Y <[EMAIL PROTECTED]> wrote: > Hi friends, > > From tapestry4.1 "getVisit

Re: visit and global

2008-11-04 Thread Andreas Andreou
Hi, remove the call from the constructor of Home and just keep the definition in hivemodule.xml That's all that's needed - otherwise, maybe post the stacktrace here PS. You don't need to keep the visit name for your session state object, you can use whatever name best describes its purpose On T

RE: visit and global

2008-11-04 Thread Muralidhar Y
Even I have created hivemodule.xml under WEB-INF. The following is the xml. Still it is throwing null pointer exception. Kidly look into this. I am struck at this point. I need to access the ASO in my application. Warm regards, Muralidhar Y [EMAIL PROTECT

Re: How to write recursion function by using t5 components?

2008-11-04 Thread Howard Lewis Ship
Supporting recursive components is a little tricky, in terms of managing internal state of the component while it renders and re-renders. Right now you can a specific "components can't be recursive" error. In the future (5.1 or beyond) this may be supported, though it may require some extra gymnast

How to write recursion function by using t5 components?

2008-11-04 Thread oliverlee000
hi,every one! i am writing a unlimited level css tree menu for my project, i need to output the dl dd dt tags to my html, as i know, in order to support unlimitd level menu,need use recursion function, any way to achieve this by useing t5 component in tml? any help is appreciate!! 2008-11-04

Re: How to write recursion function by using t5 components?

2008-11-04 Thread Christian Edward Gruber
Any recursion can be unwound into a loop, and that's the best way to handle things for the moment, I expect. Christian. On 4-Nov-08, at 14:45 , Howard Lewis Ship wrote: Supporting recursive components is a little tricky, in terms of managing internal state of the component while it renders

Very Strange error with Tapestry

2008-11-04 Thread Keith Bottner
If I am using a standard anchor with the following href http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=320193&owner=include&count=40 "> ${message:direct.text} I get the following error when I attempt to access the page: Failure parsing template : The reference to entity

RE: where is tapestry4.1 java api

2008-11-04 Thread Muralidhar Y
Thank you so much. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note: - The information contained in this

Re: How to write recursion function by using t5 components?

2008-11-04 Thread Thiago H. de Paula Figueiredo
Em Tue, 04 Nov 2008 08:25:23 -0300, oliverlee000 <[EMAIL PROTECTED]> escreveu: i am writing a unlimited level css tree menu for my project, i need to output the dl dd dt tags to my html, as i know, in order to support unlimitd level menu,need use recursion function, any way to achieve this

Re: Best practice for onActivate and onPassivate without persistence

2008-11-04 Thread Thiago H. de Paula Figueiredo
Em Tue, 04 Nov 2008 09:31:36 -0300, Peter Stavrinides <[EMAIL PROTECTED]> escreveu: Hi everyone, Hi! I was wandering about best practice for passing multiple parameters to a page without using persist in the mix. Take the following example: void onActivate(Integer companyId, Integer sit

Re: [T5-IOC] How to detect annotation on service implementation class?

2008-11-04 Thread Lubor Gajda
Hi Howard, Thanks for the prompt answer. My understanding is that service markers are meant to be used to distinguish between different implementations of the same service interface and I'm not sure if it would be good idea to mix them with meta information related directly to application logic. M

TAP5-263: Please test this one!

2008-11-04 Thread Howard Lewis Ship
https://issues.apache.org/jira/browse/TAP5-263 Tapestry should produce XML-style output (not SGML) even for the text/html content type, for best compatibility with browsers I just checked this change into trunk. It's a localized but significant change. Hopefully this will make IE happier, and ge

Re: [T5-IOC] How to detect annotation on service implementation class?

2008-11-04 Thread Thiago H. de Paula Figueiredo
Em Tue, 04 Nov 2008 20:57:33 -0300, Lubor Gajda <[EMAIL PROTECTED]> escreveu: The only feasible solutions I can think of are: 1. Modify ServiceDef to hold information about service implementation class. That's a good solution, IMHO. 2. Service proxy could inherit all annotations from ser

IS there a plugin for tapestry4.1

2008-11-04 Thread Muralidhar Y
Hi friends, Is there any eclipse plugin for tapestry4.1. if so where can I get it from? Thanking you. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60

Re: Best practice for onActivate and onPassivate without persistence

2008-11-04 Thread Peter Stavrinides
Thanks Thiago, its good to know its not using serialization, but the question remains, how does onPassivate retain those values? as far as I can tell that only leaves the request, anybody? thanks, Peter - Original Message - From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]> To: "