User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Dojo/Dijit issues Page [1]  
RSXTypeS
Suspended
12280 Posts
user info
edit post

I've got the exact snippet of code in 2 different apps and 1 in the 'test' dojo page. Each page behaves differently.

All 3 have the same doctype
All 3 have the same dijit component loaded (the dijit.Dialog, dijit.form.DropDownButton, dijit.Menu + MenuItem)

The problem is, as you may guess, in IE6.

App 1:
- makes the page have a huge side scroll. When the dialog is inactive.
- when you open the dialog it still has a huge side scroll up until the point you click on the dropdown and open up your options then it goes away.

App 2:
- bigger side scroll then App 1.
- When you open the drop down, each option is the entire length of the browser window and then some

Their sample page
- everything works as it should


the only difference between my apps and the sample page in terms of dojo is that I'm using a JSP and a sitemesh decorator on one. Theirs is just a static html page with a bunch of dojo components. How is it that the exact same code acts differently in each app?

Anyone good with dojo and has had experience resolving these lame issues? It works just fine in all other browsers but since almost every hospital still uses IE6, it has to work in IE6.

2/13/2009 2:44:21 PM

RSXTypeS
Suspended
12280 Posts
user info
edit post

bttt:

Two questions:

1) Anyone successfully export a graph generated with Dojox to PDF? From what i've been researching I'm seeing that the process is svg -> render into pixels (image format using Java) -> export to PDF. And if in IE: vml -> svg (java) -> image (also java) -> export to PDF. Is there a simpler way?


2) Using custom labels that are displayed at an angle or vertically for the X axis. I know CSS rotate isn't the right answer because its not supported in most browsers. But because the text is all svg...is there a simple way for svg/vml to display the text vertically? (rotated 90 CCW, not just a letter per line)

3/11/2009 2:32:54 PM

Noen
All American
31346 Posts
user info
edit post

Quote :
"It works just fine in all other browsers but since almost every hospital still uses IE6, it has to work in IE6."


This is just a guess, but what doctype are you declaring? IE6 has some interesting quirks mode behavior with certain doctypes, and newer doctypes. It's a shot in the dark, but I know this bit me in the ass many times back in the day.

1) PDF export, that makes sense if you are using JSP. I know PHP and ASP use similar conversion paths (or did at least) on the server side.

2) You can use the rotate attribute on text elements to display it at an angle. Just be careful with your alignment.

3/11/2009 3:03:07 PM

RSXTypeS
Suspended
12280 Posts
user info
edit post

I'm using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

the odd thing is on the dojocampus.org website, it all works fine in IE...even using the same doctypes. Still haven't figured this issue out but its on the back burner until I get done with graphing...but has to be done before its handed off to QA.


1) Yeah, I'm using JSP.

2) In SVG or using CSS on an HTML element? because there is an option with dojox to output the labels as html elements but then CSS rotate isn't supported in IE or FF.

3/11/2009 3:26:27 PM

Noen
All American
31346 Posts
user info
edit post

svg, you can't rotate in CSS. Got to generate the visual some other way

3/11/2009 4:30:38 PM

 Message Boards » Tech Talk » Dojo/Dijit issues Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.