加载页面时设置单选按钮值
我在第一次加载页面时遇到问题,我想检查“24h”单选按钮,当我使用自定义日期并执行应用时,它不起作用。
它始终加载 24 小时图表,而不是像这样的自定义日期 StartDate: 20:00 17-05-2011
EndDate: 22:00 17-05-2011
我的申请页面是这个 http://apex.oracle.com/pls/apex/f?p=17236:555
用户名:user 密码:123qweASD
谁能帮我解决这个问题,你可以去应用程序尝试一下。
I'm having a problem with the first load off the page i want to check the "24h" radiobutton and when I do that when I use the custom date and do the apply it doesn't work.
It always load the 24h chart instead of the custom date like this one StartDate: 20:00 17-05-2011
EndDate: 22:00 17-05-2011
My application page is this one http://apex.oracle.com/pls/apex/f?p=17236:555
username: user
password: 123qweASD
Can anyone help me with this, you can go to the application a try.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为如果“自定义”是单选按钮组中的第五个按钮而不是单独的复选框,您的页面会工作得更好(而且更自然)。因为当选中“自定义”复选框时,您的无线电组没有有效值,并且尽管已禁用,但实际上它仍然设置为“24”。
否则,您需要对图表进行编码,使其在选中复选框时忽略单选组设置。
I think your page would work better (and more naturally) if "Custom" was a 5th button in the radio group rather than a separate checkbox. As it is your radio group has no valid value when the Custom checkbox is checked, and indeed it stays set to "24" although disabled.
Otherwise, you need to code the chart in such as way that it ignores the radiogroup setting when the checkbox is checked.