Re: How to play video files?[solved]

2006-04-05 Thread Fadi Qutaishat
Many thanks for all of you. I have just solved the problem. I have converted the file type from mpeg to rm then I have tried playing file and it was working. I do not know why the mpeg mime-type could not be played although I have checked the web.xml in the conf directory of tomcat and it was

How to play video files?

2006-04-04 Thread Fadi Qutaishat
Hi all, I have got a simple question: Is this the right way to play video files within cocoon environment: Inside the XML file: doc ... ... a href=vidmsani.mpegplay video/a ... /doc For the sitemap: ... ... map:match pattern=*.mpeg map:read mime-type=video/mpeg src=prototype/{1}.mpeg/

Re: How to play video files?

2006-04-04 Thread Fadi Qutaishat
Hello, Many thanks for the reply. The XML file that I provided is the resource that contains text and Images that are transformed into HTML formats using XSLT file. It was just yesterday I wanted to add a link leads to open a video inside the XML file. As you said it is only a static content

How to play videos

2006-04-03 Thread Fadi Qutaishat
Hello all, I have got a simple question: Is this the right way to play video files within cocoon environment: Inside the XML file: doc ... ... a href=vidmsani.mpegplay video/a ... /doc For the sitemap: ... ... map:match pattern=*.mpeg map:read mime-type=video/mpeg src=prototype/{1}.mpeg/

Re: Maintain the state of visited links

2005-11-29 Thread Fadi Qutaishat
Thank you Upayavira for the response, Do you think the encodeURL transformer would help me? Regards, Fadi __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

Re: Maintain the state of visited links

2005-11-29 Thread Fadi Qutaishat
Many thanks Christoph, It seems a nice idea I will try it out. Regards, Fadi __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs - To

Maintain the state of visited links

2005-11-28 Thread Fadi Qutaishat
Hi all, I have got the following problem: I have two sets of links the first one is a table of contents links and the second one is a personalisation links which leads to a form to change the font size, background colours etc. When I click one of the table of contents links, the colour of this

MySQL error on cocoon - please could some one help!

2005-06-28 Thread Fadi Qutaishat
Hi all, I am using the MySQL version 4.0.3 and Cocoon 2.1.6. In my application when it comes to update the database after accessing a link I got the following error: Syntax error or access violation message from server: you have an error in your SQL syntax. Check the manual that corresponds to

Re: MySQL error on cocoon - please could some one help!

2005-06-28 Thread Fadi Qutaishat
Hi, I have tried to drop the qoutes but still get the same error :( I am using the paginator transfomer and each time the next link is followed the a value in the database should be updated. Does this frequent usage cause the problem ? Regards, Fadi

Using variables inside the authentication session

2005-06-27 Thread Fadi Qutaishat
Hi all, Is it possible to use variables inside the authentication session, e.g. xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; ... ... user xmlns:session=http://apache.org/cocoon/session/1.0; session:setxml context=authentication

Re: Using variables inside the authentication session

2005-06-27 Thread Fadi Qutaishat
I used the curley brackets around the variable and it has worked fine! user xmlns:session=http://apache.org/cocoon/session/1.0; session:setxml context=authentication path=authentication/data/{$knowledge}1/session:setxml /user Fadi

Cocoon's books

2005-06-16 Thread Fadi Qutaishat
Hi all, Just I am wondering if there are any plans to publish books about new cocoon?s concept e.g. Continuation, flowscript, Cforms, etc. ? I have noticed some books have been published, but unfortunately not in English. Regards, Fadi __ Do

RE: Cocoon's books

2005-06-16 Thread Fadi Qutaishat
Hi Roberto, I was wrong, the new book will be published on September. Take a look on this link http://www.codeconsult.ch/bertrand/archives/000478.html __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs

Re: Cocoon's books

2005-06-16 Thread Fadi Qutaishat
Hi, As far as I remember it was in German language, actually I read this on one of the guys website I can not remember his name, I have tried to look for this website?s link but I could not find it. Sorry for not providing enough information. Regards, Fadi

RE: Cocoon's books

2005-06-16 Thread Fadi Qutaishat
Hi, What about books in English? any plans for publishing new cocoon's books in English? Regards, Fadi __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Paginator transformer [a big need for help]

2005-06-02 Thread fadi qutaishat
Hi all, First of all my apologies for asking many questions about the same problem, but I am really in a big need for help. I have used the paginator transformer on a test files and it was perfectly appropriate to my problem which was dividing the long HTML pages. The pipeline was something

Dynamic use of filter transformer

2005-05-31 Thread fadi qutaishat
HI All, I posted this quesion a week ago but I did not get any response, here it is again, it would be appreciated if anyone has an idea: I have got a long HTML page generated from a pipeline. My problem is that I do not want to view all content at once (because it is too long). I have used the

Filter transformer question

2005-05-26 Thread fadi qutaishat
Hi all, I have got a long HTML page generated from a pipeline. My problem is that I do not want to view all content at once (because it is too long). I have used the filter transformer which was great since it helped in dividing the content into blocks and then I could choose the appropriate

changes are not reflected in the XML resources

2005-05-23 Thread fadi qutaishat
Hi all, I have posted a question few days ago but I have got no response. Anyway, I have attached it again in case if anyone has had the same problem: I have got a problem in that cocoon always keeps the old version of my XML files, some times I do need to make some changes in some XML resources

changes are not taking place in XML files

2005-05-19 Thread fadi qutaishat
Hi all, I have got a problem in that cocoon always keeps the old version of my XML files, some times I do need to make some changes in some XML resources but these changes are not reflected unless I restart the operating system (Windows XP). I do make sure that every time I do a change that I

Is that possible in cocoon?

2005-04-15 Thread fadi qutaishat
Hi all, I was thinking if how could I know pages that has been visited by the user, is there any log files mechanism in cocoon e.g. log file if so, is there away of making the use of such data e.g. making some statistics to know the most visited pages. Also is there a way to know what pages

encodeURL tarnsformer question

2005-04-11 Thread fadi qutaishat
Hi all, I might be asking a basic question but that due to my basic knowledge in cocoon. I am having a problem in understanding how should I use the encodeURL transformer. According to the cocoon’s documentation I have added the following lines under the encodeURL in the component section

Example required

2005-04-07 Thread fadi qutaishat
Hi, I have reached to a point where I need to give the user the ability to change his information inside the session, I have been looking at the Authentication fw in particulate at "changing information of a user". after reading it many times I am getting confused how should I define the

having a session data as parameters

2005-04-06 Thread fadi qutaishat
Hi all, Is it possible to take the session data and put them inside a parameters tags Is it possible to do something like: ?xml version="1.0"? xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:session="http://apache.org/cocoon/session/1.0" xsl:param

Could some help in this!

2005-04-05 Thread fadi qutaishat
Hi all, I have the following situation : map:pipeline map:match pattern="login" map:generate src=""/ map:transform src="" map:parameter name="use-request-parameters" value="true"/ /map:transform map:transform type="sql" map:parameter name="use-connection" value="newdb"/ /map:transform

Re: Could some help in this! - Thanks Phil

2005-04-05 Thread fadi qutaishat
Thanks Phil, As you saidI want to display the login page first thencreating the session. Actually I was trying to avoid using the Authentication fwbut it seems it catches me every time !!!. Many thanks again. Fadi Do you Yahoo!? Better first dates. More second dates. Yahoo! Personals

[Solved]Please could some one advise me on this!

2005-04-04 Thread fadi qutaishat
Hi, I thinks I was missing the session namespace in loadxml context="dbtrackdemo"/ so I haveput it like session:loadxml context="dbtrackdemo"/ it is working fine now :) Regards, Fadi __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best

Re: Please could some one advise me on this!

2005-04-04 Thread fadi qutaishat
Many thanks Joachim I have finally realized that I have forgotten to add the session namespace. Regards, Fadi Yahoo! Messenger Show us what our next emoticon should look like. Join the fun.

How can a resource be called automatically in cocoon

2005-04-04 Thread fadi qutaishat
Hi all, I am a bit embraced from sending many questions today!!!, anyway here is my question: I have the following pipeline: map:pipeline map:match pattern="login" map:generate src=""/ map:transform src="" map:parameter name="use-request-parameters" value="true"/ /map:transform

session example

2005-04-04 Thread fadi qutaishat
Hi all , I think I getting confused in suing the cocoon session. I think I am not clear with defining the right configuration for a session inside a pipeline. Please could some one send me an example on how to use and configure a session in a pipeline, it would be great if the example uses the

Working with Cocoon2.1.6 session

2005-04-01 Thread fadi qutaishat
Hi all, I might be asking a very basic question but I really have tried the things out before posting this question. I want to create a cocoon session which basically loads the XML data from MySQL so I have done the following: I have created myfirstsession1.xml which contains resource

Images in Cocoon 2.1.6

2005-03-07 Thread fadi qutaishat
Hi, I am trying to view some images in Cocoon but it does not work. When I try the files (XML and XSL) outside the Cocoon environment it work fine (i.e. the image is displayed on the browser) The XML file is like: ?xml version="1.0"? ?xml:stylesheet type="text/xsl" href=""? !--I disable the

using CSS in Cocoon

2005-02-25 Thread fadi qutaishat
Hi, I want to use the Cascading Stylesheet (CSS) in Cocoon, I do not know how to integrate a CSS file in Cocoon. Can any one give advice or point me to relevant links . Many thanks, Fadi __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best

closing db connection

2005-02-17 Thread fadi qutaishat
Hi all, After having a lot of troubles in doing the configurations I have managed to establish the connection from cocoon to MySQL db. I have used the latest JDK version which is J2sdk1.4.2_07 and Cocoon version 2.1.6 and Tomcat version 4.0.6. I have used a simple XML file that contains SQL

Using MySQL database

2005-02-11 Thread fadi qutaishat
Hi, I am about using MySQL database in Cocoon, My question is,are there any configurations should I do before using the MySQL DB? I am using the Cocoon version 2.0.4 Many thanks, Fadi Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.

JAVA or PHP

2005-02-07 Thread fadi qutaishat
Hi all, My name is Fadi, I have newly subscribed to the list ! My problem is that I have learnt Cocoon’s basics and my current research project requires the system that I am working on to have more advanced features. I have read that one way to extends the Cocoon’s capabilities is to write

Brief on background

2005-02-07 Thread fadi qutaishat
Hi, Thank you all for replying to me :), and for Antonio GallardoI hope this would explain my background. My name is Fadi Qutaishat I am a PhD student at Loughborough University inthe UK. Concisely, My PhD project investigates how the informationpersonalization could be useful in the health