new transport for bxe/mozile

Ludovic Gasc <[email protected]> Thu, 21 Jul 2005 12:56:47 +0200
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
--Boundary-00=_v933Ce37o5RpfwX
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I'm creating a new transport for bit flux editor that I've called "form".

The idea :
I've a web page with a form and field hidden that contains the xml code.
When I click on a link, a javascript function is launched and a popup window 
appears that contains bit flux editor.
My transport reads the hidden field on parent page with xml code.
When I save the xml file, the hidden field is updated.

But my transport don't work, bit flux editor stopped on load at : "Load 
XML ..."

I've attached javascript file.

Do you have any idea to resolve this ?

Thanks very much.
-- 
GASC Ludovic - Stagiaire chez Hospimedia
--
travaille sur Kubuntu 5.04 - KDE 3.4

--Boundary-00=_v933Ce37o5RpfwX
Content-Type: text/plain;
  charset="us-ascii";
  name="form.js"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="form.js"

/* you can extend the webdav driver here */

function mozileTransportDriver_form() {
	
}

mozileTransportDriver_form.prototype= new mozileTransportDriver_http(); 

mozileTransportDriver_form.prototype.load = function(filename, td, async) {
	return window.opener.document.mettre_en_ligne.corps.value;
}


mozileTransportDriver_form.prototype.save = function(filename, content, td)
{
}

--Boundary-00=_v933Ce37o5RpfwX
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev

--Boundary-00=_v933Ce37o5RpfwX--