|
BBCWeatherDashlet
IntroductionThis add-on project for Alfresco Share defines a simple dashlet to display current weather observations and a three day forecast for over 9,000 locations across the world. Data is sourced from the BBC Weather RSS feeds.
InstallationThe dashlet is packaged as a single JAR file for easy installation into Alfresco Share. To install the dashlet, simply drop the bbc-weather-dashlet.jar file into the tomcat/shared/lib folder within your Alfresco installation, and restart the application server. You might need to create this folder if it does not already exist. Building from SourceCheck out the project if you have not already done so svn checkout http://share-extras.googlecode.com/svn/trunk/BBC%20Weather%20Dashlet Change into the new directory cd "BBC Weather Dashlet" An Ant build script is provided to build a JAR file containing the custom files, which can then be installed into the tomcat/shared/lib folder of your Alfresco installation. To build the JAR file, run the following command from the base project directory. ant clean dist-jar The command should build a JAR file named bbc-weather-dashlet.jar in the dist directory within your project, which you can then copy into the tomcat/shared/lib folder of your Alfresco installation. Alternatively, you can use the build script to hot deploy the JAR file directly into a local Tomcat instance for testing. You will need to use the hotcopy-tomcat-jar task and set the tomcat.home property in Ant. ant -Dtomcat.home=C:/Alfresco/tomcat clean dist-jar hotcopy-tomcat-jar After you have deployed the JAR file you will need to restart Tomcat to ensure it picks up the changes. Usage
| |
Hi, I don't know why first time "configure" button works, then if you want to change your location again, nothing happen when you click the "configure" button, a workaround is to add the RSS Feed dashlet to your dashboard, I tested in firefox and IE and it works.
salazzari - I've tried to reproduce this in my own environment but I cannot do so, the config dialogue displays fine each time.
If you have a test case that you can use to trigger this reliably, please can you post a defect report in the Issues section? It would be useful if you could include any errors that are thrown (Firebug should give you a good run-down), as well as the names of the locations you are configuring at each step.
alfresco 3.4d - i do not have the configure button at all. tested on 2 browsers (firefox and chromium) i belive that this error in boot is to blame: ERROR: org.springframework.web.servlet.DispatcherServlet? - Context initialization failed org.springframework.extensions.config.ConfigException?: 04240000 Unable to locate evaluator implementation for 'model-type' for org.springframework.extensions.config.ConfigSectionImpl?@3e043340 (evaluator=model-type condition=pm:poll replace=false)
Hi, normally that issue is due to Web Quick Start not being able to parse the Share configuration. Please post a defect issue in the Issues section if you have problems and we can discuss the best way to resolve this for you.
i'm not able to get configure link...is this a known issue?
I had this problem and solved it by retriving sources of this dashlet, and adding ml-ant-http-1.1.1.jar to /lib directory. Then, just build it (ant), and that's it !