- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WebeditStatusNotePlugin
Hallo Community,
ich habe mich soeben mal hingesetzt und habe ein WebeditStatusNote (Anhand der neuen FS-Examples) implementiert bzw. รผbernommen und auf dem Server installiert.
Installation lief erfolgreich durch. Server neu gestartet, jedoch werden keine Status-Icons angezeigt.
Der Code sieht wie folgt aus:
public class PageStatusPlugin implements WebeditStatusNotePlugin {
private BaseContext context = null;
@Override
public void setUp(@NotNull final BaseContext context) {
this.context = context;
}
@Override
public void tearDown() {
// TODO Auto-generated method stub
}
@NotNull
@Override
public List<WebeditStatusNote> getStatusNotes(@NotNull final WebeditStatusNoteContext context) {
final WebeditStatusNote note = createNote(context);
return Collections.singletonList(note);
}
@NotNull
private WebeditStatusNote createNote(final WebeditStatusNoteContext context) {
final IDProvider element = context.getElement();
return context.createNote().color(WebeditColor.VANILLA).title("Note Title").text("Note Text " + element.getId()).visibleOnLoad(true).create();
}
}
In der module.xml ist die class als "public" Komponente angegeben.
FS: 5.2.608
Viele Grรผรe aus Dresden,
Marcel
- Labels:
-
Developers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
nur sicherheitshalber: Hast Du denn auch eine Web-App-Komponente in der module.xml, die Dein .jar enthรคlt und ist diese WebApp im ContentCreator-Webkontext hinzugefรผgt?
Viele Grรผรe
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
ist dieses Posting noch offen? Benรถtigst du noch Hilfe? In diesem Fall wรคre es super, wenn du Michaels Rรผckfrage beantworten wรผrdest.
Solltest du zwischenzeitlich eine eigene Lรถsung gefunden haben, wรคre es toll, wenn du sie hier bereitstellen wรผrdest.
Viele Grรผรe
Michaela
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Michaela,
leider hatte ich noch keine Zeit, den Tipp von mbergmannโ zu testen, sobald ich die Zeit finde, werde ich berichten.
Viele Grรผรe
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
wie ist der aktuelle Stand?
Gruร,
Sebastian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sebastian,
leider komm ich nicht dazu ๐
Viele Grรผรe
Marcel

