Formatting without commas in CForm decimal widget storage

2004-09-06 Thread Derek Hohls
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

Re: Writing files with cocoon

2004-09-06 Thread David Verdin
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

Exception in form binding

2004-09-06 Thread Stephan Coboos
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

Re: FOP PDF with images from eXist database

2004-09-06 Thread eelke . toonstra
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,

RE: Splitting elements round empty tags

2004-09-06 Thread philippe . faehndrich
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

RE: Portal Questions

2004-09-06 Thread Matthew Langham
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

Re: finding the URL of the current Cocoon application?

2004-09-06 Thread Marc Portier
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

Re: Exception in form binding

2004-09-06 Thread Marc Portier
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

Getting parameters from the sitemap via JX Template

2004-09-06 Thread Derek Hohls
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

jboss and xsltc

2004-09-06 Thread Jorg Heymans
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

Repeater widgets in group tabs

2004-09-06 Thread Derek Hohls
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

cocoon on bea weblogic 6.1

2004-09-06 Thread Patrick Verboom
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

Re: comparing strings in xsp

2004-09-06 Thread Olivier Billard
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,

Re: XSP Forms - Best Practice?

2004-09-06 Thread Olivier Billard
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 ;

Re: Problem with Resolving a source

2004-09-06 Thread Olivier Billard
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,

Re: Formatting without commas in CForm decimal widget storage

2004-09-06 Thread Bruno Dumon
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

Re: FOP PDF with images from eXist database

2004-09-06 Thread finder
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:

[SOLVED] Re: Formatting without commas in CForm decimal widget storage

2004-09-06 Thread Derek Hohls
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

Configuring the HTMLarea for table operations

2004-09-06 Thread Derek Hohls
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

Re: lookup the components of a pipeline

2004-09-06 Thread Jorg Heymans
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

Slide sample

2004-09-06 Thread Jean-Claude Moissinac
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:

RE: Configuring the HTMLarea for table operations

2004-09-06 Thread Hugo Burm
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

Re: CForms: Is it possible to populate the the drop down list dynamically?

2004-09-06 Thread Superbiji
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

RE: finding the URL of the current Cocoon application?

2004-09-06 Thread Lars Huttar
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

Re: Portal Questions

2004-09-06 Thread Ralph Goers
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

Re: Configuring the HTMLarea for table operations

2004-09-06 Thread Bruno Dumon
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

Re: Portal Questions

2004-09-06 Thread Ugo Cei
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

Re: Portal Questions

2004-09-06 Thread Ralph Goers
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

Re: finding the URL of the current Cocoon application?

2004-09-06 Thread Marc Portier
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 =

Re: Repeater widgets in group tabs

2004-09-06 Thread Scott Yeadon
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

Re: Repeater widgets in group tabs

2004-09-06 Thread Joerg Heinicke
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

RE: Portal Questions

2004-09-06 Thread Alan M. Cox
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

RE: Portal Questions

2004-09-06 Thread Alan M. Cox
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

RE: Portal Questions

2004-09-06 Thread Ralph Goers
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

RE: Portal Questions

2004-09-06 Thread Alan M. Cox
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:

portal-html-eventlink transformer

2004-09-06 Thread Hans Thomas Nordeck
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