hypercontent-users Mailing List for HyperContent (Page 13)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
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. |
From: Alex V. <al...@bi...> - 2006-12-01 14:39:03
|
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 |
From: tom t. <j_l...@ya...> - 2006-12-01 05:26:25
|
Hi Alex, I changed the following in the sample you have uploaded (portlet.zip). That is I changed the path attribute to take any html (not only index.xml). moment we have that the label "XML" is not appearing in the add drop down list ( I have a resource reference to add xml). With path="/**/index.xml XML label appears but when I try to add xml it gives parsing exceptions indicating (Premature end of file.) How can I proceed e.g <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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: tom t. <j_l...@ya...> - 2006-12-01 02:59:15
|
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> 2) Also let us know it is possible to close the HC wind ow when someone presses the logout. Is it harmful? --- Alex Vigdor <al...@bi...> wrote: > Hi, > I don't think it should be sending emails on > restart, but the > default approval script does send a reminder every > 24 hours. You can > disable this by removing this stanza in > approvals.xml: > > <event name="email-reminder" when="in 24 hours *"> > <email who="group:approvers" > subject="[HyperContent]: Reminder - > Approval requested" content-type="text/html"> > <![CDATA[ > <h3>${editor} requested approval for > <a href="${abs-server-base}${path}? > mode=interactive&screen=workflow.approvals&work=${work-ticket}">$ > > {path}</a></h3> > ]]> > </email> > </event> > > Let me know if that fixes it. > > Cheers, > Alex > > > On Nov 19, 2006, at 8:51 PM, tom tom wrote: > > > Hi, > > See the following use case. > > > > > > 1) Author does not have approve permissions. We > got > > seperate approver for approvals. > > > > 2) Author does some modification and saves the > > contents. Author will be automatically redirected > to > > approval screen as he does not have approve > > permissions. > > > > 3) Auther requests for approvals > > > > 4) System automatically sends emails to approvers > with > > the necessary url. > > > > Assume user has not looked his mails yet. That is > he > > has not approved yet. > > > > For some reason if HC server happened to be > restarted, > > each time it restarts it sends mails for these > > approvers asking for approval. > > > > > > Well......from approvers point of view I dont > think he > > needs this repetitive mails. > > > > Is there a workaround for this. > > > > > > > > Thanks > > > > > > > > > ______________________________________________________________________ > > > ______________ > > Sponsored Link > > > > Degrees online in as fast as 1 Yr > > MBA, Bachelor's, Master's, Assoc > > http://yahoo.degrees.info > > > > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com |
From: Alex V. <al...@bi...> - 2006-11-30 22:51:46
|
Hello all, I have released a pre-integrated uPortal 2.5.3 + CAS 3.0.5 + HyperContent (head) quick-start distribution which I'll be using as the basis of my upcoming seminar at the JA-SIG conference. However, the release may be of general interest. It demonstrates the new HC portlet and the latest sample projects, which I will be posting separately to the wiki. Feel free to take a look: http://downloads.sourceforge.net/hypercontent/uPortal_HyperContent_CAS.zip The state of the HyperContent component of this release is identical to the current CVS head, which is production stable as a standalone web application, although the portlet component is more like a late beta. Cheers, Alex |
From: Alex V. <al...@bi...> - 2006-11-20 03:50:21
|
Hi, I don't think it should be sending emails on restart, but the default approval script does send a reminder every 24 hours. You can disable this by removing this stanza in approvals.xml: <event name="email-reminder" when="in 24 hours *"> <email who="group:approvers" subject="[HyperContent]: Reminder - Approval requested" content-type="text/html"> <![CDATA[ <h3>${editor} requested approval for <a href="${abs-server-base}${path}? mode=interactive&screen=workflow.approvals&work=${work-ticket}">$ {path}</a></h3> ]]> </email> </event> Let me know if that fixes it. Cheers, Alex On Nov 19, 2006, at 8:51 PM, tom tom wrote: > Hi, > See the following use case. > > > 1) Author does not have approve permissions. We got > seperate approver for approvals. > > 2) Author does some modification and saves the > contents. Author will be automatically redirected to > approval screen as he does not have approve > permissions. > > 3) Auther requests for approvals > > 4) System automatically sends emails to approvers with > the necessary url. > > Assume user has not looked his mails yet. That is he > has not approved yet. > > For some reason if HC server happened to be restarted, > each time it restarts it sends mails for these > approvers asking for approval. > > > Well......from approvers point of view I dont think he > needs this repetitive mails. > > Is there a workaround for this. > > > > Thanks > > > > ______________________________________________________________________ > ______________ > Sponsored Link > > Degrees online in as fast as 1 Yr > MBA, Bachelor's, Master's, Assoc > http://yahoo.degrees.info > |
From: tom t. <j_l...@ya...> - 2006-11-20 01:51:41
|
Hi, See the following use case. 1) Author does not have approve permissions. We got seperate approver for approvals. 2) Author does some modification and saves the contents. Author will be automatically redirected to approval screen as he does not have approve permissions. 3) Auther requests for approvals 4) System automatically sends emails to approvers with the necessary url. Assume user has not looked his mails yet. That is he has not approved yet. For some reason if HC server happened to be restarted, each time it restarts it sends mails for these approvers asking for approval. Well......from approvers point of view I dont think he needs this repetitive mails. Is there a workaround for this. Thanks ____________________________________________________________________________________ Sponsored Link Degrees online in as fast as 1 Yr MBA, Bachelor's, Master's, Assoc http://yahoo.degrees.info |
From: Alex V. <al...@bi...> - 2006-11-19 18:55:36
|
Hi Carl, I realized I didn't answer your second question about using site = CSS =20 in TinyMCE. You just need to override the default XML editor =20 configuration by adding it to your project-specific pipelines.xml <pipeline name=3D"xml" mode=3D"xml-edit" basedir=3D"/" = content-type=3D"text/=20 html" permissions=3D"read,write"> <open-file/> <bind-form = processor=3D"org.hypercontent.form.xml.XmlFormProcessor" =20 as=3D"xml-form"/> <exec stage=3D"org.hypercontent.form.xml.XmlPrepStage"/> <exec = stage=3D"org.hypercontent.project.engine.stage.XSLTransformStage"> <with-param name=3D"source" = value=3D"/screens/modal-xml-tiny-mce.xsl"/> <with-param name=3D"localize-with" = value=3D"/l10n/xml"/> <with-param name=3D"baseActionURL" = value=3D"${baseActionURL}"/> <with-param name=3D"content-css" = value=3D"/css/mystyles.css"/> </exec> =09 </pipeline> Cheers, Alex On Nov 15, 2006, at 10:25 AM, Carl Barrow wrote: > > > Also, It is possible to set a CSS which is accessible though =20 > tinyMCE in model-xml-tiny-mce.xsl Last time I did this it set the =20 > same CSS for all the sites. Can I set a different CSS far each =20 > site? I notice that you=92ve added an if statement around the CSS =20 > config line, but I=92m not sure just what that=92s used for. > > > > <xsl:if test=3D"$content-css"> > > , content_css : "<xsl:value-of select=3D"concat($abs-=20 > project-base,$content-css)"/>" > > </xsl:if> > > > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <al...@bi...> - 2006-11-17 23:59:27
|
On Nov 16, 2006, at 6:16 PM, tom tom wrote: > Based on the portlet.zip provided by you, I got lot of > them working now, even the approvals and sending mails > also working fine. > > I had to change the following in the approvals.xml's > save event > <redirect > location="${abs-server-base}${path}? > mode=interactive&screen=workflow.approvals"/> > I had to insert the ${abs-server-base} > Check whether you need to change this. Sorry about that, I had changed it in CVS but there are still projects out there with old copies of the script. I forgot to double- check that one. > > > I ignored the navigation/site map feature deliberately > and wanted to get the others going, > > I focussed on the html and pdf output only, html > output works fine but pdf does not generate the > contents but a blank pdf file. Currently am usings the > xsls which came with portlet.zip with unchanged. The XSL that generates the PDF requires navigation files as specified in the sample project. It uses them to construct the table of contents, even for a single page pdf. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-16 23:16:56
|
Based on the portlet.zip provided by you, I got lot of them working now, even the approvals and sending mails also working fine. I had to change the following in the approvals.xml's save event <redirect location="${abs-server-base}${path}?mode=interactive&screen=workflow.approvals"/> I had to insert the ${abs-server-base} Check whether you need to change this. I ignored the navigation/site map feature deliberately and wanted to get the others going, I focussed on the html and pdf output only, html output works fine but pdf does not generate the contents but a blank pdf file. Currently am usings the xsls which came with portlet.zip with unchanged. my projectdefinition.xml groups.xml, permission.xml are listed below <cms-project> <build> <filesystem-def name="Project build" type="local"> <argument index="0" value="/home/test/installations/buildHypercontent/"/> </filesystem-def> </build> <publish> <filesystem-def name="Project publish" type="local"> <argument index="0" value="/home/test/installations/publishHypercontent/"/> </filesystem-def> </publish> <resource-directory create="manual" label="Html File" path="/**/*.html" publish="true"> <content type="text/html"/> <content type="image/jpeg"/> </resource-directory> <resource-directory create="manual" label="css" path="/**/*.css" publish="true"> <content type="text/plain"/> </resource-directory> <xml-doctype create="manual" definition="" label="Page" path="/**/index.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> <output basedir="/pdf/" content-type="application/pdf"> <include data="yes" metadata="no" source="navigation.xml"/> <transform source="/config/skins/pdf/common_fo.xsl"/> </output> </xml-doctype> <resource-directory create="manual" label="JPEG" path="/**/*.jpg" publish="true"> <content type="image/jpeg"/> </resource-directory> <resource-directory create="manual" label="GIF" path="/**/*.gif" publish="true"> <content type="image/gif"/> </resource-directory> <resource-directory create="manual" label="PNG" path="/**/*.png" publish="false"> <content type="image/png"/> <output basedir="/" content-type="image/png"/> <output basedir="/" content-type="image/gif"> <filter key="image"/> </output> <output basedir="/" content-type="image/jpeg"> <filter key="image"> <with-param name="quality" value=".75"/> </filter> </output> </resource-directory> <resource-directory create="manual" label="XSL" path="/config/skins/**/*.xsl" publish="false"> <content type="application/xml+xslt"/> </resource-directory> <resource-directory create="manual" label="folder" path="/**/" publish="true"/> <resource-directory create="manual" label="XML" path="/**/*.xml" publish="false"> <content type="application/xml+xslt"/> </resource-directory> <resource-directory create="manual" label="DTD" path="/config/dtd/*" publish="false"> <content type="application/xml-dtd"/> <output basedir="/" content-type="text/plain"/> </resource-directory> </cms-project groups.xml <groups> <group name="group:consumers"> <group name="group:anybody"/> </group> <group name="group:authors"> <user name="36862"/> <user name="author"/> </group> <group name="group:approvers"> <user name="10065"/> </group> <group name="group:publishers"> <user name="publisher"/> <user name="10065"/> </group> <group name="group:admin"> <user name="admin"/> </group> </groups permissions.xml <permissions> <permission activity="read" denied="false" principal="group:anybody" target="/**/*.*"/> <permission activity="read" denied="true" principal="group:anybody" target="/config/**/*.*"/> <permission activity="read" denied="true" principal="group:anybody" target="/config/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/design/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/xsl/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/dtd/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/workflow-data/**/"/> <permission activity="read" denied="false" principal="group:authors" target="/**/"/> <permission activity="create" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="write" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="delete" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="build" denied="false" principal="group:authors" target="/**/"/> <permission activity="build" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="read" denied="false" principal="group:approvers" target="/**/"/> <permission activity="create" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="write" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="delete" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="approve" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="read" denied="false" principal="group:publishers" target="/**/"/> <permission activity="publish" denied="false" principal="group:publishers" target="/**/"/> <permission activity="publish" denied="false" principal="group:publishers" target="/**/*.*"/> </permissions --- Alex Vigdor <al...@bi...> wrote: > > On Nov 15, 2006, at 6:22 PM, tom tom wrote: > > > Hi, > > > > If someone decides to keep the existing login > > mechanism instead of casifying the HC. How can we > do > > the following. > > > > How can we add new users to the HC. Also how can > we > > change the passwords of the existing users (e.g. > > author) > > User files are stored in the bootstrap repository > under the pattern / > users/*/*/*/user.xml, broken up by the first two > letters as such: > > /users/a/ad/admin/user.xml > > where admin is the username. You can add them in > the GUI by going to > > http://localhost:8080/users/?mode=interactive > > Click or add the first letter, then first two > letters, then the third > directory must exactly match the username. > > While you're editing the user.xml file, you can use > the password > editor to create a new password. There is no way to > retrieve the > password - it is stored as a hash in the XML file. > When user files > are automatically created (e.g. with CAS login), the > user is granted > permission to edit their own file (and thus their > email and > password), but if you create the files manually you > also have to > manually grant them write permission on their user > file (if they > should be able to change their password or email). > > > > > > > > Need to know the following as well > > > > If a approver login to the HC and clicks right top > > corner to update his details ( e.g email address). > > > > Shouldnt he gets an email when the author do some > > change to a existing file. (assume author is not > in > > the approve role). > > > > I changed the smtp properties, doent have any ldap > > configuration, but I was under the impression > still it > > should work as he has updated his profile. > > > > I did not change approvals.xml as it should send > mail > > to all the members of the approval group. > > > > Check the log for errors, and check the approval > workflow screen > which might show some errors on the task - click > more details a > couple of times to potentially get a stack trace. > > If you'd like to send your groups and permissions > xml files I'll have > a look at them as well. > > Cheers, > 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 > ____________________________________________________________________________________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.com |
From: Alex V. <al...@bi...> - 2006-11-16 03:36:57
|
On Nov 15, 2006, at 6:22 PM, tom tom wrote: > Hi, > > If someone decides to keep the existing login > mechanism instead of casifying the HC. How can we do > the following. > > How can we add new users to the HC. Also how can we > change the passwords of the existing users (e.g. > author) User files are stored in the bootstrap repository under the pattern / users/*/*/*/user.xml, broken up by the first two letters as such: /users/a/ad/admin/user.xml where admin is the username. You can add them in the GUI by going to http://localhost:8080/users/?mode=interactive Click or add the first letter, then first two letters, then the third directory must exactly match the username. While you're editing the user.xml file, you can use the password editor to create a new password. There is no way to retrieve the password - it is stored as a hash in the XML file. When user files are automatically created (e.g. with CAS login), the user is granted permission to edit their own file (and thus their email and password), but if you create the files manually you also have to manually grant them write permission on their user file (if they should be able to change their password or email). > > > Need to know the following as well > > If a approver login to the HC and clicks right top > corner to update his details ( e.g email address). > > Shouldnt he gets an email when the author do some > change to a existing file. (assume author is not in > the approve role). > > I changed the smtp properties, doent have any ldap > configuration, but I was under the impression still it > should work as he has updated his profile. > > I did not change approvals.xml as it should send mail > to all the members of the approval group. > Check the log for errors, and check the approval workflow screen which might show some errors on the task - click more details a couple of times to potentially get a stack trace. If you'd like to send your groups and permissions xml files I'll have a look at them as well. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-15 23:23:01
|
Hi, If someone decides to keep the existing login mechanism instead of casifying the HC. How can we do the following. How can we add new users to the HC. Also how can we change the passwords of the existing users (e.g. author) Need to know the following as well If a approver login to the HC and clicks right top corner to update his details ( e.g email address). Shouldnt he gets an email when the author do some change to a existing file. (assume author is not in the approve role). I changed the smtp properties, doent have any ldap configuration, but I was under the impression still it should work as he has updated his profile. I did not change approvals.xml as it should send mail to all the members of the approval group. Thanks, ____________________________________________________________________________________ Sponsored Link Don't quit your job - take classes online www.Classesusa.com |
From: Alex V. <al...@bi...> - 2006-11-15 18:05:03
|
Hi Carl, There are a couple of possibilities for reusing data across sites. =20 1) You can mount the course site repository in another site using a "moun= t" tag in the project definition of the site that wants to borrow the data, = below which you would just specify the filesystem-def for the course repository= . You could map it to "/courses/" or something, and then include "/courses/dir/file.xml" which would correspond to "/dir/file.xml" in the shared repository. 2) You could try including it using the special "hypercontent" url handle= r, e.g. include source=3D"hypercontent:/project-name/dir/file.xml" With option 1 you should also be able to include with * patterns, but not= with option 2, which will support only literal file locations. Cheers, Alex On Wed, 15 Nov 2006 15:25:09 -0000, Carl Barrow wrote=20 > Hi Alex,=20 > =20 > Reusing data in a site is done by using a number of xml included so tha= t you can use content from one page in another. Is there anyway that I could d= o the same thing across sites? So for instance, we could have a site that con= tains details of all courses here at the Uni. Then each departmental site could= use the course info from one central place.=20 > =20 > Also, It is possible to set a CSS which is accessible though tinyMCE i= n model-xml-tiny-mce.xsl Last time I did this it set the same CSS for all = the sites. Can I set a different CSS far each site? I notice that you=92ve a= dded an if statement around the CSS config line, but I=92m not sure just what th= at=92s used for.=20 > =20 > <xsl:if test=3D"$content-css">=20 > , content_css : "<xsl:value-of select=3D"concat($abs-project-base,$content-css)"/>"=20 > </xsl:if>=20 > =20 > =20 > Cheers=20 > Carl=20 > =20 > *************************************=20 > Carl Barrow=20 > Systems Integrator=20 > e-Services=20 > The University of Hull=20 > Cottingham Road=20 > Hull=20 > HU6 7RX=20 > Ext. 6838=20 > *************************************=20 > =20 |
From: Carl B. <C.P...@hu...> - 2006-11-15 15:25:30
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2006-11-15 14:25:07
|
On Nov 14, 2006, at 5:24 PM, tom tom wrote: > > How can we add folders (via HC screen), does HC always > expect to create the structure upfront and upload as a > zip file.? > There are two ways to add folders via the UI. If you define resource- directories or xml-doctypes with patterns like this: /docs/**/index.xml When you are prompted to name a new file, you are actually naming the new directory. You can also create a resource-directory with a pattern like /**/ And this will allow you to create a directory anywhere from the Add menu, without having to create a file inside of it. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-14 22:25:07
|
Yes, I already realized some problems with html(without xml/xsl approach). Now started looking into the sample zip file. How can we add folders (via HC screen), does HC always expect to create the structure upfront and upload as a zip file.? Just thinking ways to create the project structure incrementally via HC editing screens. Currently I create folders manually and insert files via HC screens. --- Alex Vigdor <al...@bi...> wrote: > > On Nov 13, 2006, at 9:04 PM, tom tom wrote: > > > I think I got lot of them in now. > > Only thing which is not working is image rendering > > which I described below. > > > > We do have a top level images folder (same level > as > > config) we got all the images there. We want to > refer > > to images as follows in the html > > <img src="images/testimage.jpg" /> > > > > but each time we save/build it adds '/' in front > as > > follows which prevents it from rendering > > <img src="/images/testimage.jpg" /> > > > > This image url does not content any project > specific > > detail. > > This problem will go away once you move to XML/XSL. > The XSL samples > that I provided all import a single "base.xsl" which > includes the > logic for fixing links and images so they will > render properly. > > Cheers, > Alex > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-11-14 15:38:19
|
On Nov 13, 2006, at 9:04 PM, tom tom wrote: > I think I got lot of them in now. > Only thing which is not working is image rendering > which I described below. > > We do have a top level images folder (same level as > config) we got all the images there. We want to refer > to images as follows in the html > <img src="images/testimage.jpg" /> > > but each time we save/build it adds '/' in front as > follows which prevents it from rendering > <img src="/images/testimage.jpg" /> > > This image url does not content any project specific > detail. This problem will go away once you move to XML/XSL. The XSL samples that I provided all import a single "base.xsl" which includes the logic for fixing links and images so they will render properly. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-14 02:04:09
|
Hi Alex , Thanks for the reply see my observations below > You are right that the authentication ticket is no > longer valid, but > you must not confuse authentication with session > management. CAS is > the authentication provider for uPortal and > HyperContent, but all > three have their own session management. Once > authenticated, CAS is > no longer consulted to verify that a user's session > with uPortal or > HC is still valid. The solution to this, "Single > Sign-off", would be > for CAS, when a user logs out, to notify all the > applications the > user has logged into. Only then could each and > every application > close its session for that individual. This does > not exist, but I > have seen discussion on the CAS list about it. Yes agree but I thought having mode=login (or command=Login) as the suffix for the HC link in uPortal would call the CAS and make sure the validity of the ticket irrespective of the session management. So in this case as we have called the cas logout from uPortal I thought CASLogin Module in HC would detect this(validity of the ticket). > > In addition to above I would like to know the > > following, > > because of the WebProxy limitation (to have no > head > > elements as uPortal renders it) How can we have a > css > > in Hypercontent and view the contents and ignore > it > > when publishing it. Reason for this is uPortal got > the > > css for the WebProxy but still authors would like > to > > see the styles within HC. Current project > definition > > which I got is very primitive and we only want to > work > > on htmls at the moment without any of the xml and > xsl > > stuff. > > This is another reason to consider the HyperContent > portlet, which > will automatically strip out the <head> tag and all > its contents, so > you can safely add the CSS in the head tag without > polluting the > portal. >I have a bunch of changes to check in on > the portlet later > this week, having added directory browsing and menus > for adding files > and tracking open files, and copying, deleting or > moving files. > I further experiment on this and included the our css file as follows in the html(student.html) in our HC as follows. <link href="student.css" rel= ..............type="text/css"> It works fine and shows the styles within the HC also it wont pollute the portlet (CWebproxy) as it anyhow ignores the head element of html in HC. We have the same css file in uPortal level as well. Yes my next step is go for the xml+xsl (hoping to refer to the zip uploaded by you) but before that I wanted everything to work end to end even with this primitive html centric approach. I think I got lot of them in now. Only thing which is not working is image rendering which I described below. We do have a top level images folder (same level as config) we got all the images there. We want to refer to images as follows in the html <img src="images/testimage.jpg" /> but each time we save/build it adds '/' in front as follows which prevents it from rendering <img src="/images/testimage.jpg" /> This image url does not content any project specific detail. ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-11-13 16:47:48
|
On Nov 13, 2006, at 12:44 AM, tom tom wrote: > Hi, > Thanks for the reply. > As both uPortal and HC govern by one cas ticket, I > thought calling cas logout via uPortal logout would > invalidate that ticket so that it will not be valid > for HC (currently the HC link in uPortal does not have > (command=Login or mode=login), anyhow I will read more > on that. You are right that the authentication ticket is no longer valid, but you must not confuse authentication with session management. CAS is the authentication provider for uPortal and HyperContent, but all three have their own session management. Once authenticated, CAS is no longer consulted to verify that a user's session with uPortal or HC is still valid. The solution to this, "Single Sign-off", would be for CAS, when a user logs out, to notify all the applications the user has logged into. Only then could each and every application close its session for that individual. This does not exist, but I have seen discussion on the CAS list about it. > > > I cant see any error, I did look into catalina.out and > cant find any errors it is just that HC redirect to > the CAS logout page(when I click logout in HC) but > realy not doing a CAS logout. Is there a HC log file > which I can see. The HC log file is called hypercontent.log, you can control its location in log4j.properties. The "service" parameter you pass to CAS is supposed to redirect from the CAS logout to the URL specified by "service", which should point to HyperContent's logout function. This in turn may redirect you to the CAS login screen if the HC page doesn't allow group:anybody to read. > > > In addition to above I would like to know the > following, > because of the WebProxy limitation (to have no head > elements as uPortal renders it) How can we have a css > in Hypercontent and view the contents and ignore it > when publishing it. Reason for this is uPortal got the > css for the WebProxy but still authors would like to > see the styles within HC. Current project definition > which I got is very primitive and we only want to work > on htmls at the moment without any of the xml and xsl > stuff. This is another reason to consider the HyperContent portlet, which will automatically strip out the <head> tag and all its contents, so you can safely add the CSS in the head tag without polluting the portal. I have a bunch of changes to check in on the portlet later this week, having added directory browsing and menus for adding files and tracking open files, and copying, deleting or moving files. > > see my project definition below for further details. > > > <cms-project> > <build > base-url="http://localhost:8080/hypercontent/my-project/build/"> --> it is not necessary to specify "base-url" if you want it to point to the built in HC web server, as you are doing here. Specify this only if you want to point to an external web server. > <filesystem-def name="Project build" type="local"> > <argument index="0" > value="/home/xxx/installations/buildHypercontent/"/> > </filesystem-def> > </build> > > <publish > base-url="http://localhost:8080/hypercontent/my-project/publish/"> --> see above > <filesystem-def name="Project publish" type="local"> > <argument index="0" > value="/home/xxx/installations/publishHypercontent/"/> > </filesystem-def> > </publish> > > <resource-directory create="manual" label="Html File" > path="/**/*.html" publish="true"> > <content type="text/html"/> > </resource-directory> > > <resource-directory create="manual" label="Image" > path="/**/*.jpg" publish="true"> > <content type="image/jpeg"/> > </resource-directory> > </cms-project Otherwise this looks fine, I would just encourage you to move towards XML files with XSL transformations to generate your markup. That will make it easier to automate things like CSS links. Cheers, Alex > > > > > --- Alex Vigdor <al...@bi...> wrote: > >> >> On Nov 12, 2006, at 5:43 PM, tom tom wrote: >> >>> Hi, >>> >>> I observed the following behaviour (defect ?) in >> HC >>> while doing the following. >>> >>> >>> HC is casified and working fine with CAS and >> uPortal. >>> Users login to uPortal via CAS and one of uPortal >>> channel got a link to HC. Look at the following >> use >>> case. >>> >>> 1) user 'AUTHOR_HC' login to uPortal via >>> CAS.(authentication is successful) >>> >>> 2)clicks HC link to edit content >>> >>> 3)HC opens in a new window with 'You are logged in >> as >>> AUTHOR_HC' >>> >>> 4) user edits contents and saves >>> >>> 5) closes the HC browser window (wihout pressing >>> logout link in HC). >>> >>> 6) user presses uPortal logout which in turn call >> the >>> cas/logout >>> >>> 7) Different user login to uPortal via CAS as >> user >>> 'APPOVER_HC' >>> >>> 8) click the HC link in uPortal, HC opens in a new >>> browser Window .............. >> >> This is the expected behavior. Logging out of >> uPortal and CAS does >> NOT terminate the browser's session with >> HyperContent. The user must >> close all browser windows for the session cookies to >> be cleared. >> This should be clearly conveyed to the user. Single >> Sign Out, the >> ability for the user to log out of CAS and all >> applications that use >> CAS for login, is a planned feature for a future CAS >> release. >> >>> >>> >>> But still it shows the previous users welcome >> message >>> which is 'You are logged in as AUTHOR_HC' >>> >>> Why doesnt the HC cleans out everything. Is this a >>> limitation? >>> Different users can use the same workstation in >> our >>> case. >>> >>> >>> Instead of above step 5,if the user presses the >> logout >>> in HC still problem remains the same. It does not >>> cleans out the users state. >> >> Check the log for errors. What screen does the user >> see after they >> click logout in HC? >> >> Cheers, >> Alex >> >> >> > ---------------------------------------------------------------------- > --- >> Using Tomcat but need to do more? Need to support >> web services, security? >> Get stuff done quickly with pre-integrated >> technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 >> based on Apache Geronimo >> > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________ > ______________ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail beta. > http://new.mail.yahoo.com > |
From: tom t. <j_l...@ya...> - 2006-11-13 05:44:37
|
Hi, Thanks for the reply. As both uPortal and HC govern by one cas ticket, I thought calling cas logout via uPortal logout would invalidate that ticket so that it will not be valid for HC (currently the HC link in uPortal does not have (command=Login or mode=login), anyhow I will read more on that. I cant see any error, I did look into catalina.out and cant find any errors it is just that HC redirect to the CAS logout page(when I click logout in HC) but realy not doing a CAS logout. Is there a HC log file which I can see. In addition to above I would like to know the following, because of the WebProxy limitation (to have no head elements as uPortal renders it) How can we have a css in Hypercontent and view the contents and ignore it when publishing it. Reason for this is uPortal got the css for the WebProxy but still authors would like to see the styles within HC. Current project definition which I got is very primitive and we only want to work on htmls at the moment without any of the xml and xsl stuff. see my project definition below for further details. <cms-project> <build base-url="http://localhost:8080/hypercontent/my-project/build/"> <filesystem-def name="Project build" type="local"> <argument index="0" value="/home/xxx/installations/buildHypercontent/"/> </filesystem-def> </build> <publish base-url="http://localhost:8080/hypercontent/my-project/publish/"> <filesystem-def name="Project publish" type="local"> <argument index="0" value="/home/xxx/installations/publishHypercontent/"/> </filesystem-def> </publish> <resource-directory create="manual" label="Html File" path="/**/*.html" publish="true"> <content type="text/html"/> </resource-directory> <resource-directory create="manual" label="Image" path="/**/*.jpg" publish="true"> <content type="image/jpeg"/> </resource-directory> </cms-project --- Alex Vigdor <al...@bi...> wrote: > > On Nov 12, 2006, at 5:43 PM, tom tom wrote: > > > Hi, > > > > I observed the following behaviour (defect ?) in > HC > > while doing the following. > > > > > > HC is casified and working fine with CAS and > uPortal. > > Users login to uPortal via CAS and one of uPortal > > channel got a link to HC. Look at the following > use > > case. > > > > 1) user 'AUTHOR_HC' login to uPortal via > > CAS.(authentication is successful) > > > > 2)clicks HC link to edit content > > > > 3)HC opens in a new window with 'You are logged in > as > > AUTHOR_HC' > > > > 4) user edits contents and saves > > > > 5) closes the HC browser window (wihout pressing > > logout link in HC). > > > > 6) user presses uPortal logout which in turn call > the > > cas/logout > > > > 7) Different user login to uPortal via CAS as > user > > 'APPOVER_HC' > > > > 8) click the HC link in uPortal, HC opens in a new > > browser Window .............. > > This is the expected behavior. Logging out of > uPortal and CAS does > NOT terminate the browser's session with > HyperContent. The user must > close all browser windows for the session cookies to > be cleared. > This should be clearly conveyed to the user. Single > Sign Out, the > ability for the user to log out of CAS and all > applications that use > CAS for login, is a planned feature for a future CAS > release. > > > > > > > But still it shows the previous users welcome > message > > which is 'You are logged in as AUTHOR_HC' > > > > Why doesnt the HC cleans out everything. Is this a > > limitation? > > Different users can use the same workstation in > our > > case. > > > > > > Instead of above step 5,if the user presses the > logout > > in HC still problem remains the same. It does not > > cleans out the users state. > > Check the log for errors. What screen does the user > see after they > click logout in HC? > > Cheers, > Alex > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-11-12 23:33:03
|
On Nov 12, 2006, at 5:43 PM, tom tom wrote: > Hi, > > I observed the following behaviour (defect ?) in HC > while doing the following. > > > HC is casified and working fine with CAS and uPortal. > Users login to uPortal via CAS and one of uPortal > channel got a link to HC. Look at the following use > case. > > 1) user 'AUTHOR_HC' login to uPortal via > CAS.(authentication is successful) > > 2)clicks HC link to edit content > > 3)HC opens in a new window with 'You are logged in as > AUTHOR_HC' > > 4) user edits contents and saves > > 5) closes the HC browser window (wihout pressing > logout link in HC). > > 6) user presses uPortal logout which in turn call the > cas/logout > > 7) Different user login to uPortal via CAS as user > 'APPOVER_HC' > > 8) click the HC link in uPortal, HC opens in a new > browser Window .............. This is the expected behavior. Logging out of uPortal and CAS does NOT terminate the browser's session with HyperContent. The user must close all browser windows for the session cookies to be cleared. This should be clearly conveyed to the user. Single Sign Out, the ability for the user to log out of CAS and all applications that use CAS for login, is a planned feature for a future CAS release. > > > But still it shows the previous users welcome message > which is 'You are logged in as AUTHOR_HC' > > Why doesnt the HC cleans out everything. Is this a > limitation? > Different users can use the same workstation in our > case. > > > Instead of above step 5,if the user presses the logout > in HC still problem remains the same. It does not > cleans out the users state. Check the log for errors. What screen does the user see after they click logout in HC? Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-12 22:43:55
|
Hi, I observed the following behaviour (defect ?) in HC while doing the following. HC is casified and working fine with CAS and uPortal. Users login to uPortal via CAS and one of uPortal channel got a link to HC. Look at the following use case. 1) user 'AUTHOR_HC' login to uPortal via CAS.(authentication is successful) 2)clicks HC link to edit content 3)HC opens in a new window with 'You are logged in as AUTHOR_HC' 4) user edits contents and saves 5) closes the HC browser window (wihout pressing logout link in HC). 6) user presses uPortal logout which in turn call the cas/logout 7) Different user login to uPortal via CAS as user 'APPOVER_HC' 8) click the HC link in uPortal, HC opens in a new browser Window .............. But still it shows the previous users welcome message which is 'You are logged in as AUTHOR_HC' Why doesnt the HC cleans out everything. Is this a limitation? Different users can use the same workstation in our case. Instead of above step 5,if the user presses the logout in HC still problem remains the same. It does not cleans out the users state. in pipleline.xml I changed the logout as follows. <pipeline name="logout" mode="logout" basedir="/" content-type="text/html" binding="all"> <exec stage="org.hypercontent.project.engine.stage.SessionAttributeStage"> <with-param name="name" value="service"/> <with-param name="value" value="${abs-project-base}${request-path}%3f${request-parms-encoded}%26command%3DLogout"/> </exec> <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> <with-param name="location" value="https://localhost:8443/cas/logout?service=${service}"/> </exec> </pipeline> ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-11-09 16:30:44
|
On Thu, 09 Nov 2006 09:21:32 -0500, Adam Carl wrote > Just to clarify that will prevent the > system from deleting any files even ones that were created in > hypercontent and were subsequently deleted? Yes that's right. It's the least preferable option, but as you said it may be your best for now. Alex |
From: Adam C. <ac...@co...> - 2006-11-09 14:21:54
|
Alex, I tried locking down the permissions at the OS Level and that didn't work. Ignore-directory didn't work either. The fact that they are links seems to be the problem. I didn't think about changing delete to equal false. I guess that is my best option for now. Just to clarify that will prevent the system from deleting any files even ones that were created in hypercontent and were subsequently deleted? Adam On 11/9/06 8:57 AM, "Alex Vigdor" <al...@bi...> wrote: > Hi Adam, > You can either try to lock down the permissions at the OS level so > the HC process can't delete the links, use an "ignore-directory" tag > in the project definition to tell HC to leave it alone, or set > delete=false in the publish script. Are you having trouble with any > of those usual approaches because its a link and not a normal directory? > > Alex > > On Nov 9, 2006, at 8:43 AM, Adam Carl wrote: > >> Alex, >> >> Is there a way to get Hypercontent to publish to a directory and >> not delete >> the softlinks which are located in the top most directory? >> >> For example we publish to /www/htdocs and there are some existing >> soft links >> which get erased. DVMM -> /homes/dvmmweb/public_html/dvmm >> >> Adam >> >> >> ---------------------------------------------------------------------- >> --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <al...@bi...> - 2006-11-09 13:58:10
|
Hi Adam, You can either try to lock down the permissions at the OS level so the HC process can't delete the links, use an "ignore-directory" tag in the project definition to tell HC to leave it alone, or set delete=false in the publish script. Are you having trouble with any of those usual approaches because its a link and not a normal directory? Alex On Nov 9, 2006, at 8:43 AM, Adam Carl wrote: > Alex, > > Is there a way to get Hypercontent to publish to a directory and > not delete > the softlinks which are located in the top most directory? > > For example we publish to /www/htdocs and there are some existing > soft links > which get erased. DVMM -> /homes/dvmmweb/public_html/dvmm > > Adam > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |