Thread: [Hypercontent-users] HC 1.4 - Tags and attributes allowable by HTMLArea
Brought to you by:
alexvigdor
From: Mike B <mbe...@gm...> - 2005-06-30 12:20:57
|
Is it possible to change which tags and attributes are allowed and unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to include the embed and style tag as well as the style attribute. |
From: Carl B. <C.P...@hu...> - 2005-06-30 13:13:55
|
Hi Mike Yes thats possible and something that I've done here in Hull. You can control what the editor strips out and leaves in DocumentFactory.java /uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent You will see the attributes in the file : remover.acceptElement("form",new String[]{"action","enctype","method","type","target"}); If you have any problems just let me know. Thanks Carl Mike B wrote: >Is it possible to change which tags and attributes are allowed and >unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >include the embed and style tag as well as the style attribute. > > >------------------------------------------------------- >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_idt77&alloc_id492&op=click >_______________________________________________ >Hypercontent-users mailing list >Hyp...@li... >https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-06-30 14:32:47
|
Hi Mike I would have thought there should be a file called DocuemntFactory.class under WEB-INF which you should be able to replace once you've recompiled DocuemntFactory.java. If not I guess just put it there. Alex will be able to confirm if thats correct..... Remember that you'll need to restart your application server so pick up the changes. Thanks Carl Mike B wrote: >Hi Carl, > >Thanks for the quick reply. I've found the DocumentFactory.java file >but it is only in the source code, not under WEB-INF. Should I just >make the changes and copy it there or do I need to go through the >process of building and deploying with ant? > >Thanks, >Mike > > >On 6/30/05, Carl Barrow <C.P...@hu...> wrote: > > >>Hi Mike >> >>Yes thats possible and something that I've done here in Hull. >>You can control what the editor strips out and leaves in >>DocumentFactory.java >>/uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent >> >>You will see the attributes in the file : >>remover.acceptElement("form",new >>String[]{"action","enctype","method","type","target"}); >> >>If you have any problems just let me know. >> >>Thanks >>Carl >> >>Mike B wrote: >> >> >> >>>Is it possible to change which tags and attributes are allowed and >>>unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >>>include the embed and style tag as well as the style attribute. >>> >>> >>>------------------------------------------------------- >>>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_idt77&alloc_id492&op=click >>>_______________________________________________ >>>Hypercontent-users mailing list >>>Hyp...@li... >>>https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>-- >>************************************ >> >>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 >> >> >> -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-06-30 17:06:14
|
If you have HC 1.4 set up in such a way that you used the ant script to=20= install it, you can just change the source file and run "ant deploy"=20 which will recompile, make the jar and copy it over to uPortal. You=20 can also just run "ant jar" which will compile and create the jar, and=20= manually copy the updated jar to your webapp. -Alex On Jun 30, 2005, at 10:39 AM, Carl Barrow wrote: > Hi Mike > > I would have thought there should be a file called=20 > DocuemntFactory.class under WEB-INF which you should be able to=20 > replace once you've recompiled DocuemntFactory.java. If not I guess=20= > just put it there. > > Alex will be able to confirm if thats correct..... > > Remember that you'll need to restart your application server so pick=20= > up the changes. > > Thanks > Carl > > Mike B wrote: > >> Hi Carl, >> >> Thanks for the quick reply. I've found the DocumentFactory.java file >> but it is only in the source code, not under WEB-INF. Should I just >> make the changes and copy it there or do I need to go through the >> process of building and deploying with ant? >> >> Thanks, >> Mike >> >> >> On 6/30/05, Carl Barrow <C.P...@hu...> wrote: >> >>> Hi Mike >>> >>> Yes thats possible and something that I've done here in Hull. >>> You can control what the editor strips out and leaves in >>> DocumentFactory.java >>> /uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent >>> >>> You will see the attributes in the file : >>> remover.acceptElement("form",new >>> String[]{"action","enctype","method","type","target"}); >>> >>> If you have any problems just let me know. >>> >>> Thanks >>> Carl >>> >>> Mike B wrote: >>> >>> >>>> Is it possible to change which tags and attributes are allowed and >>>> unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >>>> include the embed and style tag as well as the style attribute. >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: Discover Easy Linux Migration=20 >>>> 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_idt77&alloc_id=16492&op=3Dclick >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>> -- >>> ************************************ >>> >>> 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=20 >>> 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=3D7477&alloc_id=3D16492&op=3Dc= lick >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> > > --=20 > ************************************ > > 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=3D7477&alloc_id=3D16492&op=3Dcli= ck > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |