Re: BRANCH_2_1_X-dojo1_1 - dojoId is not defined
Jeroen Reijn Escribio :-) Hi, there was some effort of updating to dojo 1.1, but the work in the branch as far as I know is not finished. Jeroen Hi Jeroen. thanks for the feedback. I'm trying to help in the testing, I know Jeremy work sometime ago on this branch. So, in anycase I'm attaching another patch, this patch is to make work again the suggestion list of type javascript: fd:suggestion-list type=javascript -- Cheers. Carlos Chávez. On Mon, Jul 5, 2010 at 6:56 AM, Carlos Chávez ccha...@agssa.net wrote: Hi guys. I was testing the branch http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X-dojo1_1. I enter in the sample: http://localhost:/samples/blocks/forms/do-calculatedfields.flow I tried to add a row to the repeater and it shows the error: dojoId is not defined. I attached to the email the fix for this error. -- Cheers. Carlos Chávez. ### Eclipse Workspace Patch 1.0 #P BRANCH_2_1_X-dojo1_1 Index: src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl === --- src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl (revision 960158) +++ src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl (working copy) @@ -47,13 +47,14 @@ xsl:param name=dojo-resourcesxsl:value-of select=$context-path//_cocoon/resources/dojotoolkit/xsl:param !-- Url prefix for dojo resources -- xsl:param name=forms-resourcesxsl:value-of select=$context-path//_cocoon/resources/forms/xsl:param !-- Url prefix for forms block resources -- xsl:param name=forms-systemxsl:value-of select=$context-path//_cocoon/system/forms/xsl:param!-- Url prefix for forms block system pipelines -- - + xsl:param name=forms-suggest_cocoon/system/forms/suggestionlist/xsl:param !-- Special case for the suggest widget -- + !-- set the default dojo css theme, other choices are currently 'nihilo' and 'soria' -- xsl:param name=dojo-theme-defaulttundra/xsl:param - + !-- A convenient way for samples to have a url that switches the theme. If your app does not want this, don't send this param from your sitemap -- xsl:param name=dojo-theme-param/xsl:param - + !-- the determine dojo css theme to use -- xsl:variable name=dojo-theme xsl:choose @@ -61,15 +62,15 @@ xsl:otherwisexsl:value-of select=$dojo-theme-param//xsl:otherwise /xsl:choose /xsl:variable - + !-- option to turn on console debugging for dojo on the browser and loading of uncompressed resources, from a parameter in the sitemap -- xsl:param name=dojo-debugfalse/xsl:param xsl:variable name=dojo-debug-jsxsl:if test=$dojo-debug='true'.uncompressed.js/xsl:if/xsl:variable!-- load the uncompressed version for debug mode -- xsl:variable name=dojo-debug-cssxsl:if test=$dojo-debug='true'.commented.css/xsl:if/xsl:variable - + !-- Configure the dojo locale from a parameter in the sitemap (required?). -- - xsl:param name=dojo-locale/xsl:param - + xsl:param name=dojo-locale/xsl:param + !-- Create a variable with the normalized locale, dojo needs locale parts to be separated with a dash -- xsl:variable name=dojoLocale xsl:choose @@ -81,7 +82,7 @@ /xsl:otherwise /xsl:choose /xsl:variable - + !-- create a variable for the dojo configuration -- xsl:variable name=djConfig isDebug: xsl:value-of select=$dojo-debug/, @@ -94,11 +95,11 @@ locale: 'xsl:value-of select=$dojoLocale/'xsl:if test=$dojo-use-cdn = 'true' and $dojo-cdn != '', dojoBlankHtmlUrl: 'xsl:value-of select=$dojo-resources//dojo/resources/blank.html', dojoIframeHistoryUrl: 'xsl:value-of select=$dojo-resources//dojo/resources/iframe_history.html', !-- not currently used by cforms itself -- -baseUrl: './', +baseUrl: './', xdWaitSeconds: 10/xsl:if /xsl:variable - xsl:template match=head mode=forms-field + xsl:template match=head mode=forms-field xsl:choose xsl:when test=$dojo-use-cdn = 'true' and $dojo-cdn != '' link rel=stylesheet type=text/css href={$dojo-cdn}/dijit/themes/dijit.css/!-- Google CDN does not keep *.commented.css -- @@ -146,11 +147,11 @@ | Adds support for live data validation on the client, based on fi:datatype | (Browser validation may be turned off with fi:styling/@browserValidation=false) +-- - + !-- TODO: Document new options -- !-- TODO: fi:styling/@regExp should not be a user tag, it should come from the validator (eventually?) -- - - xsl:template match=fi:field[not(fi:styling/@type='inplace-area') and (@state='active' or @state='disabled')] | + + xsl:template match=fi:field[not(fi:styling/@type='inplace-area') and (@state='active' or @state='disabled')] |
Re: Help needed on finalizing the JAXB optional support
Hi all guys, any hint on it? Please! :P Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, Jun 26, 2010 at 7:11 PM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, I resolved the Collection Generic type problem[1], but the question about the plural stemmer/inflector is still open, can anyone help me please? Thanks in advance, have a nice weekend :) Simo [1] http://tinyurl.com/23bpwnc r958243 http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Jun 24, 2010 at 10:49 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all, a month ago I started developing the JAXB optional support for C3 pipeline, with a lot of limits: * each time a new object has to be mashalled, the JAXBContext were created, now it uses a memory-based LRU cache; * it supported just POJOs graphs, without any support for collections and array. I was able to plug the array support (see cocoon-optional r936231) but after several tries I had to resign to discover collections generic type at runtime; I also checked-out the Jersey source code to see how do they extract this information, but I got lost :( So, my first question is: can anyone help me please? :P Moreover, for Collection/Array object, there is the need that the root element name of the marshalled document is the plural of the list; I found two existing implementations for this purpose: * the Apache Betwixt PluralStemmer [1] * the Jersey Inflector [2] I personally find the Jersey implementation much more complete but it is not licensed under the Apache license. So my question is: can I extract part of that class to include in our software? Is that allowed? Many thanks in advance, have a nice day Simo [1] http://tinyurl.com/376ehs9 [2] http://tinyurl.com/3yqbssj http://people.apache.org/~simonetripodi/ http://www.99soft.org/
[jira] Subscription: COCOON-open-with-patch
Issue Subscription Filter: COCOON-open-with-patch (108 issues) Subscriber: cocoon Key Summary COCOON-2290 CLONE - Add a read method to the SitemapComponentTestCase https://issues.apache.org/jira/browse/COCOON-2290 COCOON-2288 Allow usage of SLF4J for traces https://issues.apache.org/jira/browse/COCOON-2288 COCOON-2281 Communication tools that we use link to dev mailing list archive comes out at user mailing list archive https://issues.apache.org/jira/browse/COCOON-2281 COCOON-2268 To extend the image reader we need to change the visibility to the parameter of the ImageReader https://issues.apache.org/jira/browse/COCOON-2268 COCOON-2262 container.refresh() is called before embeddedServlet.init() https://issues.apache.org/jira/browse/COCOON-2262 COCOON-2260 wrong parent version in pom of cocoon-flowscript-impl https://issues.apache.org/jira/browse/COCOON-2260 COCOON-2249 XHTMLSerializer uses entity references quot; and apos; which cause JavaScript parse errors https://issues.apache.org/jira/browse/COCOON-2249 COCOON-2246 HttpRequest should handle encoding in getParameter and getParameterValues in the same way https://issues.apache.org/jira/browse/COCOON-2246 COCOON-2233 Update archetypes to current trunk artifact versions https://issues.apache.org/jira/browse/COCOON-2233 COCOON- Add SaxParser configuration properties https://issues.apache.org/jira/browse/COCOON- COCOON-2216 IncludeCacheManager can not perfom parallel includes https://issues.apache.org/jira/browse/COCOON-2216 COCOON-2212 jx:attribute does not check name is correct before proceeding https://issues.apache.org/jira/browse/COCOON-2212 COCOON-2197 Making the cocoon-auth-block acegi-security-sample work https://issues.apache.org/jira/browse/COCOON-2197 COCOON-2173 AbstractCachingProcessingPipeline: Two requests can deadlock each other https://issues.apache.org/jira/browse/COCOON-2173 COCOON-2162 [PATCH] Fix for Paginator when accessing out of bounds Pagination page https://issues.apache.org/jira/browse/COCOON-2162 COCOON-2137 XSD Schemas for CForms Development https://issues.apache.org/jira/browse/COCOON-2137 COCOON-2114 fix sorting in TraversableGenerator https://issues.apache.org/jira/browse/COCOON-2114 COCOON-2108 xmodule:flow-attr Does not accept document objects https://issues.apache.org/jira/browse/COCOON-2108 COCOON-2100 Retrieving mimeType returned by pipeline executed from Flow https://issues.apache.org/jira/browse/COCOON-2100 COCOON-2040 Union widget does not work with booleanfield set as case widget https://issues.apache.org/jira/browse/COCOON-2040 COCOON-2037 New DynamicGroup widget https://issues.apache.org/jira/browse/COCOON-2037 COCOON-2032 [PATCH] Sort order in paginated repeater https://issues.apache.org/jira/browse/COCOON-2032 COCOON-2030 submit-on-change doesn't work for a multivaluefield with list-type=checkbox https://issues.apache.org/jira/browse/COCOON-2030 COCOON-2018 Use thread context class loader to load custom binding classes https://issues.apache.org/jira/browse/COCOON-2018 COCOON-2017 More output beautification options for serializers https://issues.apache.org/jira/browse/COCOON-2017 COCOON-2015 Doctype added twice because root element (html) is inlined https://issues.apache.org/jira/browse/COCOON-2015 COCOON-2002 HTML transformer only works with latin-1 characters https://issues.apache.org/jira/browse/COCOON-2002 COCOON-1974 Donating ContextAttributeInputModule https://issues.apache.org/jira/browse/COCOON-1974 COCOON-1973 CaptchaValidator: allow case-insensitive matching https://issues.apache.org/jira/browse/COCOON-1973 COCOON-1964 Redirects inside a block called via the servlet protocol fail https://issues.apache.org/jira/browse/COCOON-1964 COCOON-1963 Add a redirect action to the browser update handler https://issues.apache.org/jira/browse/COCOON-1963 COCOON-1960 Pipeline errors for generator/reader already set should provide more information https://issues.apache.org/jira/browse/COCOON-1960 COCOON-1949 [PATCH] load flowscript from file into specified Rhino context object https://issues.apache.org/jira/browse/COCOON-1949 COCOON-1946 [PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates https://issues.apache.org/jira/browse/COCOON-1946 COCOON-1943 [Patch] Parameters in blocks-protocol URIs get decoded too early https://issues.apache.org/jira/browse/COCOON-1943 COCOON-1932 [PATCH] correct styling of disabled suggestion lists https://issues.apache.org/jira/browse/COCOON-1932 COCOON-1929 [PATCH] Reloading classloader