RE: populating combo box value from a xml file

2006-06-06 Thread baskar.ganesh
Use widget.widget-name.setSelectionList(xml). You can do construct the cml dynamically using jx template and provide as a match like widget.widget-name.setSelectionList(cocoon:/match-name) Regards, Baskar From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday,

SQLTransformer problem with cocoon 2.1.7

2006-05-08 Thread baskar.ganesh
Hi all, I ma trying to use SQL Transformer to execute a query from cocoon. SQL Transformer seems to be working fine with cocoon2.1.5 and when we port our application from 2.1.5 to cocoon2.1.7 We are getting the following exception. SQLTransformer: Not expecting a start value

RE: SQLTransformer problem with cocoon 2.1.7

2006-05-08 Thread baskar.ganesh
Thanks for the suggestion. But the same seem to be working on cocoon2.1.5. Ok even if I modify the jx as follows I am getting the same exception ?xml version=1.0 encoding=utf-8?jx:template xmlns:jx=http://apache.org/cocoon/templates/jx/1.0 page

RE: Appending URI prefix in cocoon.2.1.7

2006-03-23 Thread baskar.ganesh
Thanks a lot Jason for considering this. Here in {customer/name} customer is the object and the name is a variable in it which will be stored at the beginning using the filters before it reaches the xmap. The following is defined in the cocoon.xconf to make the customer object available :-

Appending URI prefix in cocoon.2.1.7

2006-03-22 Thread baskar.ganesh
Hi All, I am trying to add a static name other than the war name in the URI. It should be as follows:- http://server-name:port-number/webapp-name/customer-name And the above should be there always whenever the new request is been served. I am using cocoon2.1.7 and I use two

Appending URI prefix in cocoon.2.1.7

2006-03-21 Thread baskar.ganesh
Hi All, I am trying to add a static name other than the war name in the URI. It should be as follows:- http://server-name:port-number/webapp-name/customer-name And the above should be there always whenever the new request is been served. I am using cocoon2.1.7 and I use two

Appending URI prefix in cocoon.2.1.

2006-03-20 Thread baskar.ganesh
Hi All, I am trying to add a static name other than the war name in the URI. It should be as follows:- http://server-name:port-number/webapp-name/customer-name And the above should be there always whenever the new request is been served. I am using cocoon2.1.7 and I use two

Locale problem in cocoon 2.1.7

2006-03-17 Thread baskar.ganesh
Hi All, We are trying to migrate our application from cocoon2.1.5.1 to cocoon 2.1.7. We are facing a problem with the locale. We have defined an entry for locale as map:action name=locale logger=sitemap.action.locale src=""> !-- Creates a new session if needed. Used with

Locale problem in cocoon 2.1.7

2006-03-16 Thread baskar.ganesh
Hi All, We are trying to migrate our application from cocoon2.1.5.1 to cocoon 2.1.7. We are facing a problem with the locale. We have defined an entry for locale as map:action name=locale logger=sitemap.action.locale src=""> !-- Creates a new session if needed. Used with

Coccoon 2.1.7

2006-02-21 Thread baskar.ganesh
Hi All, I want to know where I can get the cocoon 2.1.7 source to build. Will v2 API work on cocoon 2.1.7 version? If not any patches we can update to make v2 API work with the cocoon 2.1.7 version. Thanks and Regards, Baskar The information contained in this

RE: map:call continuation error in cocoon-2.1.7..

2006-02-21 Thread baskar.ganesh
Hi Simone, The same stuffs seem to be working with cocoon2.1.5. Anything we need to add with cocoon 2.1.7 to make this work. Please suggest us something so that we go ahead and try out with cocoon 2.1.7. Regards, Baskar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Render pdf byte stream on the browser

2005-12-15 Thread baskar.ganesh
Hi, I want to display a pdf on the browser. I have with me the byte stream, using which I need to display the pdf directly on the browser. Currently, I am storing it in my local file system by creating a file output stream. But its taking a lot of time. I don't want to create any intermediate

Problem with fd:group and fd:struct

2005-09-12 Thread baskar.ganesh
Hi all, Can anyone help me out in using fd:group instead of fd:struct? While using fd:group I am getting the following exception :- org.apache.avalon.framework.CascadingException: Unknown kind of widget 'group' Does any namespace needs to be declared on fd:form? Basicaly I

Problems with fd:union

2005-09-12 Thread baskar.ganesh
Hi all, We are facing a problem with fd:union If we use fd:union then the fd:submit functionality seems to be not working. One more problem is if we mention fd:group then it is giving the following exception org.apache.avalon.framework.CascadingException: Unknown kind of widget

RE: Problems with fd:union

2005-09-12 Thread baskar.ganesh
HI Jason, Is this option available with cocoon 2.1.5*? Because we are getting the following error /mc/Demo/groupTest full exception chain stacktrace Original Exception: java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.cocoon.forms.formmodel.GroupDefinitionBuilder

Accessing the union type widget value

2005-09-09 Thread baskar.ganesh
Hi all, Can anyone tell me how can we access the union widget from the flowscript? I have created a definition file as follows:- fd:form xmlns=http://apache.org/cocoon/forms/1.0#definition xmlns:i18n=http://apache.org/cocoon/i18n/2.1

RE: Accessing the union type widget value

2005-09-09 Thread baskar.ganesh
Thanks Jason. I can able to access the widget now... -Original Message- From: Jason Johnston [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 7:14 PM To: users@cocoon.apache.org Subject: Re: Accessing the union type widget value [EMAIL PROTECTED] wrote: Hi all, Can

RE: eval function does not work

2005-03-30 Thread baskar.ganesh
Hi Daniel, Thanks for your reply. I am using cocoon 2.1.5 and I am facing a typical problem in this. eval( 'temp + cocoon.session.getAttribute(object).getId()' ); The above mentioned one works fine. But the problem is when iam getting the following expression temp +

eval function does not work

2005-03-24 Thread baskar.ganesh
Hi all, Can anyone suggest me why eval() function does not work in flow script. If it wont work is there any alternative for that? Regards, Baskar Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended

Problem validating multivaluefield in cocoon

2004-11-28 Thread baskar.ganesh
Hi all, I am facing a problem with required attribute with multivalue field in cocoon.I have a multivalue field in my form as fd:multivaluefield id=testMultiValue required=true fd:datatype base=string/ fd:selection-list / /fd:multivaluefield Referring to above definition I

[CForms] widget validation

2004-11-24 Thread baskar.ganesh
Hi, I want to validate all the field widgets with their 'required ' attribute set to true. For that I have a fd:javascript snippet which calls a function written in flowscript. Following is the snippet in my form definition file: - fd:submit id=submit action-command=submit form

Problem with downloading a zip file on MAC IE

2004-11-16 Thread baskar.ganesh
Hi all, I am trying to download a zip file via cocoon. I am having a function in flowscript function download() { return function() { cocoon.redirectTo(zip/test/test.zip); } } Which I am calling in onActivate of a widget formWidget.button.> I am having a pipeline defined in

conditional display of second selection-list

2004-05-25 Thread baskar.ganesh
Title: Message I want to display a selection-list-B in a cocoon form on the submit of another selection-list-A.Initially only selection-list-A is visible on the page. fi:styling submit-on-change="true"/ goes to :- selection-list item value="ABC" /item value="DEF"/item