[
https://issues.apache.org/jira/browse/COCOON-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
roy huang updated COCOON-2246:
--
Attachment: patch.txt
> HttpRequest should handle encoding in getParameter and getParameterValues
Project: Cocoon
Issue Type: Bug
Components: * Cocoon Core
Affects Versions: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
Reporter: roy huang
This will affect form block's multivalue widget
--
This message is automatically generated by JIRA.
-
Yo
The Form Block now in trunk seems has problems because the change of ajax block.
And does the new jxtemplate generator implement?
If Form block works fine ,+1
Roy Huang
2_1_x from svn these few days,always
said src/block/ajax already exits(something like that)
Roy Huang
The following error occurred
while executing this line:
D:\cocoon\trunk\tools\targets\compile-build.xml:44: D:\cocoon\trunk\src\mocks no
t found.
Total time: 8 seconds
What's the problem?
Roy Huang
d dir: D:\cocoon\trunk\build\${name}\classes
BUILD FAILED
D:\cocoon\trunk\tools\targets\compile-build.xml:71: Warning: Could not find file
D:\cocoon\trunk\src\java\org\apache\cocoon\cocoon.properties to copy.
Total time: 9 seconds
What's the problem?
Roy Huang
[X] move template block to 2.1 and keep the old implementation
[ ] move template block to 2.1 and trash the old implementation
[ ] don't move template block to 2.1
roy huang
fax: +48 (61) 853 29 65
Do we need a vote?
roy huang
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=113697649420083&w=2
Why not add new template block to 2.1,using jxtemplate now in form block is
quite slow.
Roy Huang
In current 2.1.x svn ,Forms using JXTemplateGenerator is much slower than
FormTransformer
Roy Huang
to do the same function like submit widget but still using
Ajax in form ,not exiting showForm.This goal leads to my question.
regards,
Roy Huang
and other object in
parent flowscript?If put this object in global the same people access twice or
more at the same continuation life cycle will cause problem.
Any suggestion?
regards
Roy Huang
Can this be fixed before release?
Roy Huang
and the attachment is my java file.
Are there any other ways?Please comment your suggestion.
Roy Huang
SetContainerEncodingAction.java
Description: Binary data
ajax=true&forms_submit_id=sourcetype&name=%E6%B5%8B&sourcetype=file
(sorry is from sample do-datasourceChooser.flow,but the result is the same)
when I delete cocoon-ajax=true,the response is right too.So I believe is
something
wrong in form.
Anyone help?
Thanks
Roy Huang
Hi,Philippe GASSMANN
I test it in sample,it works,I will test it in my project.Thanks a lot.
Roy Huang
Hi,Bertrand
I have update form the svn,only
src\webapp\samples\i18n\translations\messages_zh_CN.xml is
update,src\blocks\forms\java\org\apache\cocoon\forms\system\i18n\messages_zh_CN.xml
is not updated.I think this file should be update too.
Thanks.
Roy Huang
portal tools i18n doesn't work
---
Key: COCOON-1670
URL: http://issues.apache.org/jira/browse/COCOON-1670
Project: Cocoon
Type: Bug
Components: Blocks: Portal
Versions: 2.1.8-dev (Current SVN)
Reporter: roy huang
Hi
I have ever provided this file before ,now I complete it for the recent
changes.Please commit it into svn.
Roy Huang
æ ¡éªç éªè¯å¤±è´¥
æ¤åæ¯å¿
é¡»ç
ä¸æ¯ä¸ä¸ªææç{0}ç±»å.
å°æ°
æ´æ°
æ´æ°
å°æ°
å°æ°
æ¥æ
æ¶é´
æ¥ææ¶é´
å
x27;t work,check archive mail-list
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=111692234511897&w=2
Can anyone fix it please?
Thanks.
Roy Huang
Hi,Torsten
I don't understand what "rewritten" mean and what class do you want.Please
tell me.
The iDirectory depends another jar file and the second block is all cocoon
codes.
Roy Huang
Hi
I attachment the source here.I rem two block in the source(you can see the
souce) and then it works.
If don't rem the line
iDirectory =(IDirectory) getComponent(IDirectory.ROLE);
user=iDirectory.getCurrentUser();
releaseComponent(iDirectory);
the error will be:
java.lang.Run
subroutine).
Any suggesions?
Roy Huang
Hi,all:
I change portal tools auth2.xml to auth.xml in samples\blocks\portal\tools
directory,using user guest login,I still can access all the tool's function.Is
it a bug or this function has not been completed?
Roy Huang
When I access portal tools to access coplet edit,all is broken.it seems the
xercesImpl change to 2.7.0 and xml-apis.jar's change makes it.This also make
forms block can't be complied earlier.
Roy Huang
e,when you access again ,it
returns to English.
Any suggestions?
Roy Huang?
omcat 4.1 because this problem.
Roy Huang
uld you add an entry
Your local name for a Calendar
here
I'm working on the forms-samples-styling.xsl files and in the meantime I
try to fix a little "TODO" to provide a localized "alt" to the calendar
image.
Thanks.
Bye, Helma
> -Original Message-
> From:
://issues.apache.org/bugzilla/show_bug.cgi?id=33346 Portal block
portallabel+cl:link,I don't know how to fix it by myself.
Please fix these bugs before 2.1.7 release.
And I attach the simplified Chinese message file for the Form block,please
someone replace the file in current svn by it.
Roy
Sorry,missing line 91-92
buffer.append(requestParameterName).append('=')
.append(SourceUtil.encode(key.toString()));
Here should be modified too.
Roy Huang
- Original Message -
From: "roy huang" <[EMAIL PROTECTED]>
T
Hi all:
I checked the source code,in PageLabelLinkService.java(2.1.6) line 227:
uri.append(parmName).append('=').append(SourceUtil.encode(label));<--here
One solution is using SourceUtil.encode(label,"utf-8") .
Roy Huang
- Original Message -
Fr
-page?pageLabel=%B9%AB%B8%E6%C0%B8,it won't work
Because I'm using utf-8 encoding ,so I change url to
portal-page?pageLabel=%E5%85%AC%E5%91%8A%E6%A0%8F,it works
So the bug is obviously caused by url encoding.
WDYT?
Roy Huang
I have the same problem.Using tab is to make xml file look nice.
- Original Message -
From: "Torsten Curdt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 2004 5:54 PM
Subject: Re: AW: XMLSerializer replaces tabs with
> Stefan Pietschmann wrote:
> > Hmm, i'm not
This will also happen but in cocoon-files directory.
Any suggestion?
Roy Huang
Hi Sylvain:
Their is a little bug in jx-macros.xml,I have post a bug into bugzilla,see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=32425
Roy Huang.
- Original Message -
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Dec
Hi
I check the file shipped with 2.1.6,found its encoding is wrong.I believe
it is because is edit by someone using incorrect encoding.I attach the correct
one.
Roy Huang
此域是必须的
不是一个有效的{0}类型.
整数
小数
小数
小数
整数
日期
时间
日期时间
应为{0}个字符.
应包含{0}到{1}个字符.
应包含至少{0
Hi,Sylvain:
I have thought about invisible state,and studied the mail archive about
widget's state.
Is it now I can't just use flowscript to hide a widget ?
Roy Huang
- Original Message -
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
It was xalan-2.6.0.jar,build will fail,replace with
xalan-2.6.1-dev-20041008T0304.jar,it's fine.
Roy Huang
- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 12:42 PM
Subject: Re: [SOLVE
I recheck all the lib,cocoon 2.1.6 change endorsed lib xalan.jar to
xalan-2.6.1-dev-20041008T0304.jar.My jdk endorsed is still
xalan-2.6.0.jar.Replace the xalan jar,everything's fine now.
Thanks.
Roy Huang
- Original Message -
From: "Torsten Curdt" <[EM
dget's value shouldn't get from the request.This allow
user adjust forms-field-styling.xsl to just display text in final page.
C)If B) is not a good suggestion,then make just like
to keep it's original value or make it possible to change one
widget's type form field to output.
WDYT?
Roy Huang
There's no swan directory in forms directory.
Roy Huang
Hi,all:
I download zip file source of 2.1.6, build on win/32 with java
1.4.2.Everything's fine but javaflow block.Errors in attachment.When I exclude
javaflow block,the build is successful.
Please check it,thanks.
Roy Huang
cocoon-block-javaflow-compile:
Compiling 5 source
t is behide
the layer
Set the CSS property z-index to a value greater than the frame, and it
will apear. In forms-calendar.css, in #forms_calendarDiv, I've added
z-index: 20; and that fixed it.
> -Original Message-
> From: roy huang [mailto:[EMAIL PROTECTED]
> Sent: Tue
it is a bug,can anyone fix it ?
Roy Huang.
lem is how
forms binding to table using keys,right?If this problem is solved,is there any
problems with this ideas?
Do you have any ideas or suggestions,please let me know.
Thank you!
Roy Huang
Sorry,it should be :
name1=new Packages.java.lang.String(name);
name2=new Packages.java.lang.String(name1.getBytes("ISO-8859-1"));
cocoon.sendPage(name2);
}
- Original Message -
From: "roy huang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thur
.sendPage(name1);
}
it works,if you want to decode it,you can also :
name2=new Packages.java.lang.String(name1.getBytes("ISO-8859-1"));
Thought,I don't like this way,just post it hope it is helpful for somebody.
Roy Huang
- Original Message -
From: "roy huang" &
uring resolving of the input
stream: org.apache.excalibur.source.SourceNotFoundException: file:/C:/My
Documents/IBM/wsad/workspace/PowerOA/WebContent/test/jpg/ÃÂÂ.jpg doesn't exist.
How can I use non-ASCII file name in cocoon?I can't find any description or help in
wiki or archived m
e Gallary Viewer did't work.
What can I do to make this work again? Or is it a bug?
If you were me ,how to solve this problem by using CachingURICoplet with bookmark?
WDYT?
Roy Huang
- Original Message -
From: "Philippe Guillard" <[EMAIL PROTECTED]>
To:
ion is not allowed for this type of node
I must change
to:
to solve this problem,but this also make in the new databind define all
have child node even it doesn't need it.
My question is how to aviod the error and insert only when it is needed.
WDTY?
Roy Huang
I have send a mail to you,check it.
Roy Huang
- Original Message -
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 5:45 PM
Subject: RE: [help]using two portals in the same time
> Hi,
>
> I can't con
k right.
I'm using 2.1.5 with tomcat 4.1.30+jdk 1.4.2,I also repeat this error by copy the
director of portal to standard and modify it follow the upper steps using jetty ship
by 2.1.5.
What I miss or is it a bug?
Roy Huang
129741&w=2
The last two I ever posted mail in dev maillist and no reply so I send this mail to
dev mail list tow this time.
Roy Huang
- Original Message -
From: "Jasper Michalczik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 29, 2004 4
tch(Exception e) { }
}
I don't know if this will help to make SQLTransformer get CLOB more portable.
Roy Huang
+1
- Original Message -
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 09, 2004 9:05 PM
Subject: Re: [CForms]FormattingDateConvertor can't convert blank to date in current
cvs version.
> On 09.05.2004 14:20, Upayavira wrote:
>
> >> I made a little
.
What can I do to convert an blank ("") string to Date type? Or this should be
considered in the FormattingDateConvert.java?I believe this function is need because
date may be blank.
WDYT?
Roy Huang
Hi ,Ugo:
I never thought the pipeline can do things this way .I will study 1) and find out
would this solve my problem.
Thanks a lot.
Roy Huang
- Original Message -
From: "Ugo Cei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 09, 2004 3:0
: "Ugo Cei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 08, 2004 9:58 PM
Subject: Re: Some CalendarGenerator code
> Il giorno 08/mag/04, alle 10:14, roy huang ha scritto:
>
> > After a long Labor Day holiday,I checked this message tod
e transition.
Currently kept a getWidget() on the Form.js to return the underlaying java-widget of
the Form.
Refactored the car and country-selector to abuse the new "../" path syntax.
Roy Huang
For Bruno's new modified to FormsMessages.xml
Roy Huang
此域是必须的
不是一个有效的{0}类型.
整数
小数
小数
小数
整数
日期
应为{0}个字符.
应包含{0}到{1}个字符.
应包含至少{0}个字符.
不应超过{0}个字符.
不能满足如下表达式: {0}
域不包含有效的邮件地址
应有{0}个项目被选中.
至少{0}个和最多{1}个项目应被选中.
至少{0}个项目应被选中.
至多{0}个项目应被选中.
选中的值当中有一个类型不正
,then
users can using
xml file or SQLTransformer to get the information and set it in element.
WDYT?
Roy Huang
- Original Message -
From: "Ugo Cei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 01, 2004 11:24 PM
Subject: Re: Some CalendarGenerator
Not only required validation ,other validations aren't work either.
- Original Message -
From: "roy huang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 30, 2004 5:43 PM
Subject: [CForms]required validation don't work wiht flowscript i
://localhost:/samples/blocks/forms/form1 is ok.
Roy Huang
mp;m=108253763309517&w=2 .My suggestion is
why not write a CalendarTransformer?It read from generator about date,content by
parameter configed by parameter and then generate its own sax pipeline just like
CalendarGenerator?This Transformer will much easier to use.
WDYT?
R
I know the normal process should use two different instances of the same coplet.
But in some condition people may forget this :).
Roy Huang
- Original Message -
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 28, 200
s the same
coplet but have not been deleted result this. Should it produce a better message or
just keep or both delete the coplet?
WDYT?
Roy Huang
- Original Message -
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 2
t the first and full-screen--->delete,it generate NPE directly
and fatally.Only logout can return the login page.
Is it a bug and is it have been post in Bugzilla?
Roy Huang
It works,thanks.
- Original Message -
From: "Upayavira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 26, 2004 9:54 PM
Subject: Re: cocoon.sendPage and redirect-to not compatible?
> 黄 海冬 wrote:
>
> > Just after submit my mail I saw an archive mail-list describe the sam
some url or pipeline to allow file upload? And this will
enable using setCharacterEncodingAction to set form encoding.
WDYT?
Roy Huang
encoding utf-8.
How can I solve this problem?
Roy Huang
Hi,Ugo
I will try to write some code to solve my need before may,but it may not as good
as yours.I will send the code to you after my work.
Roy Huang
- Original Message -
From: "Ugo Cei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 20
y
g.day
2.like http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108004670802012&w=2
provide the dates before the first day of the month and the dates after the last
day of the month if they are in the same week.
3.provide an example to display information in the calendar view.
WDYT?
Roy Huang
Sorry for not trying everything.I change the jdbc driver to oracle official under jdk
1.4.Problem solved.
- Original Message -
From: "roy huang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 12:06 PM
Subject: Re: is databasere
en closed.
and the recycle() run.
the same jdbc driver in otherplace doing the same thing is fine,so I guest it may be
database management,but I'm not sure is tomcat or cocoon.
WDYT?
Roy Huang
the code to my servlet code ,different is my servlet get the
connection ,query and close,but databasereader.java close connection in recycle().
environment:
cocoon: current cvs
Tomcat 4.1.30
oracle 9i
my servlet using websphere 5.1 as server
Any suggestion?
Roy Huang
cocoon may
consider using XUL as special application UI or even more.
WDYT?
Roy Huang
- Original Message -
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 05, 2004 9:49 PM
Subject: Re: [RT] - XUL revisited
> Antonio Gal
Agree!I believe this GUI as an application or an application core is better.It means
developers using cocoon can use this core to build their application,like
administration panel for form design or management.
Roy Huang
- Original Message -
From: <[EMAIL PROTECTED]>
To: &
,it will generate the same error.
Solution suggestion:
1.Do not generate error if a widget not exist ,just not render or ignore it.Of course
,this can turn on and off by parameter.
2.Sylvain's suggest,3 states for a widget.this state is an attribute of a widget
define,we can modify it by flow or own transformer.
WDYT?
Roy Huang
It's correct.I'm glad to make some contribute to cocoon.
Attached OtherMessages_zh_CN.xml here to complete the translate.
Roy Huang
- Original Message -
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 02,
I translated FormsMessage.xml to FormsMessage.xml,attached here.Hope it help.
Roy Huang
此域是必须的
不是一个有效的{0}类型.
整型数字
日期
应为{0}个字符.
应包含{0}到{1}个字符.
应包含至少{0}个字符.
不应超过{0}个字符.
不能满足如下表达式: {0}
域不包含有效的邮件地址
应有{0}个项目被选中.
至少{0}个和最多{1}个项目应被选中.
至少{0}个项目应被选中.
至多{0}个项目应被选中.
选中的
;w=2
I think it will be better if the body attribute can reserve.
Other question: If I use or instead ,the xsl won't work for
, any suggestions?
xsl file:
forms_onload();
Roy Huang
Sorry,forget the version:current cvs version
Roy Huang
I ever posted a help about Database action error.I found the result now.
I use a xml file to store several configuration include database-action's descriptor.I
wrote a transformer to get different configuration xml from this big xml file(I don't
think it is a good way now :)).the xml file likes:
ml root).
It works fine in 2.1.4,so I guess it is some change to "cocoon:" protal due to this
error.
WDYT?
Roy Huang
It works now,thanks.
Roy Huang
- Original Message -
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 9:45 PM
Subject: Re: XIncludeTransformer broken in current cvs version?
> roy huang hotmail.com> writes:
>
sitemap.xmap:
test.xml:
http://www.w3.org/2001/XInclude";>
It works fine in 2.1.4.But in current cvs version,it display nothing.
Roy Huang
wow ,It seems I can't check slide's feature for some time.I remember slide support
database,so any integration about slide and woody?
Roy Huang
- Original Message -
From: "Unico Hommes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18,
,It seems everything's fine.
jdk is 1.4.2_03
win2000 pro
Roy Huang
- Original Message -
From: "Unico Hommes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18, 2004 1:44 AM
Subject: Re: WebDAV status in cocoon
>
>
> Jean Pi
move this.format to setup,and get encoding from a parameter.
Roy Huang
It works,thanks!
Roy Huang
- Original Message -
From: "Marco Rolappe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 3:58 PM
Subject: AW: Configuration of own roles in external file?
>
>
> ...
>
> is working for m
name as
"/WEB-INF/myroles.xconf","WEB-INF\\myroles.xconf","WEB-INF\myroles.xconf",the result
is the same.
Any suggestion?
Roy Huang
- Original Message -
From: "roy huang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Marc
What does it mean to this---> <*cocoon* *user*-*roles*="WEB-INF/myroles.xconf">
Is or <*cocoon*
*user*-*roles*="WEB-INF/myroles.xconf">?
Roy Huang
- Original Message -
From: "Upayavira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]
For reality work consideration +1
Roy Huang
- Original Message -
From: "Christopher Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 10:59 AM
Subject: [VOTE] Rename Rhino-with-continuations packages
> In order to allow the use
I got the same problem even in 2.1.5-dev
Roy Huang
- Original Message -
From: "Steve Krulewitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 7:14 AM
Subject: Re: [cforms] Woody template transformer eating namespaced element tags?
> I
Agree.In some system you can add input in an offline html to modified the value,it is
a security problem.
Roy Huang
- Original Message -
From: "Bruno Dumon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 3:53 PM
Subject: Re: [CForm]t
w).Can/Should cocoon form provide multi-value binding to output widget?Xml source
like that:
a.xml data
good
morning
b.multi-value field
,
...
c.output
true
...
Roy Huang
e the xml in the disk,it can be transform by Xinclude.
If I use a xslt file to transform it first ,it can also transform by Xinclude.
So I believe it my transformer's problem,can you help?
Thanks advanced!
Roy Huang
It sounds good.I think many application just use very simple database,I saw
application just use one or two table for data storage only.
If we(beginners ;)) can just using mapping to combine xml and database for
select/add/update/delete,life is much easier with cocoon.
+1
Roy Huang
the same,but I don't know how
to configure this module.
Roy Huang
- Original Message -
From: "Reinhard Poetz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 11:37 PM
Subject: [RT] Connecting databases with Cocoon
>
> Aft
It seems we must wait for a new stable xalan version to solve all the problem.
Roy Huang
- Original Message -
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 11:53 AM
Subject: Re: [woody]display error after upgr
1 - 100 of 103 matches
Mail list logo