Since you have a map:act wouldn't you rather use {../1} instead of {1} in
the body of mp:act ?
I am not sure but these are my 2 cents.
Have a nice day,
Babs
--
website: www.babsfrance.fr.st
ICQ #: 135868405
- Original Message -
From: Phil Blake [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
thanks. my sanity is waning this afternoon.
i can use every cent I can get. :)
On Monday, September 9, 2002, at 04:44 PM, Barbara Post wrote:
Since you have a map:act wouldn't you rather use {../1} instead of {1}
in
the body of mp:act ?
I am not sure but these are my 2 cents.
Have a
Hello All,
I am able to upload any file to /WEB-INF/work/image-dir directory as
specified in web.xml file.
If I want to upload same file again, it saves to directory with 1_image.gif
name(it saves with new file name by appending 1_ before actual file name).
I donot want to save it with new name
Yes, everything is cacheable. When I test parts one
by one, it works fine and content is served from the
cache.
Any idea ?
Thanks.
DAvid
___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail :
Does anyone have a step-by-step on how to connect to a MS SQL Server and do
SQL commands on it? I have tried to do it by reading all the help and
how-tos that is bundeled with Cocoon, but I didn't manage.
.lars martinsen
-
You first have to add your JDBC driver class in
the load-class section of your cocoon web.xml.
After that, add your JDBC source in cocoon.xconf like
the personnel datasource example which is given
as an example.
___
Do You Yahoo!? -- Une
Steven Noels wrote:
Ben Young wrote:
Is it possible to set up a sitemap that will select a different
stylesheet
according to the XML Schema or doctype used in the content file?
It is already done, I'll commit it on Monday or when the kids allow during
the weekend ;-)
Done. Kudos to
Lars,
SQL Server 7 or 2000? To use SQL Server 7 you'll need to purchase a JDBC driver, as
there are no free ones that I'm aware of. If you're using SQL Server 2000, then there
is a
JDBC driver supplied by Microsoft, that you can use. Once you've got your JDBC driver
set up, getting it to
Germam: Einführung in die Erstellung von eXtensible Server Pages.
English: Introduction in the creation of eXtensible Server Pages.
Link: http://www.oio.de/public/xsp-grundlagen.htm
Orientation in Objects GmbH
Weinheimers Str. 68
68309 Mannheim
http://www.oio.de
Tel (0621) 71839-0
You need to search the archives and google for information on how to use
Xindice from Cocoon. It has been done many times before and is well
documented. I myself use it. Have a look at the sitemap for 2.03 and
grep for XMLDB.
John
fxp wrote:
Thanks,
but I really need to make xpath queries
Hello All,
I am able to upload any file to /WEB-INF/work/image-dir directory as
specified in web.xml file.
If I want to upload same file again, it saves to directory with 1_image.gif
name(it saves with new file name by appending 1_ before actual file name).
I donot want to save it with new name
Hi !I'd
like to use this cocoon class to index XML pages...Where could I find
examples of codes using this class ?Has anyone ever tried it
?Thank you,Gan.
On Mon, Sep 09, 2002 at 12:01:57PM +0200, Lars Martinsen wrote:
Does anyone have a step-by-step on how to connect to a MS SQL Server and do
SQL commands on it? I have tried to do it by reading all the help and
how-tos that is bundeled with Cocoon, but I didn't manage.
For my development I'm
Most impressive. 8o) I'm looking forward to giving it a try. Is it in the most recent
snapshot?
Thanks again,
Ben
Steven Noels [EMAIL PROTECTED] 09/07/02 13:40 PM
On Sat, 7 Sep 2002, J.Pietschmann wrote:
Vadim Gritsenko wrote:
Ben Young wrote:
Is it possible to set up a sitemap that
Quick question - I've tested out the hello.service example (in the
samples/hello-world subproject from 2.1) from my SOAP client, and
received back the expected XML content in the SOAP response. Then I
created my own 'service', by simply having my own pipeline spit out XML.
My question is: how
Hello,
I'm trying to use the evaluate() function in cocoon 2.0, which is a
saxon extension, but I get the following exception:
Error: java.lang.NoSuchMethodException: For extension function, could
not find method java.lang.String.evaluate([ExpressionContext,] ).;
SystemID:
Has anyone had success using the include file inside JSPs?
E.g.
%@ include file=common/GeneralHeader.jsp %
If so, please give me some pointers?
Thanks,
Shawn
** CONFIDENTIALITY NOTICE **
THIS E-MAIL, INCLUDING ANY ATTACHED FILES, MAY CONTAIN CONFIDENTIAL AND
Hi all,
Tomcat releases 4.1.10 stable release
http://jakarta.apache.org/site/news.html
Pollo releases 0.35
http://sourceforge.net/projects/pollo/
Regards,
Antonio Gallardo.
-
Please check that your question has not already
Lars
Assuming you're using the Microsoft 2000 JDBC driver,
1 Copy the three libraries from the unpacked distribution
msbase.jar
mssqlserver.jar
msutil.jar
to WEB-INF/lib
2 Add com.microsoft.jdbc.sqlserver.SQLServerDriver
to init-param in WEB-INF/web.xml, ending up with someting
Hi,
From an XSP page, I am trying to output a Java
variable that contains the XML result of an external
script as XML, but my angle brackets are escaping to
character entities.
I have a Java String variable called 'scriptOutput'.
It's filled with a string of XML that comes from an
external
hi cocooners!
has anybody a proper solution for involving german umlaute in a
cocoon-framework?
i have some ideas like
1. writing the umlauts in unicode (so creating a pdf via fop will cause
no problems)
2. writing them in tex-style like u or o an exchange them later in
every xsl-file
3.
Just use a proper encoding for the XML file (i.e. UTF-8) and a UTF-8-able editor
(under Windows i.e. XML Spy or JBuilder). Then you can just type the umlauts as any
other chars in your document without problems.
The HTML Serializer by default will encode them when doing HTML output to iso
Robert Koberg wrote:
Hi Michael,
from-memory
What are your thoughts on Xopus? Did you just need any client editor and Xopus
was the best out of the choice(s)? Or do you believe Xopus to be an excellent
product?
Well, both I think. Xopus has a very nice architecture. It's really
just
Wolle wrote:
has anybody a proper solution for involving german umlaute in a
cocoon-framework?
You can read the XML spec for some hints, or check some other
publishing systems, like DocBook.
i have some ideas like
1. writing the umlauts in unicode (so creating a pdf via fop will cause
Hi
I have been unable to run the JSP demo that comes with Cocoon2.0.2. I saw in the discussion list that jasper.jar needs to be in WEB-INF/lib but that's not helping either. I'm running Cocoonon Catalina (Tomcat 4.0.1).
SushilJoin the worlds largest e-mail service with MSN Hotmail. Click Here
hi!
thanks for the many suggestions.
i tried the following solution:
*
*4. Use a proper encoding declaration which matches the actual
*encoding of the file. For example, most platforms setup for
*a german language environment use ISO-8859-1, and usually
*editors use this as the
Wolle wrote:
as soon as i try to get an output as txt-file (e.g. on a web-browser or
saving the content in a file) the german umlaut produced by the ue/oe keys
are produced wrong (e.g. ue as A1/4). but all encodings in the xml/xsl
file are correct. even the settings of the webbrowser are
Check TOMCAT / CATALINA / APP Server settings: for example:
CATALINA_OPTS=-Dfile.encoding=ISO8859_1
I'm not sure if this over-rides the settings, I would assume the xml
file or more specific config should over-ride, but you might want to
check what your App Server is configured /defaulted to.
hi,
I've got this
esql:get-timestamp column=date format=, d. , h:mm a/
and now I want to add a locale just like in
SimpleDateFormat(, d. , h:mm a, Locale.US)
If it is possible to do this in XML, does anyone know the right syntax?
Thanks.
/Leo
Ivelin Ivanov wrote:
XMLForm currently supports JavaBeans, DOM and mixed models.
You can look at the Feedback Wizard demo for example.
I will look again, but it was not obvious to me how to pass a DOM model.
How do you mean that people will be using forms without writing Java code.
We can
The following XSP snippet will cause an ArrayIndexOutOfBoundsException in
Cocoon 2.0.3 because the start of the outer element is never emitted to the
SAX stream.
XSP Snippet:
xsp:page
page
xsp:logic
if (!request.isUserInRole(root))
{
xsp:attribute name=security-errorNot
Note: in xsp.xsl, the topmost non-xsp element is handled specially but this
error still occurs if you nest like this:
page
foo
xsp:logicif (...) {
xsp:attribute...
}
else
{
/xsp:logic
...
xsp:logic
}
/xsp:logic
/foo
/page
The culprit is the
Sushil -
You need to patch JSPGenerator and/or JSPReader in 2.0.2 in order to
make it work. Or, much easier, upgrade to 2.0.3
Regards,
Lajos
galatea.com
Cocoon training, consulting support
Sushil Bhattarai wrote:
Hi
I have been unable to run the JSP demo that comes with Cocoon2.0.2. I
Look at how the UserBean creates a DOM document.
Although it is created via the DOM API,
you can imagine how you could create the DOM from a file or another source.
- Original Message -
From: Simon Price [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 4:56 PM
Hi,
Has anyone using oracle already solved this one?
Although my app works OK, I'm getting debug messages (shown below) indicating that the
database ping fails
so cocoon is dicarding the connection and creating a new one.
I guess its going slower than it could due to this.
I do have
I am trying to set the icon of the site with cocoon. My problem is I dont know
what mime-type to set in the sitemap.xmap
map:match pattern=images/*.ico
map:read mime-type=image/bmp src=resources/images/{1}.ico/
/map:match
The favicon.ico is in the directory: /resources/images and set
36 matches
Mail list logo