Re: Component resolution question

2006-10-12 Thread Patrick Moore
To my untrained eye, it looks like the problem is that the _componentResolver on line 390 of org.apache.tapestry.pageload.PageLoader doesn't have the full class name. On 10/12/06, Patrick Moore <[EMAIL PROTECTED]> wrote: Hi there -- I just shifted over to Tap 4.1.1 and I was hoping I could get

Component resolution question

2006-10-12 Thread Patrick Moore
Hi there -- I just shifted over to Tap 4.1.1 and I was hoping I could get rid of the use of 'type' in my @Component annotation. But no such luck. In my application file I indicate that the components are in the 'com.transparentpolitics.web.components' directory (or its subdirectories). However,

Tap 4.0.2: How to enable Logging to log enhanced class source code??

2006-10-12 Thread Karthik N
Hi, In my tapestry app I'm trying to figure how to log the code of the Enhanced class. I dug through the sources and found that in the EnhancementOperationImpl there is this statement: if (_log != null) _log.debug("Creating class:\n\n" + _classFab); EnhancementOperationImpl

Re: dojo components ... TabContainer?

2006-10-12 Thread Patrick Moore
I presume you are not talking about Tapestry's RadioGroup. Took a look at the dojo RadioGroup. I think right now I am not an experienced enough javascript nor Tapestry developer to want to attempt that as my first component that others are going to be looking at. It would probably be a horrid mess

Re: dojo components ... TabContainer?

2006-10-12 Thread Patrick Moore
I should add ... don't try to be too perfect :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dojo components ... TabContainer?

2006-10-12 Thread Jesse Kuhnert
RadioGroup On 10/12/06, Patrick Moore <[EMAIL PROTECTED]> wrote: which dojo widget are you thinking of? All I know of is the TabContainer and the LinkPane/ContentPane. If there is a better choice I would love to hear it. -Pat On 10/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > P.S. If you

Re: dojo components ... TabContainer?

2006-10-12 Thread Patrick Moore
which dojo widget are you thinking of? All I know of is the TabContainer and the LinkPane/ContentPane. If there is a better choice I would love to hear it. -Pat On 10/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: P.S. If you do do this we could see about getting it added into Tapestry contrib

Re: dojo components ... TabContainer?

2006-10-12 Thread Jesse Kuhnert
P.S. If you do do this we could see about getting it added into Tapestry contrib. It'll have to be fairly clean/etc still but it sounds like a good place for this. On 10/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: It should be pretty easy to do in 4.1.1, though I personally don't like the i

Re: dojo components ... TabContainer?

2006-10-12 Thread Jesse Kuhnert
It should be pretty easy to do in 4.1.1, though I personally don't like the idea of adding Dojo's TabContainer. I refuse to answer hundreds of emails about people wanting to know why their css rules don't work ;) Eventually I plan to add this in, but I want to use a different dojo widget to do it

Re: dojo components ... TabContainer?

2006-10-12 Thread Patrick Moore
Tapestry 4.1.1-SNAPSHOT On 10/12/06, andyhot <[EMAIL PROTECTED]> wrote: Patrick Moore wrote: > Hi there -- > > I find myself wanting the dojo TabContainer, LinkPane and ContentPane. For which tapestry version? > Is anyone working on those yet? If not I hope to try making those > components nex

Re: File include

2006-10-12 Thread Jesse Kuhnert
Sure thing, I've gmail "starred" your response so I remember it. :) On 10/12/06, Nick Westgate <[EMAIL PROTECTED]> wrote: Good answer, but the replies usually follow these patterns: "No, I really need to include arbitrary components." -> Then use RenderBlock: http://tapestry.apache.org/tapestr

Re: dojo components ... TabContainer?

2006-10-12 Thread andyhot
Patrick Moore wrote: > Hi there -- > > I find myself wanting the dojo TabContainer, LinkPane and ContentPane. For which tapestry version? > Is anyone working on those yet? If not I hope to try making those > components next week. > > -Pat > > --

dojo components ... TabContainer?

2006-10-12 Thread Patrick Moore
Hi there -- I find myself wanting the dojo TabContainer, LinkPane and ContentPane. Is anyone working on those yet? If not I hope to try making those components next week. -Pat - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

RE: Accessing an application state object from a service

2006-10-12 Thread James Carman
The JavaDoc can be found here: http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/en gine/state/ApplicationStateManager.html -Original Message- From: Hajaansh [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 2:55 PM To: Tapestry users Subject: Re: Acces

Re: DirectLink in Abstract Component

2006-10-12 Thread Norbert Sándor
If you must use AbstractComponent as subclass, try something like: public abstract class MyComponent extends AbstractComponent implements IDirect {     ...     public void renderComponent(...)     { writer.begin("a"); writer.attribute("href", getLink(cycle)); writer.attribute("onmouseo

Re: Accessing an application state object from a service

2006-10-12 Thread Hajaansh
Perfect example. Is there any documentation where you would find such explanation about the applicationStateManager? I googled for "infrastructure:applicationStateManager" and there were 39 results (6 displayed). No too amazing ;-) Thanks again! On 10/12/06, Patrick Moore <[EMAIL PROTECTED]> wro

Re: Master detail problem

2006-10-12 Thread Josh Long
I'm not sure, but try and make sure that a) your object is serializable,b) that it has a working equals/ hashCode based on something that works well for objects in a collection, c) that all the above is actually doing what you hope it is in the DB and, finally, d) that you call setMaster on the pa

Ajax form that updates itself destroys the ajaxy-goodness of said form

2006-10-12 Thread Josh Long
I think I found a bug or a sticky i-need-the-tapestry-lists-help type of question... I was wondering exactly where this problem came from but now I have a working, isolated, non proprietary :-) example! Take the following example. The page loads, a form is displayed and it's async-ready. So you

RE: $template Asset

2006-10-12 Thread Jim Steinberger
Pages are components :) I've been successfully using the $template asset with my pages for awhile now, but I'm not sure it can be done using annotations as Pablo is attempting -- it'd be nice if the Asset annotation took a "name" parameter, as my naïve guess is that the dollar sign is breaking

Re: DirectLink in Abstract Component

2006-10-12 Thread jake123
Norbert Sándor wrote: > > What you can do (for example) is to implement IDirect in your component > (which extends AbstractComponent) and generate a link using the "direct" > service which will trigger that component. > I recommend you to look at the source code of DirectComponent. > Do you

Re: $template Asset

2006-10-12 Thread Andrei Chiritescu
I'm not sure that the $template asset works for pages, just components. To fix this I have implemented my own ISpecificationResolverDelegate. btw I'm using tap 4.0 so, not sure about tap4.1 Regards, Andrei Chiritescu Pablo Ruggia wrote: Hi !! I'm trying to determine the page template using a

$template Asset

2006-10-12 Thread Pablo Ruggia
Hi !! I'm trying to determine the page template using an asset named $template. I've tryied adding this to my pages: @Asset("context:/pages/LoginResult.html") public abstract IAsset get$template(); But I'm getting that the page doesn't exist. If I put the page in my context dir, all works right

Cookies

2006-10-12 Thread pipothebit
Hi, I need to work with cookies in tapestry but I have not found a howto or a simple example. Can someone write a simple snipet to work with Cookies from a simple BasePage. Very thank you. __ LLama Gratis a cualquier PC del Mundo. L

Re: File include

2006-10-12 Thread Nick Westgate
Good answer, but the replies usually follow these patterns: "No, I really need to include arbitrary components." -> Then use RenderBlock: http://tapestry.apache.org/tapestry4.1/components/RenderBlock.html "No, I really need to be able to add new components at runtime." -> Then try DynamicBlock:

Re: File include

2006-10-12 Thread James Carman
Write a custom component. Then, use the component in your page. > Hi, > how can I do a file include in tapestry, something like jsp.include in > jsp? > > thanky you > > > > __ > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1

File include

2006-10-12 Thread pipothebit
Hi, how can I do a file include in tapestry, something like jsp.include in jsp? thanky you __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com -

Page workflow/Border component issue

2006-10-12 Thread Gurps
Hi, I think i'm missing some fundamentals in the problem below regarding page flows and border components. Take a look at my test app at http:// gurpal.dyndns.org: 8080/dwc/app (i've put in spaces in this URL to prevent URL mining). 1. In the Search box type in say something like "pop" and you