Hi Carl,
That should work, but maybe try putting "onchange" in all lower case.
The HTML parser is NekoHTML, and the offending class is ElementRemover,
if you want to delve deeper
http://people.apache.org/~andyc/neko/doc/html/
-Alex
On Jun 21, 2005, at 9:31 AM, Carl Barrow wrote:
> Hi All
>
> I've changed DocumentFactory.java so that the editor doesn't strip out
> certain things. Works fine :)
>
> For one page, I need it to keep in the whole of :
>
> <select name="hullselect" onChange="location =
> this.options[this.selectedIndex].value;">
>
>
> I tried adding:
> remover.acceptElement("select",new
> String[]{"disabled","multiple","name","size","onChange"});
>
> The editor leaves name in there but strips out onChange. I presume
> because onChange is a javascript function and not a true attribute. Do
> you know what I need to add to have in leave the onChange in there?
>
> Thanks
> Carl
>
> --
> ************************************
>
> Carl Barrow
> Web Developer
> e-Services
> The University of Hull
> Cottingham Road
> Hull
> HU6 7RX
> Ext. 6838
> ************************************
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Hypercontent-users mailing list
> Hyp...@li...
> https://lists.sourceforge.net/lists/listinfo/hypercontent-users
>
|