3 Replies Latest reply on Sep 21, 2007 6:55 AM by ilya_shaikovsky

    Calendar position

    mindlink

      Richfaces is calculating the popup position of the calendar

      Is there a clean way to give an offset or affect this (setting a margin works but not for IE6)?

      thank you
      Sascha

        • 1. Re: Calendar position
          ilya_shaikovsky

           

          <rich:calendar popup="true" id="test" style="padding:10px;"/>
          

          Works for me in IE and FF. also you may define it in your styleClass. Unfortunatelly we've forgot to add default rich-* class to div. Also be carefull about autopositioning. If you leave it on the result may be not everything right.

          http://jira.jboss.com/jira/browse/RF-979

          • 2. Re: Calendar position
            mindlink

            Thank you ilya for your time

            padding gives a white border on IE6 in our application and does not work in FF.

            Direction and jointPoint attributes give some control over the positioning, and this is sufficent for our current needs. Maybe you could sign x,y offset as feature request.

            best regards
            Sascha

            • 3. Re: Calendar position
              ilya_shaikovsky

              http://jira.jboss.com/jira/browse/RF-988

              Will be implemented. Probably in latest snapshots.