Hi,
Is it possible to create dynamic selection list that would be different
for every row in a repeater? I mean something like this:
Row1:
[ ] Option A
[ ] Option B
[ ] Option C
Row2:
[ ] Option B
[ ] Option D
Row3:
[ ] Option A
[ ] Option C
Regards,
Marcin Okraszewski
title: Faculty of Electronics, Telecommunications and Informatics
(Gdask University of Technology)
URI: http://www.eti.pg.gda.pl/
Cocoon version: 2.1.4-dev
language: mostly Polish
Regards,
Marcin Okraszewski
-
To unsubscribe, e
Hi,
Plain convertor worked as I wanted when it was in model. Previously I
tried with formatting convertors and giving pattern like #0, but
it didn't result as I expected.
Thanks for help.
Marcin Okraszewski
I tried with wd:convertor in model,
but it doesn't help,
it would help to use
are below.
Regards,
Marcin Okraszewski
MODEL
-
wd:multivaluefield id=teachers
wd:labeli18n:textteachers/i18n:text/wd:label
wd:datatype base=integer/
wd:selection-list
src=cocoon://resources/common/form/user_full_list.xsp dynamic=true/
/wd:multivaluefield
GENERATED SELECTION LIST (just
found a TagSoap project, which fixes input to XML only. It doesn't
tidy HTML, but in my case it seems to suit more.
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
looks interesting :-)
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:-( It is a bit confusing, since I use
HTMLArea and while pasting text from Microsoft Office, there are o:p/
tags which causes the empty string !!
Is there any way to throw such tags away?
Regards,
Marcin Okraszewski
Hi,
Are you trying to access a file through SSL? I found similar problems
with IE in SSL mode.
Regards,
Marcin Okraszewski
Hello users,
I'm trying to access DOC or PDF files using the ressource reader
component as described in the sitemap below and get the following error
only under
the same value and label? In the
worst case you can always take the value from model, by selecting an
element which has the selected value (you can use XPath for this).
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL
cache-at-startuptrue/cache-at-startup
/map:transformer
in translations dir (or any you specified above) you create a woody.xml
catalogue as attached for English and Polish.
Regards,
Marcin Okraszewski
Thanks for the info !
Could you just tell me how to translate this catalogue woody ?
?xml
The more I'm into creating webapps the more I'm fed up with IE. The
worst is that users even don't have the faintest idea how many problems
people have because they use IE.
Marcin Okraszewski
Be sure, you are not the only one:
http://marc.theaimsgroup.com/?t=10796280242r=1w=4
I figured
2.1.4-dev.
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm also suffering from OutOfMemoryErrors and ThreadDeath but only after
several webapp reloads. And it seems that without reloads it can go
without such problems.
Regards,
Marcin Okraszewski
I'm using Cocoon 2.1 and Windows XP. I have a problem with Memory. My Computer have
512MB Ram
Hi Christian,
What about making an aggregating bean that would have two fields
Address and City? You could make paths like this address/street,
city/name.
Regards,
Marcin Okraszewski
Hi!
I'd like to use Woody as a Database Frontend with OJB as persistance layer.
Is it possible to bind
-dev - it is said it has
some bug fixes with multipart forms and UTF, which I use)
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
after submitting the form - I think it even wouldn't have time to send
the request. This is really strange.
Well, in the worst case I'll tell people they *must* use Mozilla ;-)
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail
Hi,
I have a problem with running Cocoon 2.1.5-dev. If I install it in
/cocoon directory it works fine :-) But then, if I try to install it as
an default application (I simply rename the dir from cocoon to ROOT), I
get the error cited below.
Am I doing something wrong?
Regards,
Marcin
this? I could make selecting language by
setting the locale cookie, but I don't think robots will rescan all
pages. Maybe I should check it is a robot and serve it a page with
contents in all languages - but how to do it with i18n ?
Regards,
Marcin Okraszewski
with src attribute, you must do those tricks.
Speaking of Java Script - how to get rid of escaping and from XML -
I need them in script, but they are converted to lt; and gt; which is
not understood by browsers.
Regards,
Marcin Okraszewski
=sitemap.serializer.html
mime-type=text/html name=html pool-grow=4 pool-max=32
pool-min=4 src=org.apache.cocoon.serialization.HTMLSerializer
encodingUTF-8/encoding
/map:serializer
Regards,
Marcin Okraszewski
P.S.2
How do you expect can we connect your localhost - your and our
localhosts are different
Hi Joerg,
So it is really odd! I've read the comment in Buzilla, and I think I
have to move to 2.1.5-dev, because I have occasional problems with
multipart forms that occasionally a signs are wrongly interpreted.
Speaking of charset encoding, I have problem while connecting Tomcat and
Apache
,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Mar 11, 2004, at 6:41 AM, Marcin Okraszewski wrote:
Hi,
I would like to sort some fragments of a generated XML. The problem is
that I would like to sort the XML by XPath specified in the generated
document. It might look like this:
document
!-- ... --
sort:sort by=element/name
Maybe there are no links to your site from the world known by google?
From my experience it seems that it takes quite a long time for Google
to index newly committed page :-(
Regards,
Marcin Okraszewski
After trying to get this working, I've determined I'm having trouble getting
cocoon indexed
Hi,
Is it possible to make OPTGROUP in selection list in Woody? I need it
for readability of my selection list.
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
. If this is the case you can simply fix it in this way:
public addLink(be.bvar.admin.links.Link link) {
super.addLink(link);
}
Regards,
Marcin Okraszewski
I have a repeater widget displaying a list of data provided form a
Collection in a bean.
When I insert a record in the form an empty row
I wanted to do the same once, and I'm afraid it isn't possible to do,
because i18n cashes the messages only once. So, even it comes from DB
the translations won't change unless you restart your application :-(
Regards,
Marcin Okraszewski
Hi,
with Cocoon 2.1.3 I want to use dynamic from
thought the list of options must be flat.
If some wants to do the same, I've committed a patch to bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27147
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED
, not XSL).
Regards,
Marcin Okraszewski
Hi Marcin,
From your question, I think that Oliver was on the right track with his
suggestion that you look in the archives. Maybe these links will help you?
I have used this technique:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105483065103410w
Regards,
Marcin Okraszewski
P.S.
I'm working on Gentoo Linux.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:-(
Regards,
Marcin Okraszewski
Hi Marcin,
This question has already been asked.
Take a look at the archives.
Quickly, use map:parameter in sitemap and parameters.get(...) in the XSP.
--
Olivier
On 05/02/2004 22:20, Marcin Okraszewski wrote:
Hi,
I need path of processed file by a XSP logicsheet (ie. XSL
I tried to generate XSP from XSP and it failed - I can't generate
xsp:page element in any way - by writing directly xsp:page or
xsp:element.
But, when creating dynamically XSP wouldn't the page be recompiled every
time it is requested ???
Regards,
Marcin Okraszewski
On 01.02.2004 20:07
Hi,
I need path of processed file by a XSP logicsheet (ie. XSL transform).
This could be also a request object.
Normally I could pass a parameter to XSL but when it is a logicsheet I
don't know how to do it.
Regards,
Marcin Okraszewski
of a webapp and even tomcat didn't help!
Regards,
Marcin Okraszewski
On 01.02.2004 20:07, Marcin Okraszewski wrote:
But I wonder if you really need DB access from within the stylesheet?
What's the use case for it? Why don't you access the DB from within
XSP, e.g. via ESQL?
Of course I can move
will you use.
Regards,
Marcin Okraszewski
Hi,
I just need a notebook that will be sufficient to make my work in Cocoon
(besides of my primary desktop computer) when I'm outside (spring is
comming :) ).
Will a PIII 500, 128MB notebook be OK for this?
Regards,
mirko
XSL or XSP generated by other XSP - I've never tied
it. How does it works if a XSP page is generated by XSP ???
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
I thing of a more advanced logicsheet that would use data from DB during
XSP translation to Java. For that reason I could use Xalan java
extensions, but I don't know if xalan is used and if it is safe to
assume that xalan will be used.
Regards,
Marcin Okraszewski
prefixes, but
the prefixes aren't bound (there are no namespace declarations
xmlns:layout=...).
How can I fix it?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Uppps, the flowscript is like this (it doesn't influence the problem):
//...
var document = loadDocument(dirTitlePath);
form.load(document);
form.showForm(/form_templates/dirtitle.xml.html);
form.save(document);
saveDocument(document, dirTitlePath);
//...
This is what I did, but I thought there is a better way.
why u dont use jdity and then grab only the content of the body element?
--stavros
On Sun, 25 Jan 2004, Marcin Okraszewski wrote:
Hi,
I want to convert HTML document fragment to XHTML fragment. I tried with
JTidy, but it seems to work
fragments with JTidy (well, maybe without wrapping
fragment with htmlbody and than striping it) ?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
???
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
how I have the form-encoding set, there are
encoding problems. I have to send every form with multipart/form-data :-(
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
I have problem with binding XML document to woody. When I save the
document, the namespace declarations are omitted. The tags are properly
prefixed, but the prefixes aren't bound.
I'm using saving method from the example. How can I fix it?
Regards,
Marcin Okraszewski
-charset=UTF-8, but it didn't help.
How can I fix it? Of course I need multipart/form-data to post files
to the server.
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
don't know what I did and if it will influence the system in
some other way - a part from helping with my encoding problem.
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I found that setting container-encoding in web.xml to utf-8 solves the
problem. But I don't know if it will influce the system also in other way.
Regards,
Marcin Okraszewski
Hi,
I have a big problem!! I have changed enctype to multipart/form-data
in form definition and this caused problems
ago).
Well if I count correctly November 22 was almost exactly 2 months ago.
Any way - I needed it at middle of October. Now I'll probably
incorporate it in version 2.0 of my system :-)
Regards,
Marcin Okraszewski
-
To unsubscribe
instead of string ?
I hope I helped in some way.
Regards,
Marcin Okraszewski
In my current project
(http://microbic.de/dav/htdocs/htmlarea/htmlarea2.gif) I'm using the
woody binding for my article show in the screenshot. Basic problem is
(independent from the html editor) that using any XML markup
On 20.01.2004 00:12, Marcin Okraszewski wrote:
But when I enter a sample date 24.01.2004 12:05, it is recognized as
00:05 (12:05am) (it is saved in DB in this way). But when I enter
24.01.2004 13:05, then it is all right (1:05pm).
I might be wrong but isn't the change from AM to PM at 13:00
There is a form encoding parameter in the web.xml:
init-param
param-nameform-encoding/param-name
param-valueUTF-8/param-value
/init-param
set there the encoding you are using (by default ISO-8859-1 is taken).
Regards,
Marcin Okraszewski
Hi,
I'm trying to get the following
, but on
the other hand you also don't have to keep so many objects loaded.
To be honest if I had free XML DB that had supported XQuery 3 months ago
(eXist haven't even mentioned about it) I would definetely use XML DB -
for simplicity reasons :-)
Regards,
Marcin Okraszewski
Hi,
Can't you use pseudo protocol context:// ?
Regards,
Marcin Okraszewski
Hi,
I'am looking for a good and practicable way to determine the Path to the
mount Root.
e.g. /mount/projectname/
or /cocoon/mount/projectname/
Is there any way or have I do that everytime hard in the source
Try:
xsp:logic
if (false) {
xsp:attribute name=should-not-betrue/xsp:attribute
}
/xsp:logic
Regards,
Wow - it works. Who would expect it is so simple :-)
-
To unsubscribe, e-mail: [EMAIL
, it is recognized as
00:05 (12:05am) (it is saved in DB in this way). But when I enter
24.01.2004 13:05, then it is all right (1:05pm).
What am I doing wrong?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED
that requested
resource /manage/html is not available.
I'm not sure if you misspelled the url only here or in browser too. It
should be /manager/html not /manage/html
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is
represented in DOM ?? How to add it to DOM?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Sorry for bothering - it is org.jdom.ProcessingInstruction
Hi,
I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is
represented in DOM ?? How to add it to DOM?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail
Hi,
I'm developing a cocoon-based website. Unfortunately after several
application reloads I receive OutOfMemoryError. I'm wondering if this
may be caused by unfinished flows, which I have plenty since I check how
works only a part of a flow.
Regards,
Marcin Okraszewski
Hi,
Is it possible to obtain which submit widget was pressed in a repeater?
If I use form.submitId, I obtain only id of widget, but I don't know
from which row the submit comes from.
Regards,
Marcin Okraszewski
-
To unsubscribe
Hi,
How to change default error message when a field is required
(general.field-required)?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm afraid that reloading whole Tomcat or at least a webapp (when the
jar is in WEB-INF/lib) is the only way to make server notice changes in
classes or jars. But I might be wrong.
Regards,
Marcin Okraszewski
Hello,
I'm trying to build a Java class I can use as a wrapper to be used
continues execution.
Now I can simply get index, just like that:
if (form.submitId == row-submit)
print(submit at row: , index);
As simple as that :-) I know, it isn't very elegant, but it works.
Maybe someone has better solution?
Regards,
Marcin Okraszewski
Hi,
Is it possible to obtain
=tomcat,manager,admin/
Regards,
Marcin Okraszewski
How do I reload a webapp? I haven't found that yet.
Bye, Helma
-Original Message-
From: Marcin Okraszewski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 December 2003 23:07
To: [EMAIL PROTECTED]
Subject: Re: Custom jars, where to put them
Hi,
And how about obtaining it outside a flow? How to get the instance of
the component selector that I could run something similar to
cocoon.getComponent() from the example below?
Regards,
Marcin Okraszewski
Suggested using flowscript, then try sth like this:
try {
var dbSelector
Hi,
I want to use my classes in Cocoon application. Unfortunately I don't
know how to obtain a database connection from defined pool for database.
How can I do it? I tried to reproduce code generated by ESQL, but I
obtain nulls.
Regards,
Marcin Okraszewski
continuation={1}/
/map:match
Any ideas what is wrong ??? I'm using Cocoon 2.1.4 dev.
Thank you in advance for your help!
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
pattern=continuation-id
map:generate src=cocoon://{1}.continue/
map:serialize/
/map:match
where it also stalls the request :-(
Regards,
Marcin Okraszewski
Hi,
I want to pass continuation ID as a hidden parameter. So I did fallowing
form:
wt:form-template action= method=POST
makes infinite loop.
Damn, I'm so stupid!!!
Regards,
Marcin Okraszewski
It is even more interesting!! When I do fallowing:
map:match type=request pattern=continuation-id
map:redirect-to uri={1}.continue/
/map:match
It does continue, but unfortunately request parameters are lost
Sorry, it was my fault! I must have been very tired yesterday. It works
even without wb:convertor.
Thanks a lot!
Marcin Okraszewski
--- Marcin Okraszewski [EMAIL PROTECTED] wrote:
Hi,
It seems that binding of _wd:booleanfield_ isn't supported.
Am I right or am I doing something wrong?
Try
in flowscript. If I have more
time I'll look into it and maybe code that binding. But unfortunately
I'm deficient in time so probably someone else will do it first :-(
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED
wd:submit id=cancel action-command=cancel validate=false
wd:labelCancel/wd:label
/wd:submit
Yes, validate=false is the key I didn't know of :-)
Thanks,
Marcin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
I want to make a cancel action. On Wiki pagaes I found fallowing method:
After pressing an action button, the form will normally always be
redisplayed, unless the event handling code explicitely disables this
(*by using the endFormProcessing method on the form object*).
So I did
tried to reproduce this error by putting a wi:styling
tag inside one of the widgets in the repeater in the form1 example,
but it worked as expected.
Could you post your template, or the relevant part of it?
Marcin Okraszewski wrote:
I downloaded Cocoon from CVS, because I need file upload
is wrong?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that:
// ...
do {
form.showForm(step1.html);
if (form.submitId == add-user)
// the function I don't know
call_woody_form(user.html)
while(form.submitId != next);
// ...
Is it possible to do such thing? Is it also possible to pass a bean the
called form should use?
Regards,
Marcin Okraszewski
Is it correct?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:
org.xml.sax.SAXException: WoodyTemplateTransformer: missing id attribute
on a woody element.
What is wrong?
Regads,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
It really seams that this is the reason!! I had master copy on Tomcat
4.1.27, and the new copy on 4.1.29. As I changed to 4.1.27 everything is
fine :-) I'm pretty suprised, I must say!
Thanks for help!
Marcin
On Tue, Nov 18, 2003 at 11:10:38AM +0100, [EMAIL PROTECTED] wrote:
Hi,
I have
Hi,
I've asked the same question yesterday. And the solution (unfortunately)
was exactly the same!
Regards,
Marcin
This looks to be a problem with Tomcat 4.1.29. I'm not quite sure how
to resolve it, but running Cocoon 2.1.3 in Tomcat 4.1.27 seems to work.
- Justin
On Nov 18, 2003, at 4:42
Hello everybody,
I'm programming an automatic wizard through a continuation using jxform
and three generic XSP templates. When I try to execute the wizard the
first time it runs ok and I finish the continuation with the
form.finish() method but when I execute it the second time with another
I would like to use accents (for french) and I'm looking for a solution to set the encoding in ISO-8859-1.
I don't know, if I undestand you correctly, but if you have form
encoding problems, this may help (I received when asking for woody, but
I think it doesn't matter):
It's a problem with the
packages and class names were copied just for sure.
There is frow script, binding, classes below.
Regards,
Marcin Okraszewski
Flow:
bean = new Packages.eti.beans.Entry(cocoon.request.get(entry));
form.load(bean);
form.showForm(admin/entry-form.xml.html);
form.save(bean);
bean.save
number). Even when I change content of XSP it doesn't give
any result, although calling directly XSP page works fine. To make
change I have to reload webapp.
Is there any way to avoid this problem?
Thanks in advance.
Regads,
Marcin Okraszewski
Hello,
I have a problem again :-( I can't make form validation function
working. If I do such expression:
form.show(admin/entry-form.xml.html, function(form) {
model.importance++;
return false;
});
doesn't change value of importance widget in web form. On the other
hand, the fallowing
with
repeater.
I would like to edit every SubBean on a separate page (both when adding
and editing existing subbeans).
Is it possible to do it using Woody? If yes, how to do it? Maybe there
is a better choice than Woody?
Regards,
Marcin Okraszewski
PWN, s. 121.
--
-
Marcin Okraszewski
[EMAIL PROTECTED] GG: 341942
[EMAIL PROTECTED] PGP: www.okrasz.prv.pl/pgp.asc
Hi.
I have problem with encoding of Woody webforms. I tried registration
sample and when I write non-us characters the form comes refilled with
two strange singns instead of one I've inputed (co is converted to
co).
How to manage with this?
Regards,
Marcin Okraszewski
mismatch.
This is currently not supported :-|
Patches are welcome!
I have commited the patch to bugzilla.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24305
--
-
Marcin Okraszewski
[EMAIL PROTECTED
//ns:root
I obtain an empty root, because the source has mixed content:
ns:root/ns:root
3. Put prefixed root name:
esql:get-xml column=test root=ns:root/
Results in completely empty output, without even an error.
--
How can I solve it?
Regards,
Marcin Okraszewski
Hi,
When I change content of i18n catalogue, the page doesn't react for this
unless I reload webapp. Is there any way to avoid this or to reload i18n
buffers without reloading webapp?
Regards,
Marcin Okraszewski
92 matches
Mail list logo