Remove obsolete attribute modifier
----------------------------------

                 Key: WICKET-998
                 URL: https://issues.apache.org/jira/browse/WICKET-998
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-examples
    Affects Versions: 1.3.0-beta3
            Reporter: Sven Meier
            Priority: Trivial


I'm sorry to bother you with such a trivial thing, but we should spare new 
users the need to look for the reason for the AttributeModifier: there's none.

Index: 
/home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
===================================================================
--- 
/home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
     (revision 578440)
+++ 
/home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
     (working copy)
@@ -89,9 +89,6 @@
                                                }
                                        }
                                };
-                               link
-                                               .add(new 
AttributeModifier("id", true, new Model("letter_"
-                                                               + 
letter.asString())));
                                link.add(new Image("image", 
letter.getSharedImageResource()));
                                listItem.add(link);
                        }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to