Hi,
When I write :
esql:query
xsp:exprselect * From AllTask
Where
wfID=1
/xsp:expr
/esql:query
It works, but
Hello Lars,
I call the getModel() method in the perform function, like the Wizard example:
code
public Map perform() {
AddWorkstationBean jBean = (AddWorkstationBean) getForm().getModel();
if (getCommand().equals(CMD_NEXT) getForm().getViolations() != null) {
i18n and XMLForm declaration in
sitemaphttp://xml.apache.org/cocoon/howto/howto-i18n-xmlform.html
ps: please, no HTML email next time, thanks.
- Original Message -
From: Hong Gia Dinh
To: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 8:19 AM
Subject: i18n and XMLForm declaration in
I'm sorry confusing you with this. This are just integer values
which returns me how the function was executed.
That means getTransactionData returns an integer value with the
number of elements. So that I can decide on this what should be
done next. (I'm new to cocoon and java as well and am
Hi Lars,
No, it doesn't work!!
I'm going to be completely crazy!
I think the problem is not on the XPath expression, because there is the exact number
of items in the list. But the caption and value fields are empty! And I don't
understand why!
Thank you
Sylvain
-Message d'origine-
I just went through the same problem an hour before.
My problem was that not all dom nodes weren't initialized or respectivly
some of the data before the repeat statement wasn't initialized.
sample:
- code -
...
cityxf:output ref=/users/user/city
Hello,
my cocoon application runs very slowly with the new version 2.0.4. Furthermore, my log
files are full with the following exception:
ERROR (2002-12-09) 10:05.41:273 [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close
stream.
I tried to initialize the bean in the prepare method but it's still the same!
Nothing happen!
I posted 2 different messages(content list box problem and DOM initialization problem)
but the problem is the same.
Sylvain
-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Yes, I think you have the same problem as me!!
I don't use the xf:output statement. What does it mean?
If I'm right, for testing you create a form.xml file (view) with only a repeat
statement like this:
code
items
xf:repeat nodeset=select/document/typeOfWorkstation/item
item
Miles Elam wrote:
Lenya L. Khachaturov wrote:
Are there any hints on making Cocoon perform better? I've been using
Cocoon for a couple of weeks and I can't call it blazing fast :-) As I
understood, it's performance greatly depends on the Java compiler and the
XSLT processor used. Which
Hi, I have a problem using the RequestParamAction.
I have the following pipe:
map:match pattern=*-*.html
map:select type=method
map:when test=POST
map:act set=form
map:parameter name=descriptor
The output statement print just the value of either the bean property or
a dom node. You can look at the example of the xmlform-Howto-Wizard.
The confirm.xml is using it to show all entered values.
The code seemes to be ok, but I think you don't need the document...
Place this without anything
Elmar
Very glad you asked this - I having *exactly* the same problems right
now
(but with version 2.03, so I do not think its a version problem)
having just moved my application from development machine (Win2000)
to production machine (UNIX., Solaris).
The effect seems to be that some pages
Yep, I get this too (Cocoon 2.0.anything).
In my case it happens once for each of the PNGs on my pages that
are the result of SVGs. After each variation of the SVG-PNG pipeline
has been accessed once and the results cached (in Cocoon, not the
browser) then I won't see the message again until
I tried to load this form:
code
?xml version=1.0 ?
document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002;
xf:form id=form-feedback view=test action=addworkstation.html
xf:captionTest/xf:caption
xf:repeat nodeset=select/document/typeOfWorkstation/item
xf:output
Well, I am trying to convert SVG-JPG and am getting back
nothing (the usual x marks the spot broken image symbol)...
but no other log errors or messages that I can see ??
[EMAIL PROTECTED] 09/12/2002 12:03:09 Yep, I get this too
(Cocoon 2.0.anything).In my case it happens once for each of the
Hi,
I am trying to convert SVG-JPGwith cocoon 2.0.4 and i have no
problem (linux and windows). Can you say more ?
Regards,
Ludovic
- Original Message -
From:
Derek Hohls
To: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 11:26
AM
Subject: Re: performance
Hello,
can you imagine a shorter and more elegant way to ignore null values from
adb?
What I mean is, that I only want to create an LINKID element when the
database not returns a null or nothing
xsp:attribute name=LINKIDesql:get-string
column=g.unterrubriklink_id//xsp:attribute
As I have many
Ludovic
Unfortunately not; the files work just fine on my Windows box;
its only when I try and run them on UNIX that I do not get anything...
maybe there is some setting required that I am not aware of?
Thanks
Derek
[EMAIL PROTECTED] 09/12/2002 12:35:40
Hi,
I am trying to convert SVG-JPG
On 09.Dec.2002 -- 10:18 AM, Robert S?semann wrote:
Hello,
can you imagine a shorter and more elegant way to ignore null values from
adb?
esql provides a tag to check for null.
What I mean is, that I only want to create an LINKID element when the
database not returns a null or nothing
Title: i18n and xmlform combination-HELP
could sb explain me why i cant use the message key in the message when i use i18n and xmlform ?
i applied the sample in the how-to i18n and xml form for my application but it cant read the message key ?
what will the link i will call for
Title: RE: i18n and XMLForm declaration in sitemap
as far as i know and found there does not exist that link.
could you please recheck it?
Thanks
-Original Message-
From: Josema Alonso [mailto:[EMAIL PROTECTED]]
Sent: 09 December 2002 15:34
To: [EMAIL PROTECTED]
Subject: Re: i18n
Title: RE: i18n and XMLForm declaration in sitemap
thanks, i found it!!!
-Original Message-
From: Josema Alonso [mailto:[EMAIL PROTECTED]]
Sent: 09 December 2002 15:34
To: [EMAIL PROTECTED]
Subject: Re: i18n and XMLForm declaration in sitemap
i18n and XMLForm declaration in
Derek,
I had an error on Linux but it was logged : It was the well-known X11 Server
error when it is not installed. Sorry if it doesn't help.
Ludovic
- Original Message -
From: Derek Hohls [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 11:41
Upayavira [EMAIL PROTECTED] writes:
Sketch (sketch.sourceforge.net) imports AI and exports SVG, however I am not
sure how good the support of both formats is. It seems to be scriptable.
Hope this helps
Martin
Firstly, I apologise if this request is off topic for this group.
Does anyone
I am currently trying to build a online web photo
album using Cocoon 2. After searching a little bit on the
web, I seems there are already some photo albuns built
with Cocoon, including an example in one of the
recently released Cocoon books. As I would like to avoid
building my own from
hI §
In my jsp files, when i do a sendRedirect, i have the folowing error
SAXParseException: The root element is required in a well-formed
document, because Cocoon 2.01 wait a xml document instead of a redirect
(code 302).
I try to put some action or matcher in the pipeline to redirect on a new
Hi folks,
I'm trying to figure out whether I should use Cocoon for a small office
based application. It doesn't need to be web based, but I think it may
benefit from it.
My essential problem is that I want to figure out how to do lots of
database web pages easily and with the minimum of me
Have you noticed that you have a typo in the file.
Rename the def attributes to ref.
Ivelin
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 4:14 AM
Subject: RE: XMLForm and DOM node initialization
I tried to load this form:
Hy;
I want to retrieve a map:part across application boundaries.
I set up my tomcat server with SSO, so that i can share the
same session context over different webapps. Then i created
one cocoon webapp for presentation purposes and one backend
webapp for the business logic. Both webapps are
Hi Ivelin,
No, thank you.
But it doesn't make any differences!!
Is it right that in the XMLForm Wizard example the initialization of the Bean occurs
only when you press the Next button from the first form to the following?
I try to understand because I have certainly an initialization problem.
Hi Lars,
You said that I should initialize the bean in the prepare method.
What do you do exactly?
For my Bean I started from the Wizard example code. The initialization is in the
perform method.
regards
Thank you
Sylvain
-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL
Hy again;
Meanwhile i could put a litle light on my problem.
The sitemap config as shown below seams to
produce an error 500, because cocoon creates a new
http-session. I could verify by now, that my backend
webapp is called, but it fails, because it is running in a
non authenticated mode, by
snip/
I have got a personal photo album that I have prepared using Cocoon. It uses the
ImageReader
snip/
I would also be interested in the if you have no objections...thanks!
--
The heights of genius are only measurable by the depths of stupidity.
I began to switch but it doesn't seem to work.
Here is my procedure how it was written for the sql transformer
execute-query xmlns=http://apache.org/cocoon/SQL/2.0;
query lang=1 isstoredprocedure=true
begin dbchem.scheda_xml('substitute-value sql:name=lingua/'
,?
Hello all,
We've occasional seen the messages on this list about a blank screen that is returned
when there is some error in a pipeline or resource, and often times (but not quite
always) this is while running an XSP. So what I'd like to know is, why does the
handle-error resource not get
Hi,
I am having a problem while trying to access the
sample hello.wml sample page of Cocoon (I am running
Apache Tomcat with Cocoon 2.0.3 on a Windows 2000 system) with a mobile
phone.
The WAP browser waits a few seconds and then
answers:
500: Web service problem:
Please contact service
Hy;
My basic question was (from another request to this list):
How can i setup my sitemap to forward the
session context while aggregating a part ???
After several hours of investigating the problem i got
an idea, how my problem could possibly be solved. I
would be happy, if someone could
I am having a problem while trying to access the sample hello.wml sample =
page of Cocoon (I am running Apache Tomcat with Cocoon 2.0.3 on a =
Windows 2000 system) with a mobile phone.
The WAP browser waits a few seconds and then answers:
500: Web service problem:
Please contact service
Hi ALL
I am trying to build a search engine which search based on keyword to give
document URL. The documents can be xml, pdf, word. How can i build a search
engine.
Design 1 : Use Xindice native database to keep the keywords, location of
the document. Search into it and get the URL and give
have you set the {locale} variable correctly or are you sure this working.
my sitemap looks like this:
- code -
map:act type=locale
map:transform type=i18n
map:parameter name=locale value={locale}/
/map:transform
/map:act
-
Hi Skip and thank you,
but unfortunately that did not fix the problem. In fact, I have the same
problem if I try to access hello.html, for example, with the mobile device
(which should be no problem).
Do you have any idea?
Costantino
- Original Message -
From: Skip Carter [EMAIL
Alex McLintock wrote:
. . .
In general I want to list records, select one for editing, offer it for
editing, validate and save it... and this gets tedious for different
tables.
. . .
Is there a standard application which does all this?
There are small examples but I don't think there is a
43 matches
Mail list logo