Re: Xhtml and Ajax...no go!!

2007-03-12 Thread Andrew Madu
Hi, seems the problem is situated around this little snippet of code: private static final String CHARSET_LOOKUP_CLASS = "org/apache/cocoon/components/serializers/encoding/cs_US_ASCII.class"; ... private CharsetFactory() { super(); this.unknownCharset = new UnknownCha

Re: Xhtml and Ajax...no go!!

2007-03-12 Thread Bertrand Delacretaz
On 3/12/07, Andrew Madu <[EMAIL PROTECTED]> wrote: ...it would seem that this problem: "Unable to access JAR "jar:file:/C:/Program Files/jboss- 4.0.3/server/default/deploy/jbossweb -tomcat55.sar/ROOT.war/WEB-INF/lib/cocoon-serializers-charsets-0.2.jar!/org/apache/cocoon/components/serializers/e

Re: Xhtml and Ajax...no go!!

2007-03-12 Thread Andrew Madu
Hi, it would seem that this problem: "Unable to access JAR "jar:file:/C:/Program Files/jboss- 4.0.3 /server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/lib/cocoon- serializers-charsets-0.2.jar!/org/apache/cocoon/components/serializers/encoding/cs_US_ASCII.class " has been an issue for

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi Jason, It looks like you're running from an unexploded WAR? Perhaps that's an important detail. Can you try running it exploded and see if that helps? No, there was no change with running the project as an exploded war. -- Regards Andrew

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi Jason, many thanks for you reply With all due respect to you, Jörg is just doing his best to help you out here. It isn't clear yet whether this problem is within Cocoon or something on your end, so hooking up the debugger is simply a way to help track down an issue that nobody but you seems

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Jason Johnston
Andrew Madu wrote: Hi, for what it's worth my Jboss logs seem to be more helpfull in pinpointing the source of the problem!: Caused by: org.apache.cocoon.components.serializers.encoding.CharsetFactory$CharsetFactoryException: Unable to access JAR "jar:file:/C:/Program Files/jboss- 4.0.3/ser

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi, for what it's worth my Jboss logs seem to be more helpfull in pinpointing the source of the problem!: Caused by: org.apache.cocoon.components.serializers.encoding.CharsetFactory$CharsetFactoryException:Unable to access JAR "jar:file:/C:/Program Files/jboss- 4.0.3/server/default/deploy/jbosswe

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi Jörg, As I said: Try to find the error in the initialization of CharsetFactory. Set a break point in its constructor and see which statement goes wrong. with all due respect to your good self, I am trying to meet a deadline here for my company website I am 'trying' to get off the ground.

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Joerg Heinicke
On 11.03.2007 17:56, Andrew Madu wrote: java.lang.ExceptionInInitializerError org.apache.cocoon.components.serializers.EncodingSerializer.configure( EncodingSerializer.java:168) As I said: Try to find the error in the initialization of CharsetFactory. Set a break point in its constructor a

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Nope!!! Back to square 1. I rebooted Jboss 4.0.3 and we're back to square one!!: java.lang.ExceptionInInitializerError org.apache.cocoon.components.serializers.EncodingSerializer.configure( EncodingSerializer.java:168) I am totally lost with this one!! -- Regards Andrew On 11/03/07, Andrew

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Also, the xml declaration for xhtml is not being written into the html tag. The serializer jar should be doing this right? -- regards Andrew On 11/03/07, Andrew Madu <[EMAIL PROTECTED]> wrote: Hi, Ok, we're getting somewhere!! I managed to track down an alternative charset jar that Jeroen R

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi, Ok, we're getting somewhere!! I managed to track down an alternative charset jar that Jeroen Reijn sent me on 26th July 2006. I placed it into my WEB-INF\lib directory and the errors have gone!! The only problem is the serializers jar is not doing as it is supposed to do!! I have specified t

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi Jörg, I have had, as best as I am able to, a look at what could be causing this problem but have not found anything. I downloaded a version of the jar at the link you provided and this as well yielded no change. Any ideas? -- Regards Andrew On 11/03/07, Joerg Heinicke <[EMAIL PROTECTED]> wr

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Joerg Heinicke
On 11.03.2007 13:02, Andrew Madu wrote: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory org.apache.cocoon.components.serializers.EncodingSerializer.configure(EncodingSerializer.java:168) From what I understand it

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi, here is a more comprehensive error report for the issue I am trying to resolve: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory org.apache.cocoon.components.serializers.EncodingSerializer.configure(EncodingSe

Re: Xhtml and Ajax...no go!!

2007-03-11 Thread Andrew Madu
Hi Jason/All, would I be correct in thinking that: ISO-8859-1 strict works for you? If so would it be possible for you to send me a copy of your serializer/charsets jars? I am using cocoon 2.1.10 -- Regards Andrew On 11/03/07, Andrew Madu <[EMAIL PROTECTED]> wrote: Hi Ja

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi Jason, thanks for the reply. I came across this website which seems to document the very issue I am having now with previous versions of cocoon... http://www.jarhoo.com/jarhoo/JarFileContents.do?jarFileId=3935 -- Regards Andrew On 11/03/07, Jason Johnston <[EMAIL PROTECTED]> wrote: Andrew

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Jason Johnston
Andrew Madu wrote: Hi, java.lang.NoClassDefFoundError : Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory I remember having this very issue with a previous version of cocoon, but for the lief of me I can't remember how the issue was resolved.

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi, java.lang.NoClassDefFoundError: Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory I remember having this very issue with a previous version of cocoon, but for the lief of me I can't remember how the issue was resolved. I think I may have been give

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi, just to mention that I have the following charset jar in my WEB-INF\lib directory: cocoon.serializers-charsets-0.2.jar -- Regards Andrew On 10/03/07, Andrew Madu <[EMAIL PROTECTED]> wrote: Hi Jason, many thanks for your reply. I am now getting the following error message: java.lang.NoC

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Jason Johnston
Andrew Madu wrote: Hi Jason, many thanks for your reply. I am now getting the following error message: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory I checked my local.blocks (cocoon 2.1.10) file and the serializers

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi Jason, many thanks for your reply. I am now getting the following error message: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cocoon.components.serializers.encoding.CharsetFactory I checked my local.blocks (cocoon 2.1.10) file and the serializers block has been set t

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Jason Johnston
Andrew Madu wrote: Hi, my site can now be viewed at www.beyarecords.com . I have changed my ajax-request block to xhtml. On clicking the submit button you will see that the whole page reloads! I am using the very latest version of cocoon on winXP/SP2. Thanks fo

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi, my site can now be viewed at www.beyarecords.com. I have changed my ajax-request block to xhtml. On clicking the submit button you will see that the whole page reloads! I am using the very latest version of cocoon on winXP/SP2. -- Regards Andrew On 10/03/07, Andrew Madu <[EMAIL PROTECTED]>

Re: Xhtml and Ajax...no go!!

2007-03-10 Thread Andrew Madu
Hi Jason, sorry for the delay. I am using the Let's clarify... which XHTML serializer are you using? The "built-in" one, or the one in the serializers block? I am using the XHTML serializer in the serializers block: -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/D

Re: Xhtml and Ajax...no go!!

2007-03-04 Thread Jason Johnston
Andrew Madu wrote: Hi, I have also realized that the: xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" is not being written to the opening tag! (And yes...the page tags have been removed!! ;-) ) What attribute in the sitemap xhtml serialize definition do I need to tweak to ensure that t

Re: Xhtml and Ajax...no go!!

2007-03-04 Thread Andrew Madu
Hi, I have also realized that the: xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" is not being written to the opening tag! (And yes...the page tags have been removed!! ;-) ) What attribute in the sitemap xhtml serialize definition do I need to tweak to ensure that the opening html tag is p

Re: Xhtml and Ajax...no go!!

2007-03-04 Thread Andrew Madu
Hi, can anyone else who is using cforms/ajax form validation change the serialize type to xhtml instead of html in the ajax-request sitemap section and confirm with me what happens when you try to submit your form? What I am witnessing is a complete page reload which is not meant to happen and do

Re: Xhtml and Ajax...no go!!

2007-03-02 Thread Andrew Madu
Hi Grzegorz, Unfortunately not. I've tried to reproduce your problems two times and with no success so cannot help here. If you really like to solve this issue I can only suggest one thing that can others help to figure out your problem. Try to change forms samples to show the same behavior and

Re: Xhtml and Ajax...no go!!

2007-03-02 Thread Grzegorz Kossakowski
Andrew Madu napisał(a): Ah yes...this the chap I was looking for!! Since I first put this question to the list the formatting issues have all been resolved. What has not been resolved is the usage of xhtml as opposed to html in the ajax-request section:

Re: Xhtml and Ajax...no go!!

2007-03-02 Thread Andrew Madu
Ah yes...this the chap I was looking for!! Since I first put this question to the list the formatting issues have all been resolved. What has not been resolved is the usage of xhtml as opposed to html in the ajax-request section:

Re: Xhtml and Ajax...no go!!

2006-08-08 Thread Andrew
Hi Antonio,a thought! As you know your xhtml serializer is working could you please post me all of your assciated web-inf/lib serializer-block/charset jars. If that doesn't work then I will know that something else is causing the problem. regardsAndrewOn 09/08/06, Andrew <[EMAIL PROTECTED]> wrote:

Re: Xhtml and Ajax...no go!!

2006-08-08 Thread Andrew
Hi Antonio,I tried the branch and that made no difference and my classpath is fine, so I am completely stuck with this one.regardsAndrewOn 08/08/06, Antonio Gallardo <[EMAIL PROTECTED]> wrote: Hi Andrew,Would you try the 2.1.-x branch? Few weeks ago we did test with thexhtml serializer and it work

Re: Xhtml and Ajax...no go!!

2006-08-08 Thread Antonio Gallardo
Hi Andrew, Would you try the 2.1.-x branch? Few weeks ago we did test with the xhtml serializer and it worked nicely. Maybe you should also check your classpath? Best Regards, Antonio Gallardo. Andrew escribió: Hi Antonio, no that is not the problem unfortunately, as my local.blocks.prope

Re: Xhtml and Ajax...no go!!

2006-08-08 Thread Andrew
Hi Antonio,no that is not the problem unfortunately, as my local.blocks.properties setting for serializers is definately set as so:include.block.serializers=trueand the cocoon-serializers-block.jar is most definately in my WEB-INF/lib folder, so the problem lays elsewhere! Any ideas anyone? regards

Re: Xhtml and Ajax...no go!!

2006-08-08 Thread Antonio Gallardo
Hi Andrew, Seems like you are missing the serializers block. Try to add this block in your build, rebuild cocoon and the message should not show anymore. :-) Best Regards, Antonio Gallardo. Andrew escribió: Hi, in fact I just tried the 'exhtml' serializer and got the following error (snipp

Re: Xhtml and Ajax...no go!!

2006-07-28 Thread Andrew
Hi,in fact I just tried the 'exhtml' serializer and got the following error (snippet):java.lang.NoClassDefFoundError org.apache.cocoon.components.serializers.EncodingSerializer.configure (EncodingSerializer.java:167) org.apache.cocoon.components.serializers.XHTMLSerializer.configure(XHTMLSerializer

Re: Xhtml and Ajax...no go!!

2006-07-28 Thread Andrew
Jason,again, you are the man!! I will await your final bug fixes.regardsAndrewOn 28/07/06, Jason Johnston < [EMAIL PROTECTED]> wrote:Andrew wrote:> Hi,> can someone please tell me why when setting ajax="true" in my CForm and > serializing the document as xhtml (Strict) the following line in the> xh

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Jason Johnston
Andrew wrote: Hi, can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in the xhtml output should break the page?: Which xhtml serializer are you using? The default one configured in the main sitemap distribute

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Mark,> 3. Page breaks!!what that means is that your well formed, under html serialization,  page is now not well formed. The page is all over the place, as if you have missed out a few TR/TD tags on a table. Like I said before, try it..you will see what I and Marco ( [EMAIL PROTECTED]) mean. If fac

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Mark Lundquist
On Jul 27, 2006, at 1:28 PM, Andrew wrote: 3. Page breaks!! "Page breaks", what the heck does that mean?! —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Hi Mark,the problemo is this:1. You are all set up for ajax2. Your page loads through your pipe with following: Notice that serialize type="xhtml". 3. Page breaks!!4. Problem is caused by the _javascript_ code immediately following the tag: cocoon.f

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Mark Lundquist
On Jul 27, 2006, at 9:20 AM, Andrew wrote: But it is not the pipe which is causing the problem, it is the javascript syntax directly after the initial form tag in the xhtml page. So, what _is_ the actual problem here?... Going back to the first post, it just says that it "breaks the page"..

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Ah HAH!! So i'm not imagining things, this is a problem Did you undestand this part of the pipeline?                                                                                                                In a word yes. The link below will give you a proper understanding of what is go

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread 321los
Hi Andrew,I use 2.1.9 as well and no, when switching to xhtml, it does not load correctly. It omits my complete css styling (stored in a seperate file), displays just a white page with my three dropdown boxes. Those are supposed to be there btw. (I use a modification of the carselector sample) Did

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Hi,i'm using Cocoon 2.1.9 by the way.regardsAndrewOn 27/07/06, Andrew <[EMAIL PROTECTED] > wrote:Hi,for those of you guys using Ajax could you do me a big favour please. In your ajax pipe:                                                                                                              

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Hi,for those of you guys using Ajax could you do me a big favour please. In your ajax pipe:                                                                                                                                could you please change the serialize type="html" to type="xhtml" and tell me

Re: Xhtml and Ajax...no go!!

2006-07-27 Thread Andrew
Mark,thansk for the heads up, much appreciated.BTW I think you have now officially taken over from me the distinction of Most Replies To Own Posts :-)... Hoooray! ;-)  keep the faith, man!I always do...ask and you shall receive, seek and you shall find ;-)regardsAndrew 

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Mark Lundquist
On Jul 26, 2006, at 3:53 AM, Andrew wrote: from where do I get rid of it from? I removed the declaration from my xsl stylesheet, but still it remains. You gots ta have the XML declaration in your stylesheet, otherwise the XSLT transformer can't parse it... I checked the map:serializer sect

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
ct DOCTYPE declaration, if the XML declaration is there too.RegardsPhilip FennellFrom: Andrew [mailto: [EMAIL PROTECTED]]Sent: 26 July 2006 09:21To: users@cocoon.apache.orgSubject: Xhtml and Ajax...no go!! Hi,can someone please tell me why when setting ajax="t

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
t: Xhtml and Ajax...no go!! Hi,can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in thexhtml output should break the page?:http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd< http://www.w3.org/TR/xht

Re: Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
nt: 26 July 2006 09:21To: users@cocoon.apache.orgSubject: Xhtml and Ajax...no go!!Hi,can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in thexhtml output should break the page?:http://www.w3.org/TR/x

RE: Xhtml and Ajax...no go!!

2006-07-26 Thread fhagen
| |Kopie: | |Thema: Xhtml and Ajax...no go!! | >---

RE: Xhtml and Ajax...no go!!

2006-07-26 Thread Fennell, Philip
@cocoon.apache.org Subject: Xhtml and Ajax...no go!! Hi, can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in the xhtml output should break the page?: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd <

Xhtml and Ajax...no go!!

2006-07-26 Thread Andrew
Hi,can someone please tell me why when setting ajax="true" in my CForm and serializing the document as xhtml (Strict) the following line in the xhtml output should break the page?: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">.

55 matches