reiern70 commented on a change in pull request #479:
URL: https://github.com/apache/wicket/pull/479#discussion_r745324877



##########
File path: 
wicket-native-websocket/wicket-native-websocket-core/src/main/java/org/apache/wicket/protocol/ws/api/registry/PageIdKey.java
##########
@@ -25,9 +28,30 @@
 {
        private final Integer pageId;
 
+       private Class<? extends IManageablePage> pageClass;
+
        public PageIdKey(Integer pageId)
+       {
+               this(pageId, null);
+       }
+
+       public PageIdKey(Integer pageId, String pageClass)
        {
                this.pageId = Args.notNull(pageId, "pageId");
+               Args.notNull(pageClass, "pageClass");
+               try {
+                       this.pageClass = 
(Class<IManageablePage>)Thread.currentThread().getContextClassLoader().loadClass(pageClass);
+               } catch (ClassNotFoundException e) {
+                       //throw new WicketRuntimeException(e);

Review comment:
       Yes. No longer pertinent.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to