Hello.
I have scanned this space for a solution but unfortunately nothing worked out.
Therefore I´m starting a new post in order to get help.
I want to implement a widget, which includes a flah video. If I set the URL of the video (directly in the source code), the widget works,
but I don´t want such a static widget. I would like to have a widget so the admin can switch to the edit mode in order to set some parameters e.g.
the url. Unfortunately this is exactly my problem.
In the widget class I added following property, getters and setters:
@PropertyNames("url")
public class FlashWidget extends BaseWidget
{
private String url = "/url/video.flv";
public String GetURL() { return this.url; }
public void setURL(String url) { this.url = url;}
...
}
The .proporties file has following content:
# Resource bundle for FlashWidget
# Author of widget
author=Authorname
# Version of the widget
version=1.0
# Properties - Display name and description
url.displayName=URL of video
url.shortDescription=This contains the URL of the flash-file
If I try to open the Edit - Mode in order to manipulate the attributes following failure occures:
HTTP Status 400 -
type Status report
message
description The request sent by the client was syntactically incorrect ()
If I use the attribute described in this documentation:
http://www.jivesoftware.com/jivespace/docs/DOC-3301
the Edit-GUI is shown insted of failure notice. If I add the changes described above to the sample, the same problem
occures. Does anyone have an idea to solve that probleme?
Thanks and best regards,
Houssein
okay I found the solution:
the getter and setter functions are case sensitive:
instead of the method names mentioned above you have to use:
public String GetUrl() { return this.url; }
public void setUrl(String url) { this.url = url;}
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us