When something wrong occurs (example: connection pull to database is
full / my fault when i don't close sessions correctly with hibernate),
cocoon is sometimes not responding. I'd like to know how to render a 404
or 503 instead.
Should i change something on cocoon itself? on the tomcat conne
Using HtmlGenerator, you get HTML pages transformed in XHTML, then you
can manipulate them with XSL transformations.
Phil
Saliya Ekanayake wrote:
Hi,
I'm trying to implement a HTML screen scraper and I heard that cocoon
can be
used for this. Can anybody point me to a good link regarding thi
I guess it is not possible to configure that in the html transformer?
Phil
Torsten Curdt wrote:
On 15.01.2007, at 07:38, Bertrand Delacretaz wrote:
On 1/14/07, philguillard <[EMAIL PROTECTED]> wrote:
... Anybody any idea? Is there a way to call jtidy to convert a
string in java?...
Thanks a lot for this quick response.
Phil
Steven D. Majewski wrote:
On Jan 14, 2007, at 2:45 PM, philguillard wrote:
Hi,
I'd like to convert html code to xhtml, but that code is coming from
database, i know to use html generator -thus jtidy-, but this time it
is not a html file t
Hi,
I'd like to convert html code to xhtml, but that code is coming from
database, i know to use html generator -thus jtidy-, but this time it is
not a html file that i download, and i can't call a generator for each
database field.
Anybody any idea? Is there a way to call jtidy to convert a
Hello Jonhson,
If you need to store RSS feeds in order to display them at any time with
history, then you should save them in database, then Informa
(http://informa.sourceforge.net/index.html) is a tool often used by RSS
feed aggragators to parse and save RSS feeds. It is in java, so it is
easy to
You could also use Cforms +Informa
(http://informa.sourceforge.net/index.html). You'll have to develop in
java and loose the power of XSL, but you'll get facilities to generate
the right RSS formats.
Phil
Jan Behrens wrote:
maybe also try here -> http://wiki.apache.org/cocoon/Schema2CocoonFor
I've got the same problem, no idea at the moment..
Phil
Victoria Vitaver wrote:
Hi,
I have a problem with cinclude leaving namespaces where there shouldn't be
any. In a nutshell, I need to send some XML in a Post request, and grab a
response(also XML). Using cinclude, I'm doing:
http:/
Thanks Antonio,
Hum...It seems that trouble disappeared with time (and changes..), i
didn't have the opportunity to inestigate!
Phil
Antonio Gallardo wrote:
Hi,
Is there a another (an older version) cocoon.jar in the class path?
Best Regards,
Antonio Gallardo.
philguillard esc
Hi,
I use EH Cache for Cocoon and Hibernate.
I use it 2 times, not the same way, from cocoon side it is registered
with Avalon, from hibernate side it is just declared in
hibernate.cfg.xml file as the property
cache.provider_class=org.hibernate.cache.EhCacheProvider
(My configuration comes fr
This should work, you should be able to generate what you want this way,
i did it today. I don't know what is ,
but i know you can keep the main sitemap error handling and do a custom
one in any sub-sitemap.
Phil
Brian Maddy wrote:
Has anyone successfully been able to catch an
InvalidContin
Hi,
After a cocoon restart, on the first request on any sitemap i get this
Internal Server Error: Could not find component (key
[org.apache.excalibur.xml.xslt.XSLTProcessor/xsltc])
On the second click it is ok.
What's wrong there? I don't have any idea!
Below the details.
Regards,
Phil
In
I don't remember well, there should be cocoon.request.getServerName, and
if you don't find for context and sitemapUri simply pass it as parameter
from sitemap where it easy to get these values..
For your redirection try cocoon.redirectTo("http://www.google.com";,
true) to make an external redire
Hi Angelo,
I had this trouble too. But i didn't solve it definitely.
My opinion :
- portal is not 100% ready for internet web site production because of
this, since 99% of internet users use intensively using back and refresh
buttons! (if you really insist on back and mostly refresh buttons i
Andrew Stevens wrote:
From: philguillard <[EMAIL PROTECTED]>
Date: Fri, 10 Feb 2006 01:39:17 +0800
Hi,
What do you think about that ?
I get a WARN
I18nTransformer: Translation not found for attribute alt in element
Is that not the right synthax ?
The fact it's the I18n
Hi,
What do you think about that ?
I get a WARN
I18nTransformer: Translation not found for attribute alt in element
Is that not the right synthax ?
Phil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
I've found a way, maybe this could help for others ...
then anywhere in the XSL template :
{translate($foo,$apos, '`')}
Phil
philguillard wrote:
Hi all,
Hum.. I want to escape the apostrophe (') in XSL
Example : foo value is "I'm askin' to cocoon'
Hi all,
Hum.. I want to escape the apostrophe (') in XSL
Example : foo value is "I'm askin' to cocoon's mailinglist"
None of these tries are correct :
Then i tried to define $apos as a variable to be able to use the
transfrom function, but the same problem arizes when i declare it :
or
ess.js",
line 17: uncaught JavaScript exception: at callTest
(file:/Users/Tino/Documents/workspace/Prototyp/protected/scripts/nav-access.js,
Line 17): java.lang.NullPointerException
Thanks for your help,
Tino
philguillard schrieb:
Hi,
It seems your cocoon.session.getAttribute("ID"
Hi,
It seems your cocoon.session.getAttribute("ID") returns null. Did you
set previously the ID in the session ?
Just in case (take it as suggestion) :
If you are working on auth-framework or portal (cause i see here the
"ID" term), all is put inside the session in XML format, then you would
You may also have a look at http://wiki.apache.org/cocoon/EXistInCocoon
Just a few jars to add and some web.xml changes, an old cocoon release
is mentioned there but it worked for me.
From what i remember, the cocoon app in eXist is just a light application.
Phil
Jonas Lundberg wrote:
Peter
Hi,
Is it possible (or impossible) to set the cookie domain at the time (or
after) the cookie creation? I use Portal block, thus Auth-framework, and
i'd like to set the domain to ".mydomain.com" instead of
"www.mydomain.com" for subdomain issues (to be able to keep the session
with subdomains
Hi,
It seems i get interferances between some security-constraint in Tomcat
Realm and Pluto :
==> catalina.out <==
element "security-constraint" occurs more than once. (parent class:
org.apache.cocoon.portal.pluto.om.WebApplicationDefinitionImpl)
location: /web-app/security-constraint{file:
f
Hi all,
Is there a way to remove "www." or the domain prefix from the session
tracking cookie domain with some modification on the cocoon servlet?
From now i tried to modify the HttpCookie class with a
setDomain("mydomain.com") but this doesn't seem to have any effect.
On my browser, all cookie
Hi,
Your conf looks basically ok. The best way is to see what you get in
mysql logs, if you are lucky it will maybe log a permission problem.
Restart mysql with log feature
mysqladmin shutdown -u root -p
mysqld_safe --log &
tail -f /var/lib/mysql/localhost.log
Phil
sergio del amo wrote:
Hi,
25 matches
Mail list logo