Hello
i used to display images in my pdf files in this way:
fo:block
fo:external-graphic width=50mm height=25mm
src={/my_path_to/my_image.jpg/
/fo:block
try it.
Zsombor
On Wed, Dec 17, 2008 at 19:39, Marten van der Honing
mvdhon...@noeska.com wrote:
Hello,
I am puzzled on generating an
is also stored inside the database and is not available on a local
path on the server.
So in this case the external-graphic is of no use for me.
Greetings,
M van der Honing
-Oorspronkelijk bericht-
Van: Varga Zsombor [mailto:varga.zsom...@gmail.com]
Verzonden: woensdag 17 december 2008
Hi!
Few years ago i use java methods in xsp pages.
Here is a sample code:
?xml version=1.0 encoding=iso-8859-2?
xsp:page language=java
xsp:structure
xsp:includejava.util.*/xsp:include
/xsp:structure
xsp:logic
String hello(String name) {
return Hello + name + !;
}
/xsp:logic
page
Hi!
Try this way:
soap:call
soap:urlxsp:exprrequest.getParameter(SOAP_URL);/xsp:expr/soap:url
or you should use the xsp-request taglib:
soap:call
soap:urlxsp-request:get-parameter name=SOAP_URL//soap:url
Zsombor
On Thu, Dec 4, 2008 at 10:06, Smigge [EMAIL PROTECTED] wrote:
Hi!
I'm
Hi!
I'd like to run an action before every request, and after it use
matchers to decide what to happen. For example:
map match pattern=a.html
map:generate type=serverpages src=AA.xsp
map:transform src=XXX.xsl/
map:serialize/
/map:match
map match pattern=b.html
map:generate src=b.xml
:
On 29.09.2008, at 10:31, Varga Zsombor wrote:
Hi!
I'd like to run an action before every request, and after it use
matchers to decide what to happen. For example:
map match pattern=a.html
map:generate type=serverpages src=AA.xsp
map:transform src=XXX.xsl/
map:serialize/
/map:match
Hi
Is there any documentation about session-validator action?
I'm interested in how it is working.
Can i pass parameters to it? What attributes is being validated?
Thanks:
Zsombor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi All!
I declared a database pool in the cocoon.xconf:
jdbc name=focitipp
pool-controller min=5 max=10/
dburljdbc:mysql://localhost/database1/dburl
useruser/user
passwordpassword/password
encodingiso-8859-2/encoding
/jdbc
Everything is ok, working well, but after a while (a few hours) if i
be found.
Joerg
On 18.05.2007 10:46, Varga Zsombor wrote:
Hi All!
I have a problem with installing cocoon.
First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
Tomcat 6.0). Eveerything is OK and working well.
Then I tried to upload this cocoon to my web hosting provider
Hi All!
I have a problem with installing cocoon.
First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
Tomcat 6.0). Eveerything is OK and working well.
Then I tried to upload this cocoon to my web hosting provider (Debian,
JDK 1.5.0, Tomcat 5.5). There were some security proble,
Hi,
Why do you want to pass the request parameters to the generator?
The generator has the request object, which contains all the parameters,
and lots of other properties.
You can use either the request.getParameter(String paramName) /*it
returns a String value*/ method, or
This will produce the same XML
esql:connection
esql:poolyour_pool_name/esql:pool
esql:execute-query
esql:query
SELECT ID, DESCRIPTION, COUNTRY_ID
FROM LANGUAGE_TYPE
ORDER BY ID
/esql:query
esql:results
languages
esql:row-results
language
Do you mean, that you'd like to see the result of your generator (which
contains the esql) ?
Create a simple pipeline in your sitemap, something like this:
map:match pattern=my_esql_test.xml
map:generate type=serverpages src=my_esql_test.xsp /
map:serialize type=xml /
/map:match
then, call
Lars has right, you have missed the semicolon, and if it's the full
source code, you will need at least an esql:connection tag surround
esql:execute-query
esql:connection
esql:poolpool_name/esql:pool
!-- We are yousing pools, which are defined in the cocoon.xconf--
esql:execute-query
The problem is, that a Java variable is visible only in its parent
xsp:logic
It will work :
xsp:logic
Strubg upw = request.getParameter(password);
String dbpw = new String();
esql:execute-query
esql:query
SELECT pw
Thank, I'll try this out. My passwords are currently simple, plain-text
passwords. How do I make it more secure?
Do you mean, that you'd like to store paswords in a database table? You
can use for example MD5 securing methods, or anything else, and store
your secured password in the database.
http://foo.bar/cgi-bin?field=valuestuff=abcstuff=defstuff=g
himore=bar
You can use
org.apache.cocoon.environment.http.HttpRequest.getParameterValues(java.l
ang.String name) in this case and y'll get your values in String array.
For example: String[] sArray =
I have a SQL query in an XSP (using the esql logicsheet) that
returns a record. If the query returns no record, it
currently returns an empty node set. I don't want it to do
that. Instead I want it to fail so execution stops there.
What is the best (most efficient) way of doing this.
You
hi
We are testing succesfully MS SQL 2005 with microsoft's jdbc driver.
Here is a part of our web.xml, try to add the missing class:
init-param
param-nameload-class/param-name
param-value
com.microsoft.sqlserver.jdbc.SQLServerDriver
Hi,
I've written an own serializer, and i'd like to use its recycle()
method.
Do anyone know, that this method when will be called? Is it called
everytime, when the serializer is called?
Thanks,
Zsombor
-
To unsubscribe,
20 matches
Mail list logo