using urls in map:generate

2004-08-04 Thread Adriano Smith
is it possible to use something like this in the sitemap? im trying to convert the html page (in the url) to a wml page. However on execution i get the error: Content is not allowed in prolog. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: http://x.com/yyy.html:

wml serialize

2004-08-04 Thread Adriano Smith
I have a pipeline which contains the following: However when i view the source code of the file being generated , i find that there is no wml tag. Is it necessary to use a stylesheet?? Is it not enough to use serialize type=wml to generate wml content? regds, smith

Re: wml serialize

2004-08-04 Thread Adriano Smith
If i have to use a transform for generating wml content...then, what is the exact use of a wml serializer ? Quoting [EMAIL PROTECTED]: > Quoting Adriano Smith <[EMAIL PROTECTED]>: > > > I have a pipeline which contains the following: > > > > > > >

xsl to convert html to wml

2004-08-05 Thread Adriano Smith
Is there any standard stylesheet to convert html to wml?

Convert text to wml

2004-08-06 Thread Adriano Smith
i recieve a file in text format from a certain url. The file has no tags at all. How can this text be output in wml format? Can xsl be used to read a text file without tags? Is using a wml serializer enough to give the output in wml format?

Re: Convert text to wml

2004-08-06 Thread Adriano Smith
Is there any generator which will add just 2 tags, one in the beginning and another in the end of the text ?? Quoting [EMAIL PROTECTED]: > Remember that a generator (start of match in a pipeline) > is expected to produce a "stream" of XML - if your text > file has no tags at all you will need

wml output from text input.

2004-08-06 Thread Adriano Smith
is there any way to generate an xml file using xsp? This is the problem: This is my pipeline: i recieve the input from the url http://abc.com//xyz.html This is just plain text with no tags. eg " hello world" Now i want "hello world" to be in wml format, so i used an xsl transformer

slop generator

2004-08-06 Thread Adriano Smith
what does the slop generator do? after using a slop generator with the text i find that a lot of unnecessary tags are inserted like: hello . .. my text "hello" is within the first tag. How can this be retrieved using xsl? i tried something like : but cudnt retrieve. how can

Url

2004-08-09 Thread Adriano Smith
Is it possible to retrieve parameters passed in the url (through query strings) using cocoon?

Re: Url

2004-08-09 Thread Adriano Smith
if i have a url http://mailxx.com/uid?pwd?key can uid, pwd and key be accessed using ? Quoting [EMAIL PROTECTED]: > Adriano Smith wrote: > > Is it possible to retrieve parameters passed in the url (through query > > > strings) using cocoon? > > > > >

Re: Url

2004-08-10 Thread Adriano Smith
wd?key > can uid, pwd and key be accessed using > > ? > > > > Quoting [EMAIL PROTECTED]: > > > Adriano Smith wrote: > > > Is it possible to retrieve parameters passed in the url (through > query > > > > > strings) using cocoon? > > > &

Re: Url

2004-08-10 Thread Adriano Smith
ot;/> > > > (not sure about the mime type) > or if you want to do something with the file : > > > src=""/> > > > > > -- > Olivier Billard > > > > Adriano Smith wrote: > > For the url: > http:/

cocoon webmail

2004-08-11 Thread Adriano Smith
In cocoon webmail example where does the authentication take place? Which file actually performs the authentication?

cocoon webmail

2004-08-15 Thread Adriano Smith
In cocoon webmail where does the authentication actually take place? ie which file is responsible for authentication? Where are the user id and password stored? Is it possible to obtain the user id and password from a query string parameter and perform authentication? eg i get the user id and pas

webmail

2004-08-16 Thread Adriano Smith
In cocoon webmail where does the authentication actually take place? ie which file is responsible for authentication? Where are the user id and password stored? Is it possible to obtain the user id and password from a query string parameter and perform authentication? eg i get the user id and pas

xsp submit

2004-08-17 Thread Adriano Smith
i have a form login.xml where user id and password are entered in text boxes and stored and submitted. The code for the xml is given below. Username Password Now in another case i try to obtain the same values from url as query string instead o

submit from xsp

2004-08-18 Thread Adriano Smith
Is it possible to submit values from an xsp, like submitting from a form?

RE: submit from xsp

2004-08-18 Thread Adriano Smith
eviously using wml. Smith. Quoting [EMAIL PROTECTED]: > please explain in more detail your question !! > > -Original Message- > From: Adriano Smith [mailto:[EMAIL PROTECTED] > Sent: 18 August, 2004 10:27 > To: [EMAIL PROTECTED] > Subject: submit from xsp > >

RE: submit from xsp

2004-08-18 Thread Adriano Smith
t; as url parameters > ie http://xxx/mail/login?uid=user&pwd=pass > > I use an xsp to read the values. > String userid=request.getParameter("uid"); > > Now is it possible to post the value userid to the next page ? > ie like how it is done previously using wml. >

RE: submit from xsp

2004-08-18 Thread Adriano Smith
> > > > > > > > > > A style sheet is used to convert the above xml to wml and post the > > values when the submit button is clicked. > > > > > > > > However if the values are not entered in the input boxes and > pa

Variable name

2004-08-18 Thread Adriano Smith
Is there any way i can use variable names with a hyphen in Flowscript? something like var mail-user="hello"; I get an error when i tried this. Or is it possible to use the same in XSP?

Post automatically

2004-08-19 Thread Adriano Smith
I retrieve 2 parameters from a url using xsp request. is there any way to post these 2 parameters to the next url automatically without having a submit button ? ie the url http://xxx?x=3&y=4 should automatically direct to a page where the values of x and y will be posted.

Re: Post automatically

2004-08-19 Thread Adriano Smith
In handle_page.xsp i will read the parameters and pass it to another url.How can this be specified in handle_pag.xsp ie redirecting to another url, which will have a pipeline match pattern (containing my_next_page.xsp as generator). Also why have you given transform as page2html.xsl? Can it be som

xml frm XSP

2004-08-19 Thread Adriano Smith
How can dynamic xml forms be generated using xsp?

Re: Post automatically

2004-08-20 Thread Adriano Smith
well i guess u r rightim stuck... This is the actual problem: Im trying to modify the cocoon webmail application developed by Bernhard huber. The only difference being...the first page login.xml. In the existing application input boxes are used to accept username and password. the file login.

Re: Post automatically

2004-08-22 Thread Adriano Smith
Quoting [EMAIL PROTECTED]: > (its stilll not clear what you want to actually do with the > login info so I am not sure what option best suits...) This is what i do with the login info: 1) The login info is posted to the url mail/mail.wml. 2) The pipeline match for the url calls the action "mail

Global variables

2004-08-23 Thread Adriano Smith
How can global variables be declared in xsp? Also how can objects declared in one xsp be accessed in another?

RE: Global variables

2004-08-23 Thread Adriano Smith
ble > Session session = request.getSession(); > session.setAttribute(\"mytitle\", title); > > in xsp where you want to use object/variable > Session session = request.getSession(); > String title = (String)session.getAttrib

XSP/output

2004-08-24 Thread Adriano Smith
If a System.out.println(\"\") is given in an XSP where will the output be seen? The java console does not print it. How can the output be seen in java console?

xsp call url

2004-08-25 Thread Adriano Smith
i have a file read.xsp which is called for the url http://xx/mail?key=login&ud=user&pwd=pass ie read.xsp is the generator. 3 parameters are passed in the url. Now from the xsp, is it possible to redirect to another url based on the value of parameter 'key'. However the parameters 'ud' and 'pwd'

Re: xsp call url

2004-08-25 Thread Adriano Smith
In this case i cannot change the input. ie the parameters are passed from the url and it contains the keyword along with 2 other parameters. The keyword can be login,read,reply,send etc... Therefore the only access i have to the keyword is through the url. So i do something like or

Re: Jar files

2004-08-26 Thread Adriano Smith
The directory is cocoon/build/webapp/WEB-INF/lib However i get the error \"Send cannot be resolved or is not a type\" Send s = new Send(); Also the following error is seen when trying to call another method from a method in XSP. The xsp is like this.. . public String method1() {

jsp

2004-08-29 Thread Adriano Smith
is it possible to write a jsp file in flowscript ? If not what is the way to use jsp?

jsp in cocoon

2004-08-30 Thread Adriano Smith
how can jsp ne included in cocoon? how can the jsp file be read?

String array in xsp

2004-08-31 Thread Adriano Smith
Is it possible to declare array of Strings in xsp? Like String []cmd ;

jar in xsp

2004-08-31 Thread Adriano Smith
i have a jar sm.jar which is in WEB-INF/lib directory. It has com/sf/database/Mydb.class However i get an error in the logs: java.lang.NoClassDefFoundError: Mydb In my xsp i have the statement com.sf.database.* The statement below, however, gives the error: com.sf.database.Mydb db= new com.s

comparing strings in xsp

2004-09-01 Thread Adriano Smith
how can strings be compared in xsp? is it possible to do if(s.equals(\"string\")) { }

Timer

2004-09-07 Thread Adriano Smith
Is it possible to call a url after a certain time interval using cocoon? eg the url http://xxx/mail/in should be called every 3 minutes. is this possible?

HTMLParser

2004-09-07 Thread Adriano Smith
Is there any html parser in cocoon that can strip a html page of all the tags and return only text content? I want to read a mail, and print only the text contents and avoid all the html content. how can this be done?

remove html tags

2004-09-16 Thread Adriano Smith
i use javamail api in an xsp to read mails. i use the below statement to ignore html tags in mails. String noHTMLString = temp.replaceAll(\"<.*?>\",\"\"); However the following error is seen... org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.xml.sax.SAXException

special characters

2004-09-21 Thread Adriano Smith
When passing values as url parameters is it possible to pass specialcharacters such as & , + and #? for example theurl http://xxx/mail?key=keyvalue&name=something how can specialcharacters such as &,# and + be included in the keyvalue? im not able touse them as they are considered as delimiters

xsl

2004-10-12 Thread Adriano Smith
Using xsl is it possible to read from a text file and display the text?

Exception

2004-10-05 Thread Adriano Smith
What does this exception mean? LanguageException org.apache.cocoon.ProcessingException: Language Exception:org.apache.cocoon.components.language.LanguageException: Could not loadclass for program 'org/apache/cocoon/www/sms/xsp/login_xsp' due to ajava.lang.ClassNotFoundException:org.apache.cocoon.

cocoon version

2004-11-01 Thread Adriano Smith
what is the latest version of cocoon? im using cocoon 2.1.3. is itnecessary to upgrade to the latest version? what are the major changesin the newer versions?

XML error.

2004-11-11 Thread Adriano Smith
Title: xx.com News I have an XSL to generate an XML. However the following error wasseen. What does this error mean?? Only one top level element isallowed in an XML document. Line 6, Position 6 xmlns:dc="http://purl.org/dc/elements/1.1/"version="2.0"> -^ The XSL i used is givenbelow:

Re: XML error.

2004-11-12 Thread Adriano Smith
what is the > possiblesolution?? > > Quoting [EMAIL PROTECTED]: > >> Adriano >Smith writes: >> I have an XSL to generate an XML. However the >following error was seen. >> >> What does this error mean?? >>Only > one > top level element is allowed i

web server

2005-01-04 Thread Adriano Smith
Can cocoon be used as a webserver ie like tomcat? can itbe used insteadof tomcat ?

Browser selection

2005-01-05 Thread Adriano Smith
Using browser selection , what types of browsers which can be detected? Is it possible to detect XHTML and WML browsers?

PDA page

2005-01-05 Thread Adriano Smith
I plan to have a wap page and a PDA page for my site. What are theadvantages or disadvantages of using cocoon for this purpose ??

html to xhtml

2005-01-05 Thread Adriano Smith
is it possible to take an html page as input and serialize it to get anXHTML as output without using any transform ?

Re: html to xhtml

2005-01-06 Thread Adriano Smith
I used a html generator to call a html page and then used an xhtmlserializer. However i get this error. src=""/> /> Open quote is expected for attribute "name"associated with an element type "meta". The html page is a validhtml. why is this error seen?

html to xhtml

2005-01-06 Thread Adriano Smith
I used a html generator to call a html page and then used an xhtmlserializer. However i get this error. src=""/> /> Open quote is expected for attribute "name"associated with an element type "meta". The html page is a validhtml. why is this error seen?

php in XSL

2005-01-10 Thread Adriano Smith
is it possible to include php in xsl ? like... class=datefont>

date in XSL

2005-01-10 Thread Adriano Smith
Is it possible to display the current date and time using XSL ?

RE: date in XSL

2005-01-10 Thread Adriano Smith
i used the date input module in the sitemap, but i get thiserror. org.apache.avalon.framework.component.ComponentException:input-modules: ComponentSelector could not find the component for hint[Date] (key [Date])

RE: php in XSL

2005-01-11 Thread Adriano Smith
is it possible to do a php include in XSL. I want to do somethinglike include('/projects/www/templates/sites/home/slots/stockpda.html');?>>

RE: php in XSL

2005-01-11 Thread Adriano Smith
Here is the detail, Actually ,what i want to do is call a html slotfrom an XSL. I have an XSL which generates a html. And i want toinclude an html inside the XSL. http://swtx/stoc.html stoc.html is generated by aperl script. How can i call this html slot from my XSL? re

RE: date in XSL

2005-01-12 Thread Adriano Smith
Yes it works now. I didnt declare it in my XSL previosly.

XSP

2005-01-25 Thread Adriano Smith
hi, is it possible to execute an XSP code without calling through acocoon generator ?

mysql error

2005-02-01 Thread Adriano Smith
I get the error when i try to make a connection to aDB. java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver whatis the possible cause of this ? Do i need to have the classpathpointing to some driver? where r the drivers usually incocoon? regds smith

wml doctype

2005-03-07 Thread Adriano Smith
is it compulsory to have the doctype and xml version for a wmlpage? WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> if i try toignore the above declaration in the wml page and validate the wml in awml validator there is no error. However an error occurs if i includethe above lines in the

mysql problem

2005-04-01 Thread Adriano Smith
hi, i get the following exception when trying to connect to mysql dbusingjdbc. java.lang.AbstractMethodError: org.gjt.mm.mysql.Connection.createStatement(II)Ljava/sql/Statement; This error is seen only when iuse stmt =con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY)

Re: mysql problem

2005-04-01 Thread Adriano Smith
Do i neeed to load the new driver in WEB-INF/lib directory?? Are thereany other changes to be made after loading the driver? Im usingcocoon-2.1.3 thanks

Re: mysql problem

2005-04-03 Thread Adriano Smith
Thanks, it works now. i copied the new driver to WEB-INF/lib directoryand renamed it.

webmail cocoon

2005-04-20 Thread Adriano Smith
Can someone tell me where Bernhard Huber is?? i need help on cocoonwebmail

simple question XSP

2005-04-29 Thread Adriano Smith
How can values posted from a HTML page be retrieved from an XSP? thanks Smith

cocoon shutdown

2005-05-09 Thread Adriano Smith
hi, i have cocoon installed and running in a solaris box. Recently ifound that it has been shutting down frequently. which of the logfiles should be checked to see the cause for the error? thanks smith

cocoon exception

2005-05-09 Thread Adriano Smith
hi, I keep getting this error in cocoon logs. Can someone pleasethrow light on the cause of this error : I have no clue why suddenlyit has started coming. Also, When this exception is seen i find thatiam not able to browse apache cocoon through the browser, but i findthat the cocoon process is r

Parsing Excel files

2005-05-31 Thread Adriano Smith
hi , Is it possible to parse excel files using cocoon? can someonedirect me to some links about how to do this ? regards, Smith.

compiling php

2005-06-30 Thread Adriano Smith
If a php file is called in the pipeline as a generator will the file becompiled or just displayed as it is? is it possible to mention somwhwrethat the php is to be compiled and executed. i wish to call a php filethro cocoon pipleline. if it is called normally outside cocoon itcompiles. regds, smit

Re: Job Offer

2005-08-02 Thread Adriano Smith
dear sir, Is this job offer only for people from germany or for othercoutries also ? regards Smith