Displaying 20 results from an estimated 10000 matches similar to: "In place editor, load in text"
2005 Aug 15
5
Customized Autocompletion
In the customized autocomplete demo, how does it know what content to 
use as the value of the autocomplete?
The returned UL has the name, email address and an image. Yet only the 
name is used.
How does it do this? I''ve been trying to get something similar going all 
morning with little success.
Also, what does :skip_style=>true do? I couldn''t seem to find a mention 
of it
2006 Apr 22
2
Form.serialize problem
I''m sure I''m missing something dumb but I cannot get Form.serialize to 
work. I have an alert in the function as a debug to show me what''s 
supposed to be the serialized line of values but it always shows 
nothing. Can somebody show me what I''m doing wrong? Thanks in advance.
function submitprofile() {
     var url = "/profile/submitprofile.html?";
2005 Aug 21
0
[PATCH] in-place-editor, AJAX loading
I sent this on Friday but somehow managed to email it to the wrong email 
address!
----
Attached is a patch to add external (AJAX) loading of content to the 
InPlaceEditor.
2 extra options have been added:
loadUrl:
a URL to load the content from. If this is present, it will be used 
instead of the innerHTML.
fieldId:
I had to add this so we know what the text field is when we''ve
2005 Nov 23
2
Changing loadTextURL
I have an InPlaceEditor, when it is clicked on it loads the unformatted 
textile text from the server. When i click on menu items, I change the 
content to the formatted text and i want to change the file the 
InPlaceEditor will load.
I thought a simple
loadTextURL: "getPage.php?page=" + currentPage;
would do. But currentPage is always empty... It''s baffling :p
Is there a way
2005 Sep 16
4
Autocompleter handling multiple completes
Has anyone extended the Autocompleter to do multiple auto-completes in a 
single input field? I''m looking to achieve similar functionality to the 
del.icio.us <http://del.icio.us> post page which allows multiple 
auto-completes of tag names in the tags input field.
 cheers,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 21
4
New stuff in script.aculo.us trunk
Heya all,
There''s some new stuff in the script.aculo.us trunk as of today that  
needs to be tested,
so maybe give it a shot:
* Added Ajax.InPlaceCollectionEditor which uses a SELECT element  
instead of a text field (see test/functional/ 
ajax_inplacecollectioneditor_test.html for usage), #3491 [thx anna]
* Enable in place editor to use RJS (implements a new evalScripts  
option for
2007 Nov 05
1
R2HTML package and Open Office: text only pasted
I am trying to use R2HTML (just downloaded from CRAN) to paste R (2.6.0)
results output via the clipboard to OpenOffice Writer and Calc
(version 2.3on WinXPPro)
Pasting into Excel gives a formatted table of results (as expected), but
pasting into Calc simply pastes  the HTML code. Trying paste special  only
gives an option to paste unformatted text.
Equally, with Writer, in the past when I tried
2005 Sep 15
12
Ajax to sockets.
Hello,
 
I am trying to find a way to implement ajax with a given socket server.
Basically I have a support system that is fully integrated, but I can not
stand the "JAVA" chat client because of the security warning and load time.
So I figured I would look towards ajax especially since it has XML
capabilites.
 
I have the whitepaper on the socket server, this socket server is on the
same
2006 Jul 22
1
browser_detect plugin
I just knocked up a quick plugin based on Rafael Lima?s Javascript which 
was inspired by the Browser selectors in CSS post by 37signals.
It?s pretty naive at the moment, but could be nice to build on in the 
future. It adds two helper methods available in your views - browser_is? 
and browser_name
<%= browser_name %> => mozilla (or whatever)
<% if browser_is? :mozilla %>
do
2005 Sep 01
2
In-place editor inside a Draggable
Hello,
I have noticed that when an In-place editor is inside a Draggable in IE it
is real sketchy, cannot highlight text and plain out cannot edit in Firefox.
Respectfully,
Stephen
2007 Aug 21
2
in place editor with scriptaculous
I have an issue with line break handling.
When I display contents of a textarea, I use nl2br to show linebreaks
that the user has made. The problem comes the second time they make an
edit, since the <br> code still appears in the inPlaceEdit box...
which will no doubt confuse my users...
Any way around this?
--~--~---------~--~----~------------~-------~--~----~
You received this message
2006 Feb 20
3
file_column and login_engine incompatibilities
Hi, has anyone come across any incompatibilities between file_column and 
login_engine?
I''ve been having strange issues where a User model with file_column in 
it is failing to save the images properly. Everything uploads to the tmp 
dir fine, but then it never gets copied to the proper permanent location.
No errors - everything happens fine except for that final part.
I have
2006 Apr 05
4
How to do IN(?) query?
I''m trying to do an IN query, where I have an array of user objects 
imaginatively named ''users'':
:conditions=>["user_id IN (?)", users.collect{|u| u.id }.join('','')]
this ends up with:
... IN(''1,2,3'') ...
Obviously I want this to be:
... IN(1,2,3) ...
or even
... IN(''1'', ''2'',
2005 Sep 01
1
FW: In-place editor inside a Draggable
I was able to do a cheap workaround
By putting this:
this.editField.focus();
at the end of the enterEditMode: function()
this still does not allow highlighting with the mouse. Also if there are
regular forms in a draggable the end user is screwed especially when using
firefox.
-----Original Message-----
From: Stephen Major [mailto:smajor@gmail.com] 
Sent: Thursday, September 01, 2005 3:28 AM
2007 Jan 11
2
In-place editor for a whole form?
I want to implement in-place editing for a hierarchical structure where 
the nodes are not simple text fields, but need to be represented by at 
least two input elements.
The Rails helpers only support in-place editing for a text field, 
scriptaculous''s controls.js beyond that implements support for an 
in-place editor containing a select element. I need an editor where I 
essentially
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run 
any scripts or dispatch.*
[barry]$ ruby -d script/server
Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to 
load -- pathname
./script/../config/boot.rb:6:in `require'': no such file to load -- 
pathname (LoadError)
         from ./script/../config/boot.rb:6
         from
2010 Jan 07
2
Problem with writeBin and importing into gfortran compiled programs
Hi all,
I'm having problems trying to export binary arrays from R and importing
them into fortran (linux openSUSE 10.3 (x86_64), gfortran compiler,
fortran 90/95 program).
Let's say the problem can be expressed as:
R part
------------
>whini <- runif(1000)
>writeBin(whini,"fwhini.dat")
f90 part
------------
PROGRAM foo
INTEGER, PARAMETER :: DP = KIND(1.0D0)
INTEGER ::
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads 
are working fine.
However, when I try and use the :magick options to make resized 
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
  file_column :media_item,
              :magick => {
                :versions => {
                    :thumb => {:size =>
2005 Nov 25
4
Rich Text Editor
I know this doesn''t necessarily fall under AJAX, but does anyone have any plans of donating a RTE (Rich Text Editor) plugin to scriptaculous?
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did
that go anywhere? I''d love to see something as simple as the one google uses
in gmail. If not, I''ll get started on it :-D.
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org