With reference to this issue:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109091824427273w=2
Can anyone suggest how to override the hard coding
of the decimal formatting so as to remove the comma
when a decimal number is stored in an XML file as a
result of binding (given that it is not
Thanks a lot
for all your advices !
Now I'll try the many different options you proposed and see how to
solve my problem !
I'll share my conclusions with you later !
David
David Verdin a crit:
Hi
everybody,
I'm currently trying to write the result of a form filling to a file.
I
Hello,
I have a form binding definition like this:
fb:value id=number path=number
fd:convertor datatype=decimal/
/fb:value
And a bean with the corresponding getter and setter methods:
public void setNumber(BigDecimal number)...
public BigDecimal getNumber()...
But when I
The logfile from wget shows the header response:
--10:12:10-- http://localhost:8080/exist/servlet/db/logo.jpg
= `logo.jpg'
Resolving localhost... 127.0.0.1
Connecting to localhost[127.0.0.1]:8080... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Mon,
Title: RE: Splitting elements round empty tags
Hello,
You're right. I've found solutions, or parts of solutions, on fr.comp.text.xml and de.comp.text.xml. But it would be a lot easier if there were a way to force the serialization at an intermediary stage of a pipeline.
Thank's a lot
Hi Alan,
First off (you may know this already), the Cocoon portal is a framework of
components that allows you to build custom portals. It is not an out of the
box portal solution like for example - Plumtree. That being said, Cocoon
itself offers many advantages as a whole and there are plenty of
we've used this trick a number of times:
add an action with:
public Map act( Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters parameters)
throws Exception
{
Request request = ObjectModelHelper.getRequest(objectModel);
if
Stephan Coboos wrote:
Hello,
I have a form binding definition like this:
fb:value id=number path=number
fd:convertor datatype=decimal/
/fb:value
And a bean with the corresponding getter and setter methods:
public void setNumber(BigDecimal number)...
public BigDecimal
In the sitemap, I have:
map:match pattern=view2/*
map:generate src=docs/view.jx type=jx
map:parameter name=fileID value={1}/
/map:generate
map:serialize type=html/
/map:match
When I call this, via, say view2/test
In the view.jx template page:
...
p
Hi,
I am trying to get jboss 3.2.5 and cocoon 2.1.5.1 play nicely together.
1) I copied my webapp dir to server/default/deploy,
2) Moved xml-apis.jar and xercesImpl-2.6.2.jar from
cocoon.war/WEB-INF/lib to server/default/lib.
When i use xsltc as stylesheet transformer i get
13:15:53,414 ERROR
Quick and simple question:
is it possible to have ft:repeater... tags inside of fi:group tags;
if so, is there an example I can follow?
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec
Hi,
We are using cocoon on a bea weblogic 6.1. The cocoon is working fine
except for a big caching problem. Cocoon doesn't always recognize that a
file is updated. Cocoon just keeps returning the cached file without
using the changes in e.g. the xslt. It doesn't matter what kind of file
a
Hi Adriano,
It's more a general Java question here.
You must have a look at the Java API : http://java.sun.com/j2se/1.4.2/docs/api/
For example, your answer is here :
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
Hope this helps.
PS : Please write your mails in plain text,
Hi Tom,
For what you want to do, you could have a look to CForms, which is the best way to go.
But if you have to deal with XSP, you must get the values from the request object here
[1], accessible from your XSP.
Then, you can use java loops to generate your form.
xsp:logic
for (int i=0 ;
Hi Vladimir,
I think it totally depends on the URI that called Cocoon.
if you have several levels like
http://server:/my/path/to/the/url, you must go back several times before getting
the http://server:/pics URI...
Have a look at Roman's answer.
--
Olivier
Vladimir Lisin wrote:
Hi,
On Mon, 2004-09-06 at 08:15, Derek Hohls wrote:
With reference to this issue:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109091824427273w=2
Can anyone suggest how to override the hard coding
of the decimal formatting so as to remove the comma
when a decimal number is stored in an XML
Notice that the Content-Type for the first is text/xml with a UTF-8
encoding. WHen you put the jpg into the database did you put it in as a
BinaryResource? How did you put the JPG into the database?
On Mon, 6 Sep 2004 [EMAIL PROTECTED] wrote:
The logfile from wget shows the header response:
Bruno
Yes, you are absolutely right - my brain must be set
to off - not sure which archive this was in, but I
missed it when I searched.
Hopefully, having made the same mistake twice now,
I will now remember!
Derek
[EMAIL PROTECTED] 2004/09/06 03:50:35 PM
On Mon, 2004-09-06 at 08:15, Derek
If anyone has experience with the problem below,
I'd appreciate hearing a solution..
I have modified the forms-htmlarea-styling.xsl to
include the following - inserted after the line:
script type=text/javascript
src={$resources-uri}/htmlarea/htmlarea.js/script
script type=text/javascript
Daniel Glöckner wrote:
Hi,
at the moment I've run out of ideas, concerning possible methods to access the
components of a cocoon pipeline. What I need is a way to get the class (or
the whole object) of the previous and the following component of the current
component. I dug into the
Hello
I use cocoon on a Windows (development) and on a FreeBSD (exploitation)
system.
I've set upload-enabled to true on both platforms.
I'm trying to upload a file, the:
- With Windows, all works well
- but with FreeBSD I get an error:
Hello Derek,
Is this true for IE or for other browsers as well? If you are not using IE,
you can skip this email. If it is IE, are you using tables to display your
HTMLArea? IE has some problems with inline Javascript initialization in
table cells. The result will be a plain textarea, just like
Use binding, use javascript:
add code:
widget.setSelectionList( cocoon:/somepipeline )
Many way to approach this,
see car selector example
On Fri, 3 Sep 2004 23:24:11 -0700 (PDT), Syama Thota [EMAIL PROTECTED] wrote:
Hi,
I have a form with three drop down lists (list1,
list2, list3), the
Thanks! Very helpful.
Lars
-Original Message-
From: Marc Portier [mailto:[EMAIL PROTECTED]
Sent: Monday, September 06, 2004 4:56 AM
To: [EMAIL PROTECTED]
Subject: Re: finding the URL of the current Cocoon application?
we've used this trick a number of times:
add an action
At 9/6/2004 02:20 AM, you wrote:
3. Document and Records Management
Are there any recommended open source document management systems
(preferably Java based) that integrate well with CP? Anyone have any
specific experiences with these?
I'm fairly non technical, operating at an executive
On Mon, 2004-09-06 at 16:54, Derek Hohls wrote:
If anyone has experience with the problem below,
I'd appreciate hearing a solution..
I have modified the forms-htmlarea-styling.xsl to
include the following - inserted after the line:
script type=text/javascript
Il giorno 06/set/04, alle 18:12, Ralph Goers ha scritto:
Matthew's comments were right on the mark. I would just like to add a
bit about the content management as I have been looking at content
management systems for the past 2 weeks. First, the only industry
standard is JSR 170 and it has
At 9/6/2004 10:00 AM, you wrote:
You might want to take a look at Magnolia (www.magnolia.info) which is
said to be entirely based on the JCR (a.k.a. JSR-170). I don't know what
this means in practice but I plan to do some explorations this week.
Thanks, I did. It uses the reference
Ralph Goers wrote:
At 9/6/2004 02:55 AM, you wrote:
we've used this trick a number of times:
add an action with:
public Map act( Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters parameters)
throws Exception
{
Request request =
Derek,
Yes it's possible, here's one I prepared earlier...
fi:group
fi:styling type=fieldset/
fi:labelft:widget-label id=DCMap//fi:label
fi:items
table cellspacing=10
tr
thft:repeater-widget-label id=DCMap
widget-id=metadataField//th
On 06.09.2004 13:44, Derek Hohls wrote:
Quick and simple question:
is it possible to have ft:repeater... tags inside of fi:group tags;
Counterquestion: What should prevent it?
Joerg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi Ralph
From my research I found a couple of open source projects that looked
workable, Apache Slide and MMBase, although I haven't done much
beyond
evaluating them. You can see an extensive list of Java based content
management systems at
Thanks for this Matthew.
Single sign-on to the external systems could then be implemented in
the
respective pipelines. You would need to maintain a central mapping of
portal
logon to the different systems (for example using LDAP) and then
access the
required information in the pipeline and
At 9/6/2004 05:25 PM, you wrote:
Would there be a way of using the users Windows Active Directory
credentials to automatically log into the Cocoon Portal?
It certainly is possible. Cocoon's authentication framework uses a pipeline
to perform the authorization. I wrote an Authentication Generator
I'm not sure what Universal search is. Cocoon supports Lucene. Is
that
the same thing?
Universal Search is the capability to index and search 'universally'
over a number of disparate content sources. It appears that Lucene may
have such capability.
An FAQ on Lucene is here:
Hi,
I'm using the portal-html-eventlink transformer for some application
coplets.
When I've got a link with 'mailto:' inside the href attribute, the
transformer makes a portal Link out of it. That's of corse leading to
'The coplet content is currently not available.'.
How can I avoid that? Is
36 matches
Mail list logo