Search found 3 matches

by vanliers
Tue Mar 26, 2019 1:42 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: [solved]Detect if a widget is in edit mode
Replies: 1
Views: 205

Re: Detect if a widget is in edit mode

hi, it's quite simple: in Java it's something like: ... private final RichPageWidgetRenderingContext context; ... if (context.target().isEditor() || context.target().isPdf() || context.target().isPrint()) { // do something... } or in velocity on a live report page it's something like: $widgetContext...
by vanliers
Fri Feb 22, 2019 8:22 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Create multiple workitems at once
Replies: 4
Views: 253

Re: Create multiple workitems at once

Hi, one possible solution is to add a ScriptFunction to the workflow of the user story and write your own function i.e. in JavaScript, that creates and links new tasks to the user story (our duplicates them from a template). Doing it by using a ScriptFunction allows you to create the tasks when the ...
by vanliers
Wed Feb 06, 2019 3:05 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: [solved]Detect if a widget is in edit mode
Replies: 1
Views: 205

[solved]Detect if a widget is in edit mode

Hello, I'm developing a widget in java and want that some functions are only available if the live report is in view mode. When the live report page is edited, these functions have to be disabled. so my question is: how can I detect, if the page is in edit mode? Is there something like that? Thank y...

Go to advanced search