Re: tacos tree

2007-02-08 Thread Norbert Sándor
It seems I was to tired to do anything :) Thanks! Norbi andyhot írta: Norbert Sándor wrote: Hello! So, you've never used tacos in tap 4.0 ? http://tacos.sourceforge.net/components/Tree.html See the state parameter. How can I specify the state of the tree (set of expanded/collapsed nodes)?

Re: Debugging dojo.js

2007-02-08 Thread andyhot
Your @Shell component includes that. http://tapestry.apache.org/tapestry4.1/components/general/shell.html See the dojoSource parameter and use the following asset for it: classpath:/dojo/dojo.js.uncompressed.js Daniel Tabuenca wrote: Is there a way to make dojo.js more human-readable? I know i

Debugging dojo.js

2007-02-08 Thread Daniel Tabuenca
Is there a way to make dojo.js more human-readable? I know it's compressed that way for more efficient network usage, but is there a way to disable or use the original .js files when we need to debug? For example, if I want to debug tapestry.form code?

Re: Tap 4.1.1 Cancel button not Async?

2007-02-08 Thread Daniel Tabuenca
Hi Jesse, I have the same problem with refresh. I was looking at the link you sent and notice that the signatures for cancel and refresh are both: refresh:function(form, submitName) and cancel:function(form, submitName) while the submit function is: submit:function(form, submitName, parms) Th

Re: @EventListener and unrendered components.

2007-02-08 Thread Daniel Tabuenca
Ok, I'll try to get an example up on the jira that demostrates this. On 2/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: AhThat is the bread & butter sort of logic I use often as well. I'd need a specific example of how it's not working to be more helpful. (preferrably in JIRA, most time spe

Re: Tapestry 4.1.1 async and RedirectException

2007-02-08 Thread Jesse Kuhnert
Ehh...No not really. I mean it is sort of, which is what it should be doing. Of course I don't have a remote debugger hooked up to your machine so I can't decipher what isn't working for you. On 2/8/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: Well... didn't work for me. I got the new page as

Re: @EventListener and unrendered components.

2007-02-08 Thread Jesse Kuhnert
AhThat is the bread & butter sort of logic I use often as well. I'd need a specific example of how it's not working to be more helpful. (preferrably in JIRA, most time spent on the list is fun "talking time" whereas actually sitting down and fixing things is reserved for fun "jira time" . ;) )

Re: Tap 4.1.1 Cancel button not Async?

2007-02-08 Thread Jesse Kuhnert
I would look at the functions here: http://tapestry.apache.org/tapestry4.1/javascript/form.html That page also provides handy links to online source views of the files they document so it should be easy to use as a reference. On 2/8/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: Any tips on ho

Re: Autocompleter and Dialog

2007-02-08 Thread Jesse Kuhnert
It's a bug if that's the case. I'd like all components to work under any combination of situations people want so it'd be easy to qualify it as a bug.. On 2/8/07, Jeremy F. Kassis <[EMAIL PROTECTED]> wrote: I'm having the same problem. I looked into this once. It has something to do with how th

Re: Scroll position to bottom after Ajax Response (T 4.1.2) - Hopefully easy answer

2007-02-08 Thread Jesse Kuhnert
Something like this: http://www.javascriptkit.com/javatutors/advwin3.shtml This seems like something the framework should do somehow...Maybe not though. Either way it's very easy to add some javascript manually via java: http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/servic

Re: Tapestry 4.1.1 async and RedirectException

2007-02-08 Thread Daniel Tabuenca
Well... didn't work for me. I got the new page as part of the response but it didn't render anywhere (just saw it in firebug). Is it possible to send some sort of javascript to actually redirect the browser to a new page? That is I don't want to send the new content and replace the old one wit

Re: @EventListener and unrendered components.

2007-02-08 Thread Daniel Tabuenca
Well Simply put... something like... (in pseudo tapestry tags... hehe) <@If condition=true > <@Else> content.. On 2/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Ah...I guess that depends on how something is "conditionally" rendered. If the renderComponent() method gets

Re: Directlink, works in ie thought not firefox?

2007-02-08 Thread Daniel Tabuenca
Strange. When I see errors like this the first thing I typically think is weird errors in your javascript or non-standard html. I used to run into strange bugs before because of doing non-standard html such as writing rather than . Always use firebug or some other development verification tool to

Re: Tapestry 4.1.1 async and RedirectException

2007-02-08 Thread Jesse Kuhnert
It works...But not in the same way tacos does it and it's "not reccomended". I only added it in there so that people wouldn't get tripped up when it happened. (myself included ;) ) If it works then consider yourself lucky. (it does work of course, but it's questionable how well the page you get

Re: @EventListener and unrendered components.

2007-02-08 Thread Jesse Kuhnert
Ah...I guess that depends on how something is "conditionally" rendered. If the renderComponent() method gets called on it and Tapestry thinks you want it to get updated it'll happen. Need more info on how it's being conditionally rendered. On 2/7/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: I

Re: Tap 4.1.1 Cancel button not Async?

2007-02-08 Thread Daniel Tabuenca
Any tips on how to debug this on the client side? I can use firebug, but where do I break to see where the decision is made to not do it via an ajax request? On 2/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: None. Maybe an unfortunate combination of the form and submit button being async ? (p

Re: Web page refresh problem

2007-02-08 Thread Daniel Tabuenca
Beware, however. never use disable-caching=true in production. Your server will blow up very quickly. I've found even during development, reloading a complex page several times will cause memory problems and incredibly slow speed. I'm not sure if this is still true for 4.1.1. Luckily tapestry

Re: Tap 4.1.1 Cancel button not Async?

2007-02-08 Thread Jesse Kuhnert
None. Maybe an unfortunate combination of the form and submit button being async ? (potential bug , not sure) On 2/7/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: I have a simple form: with a simple cancel button: When it renders the page tapestry generates: However.. this seems to no

Re: Directlink, works in ie thought not firefox?

2007-02-08 Thread Josh Joy
Hi, I checked my tomcat configuration, and on the box I had tomcat 5 installed rather than tomcat 5.5 After reinstalling, the problem disappeared. Thanks, Josh Josh Joy wrote: > Hi All, > > I'm having an odd situation pop up...I have a page > which has several > directlinks on it. The page show

Re: Web page refresh problem

2007-02-08 Thread Jesse Kuhnert
Yep. Try adding "-Dorg.apache.tapestry.disable-caching=true" to whatever starts up your web server. (http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html ) On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am newbie to tapestry. Lately I download the tapestry and tr

Re: Equivalent of this.form.events.submit() in Tap 4.1.1

2007-02-08 Thread Daniel Tabuenca
Thanks for the information. Although now I realized that an easy way to do what I want is to simply use an EventListener to submit the form since previously I was using it to submit the form on onChange events on a dropdown. Now I can just put an onchange eventListener on the dropdown component an

Re: Equivalent of this.form.events.submit() in Tap 4.1.1

2007-02-08 Thread Jesse Kuhnert
IComponent.getClientId() works well for every component. You could do something like document.getElementById("") using the value obtained from getClientId(). (or just use dojo.byId("") ) On 2/6/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: I know in tapestry 4.1.1 this API changed and you have

Re: Tap4.1.2. - @DropDownDatePicker component validation - resets to previous value for invalid dates without user awareness

2007-02-08 Thread Jesse Kuhnert
Do you mean with like with a ValidationDelegate on the form ? Oh,..#$! ..The widget is doing that locally. Fine. I can fix that with a local tapestry patch I guess.. (i might remember more easily with a JIRA ticket ) On 2/6/07, Anna Vo <[EMAIL PROTECTED]> wrote: The @DropDownDatePicker resets t

Re: Autocompleter and Dialog

2007-02-08 Thread Jeremy F. Kassis
I'm having the same problem. I looked into this once. It has something to do with how the Dialog component works. It actually copies the DOM tree of the elements within the Dialog into a DOM island that it stuffs under the window or document object I think. So, basically, the Input element within

Scroll position to bottom after Ajax Response (T 4.1.2) - Hopefully easy answer

2007-02-08 Thread Leffel, Daniel
Hi all, Hopefully easy question. I've built a little chat interface. After submitting a chat message, the response builder returns the div to the top scroll position. How can I reset the scroll position to the bottom after the update. I thought I could use something like: var objDiv = document.ge

Re: tacos tree

2007-02-08 Thread andyhot
Norbert Sándor wrote: Hello! So, you've never used tacos in tap 4.0 ? http://tacos.sourceforge.net/components/Tree.html See the state parameter. How can I specify the state of the tree (set of expanded/collapsed nodes)? I don't find such parameter... Thanks! Norbi ---

tacos tree

2007-02-08 Thread Norbert Sándor
Hello! How can I specify the state of the tree (set of expanded/collapsed nodes)? I don't find such parameter... Thanks! Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tacos 4.1.0-snapshot with tapestry 4.1.1

2007-02-08 Thread andyhot
Sándor Norbert wrote: Will this combo work? Thanks! Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] yes -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr

tacos 4.1.0-snapshot with tapestry 4.1.1

2007-02-08 Thread Sándor Norbert
Will this combo work? Thanks! Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

disabling cookies in jetty5

2007-02-08 Thread Peter Schröder
hi there, my question is not tapestry-related, but you might know that also: how do i configure jetty5 to use url-rewriting instead of cookies? i am using the jettylauncher-plugin for eclipse and did not find any information about configuring... kind regards, peter ---

Re: Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread Shing Hing Man
It is the missing backslash ! Thanks! Shing --- andyhot <[EMAIL PROTECTED]> wrote: > it's the > > try > > > Shing Hing Man wrote: > > I have a Form component with parameter async=true, > and > > a plain html > > submit button to submit the form. > > The Form parameter updateComponents i

Re: Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread Shing Hing Man
Thanks for the suggestion! But @Submit (or @Submit with async="ognl:true) does not solve the problem. Shing --- Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > hi, > try replacing > > with > value="Submit"/> > > ciao, > kiuma > > On 2/8/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: > > > >

Re: Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread Andrea Chiumenti
:) On 2/8/07, andyhot <[EMAIL PROTECTED]> wrote: it's the try Shing Hing Man wrote: > I have a Form component with parameter async=true, and > a plain html > submit button to submit the form. > The Form parameter updateComponents is set to the id > of a piece of html code > that display a

Re: Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread andyhot
it's the try Shing Hing Man wrote: I have a Form component with parameter async=true, and a plain html submit button to submit the form. The Form parameter updateComponents is set to the id of a piece of html code that display a value entered in the form. When I click the submit button, t

Re: Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread Andrea Chiumenti
hi, try replacing with ciao, kiuma On 2/8/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: I have a Form component with parameter async=true, and a plain html submit button to submit the form. The Form parameter updateComponents is set to the id of a piece of html code that display a value ent

Tapestry 4.1.2 Snapshot:Problem with async Form

2007-02-08 Thread Shing Hing Man
I have a Form component with parameter async=true, and a plain html submit button to submit the form. The Form parameter updateComponents is set to the id of a piece of html code that display a value entered in the form. When I click the submit button, the form is submitted asynchronously. But t

AW: handling logout

2007-02-08 Thread Peter Schröder
hi thomas, we have a problem using the restart-service, because it is redirecting to the home page, where we perform an initial parameter-check. so the user will end up on an exception page telling him, that his query-parameters are missing... our current solution is to inject the webRequest an

RE: handling logout

2007-02-08 Thread Thomas.Vaughan
We do the same thing Holger does. Some code, below. By the way, I heard a rumor that if you implement SSO via CAS, there's no logout function. Has anyone had any experience with that? @InjectObject("engine-service:restart") public abstract IEngineService getRestartService(); /** * Perform lo

Directlink, works in ie thought not firefox?

2007-02-08 Thread Josh Joy
Hi All, I'm having an odd situation pop up...I have a page which has several directlinks on it. The page shows search results, and the directlinks are basically new query terms, ie will basically link back to the same page just different data. Each of these directlinks invoke a listener and pa

Tapestry 4.1.1 async and RedirectException

2007-02-08 Thread Daniel Tabuenca
Does Tapestry 4.1.1 handle RedirectExceptions in ajax responses? I remember Tacos intercepted them and generate javascript in the response to do the actual re-direction. Is this implemented in Tapestry? How do I do this? - To uns

Re: Tacos-like AJAX effects in Tapestry 4.1

2007-02-08 Thread Daniel Tabuenca
Thanks, this is exactly what I was looking for. I'll use the ideas from those scripts to get them working until the real solution makes it into Tap. On 2/8/07, andyhot <[EMAIL PROTECTED]> wrote: Daniel, we're looking for the best way to include those in tapestry's ajax cycle and components. The

Re: Tacos-like AJAX effects in Tapestry 4.1

2007-02-08 Thread andyhot
Daniel, we're looking for the best way to include those in tapestry's ajax cycle and components. The basis for that will be this module: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js?view=markup You can go ahead and use it if you're anxious ;)

Re: Tacos-like AJAX effects in Tapestry 4.1

2007-02-08 Thread Daniel Tabuenca
Thanks. I don't need very advanced effects. Just the basic ones and I'd like to avoid another framework. Dojo has support for effects. With tacos 4.0 you could add pre and post effects to all ajax requests and the dojo effects would be applied automatically. I guess my question is how do I, for ex

Re: Tacos-like AJAX effects in Tapestry 4.1

2007-02-08 Thread Stefan Esterer
if i had to implement such effects, i would use http://script.aculo.us/ a neat javascript library which does such things for you... greetings stefan Daniel Tabuenca wrote: > > Is there a way to add rendering effects such as fade in and fade out > with standard Tapestry 4.1 like you could in Ta

AW: handling logout

2007-02-08 Thread Holger Stolzenberg
My logout button is calling a listener method. The listener is returning ILink. In this listener method I am doing logout specific actions and after that I am returning the link to the restart service. -Ursprüngliche Nachricht- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Don

handling logout

2007-02-08 Thread Peter Schröder
hi there what is the default way in tapestry 4 to lougout a user? is it enough to destroy servlet-session or should one use the reset-service to do that? kind regards, peter -Ursprüngliche Nachricht- Von: Stony Zhang [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 8. Februar 2007 07:13