Indeed, my mistake; but still got some
decimal formatting that doesn't work properly:
1)
input=
output should be 0
pattern= #0
-
result is
2)
input=0.0
output should be 0.00
pattern= #0.00
-
result is 0
3)
input=3.0
output should be 3
pattern= #0
-
result is 30,000 ( I
Did you try the javascript debugger ?
You should be able to trace the execution flow, look at the variables
values and test conditions.
--
Olivier
[EMAIL PROTECTED] wrote:
Guys,
thanks for thinking along, but what I'd really like to do is:
myFunction() {
success = false;
errmsg
changing the digit grouping of your
regional settings doesn't help; I've tried that.
another strange behaviour:
input=0.0
output should be 0.00
pattern= #0.00
- result is 0
- binding this back
results in 0,00 (comma instead of point)
(ValueJXPathBinding:
value= 0,00--
IIRC in stable cocoon release 2.1.5 there's no way to use namespaces in
xmbdb-source queries as welll as with xmldb transformer.
Are there alternative solutions to use xml db with namespaces at all ?
--
qMax
-
To
Hi there,
i've got the following problem:
I've got two forms, each have got a repeater inside them. I want the
initial size of the repeater in the second form to be dependend from
the number of inserted rows in the first form. For example: User
inserts two rows in the first form -- the second
Have you tried making two binding files?
In binding file 1 you only put the binding values of form 1; and binding
file 2 the binding values of form 2. Then it should be no problem. So also
doing:
binding1.saveFormFromModel(form1, doc);
binding2.saveFormFromModel(form2, doc);
Regards,
Gunter.
On Tue, 2004-07-27 at 09:16, Gunter D'Hondt wrote:
Indeed, my mistake; but still got some decimal formatting that doesn't
work properly:
1)
input=
output should be 0
pattern= #0
- result is
My guess is (not sure) that the binding sets null on the widget for an
empty input
Hi,
I would like to print the full DOM (or SAX) tree back to the browser in
a map:handle-errors section. Is this possible? I have various custom
transformers doing DOM manipulation, if one of them bums out it would be
nice to see just how far the DOM got modified.
I could maybe have my own
Bruno,
Sorry - but this :
fd:convertor datatype=integer type=plain/
still gives , in the output...
Derek
[EMAIL PROTECTED] 2004/07/27 10:34:39 AM
On Tue, 2004-07-27 at 10:17, Derek Hohls wrote:
Bruno
Well, not quite impossible ;-) Here is the code I have been
using to test this
When a users submits a CForm sucessfully (without validation errors),
and the folowscript then saves the document, I would like to prevent,
or at least catch, any attempt to go back to the form using the
browser's back button.
I suspect this can be done in some way by invalidating a
Hello,
I've got a problem
with the CSS file in my Cocoon generated pages.
The goal of the
sitemap is making a listing of directory and subdirectory.
When the browser ask
the first page (first xsl) the css file is applied.
request
: http://localhost:8080/cocoon/injac/?cssfile=default.css
On Tue, 2004-07-27 at 11:08, Derek Hohls wrote:
Bruno,
Sorry - but this :
fd:convertor datatype=integer type=plain/
still gives , in the output...
Hmmm...
I just modified the xml binding sample included with cocoon to try this
out... but it works ok.
Here's what I did:
form2_model.xml:
Bruno
I have tried the same:
fd:field id=number required=true
fd:labelSelect a number:/fd:label
fd:datatype base=integerfd:convertor datatype=integer
type=plain/fd:datatype
!--
fd:selection-list
fd:item value=1/
fd:item value=2/
fd:item
Hi,
I'm trying to port my application delevoped under a cvs snapshot of
2.1.5-dev to the latest release (2.1.5.1).
This is my sitemap:
map:match pattern=statementList(*)
map:generate src=resources/jxt/balance-list.jxt type=jxtg/
map:transform
Ugo == Ugo Cei [EMAIL PROTECTED] writes:
Ugo Il giorno 27/lug/04, alle 11:19, Colin Paul Adams ha scritto:
When a users submits a CForm sucessfully (without validation
errors), and the folowscript then saves the document, I would
like to prevent, or at least catch, any attempt
Did you try the javascript debugger ?
You should be able to trace the execution flow, look at the variables
values and test conditions.
Yes I do. It behaves exactly as I want it to, but goes wrong in the
form.showForm(..) part. :-( I'll study it more closely and see if I can
really pinpoint
Thanks Dirk,
Unfortunately i think global parameter is more a constant, i mean i
didn't find a way to change its value dynamically. Right?
Regards,
Phil
On Mon, 2004-07-26 at 22:01, Dirk Gronert wrote:
Philippe Guillard wrote:
Hi all,
I need to pass a paramter from URI to the portal
jx:forEach items=#{language} varStatus=status
jx:choose
jx:when test=#{status.current = $pagelang.pagelang}
jx:when test=${status.current == pagelang.pagelang}
shouldn't this be also status.current.value?
This test is still a problem, cause it return false
Thanks a lot
jx:forEach items=#{language} varStatus=status
jx:choose
jx:when test=#{status.current = $pagelang.pagelang}
jx:when test=${status.current == pagelang.pagelang}
shouldn't this be also status.current.value?
yes, now everything works as expected. Thanks a lot.
Thanks a lot
Colin Paul Adams wrote:
That doesn't actually prevent the back button returning to the form.
What id does do, however, is when the user submits the form, it throws
an org.apache.cocoon.components.flow.InvalidContinuationException:
Right. If you want to block completely the usage of the back
thru _javascript_ history.forward(); on every
page (so when the back-button is used it automatically does a forward again;
and browsers like IE uses caching for this so there is no server action
triggered
Gunter
Ugo Cei [EMAIL PROTECTED]
27/07/2004 14:27
Please respond to
[EMAIL
Hi all,
I want to cache some request from another server.
So in my sitemap:
map:pipeline type=caching
map:parameter name=expires value=access plus 1 hours/
map:match pattern=data.xml
map:generate type=file src=http://foo/data.xml/
Ugo == Ugo Cei [EMAIL PROTECTED] writes:
Ugo It's right there in the main sitemap of the sample webapp:
Ugo map:handle-errors map:select type=exception
Ugo ... map:when test=invalid-continuation
Ugo map:generate type=notifying/ map:transform
Ugo
Tuesday, July 27, 2004, 7:54:28 PM, [EMAIL PROTECTED] wrote:
N Hi qMax,
N It seemes that the only possible way to avoid namespaces problem is not
N to use XSLT transfotmations in any form. Thus, regular XSLTs and XSPs
N (they use logicsheets) are not suitable for this. Luckly, you can use JX
N
Hi,
has anyone experience with deploying cocoon on a Tomcat 5 or WebSphere
5 Cluster?
According to the Tomcat 5 documentation
all you have to do is:
All your
session attributes must implement java.io.Serializable
It doesn't look this is already the case in cocoon 2.1.5,
but sounds easy enough
Hi list ;)
OK I've been trying to install Lenya against my Tomcat 5, I already
have a Cocoon running in this Tomcat instance. The install went badly
(another story!). OK so the problems is that my Cocoon HSQLDB now seems
frozen, I get not returned data, I remember seeing something about this
Jason--
Sounds like you need to build from a source version of Lenya. By
default Lenya uses the same port as HSQLDB (9002 iirc). I did
something similar home, and I changed my build.properties file to a
new port (19002 iirc).
Here is a link to install Lenya from source:
Philippe Guillard wrote:
Thanks Dirk,
Unfortunately i think global parameter is more a constant, i mean i
didn't find a way to change its value dynamically. Right?
Regards,
Phil
On Mon, 2004-07-26 at 22:01, Dirk Gronert wrote:
Philippe Guillard wrote:
Hi all,
I need to pass a paramter from URI to
Hey John,
The test the action is performing is actually to see whether an email
verification string is the same as what's in the backend database. In other
words, somebody clicks a link in her email to complete registration by
verifying her email address and this action checks the random
I was looking at cocoons license and didn't quite get what I can do (=
coder not legal expert).
1. If I do software based on cocoon (like own sitemap, xsp stuff... not
touching cocoon itself).. Can I license it whatever I want?
2. If I do my own component (generator, transformer).. Can I
I have a field of selection list: field1, whose
data type is integer.
I wanted to set itsvalue from the flow like
following:
row=myrepeater.addRow()
row.lookupWidget("field1").setValue(2);
but it doesn'twork, all the othersimple
fields works though.
would any oneplease tell me how to set
On 20.07.2004 13:09, Perez Carmona, David wrote:
I have a form and insert some non-English characters in a text box, with Mozilla 1.5
or IE 6 under Windows XP.
When the action that process the form, receives these characters badly. It is clearly
an encoding problem.
I'm using Cocoon 2.1.2
The
On 20.07.2004 18:36, Steve Schwarz wrote:
I've written some flowscript to perform login validation using OJB and
on success I end up with a populated bean. I then call sendPage() to a
pipeline that uses JXPathGenerator along with the bean to create the XML
that meets the needs of the
On 20.07.2004 23:55, Benoit Deshaies wrote:
I think I found a problem with the repeater-action widget and I18N. The
final rendered page shows the I18N key name instead of the translated
value. In my form, I define the widget like so:
fd:repeater-action ...
On 21.07.2004 09:45, Stephan Coboos wrote:
Of course a build-in mechanism in cocoon would be better! But I dont't
know whether such a mechanism already exists.
It does not, but it was an idea on the last Cocoon GetTogether.
Joerg
Hi there,
I've successfully deployed Cocoon 2.0.4 under JBoss 3.2.5 (JDK 1.4.2_05) on Windows by
fixing the batik jar file, re-jarring cocoon.war and copying to JBoss' deploy
directory.
Linux seems to be a different story. JBoss, JDK, Cocoon and cocoon.war are all the
same, but I get the
Schultz, Gary - COMM wrote:
Large Excel, Word, and PDF files (above 1.5MB?) are not downloading properly
on consistent basis when being served via Cocoon. At times the download
appears to work, but all we get is a blank page.
...
It must have something to do with Cocoon. Here are my Cocoon
Hi,
I just want to know if someone has ever used jCIFS with Cocoon? If yes, how
did you manage to do it?
Thanks,
Eric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello
I'm using Cocoon 2.1.5, I' ve got trouble with CForm widget upload with pictures.
In the upload form model if I have :
- fd:upload id=upload mime-types=image/* ok with bitmap pictures, doesn't work
with jpeg, gif and png (upload invalid type)
- mime-types=image/bmp - ok for bitmap
-
All,
A beginner question, I am writing a customer serializer, based on the
DOMBuilder, implemeting the Serailzier interface. I need to find out
the URL (host:port/path) which got my user to this flow, and then this
seralizer. How can I get from the cocoon environment either the Request
or
This is what i did, thanks a lot Dirk.
I put this param in the login page as hidden field, so i can put it
again in the session during authentication.
Regards,
Phil
On Wed, 2004-07-28 at 04:37, Dirk Gronert wrote:
Philippe Guillard wrote:
Thanks Dirk,
Unfortunately i think global
41 matches
Mail list logo