Re: [Hypercontent-users] Further discussion on HC logout
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-03-15 02:33:14
|
Hi, See my comments below > The reason I thought to introduce another parameter > is that there may > be circumstances where you only want to login the > user if they are > not already logged in - forcing the login unbinds > all the form > processors from their session, which could for > example break back > button compatibility for certain screens, so should > be done > judiciously. Also, it is possible to execute > command=Login (which > runs this class) without mode=login, although > generally when using > CAS you will see the mode during login. This is > just a small detail > that I think might make for a more generalizable > solution! I did change as per above instructions and everything works > You can configure this in the project's > /config/pipelines.xml by > overriding the xml-edit pipeline. This sample shows > the > configuration for the CAS web site, with css at > /config/skins/cas/ > styles.css .... .... .... .... As far as the styles are concerned I did the following in the bootstrap project with the intention this will reflect across all the projects (not in the individual project) 1) created a 'skins' directory inside bootstrap config directory 2)save the my.css inside the skins folder 3) change the pipelines.xml in the bootstrap as follows (see bottom of the mail) I was able to get the styles loaded in the list box but came with following issues 1)if I highlight some paragraph and select style to styleA I can see the change (in Edit mode) but again if I select the same paragraph and select styleB the previous style does not get cleared it remains the same 2)I can see the style changes in the edit mode only but when I go to view mode it get lost. Currently I have incooperated all the styles in my.css in the specific project's /config/../../common.xsl. Am I doing something wrong pipelines.xml of the bootstrap project as follows <pipeline name="xml" mode="xml-edit" basedir="/" content-type="text/html" permissions="read,write"> <open-file/> <bind-form processor="org.hypercontent.form.xml.XmlFormProcessor" as="xml-form"/> <exec stage="org.hypercontent.form.xml.XmlPrepStage"/> <exec stage="org.hypercontent.project.engine.stage.XSLTransformStage"> <with-param name="source" value="/screens/modal-xml-tiny-mce.xsl"/> <with-param name="localize-with" value="/l10n/xml"/> <with-param name="content-css" value="/config/skins/my.css"/> <with-param name="baseActionURL" value="${baseActionURL}"/> </exec> </pipeline> Thanks ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |