similar to: loadTextURL

Displaying 20 results from an estimated 400 matches similar to: "loadTextURL"

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
2007 May 18
1
How do I use loadTextURL?
Hi, How exactly do I use loadTextURL? I can''t find any instructions. I was under the impression I just set loadTextURL to a script that will return the data I want, but no matter what I do, it just continues to say loading. For example: new Ajax.InPlaceEditor(''edit_author'', ''inc/blogedit.phpr'', {loadTextURL:''inc/server.php''}); Works
2006 Feb 05
2
in_place_editor is missing load_text_url option
Ajax.InPlaceEditor supports a loadTextURL option. If you look at the InPlaceEditor page (http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor) you''ll see an excellent example in Rails of how you might use that option textilize in place edited stuff. Unfortunately, the example doesn''t use the nifty Rails in_place_editor method because
2005 Oct 07
2
InPlaceEditor
Hi all, I was wondering if I could get some help with using Ajax.InPlaceEditor. I want to use loadTextURL to get the text, as it says on the bottom of the documents ''How to edit server side formatted text (formatted with eg. textile)''. My question is how do I know which inplaceedit I''ve clicked? So that I know which id I need to get the text from in the mysql
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
on mouseover when using inplaceeditor it highlights in yellow. Great. However, I want to also show a tooltip inside this div on mouseover. Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I''ve tried is this: <script language="JavaScript"> new
2006 Jan 19
0
RE: inPlaceEditor -how to capture values just beforeit is edited
Hi Grzesiek, Try with the callback option: callback V1.5 function(form) {Form.serialize(form)} A function that will get executed just before the request is sent to the server, should return the parameters to be sent in the URL. Will get two parameters, the entire form and the value of the text control. new Ajax.InPlaceEditor(''id'', ''url'', { callback:
2006 Mar 02
0
[PATCH] small correction to allow editing of html with Ajax.InPlaceEditor
Ajax.InPlaceEditor will not let you edit HTML as it strips all tags coming from the loadTextURL Ajax callback. Bug or feature? I say bug. The patch below fixes this. -Rob --- js/controls.js.old 2006-03-02 13:46:26.000000000 +0000 +++ js/controls.js 2006-03-02 13:46:29.000000000 +0000 @@ -628,7 +628,7 @@ onLoadedExternalText: function(transport) { Element.removeClassName(this.form,
2006 Feb 18
3
Edit in Place
I need help using In Place Editor by script.aculo.us #controller def my_action #get the text to display initially @fancy_text = "Some fancy *bold* and _emphasized_ text." end def update_text #save your text here, and return the saved value @fancy_text = params[:value] render :layout => false, :inline => "<%= textilize( @fancy_text ) %>" end
2007 Apr 09
0
Unobtrusive IPE -- comments, please
I just coded an unobtrusive In Place Editor and wanted to get some review and comments for it. Anyone spot anything obvious that I could do to streamline this? Thanks, Walter <script type="text/javascript" charset="utf-8"> var rightClick = function(e){ Event.stop(e); var editListing = new Ajax.InPlaceEditor("listing_body",
2005 Sep 12
1
Edit In Place: text with line breaks
All, I need to apply EditInPlace to a block of text that has line breaks. I''d like to have the editable text load instantly by grabbing the text from the page instead of using the "loadTextURL" option. However, this will pull in the html formatting ( <br> and <p>). Wanted to see what ideas the list had as far as making this possible - the best idea I''ve
2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
Hi, I am trying to pass others paramenter to the function InPlaceCollectionEditor, but I think that is not possible I have modified some rows controls.js to line 782 from: ####################### this.editField = this.cached_selectTag; if(this.options.loadTextURL) this.loadExternalText(); this.form.appendChild(this.editField); this.options.callback = function(form, value) {
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello everyone, I am able to work very well with annotations in C/C++, by using __attribute__((annotate("MYANNOTATION"))) static int a; . Inside the LLVM bytecode I have @llvm.global.annotations and @llvm.var.annotation. However, I was trying to test annotations also in Java, with VMKit. These are the commands that I run: javac -Xlint -g -O Main.java ../Release+Asserts/bin/vmjc Main
2013 Jun 17
0
[LLVMdev] vmkit java annotations
Hello Alexandru, No you did nothing wrong. We are using our own data structure to describe annotations in J3. So it is normal that you can not see your Java annotations inside the LLVM bytecode produced. If I remember well, our implementation of annotations do not rely on LLVM annotations. Regards, Harris Bakiras On 06/17/2013 02:19 PM, Alexandru Ionut Diaconescu wrote: > Hello
2006 Aug 07
1
Routing/Redirecting
Hi all, Can someone tell me how I could redirect from an url like "www.url.com/mycontroller" to "www.url.com/en/mycontroller"? I was reading all sorts of routing documentation but couldn''t come up with a solution. Of course this should be a general rule, so "www.url.com/mycontroller/myaction/myparam=99" should naturally redirct to
2012 Mar 16
0
uri authentication
Alistair - That's pretty much correct. It might be worth pointing out that the client will probably only prompt you to enter a username and password if it receives a 401 from the server. Icecast will respond to the client with a 401 if the call to the authentication script doesn't return the auth header ("icecast-auth-user: 1" by default). This is another way of saying that the
2013 Jun 17
0
[LLVMdev] vmkit java annotations
What classpath implementation are you using ? GNUClasspath or OpenJDK ? Harris Bakiras On 06/17/2013 03:57 PM, Alexandru Ionut Diaconescu wrote: > Hello Harris, > > Thank you for your answer. So it is there a way of annotating > variables in Java Code, so I can see them into LLVM bytecode? > > Thank you ! > > > On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello Harris, Thank you for your answer. So it is there a way of annotating variables in Java Code, so I can see them into LLVM bytecode? Thank you ! On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS <h.bakiras at gmail.com> wrote: > Hello Alexandru, > > No you did nothing wrong. > > We are using our own data structure to describe annotations in J3. So it > is normal
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog
2005 Nov 20
1
Deleting InPlaceEditor
Howdy, I have created several InPlaceEditor''s for each of my menu items. This way i can easily rename them, however when i rename a menu item, it renames several id''s in the document. I then need to adjust an InPlaceEditor to point to the new id. It seems an inplaceeditor cannot be changed, so i have been tryiny to delete it, then create a new one. How do i delete an
2006 Feb 27
1
InPlaceEditor on an empty div
Hi, I am wondering what the trick is to use InPlaceEditor on an emtpy div. I have a set up where one div contains a question, and next to it is an emtpy div which should be used for InPlaceEditor. The user clicks on a button "answer" and that activates the InPlaceEditor in the appropriate div. This doesn''t work, however. The div which should use InPlaceEditor must