[Proto-Scripty] Re: Design question for forms

2009-06-27 Thread Vladimir Tkach
Some changes: script type=text/javascript language=JavaScript document.observe(dom:loaded, function(){ if ($('adjType').value.length 0){ $('submittingTerritory').show(); }} ); /script form ... More HTML ... tr id=submittingTerritory

[Proto-Scripty] Prototype in salesforce development

2009-06-27 Thread Nakata Kokuyo
Good day, I have a problem by running prototype in salesforce visualforce page, which i unable to understand and have some doubts Below code is intend to allow user to select drop down list and able to update div with value in drop down list. Below code only able to run and call out alert on

[Proto-Scripty] Re: Prototype in salesforce development

2009-06-27 Thread T.J. Crowder
Hi, alert('call 2...'); new Ajax.updater(id, URL, optionStr); alert('call 3...'); JavaScript is case sensitive, Ajax.updater and Ajax.Updater are not the same thing. Can I strongly recommend using some kind of debugger for catching these

[Proto-Scripty] Re: bug? or I made something wrong using fire

2009-06-27 Thread T.J. Crowder
Hi, Your two examples are not identical. In the one using 'proyecto' literally, your if statement will always be true because you're not using $, you're using if('proyecto') where to be identical to the x1 version you would need if($('proyecto')) I don't know why that would make any

[Proto-Scripty] Re: Design question for forms

2009-06-27 Thread T.J. Crowder
Hi, The main point of Vladimir's changes being that you cannot put a div where you had one (assuming those TRs were inside a TBODY or TABLE), it's invalid HTML. IIRC, TABLE can only contain TBODY, THEAD, or TFOOT, and TBODY can only contain TR. (Most browsers will insert a missing TBODY for

[Proto-Scripty] Re: Prototype in salesforce development

2009-06-27 Thread Nakata Kokuyo
Thanks for guidance T.J .. one question, on Ajax.Updater(id, URL, optionStr), the second argument is it MUST be file or can we have controller action which return result ? Appreciated if you can show me some sample if possible .. On Jun 27, 3:56 pm, T.J. Crowder t...@crowdersoftware.com wrote:

[Proto-Scripty] Re: [ANN] Alpha version of scripty2 (script.aculo.us' next major version!) out now

2009-06-27 Thread Radoslav Stankov
As far as I know scripty2 is not dropin replacements. It is a totally new project. As far the only 'old' effects are morph / fade / appear and the main change Effect variable is no logger in play. But a part of that it is really awesome effect engine. And as an open source project any one could

[Proto-Scripty] Re: Prototype in salesforce development

2009-06-27 Thread T.J. Crowder
Hi, one question, on Ajax.Updater(id, URL, optionStr), the second argument is it MUST be file or can we have controller action which return result ? It must be a URL (which is not necessarily a file, it depends on your server configuration). HTH, -- T.J. Crowder tj / crowder software / com

[Proto-Scripty] Re: bug? or I made something wrong using fire

2009-06-27 Thread Miguel Beltran R.
2009/6/27 T.J. Crowder t...@crowdersoftware.com Hi, Your two examples are not identical. In the one using 'proyecto' literally, your if statement will always be true because you're not using $, you're using if('proyecto') where to be identical to the x1 version you would need

[Proto-Scripty] Re: [ANN] Alpha version of scripty2 (script.aculo.us' next major version!) out now

2009-06-27 Thread Rick Waldron
Right... I've come to this conclusion. Anyway, one the examples here: http://scripty2.com/doc/scripty2%20fx/element.html#morph-class_method $('element_id').morph('width:500px;height:500px', { duration: 4, transition: '', delay: .5, propertyTransitions: { width: 'mirror', height:

[Proto-Scripty] Re: Prototype in salesforce development

2009-06-27 Thread Rick Waldron
This is sort of redundant to TJ, but I'm going to throw it out there... I'm not familiar with salesforce development, but firebug has a number of add-ons that make life so much easier allowing you to debug your server side code right in firebug: http://getfirebug.com/extensions/index.html I use

[Proto-Scripty] Re: Design question for forms

2009-06-27 Thread Jimmy Brake
Hi, It's all about numbers ... do your numbers and figure out if one process dumping all options for the form is faster for your end users than dumping the pieces as they need them. I have big a cluster(massive processing) but limited bandwidth .. so I would err on small pieces .. but if you