Re: Border component, Application state object, jwcid

2006-12-17 Thread Steve Wells
Related to this is to check for the existence of an ASO: You are logged on as Click here to login... On 18/12/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote: Border.java: @InjectState("visit") public abstract Visit getVisit(); Border.html hth, Dennis Josh Joy wrote: > Hi All,

Squeeze adapter issue with Beanform

2006-12-17 Thread Steve Wells
Hiya, I've just been trying to get beanform 0.7 working, but get what appears to be a clash with the BeanPropertySqueezer and my own Cayenne squeezer. Cutdown error is: Error building service tapestry.data.DataSqueezerTerminator: Error at jar:file:/G:/JavaTools/apache-tomcat-5.5.20/temp/4-web/WE

Re: Border component, Application state object, jwcid

2006-12-17 Thread Dennis Sinelnikov
Border.java: @InjectState("visit") public abstract Visit getVisit(); Border.html hth, Dennis Josh Joy wrote: Hi All, For my border component, is there a way for this to access application state objects and also to use jwcid tags such as the "If" component? Does anyone have an example o

Re: Calendar component

2006-12-17 Thread Fred Janon
The Yahoo Library has one, independent of any framework. I used it myself and wrote a wrapper around it to have only 2 lines of code in my HTML page. http://developer.yahoo.com/yui/calendar/ On 12/17/06, Ed Ross <[EMAIL PROTECTED]> wrote: There is a new book on tapestry published by "sourcebe

Re: using json response

2006-12-17 Thread Alexandru Dragomir
True. I overwritten the runRpc from the controller changing to "text/json" and it worked smoothly ! Hope i'm not going into other issue doing this :) thanks ! var controller = dojo.widget.createWidget("TreeRpcControllerV3",{editor: editorul.widgetId,widgetId: "controller",RpcUrl:"${url}",

Border component, Application state object, jwcid

2006-12-17 Thread Josh Joy
Hi All, For my border component, is there a way for this to access application state objects and also to use jwcid tags such as the "If" component? Does anyone have an example of this? Thanks, Josh - To unsubscribe, e-mail: [E

Re: using json response

2006-12-17 Thread Jesse Kuhnert
Well be careful ...I'm not saying for sure that I know what is the right approach in this particular instance, but I do know that I don't like that tree widget at all. It may very well be a bad design decision on the widget authors part, so just be careful jumping through too many hoops if you don

Re: Application totally broken - and I have absolutely no idea why :-(

2006-12-17 Thread Gary
Jesse - i just fell in love with you :-) (hopefully my wife will not read this :-p) Absolutely unbelievable - but you were right. Despite the fact that I was using FireBug 0.41 (I think this is the newest one): after uninstalling ALL plugins and restarting the javascript errors are gone. Af

Re: using json response

2006-12-17 Thread Alexandru Dragomir
I think it can be handled very well with what is existing already in framework. I just took the wrong approach at the begining thinking that is json response. I'll post back after some time. thanks. Alex On 12/17/06, andyhot <[EMAIL PROTECTED]> wrote: Jesse Kuhnert wrote: > I'd say that this i

Re: using json response

2006-12-17 Thread andyhot
Jesse Kuhnert wrote: I'd say that this is a bug in the tree controller. Tapestry "should not" be sending back any JSON data enclosed with "()". +1 Either the tree is incorrectly using javascript mimetype when it should be using json or you aren't returning what the tree is expecting. Or, th

Re: using json response

2006-12-17 Thread Alexandru Dragomir
From what i've seen , the second option is the right one : i'm not returning what the tree is expecting. In the begining i thought it was json but now is clear that's , as you said , javascript content. I'll check the response builder to see if i can treat this somehow. On 12/17/06, Jesse Kuhn

Re: Application totally broken - and I have absolutely no idea why :-(

2006-12-17 Thread Jesse Kuhnert
It is hard to say, but is it possible that you are a victim of the early beta release of FireBug ? If you are using it I'd try either disabling the plugin to see what is happening or upgrade to the latest version where these initial hiccups were fixed. On 12/17/06, Gary <[EMAIL PROTECTED]> wrote:

Re: using json response

2006-12-17 Thread Jesse Kuhnert
I'd say that this is a bug in the tree controller. Tapestry "should not" be sending back any JSON data enclosed with "()". This represents a browser "quirck" and should be handled in the appropriate place - the browser. I'd bring it up with dojo, probably by filing a bug in http://trac.dojotoolki

Re: using json response

2006-12-17 Thread Alexandru Dragomir
Some good news. In TreeLoadingControllerV3.js , runRpc , the mimetype is set as "text/javascript". In method doLoad from BrowserIO.js : - if mimetype is "text/javascript" the method dj_eval(http.responseText); is called - if mimetype is "*/json" the method dj_eval("("+http.responseText+")"); is

Re: using json response

2006-12-17 Thread Alexandru Dragomir
I've been looking into TreeRpcControllerV3.js and TreeEditor.js for the place where the response is handled , but i haven't got any result beside a headache.. :) Any suggestion is welcome ! Alex On 12/17/06, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: I tried it but is still not working.

Application totally broken - and I have absolutely no idea why :-(

2006-12-17 Thread Gary
First to mention: I know this kind of messages aren't helpful at all because I am unable to narrow things down nor can I provide some concrete examples at this time - but I hope someone could give me a hint how to get rid of this mess :-) Some weeks ago I did a tapestry view for my order entry

Re: Calendar component

2006-12-17 Thread Ed Ross
There is a new book on tapestry published by "sourcebeat" called Tapestry 101. The project of the book is to build a calendar function and can download the source and try it our. Not sure this will meet your needs, but worth a look On 12/16/06, Simon Raveh <[EMAIL PROTECTED]> wrote: Hi, I

Re: using json response

2006-12-17 Thread Alexandru Dragomir
I tried it but is still not working. But i found something else. I manage to hook the JSONWriterImpl and send whatever plain text i want to the client. When i send the string : ({title: 'a new title'}) is working. When i send the string : {title: 'a new title'} is not working. So the conclusion