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:
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
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:
> >
> >
> >
>
Is there any standard stylesheet to convert html to wml?
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?
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
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
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
Is it possible to retrieve parameters passed in the url (through query strings) using cocoon?
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?
> >
>
>
>
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?
> > >
&
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:/
In cocoon webmail example where does the authentication take place?
Which file actually performs the authentication?
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
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
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
Is it possible to submit values from an xsp,
like submitting from a form?
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
>
>
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.
>
> >
> >
> >
> >
> > 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
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?
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.
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
How can dynamic xml forms be generated using xsp?
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.
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
How can global variables be declared in xsp?
Also how can objects declared in one xsp be accessed in another?
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
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?
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'
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
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()
{
is it possible to write a jsp file in flowscript ?
If not what is the way to use jsp?
how can jsp ne included in cocoon?
how can the jsp file be read?
Is it possible to declare array of Strings in xsp?
Like String []cmd ;
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
how can strings be compared in xsp?
is it possible to do
if(s.equals(\"string\"))
{
}
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?
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?
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
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
Using xsl is it possible to read from a text file and display the text?
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.
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?
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:
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
Can cocoon be used as a webserver ie like tomcat?
can itbe used insteadof tomcat ?
Using browser selection , what types of browsers which can be detected?
Is it possible to detect XHTML and WML browsers?
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 ??
is it possible to take an html page as input and serialize it to get anXHTML as output without using any transform ?
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?
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?
is it possible to include php in xsl ?
like...
class=datefont>
Is it possible to display the current date and time using XSL ?
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])
is it possible to do a php include in XSL.
I want to do somethinglike
include('/projects/www/templates/sites/home/slots/stockpda.html');?>>
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
Yes it works now. I didnt declare it in my XSL previosly.
hi,
is it possible to execute an XSP code without calling through acocoon generator ?
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
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
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)
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
Thanks, it works now.
i copied the new driver to WEB-INF/lib directoryand renamed it.
Can someone tell me where Bernhard Huber is??
i need help on cocoonwebmail
How can values posted from a HTML page be retrieved from an XSP?
thanks
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
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
hi ,
Is it possible to parse excel files using cocoon?
can someonedirect me to some links about how to do this ?
regards,
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
dear sir,
Is this job offer only for people from germany or for othercoutries also ?
regards
Smith
71 matches
Mail list logo