CForm: ask for confirm

2006-01-30 Thread Angelo Immediata
Hi all. I have this scenario: in my application a web user can delete something. I'ld like to ask for confirm before to delete what he has choosen. I can't use javascript like "window.open" etc... Is there a method to ask this thing to the user with no using Javascript? I'ld like to use some

Re: CForm: ask for confirm

2006-01-30 Thread Angelo Immediata
-- Initial Header --- >From : "Jason Johnston" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Mon, 30 Jan 2006 08:14:23 -0700 Subject : Re: CForm: ask for confirm > Angelo Immediata wrote: > > Hi all. I hav

Is this thing possible?

2006-01-31 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7 and its portal block. I'ld like to know if it's possible this thing. I have some web application developed by third part users and by using different technologies. My project manager would like to do a similar thing: to display this web application in my portal wit

Re: Is this thing possible?

2006-01-31 Thread Angelo Immediata
AIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Tue, 31 Jan 2006 18:35:02 +0100 Subject : Re: Is this thing possible? > Angelo Immediata schrieb: > > Hi all. > > I'm using cocoon 2.1.7 and its portal block. > > I'ld like to know

Re: Is this thing possible?

2006-02-01 Thread Angelo Immediata
eader --- >From : "christian bindeballe" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Wed, 01 Feb 2006 12:52:58 +0100 Subject : Re: Is this thing possible? > Angelo Immediata schrieb: > > Hi first of all thanks for your answer. > &g

Cocoon Portal and browser back button problems

2006-02-10 Thread Angelo Immediata
Hi all. I'm using Cocoon 2.1.7 and it's portal block. My portal is configured for using PageLabels. I have seen that there is an incorrect functionality when the user clicks on the browser's back button; i think that this is due to the cocoon-portal-event number did anybody solved this featur

Re: Cocoon Portal and browser back button problems

2006-02-11 Thread Angelo Immediata
ived most of these informations from the there : > (http://mail-archives.apache.org/mod_mbox/cocoon-users-fr/200509.mbox/[EMAIL > PROTECTED]), > since you seem Italian i'm quite sure you can almost read that french. > > Phil > > > Angelo Immediata wrote: > >

Re: Cocoon Portal and browser back button problems

2006-02-11 Thread Angelo Immediata
Hi. Thanks for your answer. I'll wait for the new release (2.2) in the meantime i'll try to solve in some way this feature in 2.1.7. thanks again -- Initial Header --- >From : "Carsten Ziegeler" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date

[FlowScript] bizData, cocoon.sendPage and internal-only resources

2006-02-19 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I have noticed a strain thing in the cocoon.sendPage method in a flowscript. If i have an internal-only resource (i.e. let's call it "test.jx") it seems to me that if in the flow script i do a similar thing: var bizData = { name : "test", id : "identifier" } c

cocoon.sendPage and bizData

2006-02-21 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I have noticed a strain thing in the cocoon.sendPage method in a flowscript. If i have an internal-only resource (i.e. let's call it "test.jx") it seems to me that if in the flow script i do a similar thing: var bizData = { name : "test", id : "identifier" } coc

Cocoon Portal and my own Action class

2006-03-04 Thread Angelo Immediata
Hi all. I'm using cocoon portal block. Cocoon version is 2.1.7. I have this little problem that i'm not able to solve: i must call a my own action when the user (both anonymous and logged-in) has had the acces to the portal. This action is a very simple action but i need it. I have tried to set

Cocoon Portal and pipeline match problems

2006-04-28 Thread Angelo Immediata
Hi all. I have this problem: i must use a general match in every my coplet; in portal sitemap i have added this match: Now if i am in a coplet (let's call it S026) i do some controls and then in my flowscript i do this thing: }//Fine controlli else{ cocoon.sendPage("errori"); } I h

Re:Cocoon Portal and pipeline match problems

2006-04-28 Thread Angelo Immediata
Hi again... i have forgotten that i'm using cocoon 2.1.7 and JVM 1.4.2_10. Thanks again. -- Initial Header --- >From : "Angelo Immediata" [EMAIL PROTECTED] To : "Help Cocoon" users@cocoon.apache.org Cc : Date : Fri, 28 Apr

From WrapperResponse to HttpResponse

2006-06-13 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I'm using the portal block. I have some links where the user must download some files. I want to set the output stream in the response; in order to do this i have used this code in my flow script: var respo = cocoon.response; respo.setContentType("application/down

Re: From WrapperResponse to HttpResponse

2006-06-14 Thread Angelo Immediata
Hi Christian. First of all thanks for your replay. I know the readers and i have tried to use them...the problem is that if i don't use a cocoon.sendRedirect i have an error in my portal... the error is something like: streaming of a resource is not allowed with a reader (i don'tremeber exactly

Information

2006-06-23 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I have seen this thing: when i use the apache mod_jk module for the loadbalancing i have this message on the log: [org.apache.jk.server.JkCoyoteHandler] Response already commited All seems work fine but i'ld like to know why i have this message. Thanks to all. Ang

Re: portal and forms - no script / styling

2006-06-27 Thread Angelo Immediata
Hi Christian. Maybe i'm wrong and this means nothing...but in your cocoon.log file I have seen this: WARN (2006-06-27) 20:02.21:640 [sitemap.transformer.xslt] (/cocoon/samples/blocks/portal/portal) http-8080-Processor24/TraxErrorListener: file:/D:/_authoring/jakarta-tomcat-5.0.28/webapps/cocoo

[CForms] HtmlArea and hidden fields

2006-09-05 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.5 and 2.1.7; i have a web application biult by using cocoon 2.1.5 and with JVM 1.4.2. I have seen that when i choose to use the htmlarea sometimes this htmlarea doesn't appear in the browser, if i do a page refresh by using F5 this html area appears; how can i solve

Cocoon portal

2005-06-25 Thread Angelo Immediata
Hi all; i'm using cocoon version 2.1.7; i'm using the portal blocks and CachingUriCoplets; now, even if i have several problems, the greatest is this one: i have several pages (that is several named-item in the portal-user-anonymous.xml file); i have used the pageLabel link handler; in a my coc

Re: Cocoon portal

2005-06-27 Thread Angelo Immediata
: Re: Cocoon portal > Can you attach your layout file? What is the name of the page you are > on when you do this? > > Ralph > > Angelo Immediata wrote: > > >Hi all; i'm using cocoon version 2.1.7; i'm using the portal blocks and > >CachingUriCopl

Re: Cocoon portal

2005-06-27 Thread Angelo Immediata
d see the link). Is this correct? If so, clicking on the > link should do nothing. What error do you get? > > Unfortunately, javascript is not one of my strong points, but I'll look > at it as best I can. > > BTW, it is 1am here in California and I won't be able to

Re: Cocoon portal

2005-06-28 Thread Angelo Immediata
he problem. So the real > question is, why is the link changing. the xml namespace would lead me > to believe it is being transformed. > > Ralph > > Angelo Immediata wrote: > > >Hi... thanks again for your replay... i'm still tring to understand why i > >have th

Re: Cocoon portal

2005-06-28 Thread Angelo Immediata
act that when you view the html source you see the wrong page label > would lead me to conclude that that is the problem. So the real > question is, why is the link changing. the xml namespace would lead me > to believe it is being transformed. > > Ralph > > Angelo Imme

Cocoon Portal attribute doNotCache in CachingURICopletAdapter java

2005-06-29 Thread Angelo Immediata
Hi all in the source code i have seen that there is a parameter for CachingURICopletAdapter; this class has been written by Gerald Kahrer... what i'ld like to know is how can i use this parameter? Can anybody show me a little sample about its usage (any type of code is welcome)? My scope is

Re: Cocoon portal

2005-06-30 Thread Angelo Immediata
think they have in common is the text for the link. My guess is > that somehow there is something in your pipeline doing this. For example, I > believe the LinkTransformer could be doing this. It would call the > LinkService, which would always add the pageLabel for the current page, n

[Cocoon portal] problem in coplet redirect

2005-07-05 Thread Angelo Immediata
Hi all; i'm using Cocoon 2.1.7; i'm using the portal block and i have some problems. I have had some problems in the link rewriting and now i have this other problem.. I have this code in my site home page: var cid = cocoon.parameters["copletId"]; var comune=null; var selectionForm = new Form("f

Re: [Cocoon portal] problem in coplet redirect

2005-07-05 Thread Angelo Immediata
ge to return to exactly the state it was > left in - all that happens is a switch back to the page with the events > left as they were previously. So if you hit the back button you would > go back to showing the form, but you would not have restarted your flow. > > Ralph > > A

cocoon.getComponent causes NullPointerException

2005-07-13 Thread Angelo Immediata
Hi all; i'm using Cocoon 2.1.7; i'm usign the cocoon-portal block. Well i have an application that i want to transform in a CachingURICoplet. In this application i must use the SAXParser. In order to do it i have created this function: function stringToSAX( str, consumer, ignoreRootElement, prope

Re: cocoon.getComponent causes NullPointerException

2005-07-13 Thread Angelo Immediata
rviceServer > > On Wednesday 13 July 2005 13:36, Angelo Immediata wrote: > > Hi all; i'm using Cocoon 2.1.7; i'm usign the cocoon-portal block. > > Well i have an application that i want to transform in a CachingURICoplet. > In this application i must use the SA

Authentication problem

2005-07-19 Thread Angelo Immediata
Hi all; i'm using Cocoon 2.1.7; i'm using cforms and cocoon portal block. Well i have this scenario: i have a my element that does the authentication, then i use a servlet in order to set in the session the authentication token for the logged user... well by using this function: function autoriz

Re: Authentication problem

2005-07-20 Thread Angelo Immediata
: "news" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Tue, 19 Jul 2005 19:10:14 +0200 Subject : Re: Authentication problem > > Jorg Heymans wrote: > > Angelo Immediata wrote: > > > > > >>I don't see MMDX

Cocoon Form setSelectionList method

2005-07-21 Thread Angelo Immediata
Hi all; i'm using cocoon 2.1.7; i need to put in a selection some values; these values are takne from a web service; i have this method that from the web service create a DOM XML: function getDoc(theBuff){ try{ var fac = javax.xml.parsers.DocumentBuilderFactory.newInstance(); var bui

CForm: get the description label from selection list

2005-09-05 Thread Angelo Immediata
Hi all. I have this problem... i have a combobox; its values are obtained by invocking a web service. Now i need to show in an another page the description label of the element choosen by the user... how can i obtain it? For example i have: Seleziona il comune SANTO ANDRE' SAN GALLO SAN MIGUE

Cocoon Portal: changing profile layout

2005-09-05 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I have several cities; these cities offer some services. I don't want a too large portal_anonymous.xml file (now it's at about 5 rows and it'll become greater and greater). I need to change the portal layout according to an user choice. This choice is a paramet

Re: CForm: get the description label from selection list

2005-09-06 Thread Angelo Immediata
CForm: get the description label from selection list > On Monday 05 September 2005 11:10 am, Angelo Immediata wrote: > > > > I have this problem... i have a combobox; its values are obtained by > > invocking a web service. Now i need to show in an another page the > >

Re: Cocoon Portal: changing profile layout

2005-09-14 Thread Angelo Immediata
eline used to load the layout and then use it however you want. > > Ralph > > Angelo Immediata wrote: > > >Hi all. > >I'm using cocoon 2.1.7. > > > >I have several cities; these cities offer some services. > >I don't want a too large portal_anony

Cocoon portal upload

2005-09-14 Thread Angelo Immediata
Hi all. I have seen that upload in Cocoon portal does not work. I have modified the CopletTransformer class in order that it works. Now for me it works. I attach this class to this mail so everybody can use it. Bye/* * Copyright 1999-2002,2004 The Apache Software Foundation. * * Licensed under t

Re: Cocoon portal upload

2005-09-16 Thread Angelo Immediata
o the current version so I can review > your changes? > > Thanks > Carsten > > Angelo Immediata wrote: > > Hi all. > > I have seen that upload in Cocoon portal does not work. > > I have modified the CopletTransformer class in order that it works. > &g

Some question about cocoon portal

2005-09-25 Thread Angelo Immediata
Hi all; i'm using Cocoon 2.1.7 JDK 1.4.2_07 & 1.4.2_08, JBoss 3.2.6 and tomcat 5. I'm using cocoon portal block. I need to use a search engine in the portal i'm building; for what i know about search engine like Lucene they must indicize all pages; now since in cocoon portal it's used an event t

Re:Portal Coplet interaction and CForms

2005-09-26 Thread Angelo Immediata
You should publish a CopletJXPathEvent so that the form value can be passed to other coplet. -- Initial Header --- >From : "Matthias Nagel" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Mon, 26 Sep 2005 11:17:27 +0200 Subject : Portal Copl

Cocoon Portal and WML devices

2005-09-28 Thread Angelo Immediata
Hi all; i'm using cocoon 2.1.7; i'm using the portal block. I need to create a multichannel portal; my portal must be accessible from both web browser and wap browser; i have some problems with the wml format forms; in wml the form tag doesn't exist and the form action is replaced by the go tag;

Coplet status reset

2005-10-03 Thread Angelo Immediata
Hi all. I'm using Cocoon 2.1.7;i have seen that in the cocoon portal block when you change from a page to another the coplet status doesn't reset to the beginning but the coplets in the old pageLabel remains in the old status. I have modified this class that i have attached in order to reset copl

Re: DITA and Cocoon

2005-10-16 Thread Angelo Immediata
I'm interested to this discussion too. Please keep it on list. Angelo -- Initial Header --- >From : "Ross Gardler" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Sat, 15 Oct 2005 21:02:46 +0100 Subject : Re: DITA and Cocoon > Bertran

Increasing Cocoon Portal speed at stat-up

2005-10-23 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7 and the portal block. I have the configuration files portal-user-anonymous.xml and portal.xml in the layout directory that are at about 2 rows; there are a lots of coplets and pags declared in them. Now i have seen that when i try to go to the first time in the

Cocoon check session id

2005-10-26 Thread Angelo Immediata
Hi all. Is possible with cocoon check if a session id is still alive? I must unteract with another application; i pass to this application the current user's session id; after some times the flow comes back to my application and by using a web service it passes to me the session id; i must check

Re: Cocoon check session id

2005-10-26 Thread Angelo Immediata
e", obj); > > You can also getAttribute("name") and invalidate() this way.. > > User id's can be stored safely in session attributes. Storing non-streamable > objects in them might > require you to change caching setting, keeping cache in memory instead of >

Hel in writing my own transformer.

2005-10-26 Thread Angelo Immediata
Hi all. I need to implement a my own transform that does a link rewriter. the scope is to change the href value of   Attività dell'Osservatorio>>> DIARIO   Sette mesi di iniziative della Direzione Legalità e Sicurezza dell

get Coplets from Layout

2005-11-02 Thread Angelo Immediata
Hi, I'm using pageLabel to change page in my portal. I need to obtain all copletIstanceData Objects in a Named-Item of my portal.xml (in the layout directory). I know that this code: service = (PortalService) cocoon.getServiceManager().lookup(PortalService.ROLE); cid = service.getComponentManage

Increasing Cocoon Portal speed

2005-11-06 Thread Angelo Immediata
Hi all. First of all i'm sorry for being so discontinuous in following this thread, but i'm very busy in the project i'm following. However i have read this thread: http://www.mail-archive.com/users@cocoon.apache.org/msg30344.html where there has been a solution for processing large file and inc

Can i do this thing?

2005-11-08 Thread Angelo Immediata
Hi all. I must do a link rewriteron an HTML file tha i have form tidy generator. I must rewite the link by using some values contained in a java.util.Map; i have this Map populated by the content in the tag " controllo criminale in the Map i have done a similar thing: Map m = new HasMap(); m.pu

Re: Increasing Cocoon Portal speed at stat-up

2005-12-13 Thread Angelo Immediata
e : Tue, 25 Oct 2005 07:23:36 -0700 Subject : Re: Increasing Cocoon Portal speed at stat-up > > > Angelo Immediata wrote: > > >Hi. > >My site is a service oriented portal; i have several application developed > >by using cocoon and integrated under the co

Re: Increasing Cocoon Portal speed at stat-up

2005-12-13 Thread Angelo Immediata
: Date : Tue, 25 Oct 2005 07:23:36 -0700 Subject : Re: Increasing Cocoon Portal speed at stat-up > > > > Angelo Immediata wrote: > > > > >Hi. > > >My site is a service oriented portal; i have several application developed > > >by using cocoon and i

Cocoon portal info

2005-12-19 Thread Angelo Immediata
Hi all. I have an ear where i have my portal application. Now i have tried this application on my local pc; my pc configuration is: JVM: 1.4.2_08 OS: Windows XP Home Edition SP2 Cocoon: 2.1.7 AS: JBoss 3.2.6 With this configuration all works very fine. I have tried this ear on a linux pc; this

Increasing Cocoon Portal speed

2006-01-09 Thread Angelo Immediata
Hi all. I have tried to use the class MapProfileLS.java that has been modified for caching portal layout but i have some problems with method: cloneProfileIfNeeded infact the method clone and copy don't work... i have a NullPointerException when profileType is "layout"; do you know why? Thanks t