Hello!
Just found some answers to my own questions i would like to share with you.

When building cocoon, a cocoon-forms-block.jar is built. This file has a resources directory where one can find most of css and js files
that appear on ht http requests...

I've already added the z-index: 100; to the forms-calendar.css on
src\blocks\forms\java\org\apache\cocoon\forms\resources\css
but even after a build, and having checked that the css inside the jar is changed, the date element doesn't appear on top.

As an aditional note to the problem, i must add that this date element
is being called inside a table.

TIA,
CN

On Sun, 26 Jun 2005, Carlos M. S. Bento Nogueira wrote:

Hello again Gary and other cocoon users.

I've tried to edit the xsl references to the css and other js files, but something very odd happens.

This uri on forms-calendars-styling.xsl
<link rel="stylesheet" type="text/css" href="{$resources-uri}/css/forms-calendar.css"/>

is producing this request
#request# GET http://localhost:8080/cocoon/reports/resources/css/forms-calendar.css

and although the file is there, nothing new happens, that is, the suggested "z-index:100;" change doesn't produce any effect.

More curious is the fact that if the file isn't on /cocoon/reports/resources/css/
no error is reported!!

TIA,
CN


ps: If you're using cforms with radio buttons maybe this wiki can come in hand http://wiki.apache.org/cocoon/CformsRadioButtonsFormatting
Enjoy.Just posted it now.


On Fri, 24 Jun 2005, Gary Larsen wrote:

Carlos,

When building my first cform I created my own project directory and copied
in all the components being used (xsl, js, css). (they were all over the
place) I edited all the xsl to resolve the reference issues by checking the
logs where these were reported when cocoon started up.

Gary

-----Original Message-----
From: Carlos M. S. Bento Nogueira [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 8:14 PM
To: [email protected]
Subject: RE: cforms: date element not on top!

Thanks for your reply Gary.

I don't see how adding a line to a file in the source will do the trick
unless you are assuming i must compile cocoon. Is this assumption true?
I've been browsing the web again for this problem and found a post that
confirms that the trick you are using is the correct one :)) My question now
is, where should this forms-calendar.css file be placed??

I've edited the source of my generated html page and it seems this file
should be in href="resources/css/forms-calendar.css"
(i assumed this is refering to cocoon/resources...) but it didn't work.

How are the css stylesheets being loaded on cforms??? Except for the
main.css file which is where it is supposed to be, the other css aren't on
their respective paths...:S

TIA,
CarlosN.

On Thu, 23 Jun 2005, Gary Larsen wrote:

I'm using a modified version of various actions cforms
example(cocoon/samples/blocks/forms/form1 ) and i've changed the
birthday widget from "Misc Controls" zone to the "String fields" zone
and date is not displaying correctly anymore. It appears to be under
this zone and not

not on top as it should be.
I'm not refering to the date widget itself but rather to the calendar
javacript that appeared when one clicked on calendar icon that is
displayed just next to the date input field.

Dan Ochs posted this a few days ago which may help:

hi, I'm new to this list and cocoon in general so forgive me, I'm also
not sure if this is exactly where I should be posting this.  I'm
working with cocoon forms and have a setup where there are two tabs,
and a reference to the widget? that is used to create a calendar popup
on the tab that is initially not in the foreground.  The calendar
always popped up below the tabs and I could only see part of it.  In
order to fix this, I added another line to the #forms_calendarDiv
class in
src\blocks\forms\java\org\apache\cocoon\forms\resources\css\forms-cale
ndar.c
ss
which tells the calendar to move to the front of the view (unless
there are 100 tabs on the page):
z-index: 100;


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to