[jira] Reopened: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread Ugo Cei (JIRA)
 [ http://issues.apache.org/jira/browse/COCOON-1192?page=all ]
 
Ugo Cei reopened COCOON-1192:
-


 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Cocoon Developers Team


 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Assigned: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread Ugo Cei (JIRA)
 [ http://issues.apache.org/jira/browse/COCOON-1192?page=all ]

Ugo Cei reassigned COCOON-1192:
---

Assign To: Ugo Cei  (was: Cocoon Developers Team)

 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Ugo Cei


 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler
The docs from Daisy are now generated using the Daisy Navigation defined 
URL space.


Some of the newer documents do not have a nodeId defined, these default 
to using the docId (i.e. same behaviour as the Daisy wiki).


The solution is all XSLT based, in a future release of the Daisy plugin 
I'll make this more efficient and create custom transformers, using XSLT 
for this is a fair bt inneficient, but it works and I believe the docs 
can now be published.


Please check them out, make sure I've not missed anything as I've not 
been able to get more than about 15 minutes at a time to focus on this 
so I may well have missed things.


Ross


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

Ross Gardler wrote:

Please check them out, make sure I've not missed anything as I've not 
been able to get more than about 15 minutes at a time to focus on this 
so I may well have missed things.


The entry URL has obviously changed as well:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/

Ross


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

Ross Gardler wrote:

Ross Gardler wrote:

Please check them out, make sure I've not missed anything as I've not 
been able to get more than about 15 minutes at a time to focus on this 
so I may well have missed things.



The entry URL has obviously changed as well:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/



I just spotted a problem, it's not being reported by the ForrestBot 
because they are not actually broken links. The problem is that we are 
using absolute pathnames but the site is being hosted in a subdirecty.


This means that links in pages and image all appear broken. However, 
this does not occur when hosting in the root.


I'm looking into it now.

Ross


[jira] Commented: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread JIRA
[ 
http://issues.apache.org/jira/browse/COCOON-1192?page=comments#action_12356261 
] 

Éric BURGHARD commented on COCOON-1192:
---

Hi,

I've corrected this bug a long time ago but never submit a patch. It's a i18n 
issue, because the first day of the week varies upon countries.

 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Ugo Cei


 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread JIRA
 [ http://issues.apache.org/jira/browse/COCOON-1192?page=all ]

Éric BURGHARD updated COCOON-1192:
--

Attachment: calendar2html.xslt

transformation that take care about the local 'first day of the week'

 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Ugo Cei
  Attachments: calendar2html.xslt

 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

Ross Gardler wrote:

Ross Gardler wrote:


Ross Gardler wrote:

Please check them out, make sure I've not missed anything as I've not 
been able to get more than about 15 minutes at a time to focus on 
this so I may well have missed things.




The entry URL has obviously changed as well:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/


The last build seems to have worked OK. No reported broken links and 
images seem to be appearing.


Please test and report any issues.

Ross


[jira] Commented: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread Ugo Cei (JIRA)
[ 
http://issues.apache.org/jira/browse/COCOON-1192?page=comments#action_12356273 
] 

Ugo Cei commented on COCOON-1192:
-

I think the original poster was referring to a different kind of bug. Depending 
on your time zone, the dates that are printed in cells may not correspond to 
the day numbers that are printed in the top left corner. I think I have a fix 
for this, but will need people in different time zones to test it, after I have 
patched the code.

Whether Sunday or Monday is to be considered the first day is another problem. 
In any case, I don't think you should fix it in the stylesheet. The stylesheet 
is just a sample, and the output of the generator should be correct indepentent 
of any stylesheet that might be applied to it.

 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Ugo Cei
  Attachments: calendar2html.xslt

 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Stefano Mazzocchi

Ross Gardler wrote:

Ross Gardler wrote:

Ross Gardler wrote:


Ross Gardler wrote:

Please check them out, make sure I've not missed anything as I've 
not been able to get more than about 15 minutes at a time to focus 
on this so I may well have missed things.




The entry URL has obviously changed as well:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/


The last build seems to have worked OK. No reported broken links and 
images seem to be appearing.


Please test and report any issues.


applause/

Can wait until we have it running for our official web site.

On a side note, and only marginally related to this work, I find the 
table of content box in every page to be pretty much useless and 
annoying. Am I the only one? Could we move it over to the navigation 
tree instead? (where it belongs?)


I've designed this skin many years ago and it's starting to show its 
age or maybe I am :-)


Anyway, those are details, great job anyway.

--
Stefano.



Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

Stefano Mazzocchi wrote:

Ross Gardler wrote:


Ross Gardler wrote:


Ross Gardler wrote:


Ross Gardler wrote:

Please check them out, make sure I've not missed anything as I've 
not been able to get more than about 15 minutes at a time to focus 
on this so I may well have missed things.





The entry URL has obviously changed as well:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/



The last build seems to have worked OK. No reported broken links and 
images seem to be appearing.


Please test and report any issues.



applause/

Can wait until we have it running for our official web site.

On a side note, and only marginally related to this work, I find the 
table of content box in every page to be pretty much useless and 
annoying. Am I the only one? Could we move it over to the navigation 
tree instead? (where it belongs?)


I've designed this skin many years ago and it's starting to show its 
age or maybe I am :-)


Anyway, those are details, great job anyway.



Like most things in Forrest it's configurable from within the 
skinconf.xml file (which is in the daisy-to-docs svn module in whiteboard).


For this particular setting see:

  !-- Configure the TOC, i.e. the Table of Contents.
  @max-depth
   how many section levels need to be included in the
   generated Table of Contents (TOC).
  @min-sections
   Minimum required to create a TOC.
  @location (page,menu,page,menu, none)
   Where to show the TOC.
  --
  toc max-depth=2 min-sections=1 location=page/

I've not changed it yet, we'll see if people are in agreement.

With respect to skins and themes, wait until you see the new replacement 
for the skinning system - it's awesome in its configurability and 
flexibility (and no, I didn't write it ;-)


Ross


Mail block dependencies

2005-10-29 Thread Reinhard Poetz


Does anybody know why the mail block depends on ascii-art and scratchpad? It 
does compile without them.


--
Reinhard Pötz   Independent Consultant, Trainer  (IT)-Coach 


{Software Engineering, Open Source, Web Applications, Apache Cocoon}

   web(log): http://www.poetz.cc



Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread hepabolu

Ross Gardler wrote:

applause/


+1

With respect to skins and themes, wait until you see the new replacement 
for the skinning system - it's awesome in its configurability and 
flexibility (and no, I didn't write it ;-)


Ross



I agree, the TOC could go, either to the menu bar or removed altogether.

Ross, I've probably made a mistake in the CSS I sent (wrong class/id I 
suppose), but the box around the selected menu item is still there. 
Could you please remove it, it doesn't look good. Maybe changing the 
font of the selected item to bold white would make it stand out enough. 
Could you fix it please?


On my brand new Powerbook, the background color of the Apache Cocoon 
logo (left with feather) has a different shade of blue as background, 
while I can't remember having seen that on my Windows machine.


AFAICT colors are identical. Anyone else seeing this?


Bye, Helma




Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Stefano Mazzocchi

hepabolu wrote:

Ross Gardler wrote:

applause/


+1

With respect to skins and themes, wait until you see the new 
replacement for the skinning system - it's awesome in its 
configurability and flexibility (and no, I didn't write it ;-)


Ross



I agree, the TOC could go, either to the menu bar or removed altogether.

Ross, I've probably made a mistake in the CSS I sent (wrong class/id I 
suppose), but the box around the selected menu item is still there. 
Could you please remove it, it doesn't look good. Maybe changing the 
font of the selected item to bold white would make it stand out enough. 
Could you fix it please?


On my brand new Powerbook, the background color of the Apache Cocoon 
logo (left with feather) has a different shade of blue as background, 
while I can't remember having seen that on my Windows machine.


AFAICT colors are identical. Anyone else seeing this?


yup. the background should be transparent, not colored.

--
Stefano.



Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Pier Fumagalli

On 29 Oct 2005, at 17:18, hepabolu wrote:

On my brand new Powerbook, the background color of the Apache  
Cocoon logo (left with feather) has a different shade of blue as  
background, while I can't remember having seen that on my Windows  
machine.


AFAICT colors are identical. Anyone else seeing this?


Yes... I'm seeing it, but I think it's because of the color  
management done on the Mac...


Pier




smime.p7s
Description: S/MIME cryptographic signature


jx:attribute

2005-10-29 Thread Leszek Gawron

Right now we have:
elem
  jx:attribute name=foo value=bar/
/elem

I would like to implement following syntax:

elem
  jx:attribute name=foobar/jx:attribute
/elem

This would allow to nest jx:* tags in jx:template:
elem
  jx:attribute name=foojx:formatDate
 value=${mydate}//jx:attribute
/elem

I am not quite sure how to reuse text serializer logic to serialize 
contents of jx:attribute node to string. Could anybody help? Assume I 
have a chain of SAX events and access to service manager.


--
Leszek Gawron  [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67  http://www.mobilebox.pl
mobile: +48 (501) 720 812   fax: +48 (61) 853 29 65


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

hepabolu wrote:

Ross Gardler wrote:


applause/



+1

With respect to skins and themes, wait until you see the new 
replacement for the skinning system - it's awesome in its 
configurability and flexibility (and no, I didn't write it ;-)


Ross



I agree, the TOC could go, either to the menu bar or removed altogether.


I've moved it into the menu bar. Not sure if I like it there, it makes 
the menu very cluttered. Take a look and let me have your comments when 
the site rebuilds (a few minutes after 20:00 GMT).


I've also fixed a problem that meant some external links were not 
appearing in the menu.


Ross, I've probably made a mistake in the CSS I sent (wrong class/id I 
suppose), but the box around the selected menu item is still there. 
Could you please remove it, it doesn't look good. Maybe changing the 
font of the selected item to bold white would make it stand out enough. 
Could you fix it please?


Done.

Unfortunately it can be difficult to identify which part of the CSS to 
modify, I find the web developer extension for Firefox to be invaluable, 
select a menu item, click on the page and it shows you all the CSS that 
is applied to that part of the page. You can get the extension from 
http://chrispederick.com/work/webdeveloper/


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Ross Gardler

Pier Fumagalli wrote:

On 29 Oct 2005, at 17:18, hepabolu wrote:

On my brand new Powerbook, the background color of the Apache  Cocoon 
logo (left with feather) has a different shade of blue as  background, 
while I can't remember having seen that on my Windows  machine.


AFAICT colors are identical. Anyone else seeing this?



Yes... I'm seeing it, but I think it's because of the color  management 
done on the Mac...


I'm no graphics person, can anyone create a version with a transparent 
background?


http://svn.apache.org/repos/asf/cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/images/cocoon-logo.gif

Ross


DO NOT REPLY [Bug 36810] - source that declares namespace fails JXPath/Linkrewriter/Input Modules

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36810.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36810


Bug 36810 depends on bug 32360, which changed state.

Bug 32360 Summary: [jxpath] Default Namespace not handled correctly
http://issues.apache.org/bugzilla/show_bug.cgi?id=32360

   What|Old Value   |New Value

 Status|REOPENED|RESOLVED
 Resolution||FIXED



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Stefano Mazzocchi

Ross Gardler wrote:

Pier Fumagalli wrote:

On 29 Oct 2005, at 17:18, hepabolu wrote:

On my brand new Powerbook, the background color of the Apache  Cocoon 
logo (left with feather) has a different shade of blue as  
background, while I can't remember having seen that on my Windows  
machine.


AFAICT colors are identical. Anyone else seeing this?



Yes... I'm seeing it, but I think it's because of the color  
management done on the Mac...


I'm no graphics person, can anyone create a version with a transparent 
background?


http://svn.apache.org/repos/asf/cocoon/whiteboard/daisy-to-docs/src/documentation/content/xdocs/images/cocoon-logo.gif 


http://svn.apache.org/repos/asf/cocoon/trunk/misc/graphics/cocoon2-naked.gif

enjoy

wow, I'm committing something on cocoon after years :-)

--
Stefano.



[jira] Commented: (COCOON-1192) calendar (generator) is malfunctioning

2005-10-29 Thread JIRA
[ 
http://issues.apache.org/jira/browse/COCOON-1192?page=comments#action_12356300 
] 

Éric BURGHARD commented on COCOON-1192:
---

I forgot to mention that you need to add a i18n tranformer with the same locale 
 than the one used in the generator, and remove the dateFormat parameter from 
the generator for the provided stylesheet to work.
map:generate type=calendar label=content
!-- Uncomment and set a value for the desired month and year
map:parameter name=month value=6/
map:parameter name=year value=1998/
 --
map:parameter name=lang value=fr/
map:parameter name=country value=FR/
/map:generate
map:transform src=context://stylesheets/system/calendar2html.xslt/
map:transform type=i18n
   map:parameter name=locale value=fr/
/map:transform
map:serialize/

I think that the locale and the date format should be included in the root 
element for handling to drive the view, without boring to pass the same 
parameters between generator and transformer.
I think this is a stylesheet (view) issue because the output of generator is 
(independant of any view) and correct whatever the locale, whereas the html 
view failed to handle theses datas correctly.

for french for example the output of the generator is
calendar:week number=0
calendar:day number=1 date=samedi/
calendar:day number=2 date=dimanche/
/calendar:week

for english it's
calendar:week number=1
calendar:day number=1 date=Saturday/
/calendar:week

It looks strange that the first week of the same month have not the same number 
of day for differents locale value, but it's perfectly correct.

 calendar (generator) is malfunctioning
 --

  Key: COCOON-1192
  URL: http://issues.apache.org/jira/browse/COCOON-1192
  Project: Cocoon
 Type: Bug
   Components: * Cocoon Core
 Versions: 2.1.5
  Environment: Operating System: Windows XP
 Platform: PC
 Reporter: Ian F. Hood
 Assignee: Ugo Cei
  Attachments: calendar2html.xslt

 a quick peek at /samples/cal will make it clear:
 the top left day 'num' is right, but the full (date) is off by one day.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Cocoon 2.1.8 AJAX is important

2005-10-29 Thread Antonio Gallardo

Hi:

AFAIK, Cocoon 2.1.8 will not have AJAX support for cforms. Is that correct?

I think the AJAX support present in 2.1.8 make sense: Being the first or 
one of the first webapp frameworks delivering AJAX support is a great 
plus for us.


IMHO, we can delay 1 or 2 weeks more the release just for this feature 
long awaited feature.


WDYT?

Best Regards,

Antonio


Re: Docs now use Daisy-wiki defined URLspace

2005-10-29 Thread Thor Heinrichs-Wolpert
Not sure if this is what you wanted, but I made the blue background  
transparent.

Cheers,
Thor HW

On 29-Oct-05, at 11:31 AM, Ross Gardler wrote:


Pier Fumagalli wrote:


On 29 Oct 2005, at 17:18, hepabolu wrote:

On my brand new Powerbook, the background color of the Apache   
Cocoon logo (left with feather) has a different shade of blue as   
background, while I can't remember having seen that on my  
Windows  machine.


AFAICT colors are identical. Anyone else seeing this?

Yes... I'm seeing it, but I think it's because of the color   
management done on the Mac...




I'm no graphics person, can anyone create a version with a  
transparent background?


http://svn.apache.org/repos/asf/cocoon/whiteboard/daisy-to-docs/src/ 
documentation/content/xdocs/images/cocoon-logo.gif


Ross