4 Replies Latest reply: Jul 23, 2007 10:16 AM by Satish Salguti RSS

    Adding a tab to the admin console

       

      I am trying to add a tab to the admin console using my plugin.

       

       

      I have attached the plugin.xml and the xwork-plugin.xml that i use to accomplish this. I deploy it and I see the new tab in the admin console but when i click on it firefox trys to open the file (sayhello.jspa) which is the url that is specified in the plugin.xml file.

       

       

       

       

       

      Thanks

       

       

      Satish

       

       

       

       

           

       

       

       

       

       

       

       

       

       

       

       

           

       

       

        • Re: Adding a tab to the admin console

          Hey Satish,

           

          Did you build the entire plugin? It includes an action class at com.example.clearspace.plugin.action.HelloWorldAction. That class and hello-template.ftl are required for the link to work. There should be a build.xml file included in the sample at Example Plugin.

           

          Steve

            • Re: Adding a tab to the admin console

              Hi Steve, I have all those files inthe jar. I just did not upload them to this thread. I have the class, ftl file and i use the build.xml to actually build the jar that i drop in my JiveHome plugins folder.

               

               

               

               

               

              I can upload the built jar if you want me to.

               

               

               

               

               

               

              Thanks

               

               

               

              Satish

               

              Message was edited by: ssalguti

                • Re: Adding a tab to the admin console

                  Hey Satish,

                   

                  Yes, could you upload the JAR file? Which version of Clearspace are you testing with?

                   

                  Steve

                    • Re: Adding a tab to the admin console

                       

                      Hi Steve,

                       

                       

                      I tried today morning and it was working.  The code is the same. It is strange. I had this problem on friday. So i was trying to debug the plug-in and started using the -D parameters to debug the plug-in. SO i had to delete it from the jiveHome/plug-ins folder. Today i coped the jar again to the jiveHome/plugins folder and I am not seeing the problem. I dont have an explaination to this.  Attached is the jar in case you want to check anything. I am using ClearSpace 1.3 and Tomcat 5.5 server.

                       

                       

                       

                       

                       

                      I have another small question. I see a tab HelloWorld. But what does the section in the plugin.xml used for? I do not see that anywhere on the screen. I am also attaching a screenshot of the page I am seeing.

                       

                       

                       

                       

                       

                      Thanks

                       

                       

                      Satish