ConvertDateTime: caching TimeZone: possible JSF bug?

Hi all,
I'm outputing a date field utilizing the timezone attribute of the convertDateTime tag. When I change the viewing timezone, the convertDateTime tag seems to be caching the old timezone value.
Is anyone else encountering this issue? Is it a Bug? Is there a work around?
Thanks all,
Here is some test code I wrote to expose the bug...
public class TimeZoneTest {
    private static final Log LOGGER = LogFactory.getLog(TimeZoneTest.class);
    private TimeZone timeZone = TimeZone.getTimeZone("GMT");
    private Date currentTime = new Date();
    private SelectItem[] availableTimeZones;
    public TimeZone getTimeZone() {
        return timeZone;
    public void setTimeZone(String timeZone) {
        this.timeZone = TimeZone.getTimeZone(timeZone);
    public Date getCurrentTime() {
        return currentTime;
    public SelectItem[] getAvailableTimeZones() {
        if (null == availableTimeZones) {
            availableTimeZones = new SelectItem[3];
            availableTimeZones[0] = new SelectItem("GMT","GMT");
            availableTimeZones[1] = new SelectItem("PST","PST");
            availableTimeZones[2] = new SelectItem("EST","EST");
        return availableTimeZones;
}The JSP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>
<META HTTP-EQUIV="Expires" CONTENT="-1"/>
<f:view>
    <html xmlns="http://www.w3.org/1999/xhtml">
        <body>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="TimeZone:"/>
                    <h:outputText value="#{timeZoneTest.timeZone.ID}"/>
                    <h:outputText value="Current Time:"/>
                    <h:outputText value="#{timeZoneTest.currentTime}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss z" timeZone="#{timeZoneTest.timeZone}"/>
                    </h:outputText>
                    <h:outputText value="Change Time Zone:"/>
                    <h:selectOneMenu value="#{timeZoneTest.timeZone.ID}"
                                     onchange="submit()">
                        <f:selectItems value="#{timeZoneTest.availableTimeZones}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
            </h:form>
        </body>
    </html>
</f:view>

Thanks for the reply.
It appears the "F" tags are read in once per session. In my real testcase, if I start a new session the dates show in the correct timezone. So I believe this means that any evaluated value bindings for the "F" tags would be stored at the session scope.
IMO - this is a major design flaw. Why allow for dynamic value binding expressions on a component that isn't fully evaluated when the tree is rendered?
The only way around this seems to be a custom tag.
So here is my crude outputDate custom tag - I hope this helps someone.
Disclaimer: I only tested the three attributes I made: not sure if the component is as fully functional as say a h:outputText tag.
Cheers,
Jason V.
The Tag:
public class OutputDateTag extends UIComponentTag {
    private static final Log LOGGER = LogFactory.getLog(OutputDateTag.class);
    private String pattern;
    private String timeZone;
    private String value;
    private static final String TIME_ZONE_ATTRIBUTE = "timeZone";
    private static final String PATTERN_ATTRIBUTE = "pattern";
    private static final String VALUE_ATTRIBUTE = "value";
    public void setPattern(String pattern) {
        this.pattern = pattern;
    public void setTimeZone(String timeZone) {
        this.timeZone = timeZone;
    public void setValue(String value) {
        this.value = value;
    public String getRendererType() {
        return null;
    public String getComponentType() {
        return "com.mycompany.presentation.components.UIOutputDate";
     * Sets the 3 expected attributes:
     * <pre>
     * value: should evaluate to a java.util.Date object.
     * timeZone: should evaluate to a java.util.TimeZone object.
     * pattern: should evaluate to a String and be a compatiable form for a SimpleDateFormat object.
     * </pre>
     * {@inheritDoc}
     * @param component {@link UIComponent} whose properties are to be overridden
    @SuppressWarnings({"unchecked"})
    protected void setProperties(UIComponent component) {
        super.setProperties(component);
        FacesContext context = FacesContext.getCurrentInstance();
        Application application = context.getApplication();
        //pattern
        Map attributes = component.getAttributes();
        if (isValueReference(pattern)) {
            ValueBinding patternValueBinding = application.createValueBinding(pattern);
            component.setValueBinding(PATTERN_ATTRIBUTE, patternValueBinding);
        } else {
            attributes.put(PATTERN_ATTRIBUTE, pattern);
        //time zone
        if (isValueReference(timeZone)) {
            ValueBinding timeZoneValueBinding = application.createValueBinding(timeZone);
            component.setValueBinding(TIME_ZONE_ATTRIBUTE, timeZoneValueBinding);
        } else {
            attributes.put(TIME_ZONE_ATTRIBUTE, timeZone);
        //value
        if (isValueReference(value)) {
            ValueBinding valueBinding = application.createValueBinding(value);
            component.setValueBinding(VALUE_ATTRIBUTE, valueBinding);
        } else {
            attributes.put(VALUE_ATTRIBUTE, value);
        LOGGER.debug("pattern = " + pattern);
        LOGGER.debug("timeZone = " + timeZone);
        LOGGER.debug("value = " + value);
     * <p>Release any resources allocated during the execution of this
     * tag handler.</p>
    public void release() {
        super.release();
        value = null;
        timeZone = null;
        pattern = null;
}The TagLib:
    <tag>
        <name>outputDate</name>
        <tagclass>com.prenet.presentation.tags.OutputDateTag</tagclass>
        <bodycontent>empty</bodycontent>
        <attribute>
            <name>value</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
            <name>pattern</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
            <name>timeZone</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
        <attribute>
            <name>binding</name>
        </attribute>
        <attribute>
            <name>id</name>
        </attribute>
        <attribute>
            <name>rendered</name>
        </attribute>
    </tag>The Component:
public class UIOutputDate extends UIOutput {
    private static final Log LOGGER = LogFactory.getLog(UIOutputDate.class);
    private static final String TIME_ZONE_ATTRIBUTE = "timeZone";
    private static final String PATTERN_ATTRIBUTE = "pattern";
    private static final String VALUE_ATTRIBUTE = "value";
    public UIOutputDate() {
        //we render ourself... thanks.
        setRendererType(null);
     * Uses the timeZone and pattern attributes to pass to a  SimpleDateFormat object to get a String
     * representation of the Date value.
     * @throws NullPointerException {@inheritDoc}
    public void encodeBegin(FacesContext context) throws IOException {
        ResponseWriter writer = context.getResponseWriter();
        Locale locale = context.getViewRoot().getLocale();
        Map attributes = getAttributes();
        Date value = (Date) getValue();
        TimeZone toTimeZone = (TimeZone) attributes.get(TIME_ZONE_ATTRIBUTE);
        String pattern = (String) attributes.get(PATTERN_ATTRIBUTE);
        DateFormat format = new SimpleDateFormat(pattern, locale);
        format.setTimeZone(toTimeZone);
        String dateString = format.format(value);
        writer.writeText(dateString, VALUE_ATTRIBUTE);
}The Test JSP (note: that there are some fixes to my original post)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="p" uri="http://www.mycompany.com/jsfTaglib" %>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>
<META HTTP-EQUIV="Expires" CONTENT="-1"/>
<f:view>
    <html xmlns="http://www.w3.org/1999/xhtml">
        <body>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="TimeZone:"/>
                    <h:outputText value="#{timeZoneTest.timeZoneId}"/>
                    <h:outputText value="Current Time (Standard JSF):"/>
                    <h:outputText value="#{timeZoneTest.currentTime}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss z" timeZone="#{timeZoneTest.timeZone}"/>
                    </h:outputText>
                    <h:outputText value="Current Time (Custom TAG):"/>
                    <p:outputDate value="#{timeZoneTest.currentTime}" pattern="MM/dd/yyyy HH:mm:ss z" timeZone="#{timeZoneTest.timeZone}"/>
                    <h:outputText value="Change Time Zone:"/>
                    <h:selectOneMenu value="#{timeZoneTest.timeZoneId}" onchange="submit()">
                        <f:selectItems value="#{timeZoneTest.availableTimeZones}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
            </h:form>
        </body>
    </html>
</f:view>The Testing Backing Bean:
public class TimeZoneTestVC {
    private static final Log LOGGER = LogFactory.getLog(TimeZoneTestVC.class);
    private String timeZoneId = "UTC";
    private SelectItem[] availableTimeZones;
    public TimeZone getTimeZone() {
        TimeZone timeZoneByName = TimeZone.getTimeZone(timeZoneId);
        return timeZoneByName;
    public String getTimeZoneId() {
        return timeZoneId;
    public void setTimeZoneId(String timeZoneId) {
        this.timeZoneId = timeZoneId;
    public Date getCurrentTime() {
        return new Date();
    public SelectItem[] getAvailableTimeZones() {
        if (null == availableTimeZones) {
            String[] availableIDs = TimeZone.getAvailableIDs();
            Arrays.sort(availableIDs);
            availableTimeZones = new SelectItem[availableIDs.length];
            int i = 0;
            for (String zoneId : availableIDs) {
                availableTimeZones[i] = new SelectItem(zoneId, zoneId);
                i++;
        return availableTimeZones;
}

Similar Messages

  • Possible JSF bug: link failure in Internet Explorer

    Greetings:
    I have a form which, among other things, contains a table (generated using the <h:datatable> tag). One of the columns in this table contains Command Link (h:commandLink> whose action attribute points to a method in one of my Beans. The command link contains an onmouseup event handler which displays a dialog box for confirmation before actually going to the link.
    When I click on the lcommand link in any Mozilla- based browser (Mozilla, Firefox, etc), the confirmation box comes up and, when ithe user clicks on it tmy Bean's method is called. This behavior is expected and works well.
    Unfortunately, in Internet Explorer, the confirmation box comes up, but my Bean's method is never called! This is the first time I have seen a custom tag of any kind (in this case, <h:commandLink>!) work in one browser and fail in another.
    Could someone tell me why this is or (preferably) how to make my commandLink actions work in Internet Explorer???
    Thank s anyone who can help.
    Factor Three

    Actually, I found the problem. It is a combination of poor implementation of the <h:commandLink> tag's Javascript and a difference in Browser operability.
    The Browser difference is apparently in the way different browsers handle events. In Mozilla- based browsers, when you have an onmouseup event and an onclick event, apparently both event handlers get called. In Microsoft- based browsers, however, apparently if you have an onmouseup event and an onclick event only one of the event handlers (in this case the onmouseup event) gets called. Why Internet Explorer's developers made it behave this way is a mystery, because it goes against the way most Windows applications handle such events (usually, they process any mousedown events that exist, then any mouseup events, then mouseclick events!).
    The result is that in a Mozilla browser, my onmouseup event handler gets called, I click on my Javascript- based confirmation box, then the browser activates the onclick event handler that the <h:commandLink> tag generates. In Internet Explorer, however, only the onmouseup event handler gets called; since <h:commandLink> places the code for submitting my form in its generated onclick event, that code never gets called and Internet Explorer never calls my Bean method.
    The poor implementation of <h:commandLink>'s Javascript comes from the fact that this particular tag does not allow the declaration of onclick events in its TLD. Why the creator of this tag did this is a mystery to me, because all other tags in this category allow such event declarations in their TLDs. It could be said that because <h:commandLink> provides its own onclick event it is logical not to allow such events. This logic is flawed, since other link tags (like <h:commandButton>) also provide their own onclick events, yet they allow programmers to define their own onclick events. I have looked at the generated event handlers for these tags; all they do is take the event handler you define, append a semicolon at the end, then append their standard event handling code behind yours. For some reason, the <h:commandLink> tag does not do this.
    The reason <h:commandLink>'s Javascript handling is poor is because it prevents the addition of any kind of client- side validation, confirmation, or any other operations someone may wish to do using this tag prior to invoking any server- side functionality. The reason why I put in the onmouseup event handler in the first place was because in my user interface I needed to display a warning to a user and to get confirmation that the user really wanted to perform a certain operation before actually going to the server and performing it. Since <h:commandLink> is the one tag that invokes a required bean method and passes it parameters based on an item's position in a list, I had to use that tag and, since it didn't allow onclick event declarations, I had no choice but to use onmouseup.
    If <h:commandLink> had been better implemented (in other words, if it allowed the declaration of onclick events like other tags do) then I would not have been left open to the problems associated with the different browsers' event handling. For this reason, I can say that I have, indeed, found a JSF bug -- though it is a rather subtle one.
    In the case of my application, I was able to come up with a kludge which makes it work on all browsers. Basically, I took the onclick event handler code generated by the <h:commandLink> tag and copied it into my onmouseup event handler. Now the proper submits are being done when any browser is used.
    Of course, it would be better if someone at Sun were to make a slight change in <h:commandLink>'s implementation, or if Microsoft were to make its browser implementation more consistant with Javascript standards. But then, life for all of us would be better if we had World Peace...
    -Factor Three

  • Caching Problem in JSF

    I am very new to JSF, and have problem in refreshing the data in the page. My Project is with ADF and JSF . I am Developing in Jdeveloper with Oracle as Database. I have employee search form which displays employee information based on the parameters passed. But the problem is when I go to some other form and come back to the employee search form the result whatever I got last time is still displayed there. Usually the page should not have it I mean because in Faces-Config the managed bean is set as request scope. I am not able to clear the data of the table which displays the employee information. It seems to be some caching is happening. But I don't how to avoid that. I searched in internet and I got some snippets. Eg:-
    ValueBinding vb = fctx.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer dcb = (DCBindingContainer) vb.getValue(fctx);
    DCIteratorBinding dciter = (DCIteratorBinding) dcb.get("itemIterator");     
    DataControl dc = dciter.getDataControl();
    dc.release(dc.REL_DATA_REFS);Any suggestion will be greatly helpful

    Any Ideas??

  • Thinkpad S540 possible BIOS bug concerning WOL

    I have had a Thinkpad S540 for a few months, and have it installed as dual boot Windows 8.1 and arch linux.  After completely shutting the machine down from linux I found that the battery would be down to around 70% charge after three days unused, and decided to investigate this problem since it was not reasonable for a new battery to lose charge at anything like this rate.
    By chance I came across a piece of information concerning the issue of disabling WOL (Wake on LAN) on the network interface, since I had seen one report that by default WOL is enabled and this requires power to be going to the network interface even when shut down in order to be able to respond to magic packets to start the machine up when it is shut down.
    First I checked the BIOS WOL setting and found it was set to "AC only" by default. So I changed it to disabled. This machine has the latest available BIOS version 1.54.
    However on investigating this after rebooting in linux I found that 
    # cat /sys/class/net/enp3s0/device/power/wakeup
    enabled
    # ethtool enp3s0 | grep Wake-on
    Supports Wake-on: pumbg
    Wake-on: g
    So WOL was still enabled despite it being set to disabled in the BIOS!
    I learned that I can make sure that in arch linux the WOL setting can be changed to set to disabled after bootup by using a udev rule:
    # cat 70-disable_wol.rules
    ACTION=="add", SUBSYSTEM=="net", KERNEL=="enp3s0", RUN+="/usr/bin/ethtool -s enp3s0 wol d"
    Then rebooting the machine I checked the WOL setting and it really is disabled now:
    # ethtool enp3s0 | grep Wake-on
    Supports Wake-on: pumbg
    Wake-on: d
    # cat /sys/class/net/enp3s0/device/power/wakeup
    disabled
    So I then ensured that the battery was 100% charged and shut down the machine and left it two and a half days - rebooting this morning the battery was still at 100% charge and no longer discharges unnecessarily when the machine is switched off,  so this is a clear indication of a bug in the BIOS for the WOL setting - it is still enabled despite the BIOS saying it is disabled!
    How do I report this to Lenovo so that they can fix the BIOS and release a new one that is working?
    I am aware of other users with different Thinkpads who seem to have the same problem, so this may be more widespread an issue than just on the S540.  
    It is also not just an issue with the battery running down when fully shut down but will likely also be a problem for a machine in suspend mode since the network interface may be consuming a watt or so of power when in suspend, which will again run the battery down at an unacceptable rate.
    I cannot imagine any use case where it would be necessary to have WOL enabled on a laptop that is mostly going to be used mobile - so having the default setting to AC only enabled, and having a BIOS bug enabling it when it is explicitely disabled is a serious problem.

    Anyone running windows in the same laptop can check the same issue of battery drain due to WOl being enabled by default - in the Device Manager under the network card, opening the settings menu for the ethernet wired card the default for Wake-on-LAN on my computer was set to enabled. This can be changed to disabled, and you may need to also disable the setting for Wake on Magic Packet. Also in the Power Management tab it is possible to uncheck the settings for "Allow this device to wake the computer" and "Only allow a magic packet to wake the computer"
    In my laptop these were all set to enabled by default.

  • Possible code bug causing crash on Wine/Linux

    As I am running Linux, I don't expect support as such but thought I would offer a possible contribution to the beta program as follows:
    When starting Safari under Wine (an implementation of the Win32 API) on Linux, I get the following debug message:
    DIB_GetBitmapInfo (44): unknown/wrong size for header
    What I understand this to mean is that the Windows function GetBitmapInfo is being passed a dodgy parameter.
    This is followed by a crash for me, but I guess on Windows, is quietly ignored.
    I have seen a report on CodeProject regarding an identical crash caused by a coder setting the biSize member of the bmiHeader (BITMAPHEADERINFO) element of a BITMAPINFO structure to the incorrect size. In the example given, it had been set to sizeof(BITMAPINFO) rather than sizeof(BITMAPINFOHEADER)
    e.g.
    bmpInfo.bmiHeader.biSize = sizeof (BITMAPINFO);
    instead of
    bmpInfo.bmiHeader.biSize = sizeof (BITMAPINFOHEADER);
    For any devs. interested as to whether there may be a bug, the call stack generated by Wine, showing the offsets from the base address of coregraphics.dll (loaded at 0x6b000000) is as follows, with the crash actaully occurring at '=> 1'
    Backtrace:
    =>1 0x6b262e97 in coregraphics (+0x262e97) (0x0033ed38)
    2 0x6b0f9da4 in coregraphics (+0xf9da4) (0x0033f31c)
    3 0x6b1e0fff in coregraphics (+0x1e0fff) (0x0033f4bc)
    4 0x6b1d19ee in coregraphics (+0x1d19ee) (0x0033f578)
    As I say, I'm not expecting any feedback on this - I'm just being neighbourly I also fully accept that I may be completely wrong in my assessment of the issue.
    Dell Inspiron   Other OS  

    There was an even earlier build than the two mentioned.
    Talk about "early revisions" I guess so, and it doesn't look like there will be a unified version tomorrow.
    I recall AYM had a note about video performance and in that instance, the build on the DVD was never than what was on the hard drive and within a week or so disk drives carried the "new, improved" video on disk as well.
    There may be other changes that go hand-in-hand other than build, too. Did they look at the Boot ROM and SMC Version of the systems?
    Boot ROM Version: MP11.005C.B00
    SMC Version: 1.7f6

  • Possible Tab Bug?

    The current bug: Adding an additional tab below another will cause the tab to looked messed up. The work around suggested was to create a page (with new tabs), publish it as a portlet underneath a main tab. Then you will visually see tabs underneath tabs.
    The new problem you get with this work around is your content underneath the sub-tab will not show up the first load. You have to click on another tab, then back to the previous tab to show the content.
    Another weird thing I ran across having to do with regions and published folders. I found that you cannot set a corrent percentage within regions when folders are added to regions.
    For instance; Under a tab, divid a region into two regions. The first region make 5% and the second 95%; now when you add your (folder) portlets underneath both regions you will see when viewing it, that it will show up 50% and 50%. If you take out the folder portlet on region 1, and add a application portlet; everything shows up fine.
    I have come across varies things like this, but I will start posting the errors and possible work arounds.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>The new problem you get with this work around is your content underneath the sub-tab will not show up the first load. You have to click on another tab, then back to the previous tab to show the content.<HR></BLOCKQUOTE>
    I noticed this also. (in 3.0.6.7.2 on NT).
    What's funny about this is that this is exactly the same as a bug with sub-tabs in the EA release. Maybe the data structure of a sub-tab and a page in a tab is very similar...
    null

  • Foreach syntax + generics, Possible compiler bug?

    I'm encountering an odd problem trying to use generics and the foreach (colon) syntax. The code in question:
    for (Iterator<String> it = col.getParameterNames().iterator(); it.hasNext();) {}
    for (String paramName : col.getParameterNames()) {}col is an instance of an inner class of the class whose method this code snippet is from, getParameterNames has the signature:
    public Set<String> getParameterNames();
    The first line, using the Iterator<String> explicitly, compiles fine. The second line, when present, raises the compiler error:
    found : java.lang.Object
    required: java.lang.String
    for (String paramName : col.getParameterNames()) {
    I cannot seem to reliably reproduce this situation in other (simpler) classes I write, but this one in particular seems to trigger it. Is it possible this is a compiler bug, or might there be something I'm doing incorrectly that I'm missing? Are my expectations about how the second line should work incorrect? It seems to in other circumstances...
    javac is 1.6.0_01. Any ideas?

    Here is a quick update, I'm more inclined to think of this as bad behavior now.
    This code compiles:
    public class Test {
    Vector<InnerTest> inners = new Vector<InnerTest>();
        public class InnerTest {        
           public Set<String> someSet() { return (new HashMap<String,String>()).keySet(); }
        public Test() {
            for (InnerTest it : inners) {
                for (String s : it.someSet()) {        
    }however, the following does not:
    public class Test {
    Vector<InnerTest> inners = new Vector<InnerTest>();
        public class InnerTest<P> {        
           public Set<String> someSet() { return (new HashMap<String,String>()).keySet(); }
        public Test() {
            for (InnerTest it : inners) {
                for (String s : it.someSet()) {        
    }Again, the problem might be with my expectations (I haven't gone through the specifications yet with this in mind), but I can't fathom how or why the unused parameter would make a difference in that method's tpye matching.

  • Issues with CS6. Signing in, Rendering, Disk Cache, No response from Bug Report.

    Hi,
    I submitted these issues some time ago to ae bugs <[email protected]> and did not hear back. I am a long time AE user and usually have a good Adobe experience, but CS6 does not work smoothly for me, and I have not found much help with my issues including emailing support and posting to the site. I find the current website not very effective for tech support.
    - Every time I open CS6 it asks me if I want to continue the Trial and I have to go through the steps to sign in. This is frustrating since I have paid for Creative Cloud and this slows me down.
    - In several projects I have had to turn off "Enable Disk Caching" or it renders text in the upper left corner, no matter where it is actually placed.
    - General slowness, especially using Trapcode Form 2.0. In those cases the playback head in the timeline will not update for many seconds. Also, dragging keyframes around gets very exaggerated. If I drag a keyframe a few frames it will move way off the timeline.
    - 3D text layer render times are so long as to be unusable. (I realize this could be related to my system, but still very disappointing for a Quad Core machine).
    (I have an Nvidia GTE 120 graphics card. 2.93 Quad Core, AE CS 11.0.1.12, OS 10.6.8)
    Any help/suggestions appreciated...
    Thanks,
    Paul

    Sign in or activation errors | CS6, CS5.5 Subscriptions, CS6 Perpetual
    The rest - yeah, CS6 sucks. We've heard all of it before and there are endless threads on the raytracing stuff as well as the flakey fast previews and cache.
    http://myleniumblog.com/2012/05/15/make-cs6-work-for-you/
    Mylenium

  • Timezone and Birthday bug in Address Book

    Hello,
    I just found a bug related to the Address Book, birthday fields, and timezones in 10.4.6. I had many contacts with filled birthdays. I had my system timezone set to Brazil (GMT-3), but now I moved to Japan, and set the timezone to Japan (GMT+9). When I opened Address Book after that, all birthday fields are showing one day late (for instance, if the birthday was on 1978/02/24, it will now show as 1978/02/25). Consequently, the birthdays in iCal are also showing late.
    I guess this is an internal representation bug, in that the birthdays are stored with the timezone, and when I changed the system timezone the correct date started being recalculated. But as a "timeless" event, birthdays should only display at the set date, without any conversion.
    PowerBook G4 12 Rev. A/iPod with Video 30GB   Mac OS X (10.4.3)  

    You seem to be right. Here is what I noticed with further experimentation.
    The time difference between Brazil and Japan is 12 hours, that is, in any given day, when it reaches noon (12:00) in Japan, the day is just starting (00:00) in Brazil, and when it reaches noon (12:00) in Brazil, that same day is ending in Japan (23:59). So, during the period 12:00-23:59 in Japan (and 00:00-11:59 in Brazil), both places are under the same day.
    Here is the interesting bit: birthday events added in Brazil during this period (before noon) show with the correct date, when I set the timezone do Japan. Birthday events added in Japan in the afternoon also show the correct date when I set the timezone back to Brazil's. So Address Book is using the field edit date, somehow.
    For now, I have manually reedited all the birthday fields during this "same day" period, and birthdays are showing correctly no matter if I am in Brazil or Japan, but that is definitely a hack.

  • Possible Keyword Bug

    Okay,
    I think I have found a possible bug with keywords, or maybe just an incositancy. It's kind of a messy situation so I'm hoping someone can help me out or maybe point me in the right direction to send this feedback to Apple.
    I had a bunch of jpeg files from my older cameras that had already been tagged with keywords (in the IPTC keyword field I believe). Once I imported all of these into Aperture I stripped the keywords from all the images. That worked fine.
    Before I get into the actual issue let me give a little bit of information on my Aperture library layout: I have folders created by year, then 1 project per month. So I have something like this:
    2002
    01 Janurary
    02 Feburary
    2003
    01 Janurary
    What's weird is if I create a new smart album at the folder level, the keywords listed in the search box are appropriate (only those actually added to images). However if I click on Library and create a new smart album (so that it searches the whole library) it lists all of my current keywords, plus all of those that I had removed (from the original files).
    Anyone else run across this? Anyone know how to fix it? It's just a minor inconvience, but it does make it a bit of a pain to have a whole ton of keywords to select from in the search box (most of them no longer having any images associated with them).
    Also I have searched for images that match the old keywords and it doesn't find any.
    Thanks,
    Mark

    She suggests..
    "Go to Window > Show Keywords HUD, and see if they are there. If so, you should be able to delete them from there."
    Hopefully, they will then disappear from the Library list.
    if not, it does seem like a bug.
    Message was edited by: notorious

  • How It Was Fixed (Possible Software Bug Not Hardware): Getting the iMac Screen/Menus Garbled and/or Yellow Circle Before Getting Into Finder Issues?

    Hi. Possible fix done to my late- 2009 iMac's screen/graphics issue that may work God willing, hopefully for most [In my case it sometimes had that yellow circle that appears before it goes to the Finder but mostly it was a messed up desktop and menus (unreadable mostly) after months, prayers and weeks of fixing it; recommended to be read entirely first coz' it's a bit complicated (like a lot of subplots). If uncomfortable to try coz' it involved a GPU stress test, contact your authorized Apple service center for their advice]. I had an iMac (late 2009) screen garbling a few hours ago (was weeks ago when it resurfaced until it got worse that it's at every boot on Mavericks):
    †        I booted to Snow Leopard USB external (my back-up OS) drive then run the first    person shooter at redeclipse.net. I set everything to max, including the display, resolution and graphics setting with fullscreen and v-sync on. I then refreshed it which brought it back to normal (I then tested it's stability with GPUTest 0.7 with Furmark for 15 minutes). * if the display options have been set to max before, bring it back to the default then refresh and then max it again Possibly any games that's has the graphic settings (or more advanced) of Red Eclipse could work (other free ones are Xonotic and Open Arena which are based on Quake 1 or 3s engine I believe).
    Optional but not recommended (have warrantied if that's still available or have it repaired at authorized service centers):
    If that doesn't work, review articles and videos on how to open an Intel iMac and get an iPhone/iPad/another way to get to the 'net ready for research (I opened mine very carefully on the right side with a cutter with blade extended far prying it carefully then I inserted a flat end, sturdy plastic used for mixing epoxy then removed the cutter carefully to let the plastic mixing tool do the prying) to see if the cable connected to the logicboard which is on top of, is connected (mine was detached but I'm not sure if the adjusting and tilting of the screen overtime for 2 & 1/2 years, detached it) then do † above again.
    It could to be a software problem, a possible Apple ATI driver bug that takes overtime to surface (2 1/2 years it resurfaced because this started in my case after upgrading to Lion when Apple coded things mostly from the ground up. Snow Leopard didn't have this problem). 
    Thank you for your time. Have a great upcoming sunday mass/great upcoming weekend. I hope this helps.
    God bless, Rev. 21:4, Matt. 16:18

    Does an external display also act in a similar manner as the internal one?
    Some earlier Intel-based iMacs had graphic processor card issues; not sure what
    the symptoms of the majority of them were, but some had odd patterns, others
    went black, and some would range from OK to totally unusable. Among others.
    So there is a chance the graphic processor may be going out; or just the circuitry
    that controls the backlight. An inverter may be weak or other circuit to the display
    could be wearing out.
    http://www.apple.com/retail/geniusbar/
    If you have access to an Apple Store with Genius bar, they can perform some kinds
    of diagnostic tests there even though the computer is out-of-warranty; that may be
    of help to narrow down the cause of the symptoms you've noticed. They may not be
    able to repair it, however, at an Apple Store; as it is rather old by today's standard.
    An Apple Authorized Service Provider could do repairs and testing on older models
    the Apple Store's Genius and other may not be set up to handle due to vintage.
    Find an Apple Authorized Service Provider
    Visit an Apple Retail Store
    There is a country locator page to help find either of the above in regions outside
    of the US & Canada, not sure how the above links would work; and it appears my
    bookmarks to the country locator page may not be accessible now to post here.
    You may be able to get an idea about what kinds of parts support the display
    function by name by looking into an iFixit.com repair guide for your iMac series.
    Hopefully the parts supporting the display are the reason it is dimming down, as
    a graphic processor failure likely would exhibit other behaviors than just dimming.
    PS: I see you've added content to your thread after I'd started working on this
    & the answer likely is a hardware repair; professional testing is worth the time
    and you seem to have at least one other thread on the same topic....
    Good luck & happy computing!
    edited 2x

  • Possible "unlock" bug

    Greetings.
    I decided to post this here, as I dont have developer access for bugreporting site.
    Using "The new iPad 3" with latest iOS 7.1.2
    I found a strange bug by accident. I can repeat it, although it doesn't always work out.
    Here it goes: When I turn my iPad on from black screen to start screen and slide unlock
    bar like this (Finnish language set)
    If I stop there (correct spot changes and not always the same) and then flip iPad, so
    screen turns automatically (up and side both works).
    This will result so, that unlock bar is stuck and I can't open iPad anymore. Not without turning
    power off and then back on. This problem came with 7.0+
    Would be intresting to know, if this is known thing and can others repeat this with other
    iPads?
    Thanks for your time.

    I would suggest getting a copy of wireshark and see if the browser is behaving, I have seen
    lots of issues where the server is closing the connection and Safari still tries to send more data, which
    violates the RFC. You would also notice lots of tcp connections being opened possibly as well if the
    site finishes loading. I have been trying to use Safari exclusively for a while, but somehow I always end up in Firefox. Hopefully they will have most of the gotcha's under wraps soon, but until than their is always
    Firefox.

  • Possible Liquid Bug: Moving data into e-commerce layout

    Liquid will not seemingly pass any data from outside an e-commerce layout into an e-commerce layouts is intentional or a bug.
    If you create an include place it in a template then try to pass any data ie assign into any ecommerce layout it does not work.
    If you need more help with reproducing this let me know.

    What I have is a gloabal.inc this contains liquid that I would like to be used across a site ie url manipulations date manipulations and many many more. This is inside a head.inc placed at the very top of the template pages.
    What this means is that the global.inc gets rendered first before anything else. You can then run liquid return results and then use it over and over with a simple {{myResult}} tag almost anywhere on a site. It works great, it is simple, fast to implement and has many applications. I can even create a library of .inc liquid files and can place their include's at will in global.inc and then access variables across a site to add and remove functionality. (Of course this is dependant on what you want to do and if it really needs to be global of course.)
    I get that it is dependant on the way BC loads but if that is the reason then the ecommerce must render before the page template. Maybe it does, maybe there is another reason. If it is possible then it would be great to have working.
    Is there other ways to get the result I want yes. But is it as simple, as fast and as easy to implement, add and remove no. If there is a better way I am all ears.

  • Possible Flash bug? Won't work correctly on windows7, explorer11

    I have a problem with Adobe Flash. It seems to fail or to work correctly and am trying to debug the problem to see if it an Adobe bug or something else.
    I have two laptops old and new side by side to troubleshoot, both use same version of windows 7 home, internet explorer 11, adobe flash, directx 11, nortons, etc..
    But the newer faster i5 laptop Adobe Flash keeps craping out on.
    - I have checked (compared) all explorer security settings between computer all seem the same.
    - Flash is Enabled in internet explorer 11, add-ons
    - latest flash version has been installed and has been reinstalled (even a saved copy to disk and run offline from disk).
    - flushed out explorer 11 cache
    - flushed out adobe cache
    - active x filtering is off
    - reboots done of computer.
    I find this a tad frustrating as what is causing flash to malfunction, anyone got any ideas to try?.
    on https://helpx.adobe.com/flash-player.html
    it indicates that i have the latest version installed
    on the Adobe - Flash Player : Settings Manager - Global Privacy Settings Panel
    none of the panels will display
    but on the http://www.adobe.com/software/flash/about/
    it does not display the small version information window saying you have x.x.x.x installed nor does the red bouncing adobe box display like on my older laptop. but when you click on the gobal settings menu it indates that you have the latest version installed..
    example: playing an online flash game, www.volvooceanrace.com the game loads asks to log in, and then you hear some sounds and and then seems to not load, proceed any further, or locks up. There are a 170,000 daily players using this flash game.

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Is this dynamic caching scenario possible with reverse proxy?

    I'm considering using the Sun System Java Web Server as a reverse proxy in front of other SSJWS's running a java webapp. I'm creating a dynamic site where most of the pages change only occasionally. I'm wondering if the follow "dream compression/caching" scenario is possible:
    - Origin web servers have a set of high traffic dynamic pages that change only occasionally. Other pages (could be partition in subdirs) should not be cached.
    - These dynamic pages set cache and expires headers allowing browser and proxies to cache the content--say for hours or days. It's ok if users see a slightly stale page within this expiration period.
    - Reverse proxy caches these pages as if they were static files. They also create gzipped versions on the fly and cache those. When requests comes in for these specific pages, they are served straight from proxy cache (either compressed or uncompressed depending on request header.)
    - When the expiration date is reached, reverse proxy requests fresh pages from the origin server, creates a compressed version, and only servies these pages from cache.
    - A certain set of pages shouldn't be cached and will have appropriate headers. They will probably also be in different subdirectories.
    Is it possible to use the reverse proxy as a self-updating cache this way? (And it it possible to proactively invalidate the cache. Let's say I change a page on the origin and I want the proxy to refresh that cached page right away.)
    Thank you,
    Armando

    I see. Thank you, this is very helpful.
    I've take taken a look at Web Proxy 4. It seems it can do much of what I'd like. One downside I see is that it seems to be quite a big tool with all of the forward proxying features that I don't need. I just need a transparent reverse proxy/cache, so it would have been nice if the reverse proxy provided by Sun Web Server offered some of the caching features of Web Proxy 4.
    Does Web Proxy 4 share code with Web Server? I haven't any seen any buzz, blogs, etc about it as I have with Sun Web Server. I see it now has a "modern HTTP core" and such but is performance on par with Web Server? (There are no trumpeted world records, and I don't see any architecture details, such as the ability to leverage event ports on Solaris...)
    It looks like Web Proxy 4 can be configured as a reverse proxy to do sticky load balancing, caching with interval checks, and on the fly gzip compression. Can it: cache both a compressed and uncompressed version of the content? Run other filters on the content before caching, such as the sed content trip filter? I haven't really seen anything out there that can do all that. If this is possible, then Web Proxy 4 deserves more buzz!
    If anyone has any good or bad experience using Web Proxy as a reverse proxy, I'd love to hear it!
    Cheers!
    Armando

Maybe you are looking for

  • How can you use one NetStream to publish video and audio from another NetStream in AS3?

    Let's say one of your client programs in AS3 is able to receive live video and audio from a NetStream and play it on the screen.  How could you make it also take that video/audio stream that it's receiving, copy it over into another NetStream, and pu

  • Master data extraction from R/3 to BW

    Hi all, I have to extract master data for characteristic 0CUSTOMER from R/3 system. I have two options for doing that namely 'direct update' and 'flexible update'. Can anyone suggest which method is used in which scenario? I need the data in 0SOLD_TO

  • Can't iMessage on my iPad.

    I can iMessage my friend on my iPhone, but when I try to iMessage him from my iPad it says that he is not registered with iMessage.  My email and number is the same on both my iPhone and iPad.  They have verified.  Why can't I message him?  Thanks.

  • How do I register Quicktime Pro?

    Hello: How can I register my Quicktime Pro?

  • Displaying images - out of memory  (was Loading imagens - out of memory")

    Well guys, this is REALLY an intriguing issue. Ok, the subject of the post was not precise; I do not want to load the images. I just want to display them, in batches, one batch at a time. My applet loads the last batch of images available and display