hcl-bot
November 19, 2010, 12:18am
1
Hi!I have a problem with a choice of dates in my web application.
Here are the screenshots:
On server 8.5.1 displayed one month, but not displayed picker:
http://img1.imagehousing.com/1/579aa27be4edcc7c2f69f2f636af8a22.png
On server 8.5.2 displayed all months, and picker displayed:
http://img1.imagehousing.com/6/430c3fea8bb504270880764549c80ee0.png
Here’s listing page:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp=“http://www.ibm.com/xsp/core ”>
<xp:inputText id="inputText1">
<xp:this.converter>
<xp:convertDateTime type="date"></xp:convertDateTime>
</xp:this.converter>
<xp:dateTimeHelper></xp:dateTimeHelper>
</xp:inputText></xp:view>
Date selection works fine, but with this interface, users will have many questions.
How can I fix it?
hcl-bot
November 19, 2010, 5:44am
2
Subject: hm…
some suggestions.
try and specify the dijit yourself from an inputText control and see if that works better.
It could also be a browser compatibility problem, check in other browsers to see if you see the image.
use firebug to see if the image is there, some brosers display nothing if the image is broken, and some browsers show an “x”
Use firebug to see what stylesheets are used and try to override the classes using your own styles and see if that solves the problem.
Thomas Adrian
http://www.notessidan.se
hcl-bot
November 20, 2010, 12:45am
3
Subject: Thanks!
Thank you Thomas for the advice!The problem was in the stylesheet (tundra) on the server, which I edited, and accidentally deleted the class dijitSpacer. ))