[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-dev
Subject:    [jira] Created: (TAPESTRY-302) Palette component select arrows appear enabled on load
From:       "Scott Morgan (JIRA)" <tapestry-dev () jakarta ! apache ! org>
Date:       2005-04-25 22:10:02
Message-ID: 1579917577.1114467002011.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

Palette component select arrows appear enabled on load
------------------------------------------------------

         Key: TAPESTRY-302
         URL: http://issues.apache.org/jira/browse/TAPESTRY-302
     Project: Tapestry
        Type: Bug
  Components: Contrib  
    Versions: 3.0.3    
    Reporter: Scott Morgan
    Priority: Minor


When the palette component loads, both selection arrows (select/deselect) show the \
enabled images, even though they should be disabled as no items are highlighted on \
load.  You can see the javascript defaulting them to disabled: \
<componentId>$buttons.selectDisabled = true; <componentId>$buttons.deselectDisabled = \
true;

But the javascript function update_<componentId>() isn't being called, where the \
switching of the enabled/disabled images happens.  

For a workaround i've added a call to the update javascript function on page load.  \
But this is semi-fragile as if the component id is changed the generated function \
name will also change.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic