Re: [Hypercontent-users] Repetitive emails for approvers
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2006-12-06 23:40:40
|
Hi, Keep content in a Database instead of the file system with versionning. Is that in HC road map in the future versions. --- Alex Vigdor <al...@bi...> wrote: > > On Nov 30, 2006, at 9:59 PM, tom tom wrote: > > > Hi Alex, > > > > I need to know two thing > > > > How can I add a xml document > > 1) in your sample (portlet.zip) I gave the > following > > in the project definition file. But it fails and > gives > > a parsing exception. My intention is to facilitate > xml > > add feature similar to images > > > > > > <resource-directory create="manual" label="XML" > > path="/**/*.xml" publish="true"> > > <content type="application/xml+xslt"/> > > </resource-directory> > > > > You should not use resource-directories to declare > XML files, as they > do not give you sufficient declarative control over > the doctype and > root element. The example you were working from is > for XSL files, > which are a special case, with a unique ".xsl" > extension and the > expectation that you will upload the files rather > than use the XML > editor. > > For regular XML files, you can use the same example > you sent in your > other message: > > <xml-doctype create="manual" definition="" > label="Page" path="/**/*.xml" root="html"> > <output basedir="/plain/" content-type="text/html"> > <transform source="/config/skins/plain/common.xsl"> > <with-param name="link-base" value="/plain"/> > </transform> > </output> > </xml-doctype> > > However, you MUST remove that resource-directory > definition - since > they are both mapped to "/**/*.xml" you have created > a conflict. The > Premature End of File error is likely due to the > files being created > from the resource-directory definition, which will > create a 0 length > file, vs. the xml-doctype declaraton, which will > initalize the file > with a doctype and root element. > > > > > > > 2) Also let us know it is possible to close the HC > > wind ow when someone presses the logout. Is it > > harmful? > > This is safe. > > Alex > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. |