From: Peter C. <Pet...@me...> - 2005-07-19 14:08:56
|
> From: [...] Brian Peter Clark > On IE 6.0 sp 2, running off the Sun app server, when the amazon,=20 > google boxes in the side frame first appear there is a brief flash of=20 > the expanded forms before they collapse. Does anyone else get=20 > this? Yes. Basically, one has a choice: 1) Render the content expanded, then use Javascript to collapse the content. Leads to a brief flash, as the expanded content is shown before it is collapsed. However, this degrades gracefully if the user has Javascript switched off. 2) Rander the content collapsed. No flash, but no content if the user has Javascript switched off. 3) Make the initial page a test page that detects (for example) whether the user has Javascript turned on, and use this to choose between techniques (1) and (2) when rendering. At present, technique 1 is implemented. - Peter |
From: Peter C. <Pet...@me...> - 2005-07-21 14:50:11
|
> From: [...] Matthew Buckett > > Create a Web Document in a Suite of Rooms and upload the file=20 > > whose name you have put in the Introduction textarea. > >=20 > > Now navigate to the Web Document. Now press Manage this=20 > > location followed by Modify this location. Now change something.=20 > > Press Modify Now. Reload the Web Document - nothing is=20 > > modified. >=20 > Yep I see this too. When attempting to modify the resource I get: >=20 > Problem with XML: Problem exporting XML file: Attribute "imsmd" was=20 > already specified for element "imsmd:record". >=20 > I don't however get this Bug on WebLearn HEAD. I'll have a look as to=20 > what is going wrong. Feels like it could be one of mine, from converting the metadata to be namespace-aware. I'll see if I can take a look as well, but it's unlikely to be today I'm afraid. It could be something as simple as me having zoned out while altering some of the setAttribute calls and getting the strings the wrong way round... if so, I score about 9.5 out of 10 on the Bozometer. - Peter |
From: Matthew B. <mat...@co...> - 2005-07-21 15:34:17
|
Peter Crowther wrote: >>From: [...] Matthew Buckett >> >>>Create a Web Document in a Suite of Rooms and upload the file >>>whose name you have put in the Introduction textarea. >>> >>>Now navigate to the Web Document. Now press Manage this >>>location followed by Modify this location. Now change something. >>>Press Modify Now. Reload the Web Document - nothing is >>>modified. >> >>Yep I see this too. When attempting to modify the resource I get: >> >>Problem with XML: Problem exporting XML file: Attribute "imsmd" was >>already specified for element "imsmd:record". >> >>I don't however get this Bug on WebLearn HEAD. I'll have a look as to >>what is going wrong. > > > Feels like it could be one of mine, from converting the metadata to be > namespace-aware. I'll see if I can take a look as well, but it's > unlikely to be today I'm afraid. It could be something as simple as me > having zoned out while altering some of the setAttribute calls and > getting the strings the wrong way round... if so, I score about 9.5 out > of 10 on the Bozometer. Just to aid your debugging this is the stack trace I get: 21 Jul 2005 16:24:15,964 ERROR org.bodington.servlet.facilities.Facility - Problem with XML: Problem exporting XML file: Attribute "imsmd" was already specified for element "imsmd:record". org.bodington.server.BuildingServerException: Problem with XML: Problem exporting XML file: Attribute "imsmd" was already specified for element "imsmd:record". at org.bodington.server.BuildingSessionImpl.updateBasicMetadata(BuildingSessionImpl.java:1849) at org.bodington.servlet.facilities.Facility.confirmmodify(Facility.java:7141) at org.bodington.servlet.facilities.Facility.insert(Facility.java:3522) at org.bodington.servlet.facilities.MediaDocumentFacility.insert(MediaDocumentFacility.java:149) And this is what I get in the temp files that the XML respository creates: <?xml version="1.0" encoding="UTF-8"?> <imsmd:record xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1" imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1" imsmd="http://www.imsglobal.org/xsd/imsmd_rootv1p1"><imsmd:general><imsmd:title><imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> </imsmd:title> <imsmd:description><imsmd:langstring lang="en">asdasd</imsmd:langstring> <imsmd:langstring lang="en">asdasd23</imsmd:langstring> <imsmd:langstring lang="en">asdasd</imsmd:langstring> </imsmd:description> </imsmd:general> </imsmd:record> -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Peter C. <Pet...@me...> - 2005-07-25 09:35:11
|
> From: [...] Matthew Buckett > Problem with XML: Problem exporting XML file: Attribute "imsmd" was=20 > already specified for element "imsmd:record". OK - that's a bug in the namespace awareness code. It's attempting to add a reference to the same namespace more than once (have a look at the IMS metadata after this has happened and you'll see what I mean). Looking at ways to fix now. - Peter |
From: Matthew B. <mat...@co...> - 2005-07-19 14:15:43
|
Peter Crowther wrote: >>From: [...] Brian Peter Clark >>On IE 6.0 sp 2, running off the Sun app server, when the amazon, >>google boxes in the side frame first appear there is a brief flash of >>the expanded forms before they collapse. Does anyone else get >>this? > > > Yes. Basically, one has a choice: > > 1) Render the content expanded, then use Javascript to collapse the > content. Leads to a brief flash, as the expanded content is shown > before it is collapsed. However, this degrades gracefully if the user > has Javascript switched off. > > 2) Rander the content collapsed. No flash, but no content if the user > has Javascript switched off. > > 3) Make the initial page a test page that detects (for example) whether > the user has Javascript turned on, and use this to choose between > techniques (1) and (2) when rendering. 4) Have JavaScript collapse the items as then come in rather than waiting for the whole page to load. I believe Aggie did this by having an onload for each div that should be colapsed. A different evil hack might be to get some JavaScript in the header to output some CSS that sets the boxes to be colapsed. This way you shouldn't get the flashes as the CSS would get parsed before the page is rendered. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Andrew B. <a.g...@le...> - 2005-07-19 16:19:44
Attachments:
graphic.html
|
Here's the graphics.html file with the mod I put in to get rid of the flash. Doesn't help if Javascript is switched off though... Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Matthew Buckett Sent: 19 July 2005 15:16 To: bod...@li... Subject: Re: [Bodington-developers] New Style Creation Pages <snip/> 4) Have JavaScript collapse the items as then come in rather than waiting for the whole page to load. I believe Aggie did this by having an onload for each div that should be colapsed. A different evil hack might be to get some JavaScript in the header to output some CSS that sets the boxes to be colapsed. This way you shouldn't get the flashes as the CSS would get parsed before the page is rendered. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Matthew B. <mat...@co...> - 2005-07-19 16:43:53
Attachments:
left_flicker.txt
|
Matthew Buckett wrote: > A different evil hack might be to get some JavaScript in the header to > output some CSS that sets the boxes to be colapsed. This way you > shouldn't get the flashes as the CSS would get parsed before the page is > rendered. Attached is a first rough hack at this. I modify the CSS in the header to not display the boxes and this only runs if JavaScript is enabled. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |
From: Sean M. <se...@sm...> - 2005-07-19 14:17:44
|
well analysed, sir. And then: | X cost of implementation | X | X -------------------------- 1 2 3 so 1 seemed a good choice, as 2 is not a happy medium!-) s On 19 Jul 2005, at 15:08, Peter Crowther wrote: >> From: [...] Brian Peter Clark >> On IE 6.0 sp 2, running off the Sun app server, when the amazon, >> google boxes in the side frame first appear there is a brief flash of >> the expanded forms before they collapse. Does anyone else get >> this? >> > > Yes. Basically, one has a choice: > > 1) Render the content expanded, then use Javascript to collapse the > content. Leads to a brief flash, as the expanded content is shown > before it is collapsed. However, this degrades gracefully if the user > has Javascript switched off. > > 2) Rander the content collapsed. No flash, but no content if the user > has Javascript switched off. > > 3) Make the initial page a test page that detects (for example) =20 > whether > the user has Javascript turned on, and use this to choose between > techniques (1) and (2) when rendering. > > At present, technique 1 is implemented. > > - Peter > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > > |