![]() |
Download TeamPage version 6.2.52 | ![]() |
gwt.rpc.form tag can now get form properties from a currently scoped ViewAction. Just apply the tag attribute useViewAction="true" to a gwt.rpc.form tag. This can be particularly useful when a form is to be rendered inline, so as to avoid having to manually copy the GWT action properties from a ViewAction to the inline form bootstrap properties. This will also avoid an extra request by the client to retrieve the information required to render the form, since the response will already include everything the client needs for that. (Proteus16951)com.traction.sdk.util.EntryPropertiesListType class that stores and retrieves list ordering in one or more properties of an entry. This requires that the requesting user (making the changes to the list order) has permission to edit the entry in which the order information is stored. (Server97398)com.traction.sdk.list.ListType basis. ListType now has the following methods:
public Set<com.traction.sdk.list.ListContext> getMemberOfLists(
com.traction.sdk.Entry entry
);
public ListChanges getMemberOfEntryListChanges(
com.traction.sdk.Entry entry,
Collection<? extends com.traction.sdk.LabelName> addedLabelNames,
Collection<? extends com.traction.sdk.LabelName> removedLabelNames
);
com.traction.sdk.list.ListMembershipFunction interface for ListType customizers who wish to cleanly separate details related to list membership from details related to list ordering. Plug-in authors should consider using com.traction.sdk.list.AbstractConfiguredListType as the basis for a custom ListType in order to make use of this pattern (or just using or a concrete subclass such as com.traction.sdk.list.EntryPropertiesListType ), since the class and other configuration properties for a custom ListMembershipFunction can be set in the "list_membership" namespace. (Proteus17203)db.entries tag now supports listcontext= for applying ordering from an ordered list to query results, just like the entries tag does. Use listcontext="current" to use the currently scoped ListContext object. (Server97396)
{
// Map of the attributes from the rg="f#..." region token encoding.
"rg": { ... },
// This should be the same DIV that has the rg= attribute.
"elm": <HTML DOM element>
}
function myFeedItemExpandHandler(data) {
// ...
}
Proteus.addHandler("feed-item-expand", myFeedItemExpandHandler);
{
"action": "<string, name of the moderation action, e.g., 'Lock'>",
"failed": [ array of entry FQIDs for which the requested operation failed ],
"succeeded": [ array of entry FQIDs for which the requested operation succeeded ],
"skipped": [ array of entry FQIDs for which the requested operation was skipped because the target was already in the desired state ]
}
function myEntryModerationHandler(data) {
// ...
}
Proteus.addHandler("entry-moderation", myEntryModerationHandler);
<gwt.rpc.view name="GenericMenu" key="heading" heading="Test Menu" class="my-test-menu">
<gwt.rpc.view name="item" type="separator" name="A" class="menu-sep-A" />
<gwt.rpc.view name="item" type="item" name="Alert Test 1" javascript="alert('A:X');" class="menu-item-X" />
<viewaction name="NewTask" forceinclude="">
<gwt.rpc.view name="item" type="item" name="New Task" rg="__viewaction.gwtregiontoken__" class="menu-item-Y" />
</viewaction>
<gwt.rpc.view name="item" type="item" name="Home Page" url="__url.urlgen.home__" class="menu-item-Z" />
<gwt.rpc.view name="item" type="separator" name="B" class="menu-sep-B" />
<gwt.rpc.view name="item" type="item" name="Twitter (New Window)" url="https://twitter.com" target="_blank" class="menu-item-Q" />
<gwt.rpc.view name="item" type="item" name="Alert Test 2" javascript="alert('B:R');" class="menu-item-R" />
</gwt.rpc.view>
<gwt.rpc.view name="HTML">
<div>
<div id="test-menu"></div>
</div>
<gwt.rpc.view name="InlineGenericMenu" heading="Test Menu" class="my-test-menu" -id="test-menu">
<gwt.rpc.view name="item" type="separator" name="A" class="menu-sep-A" />
<gwt.rpc.view name="item" type="item" name="Alert Test 1" javascript="alert('A:X');" class="menu-item-X" />
<viewaction name="NewTask" forceinclude="">
<gwt.rpc.view name="item" type="item" name="New Task" rg="__viewaction.gwtregiontoken__" class="menu-item-Y" />
</viewaction>
<gwt.rpc.view name="item" type="item" name="Home Page" url="__url.urlgen.home__" class="menu-item-Z" />
<gwt.rpc.view name="item" type="separator" name="B" class="menu-sep-B" />
<gwt.rpc.view name="item" type="item" name="Twitter (New Window)" url="https://twitter.com" target="_blank" class="menu-item-Q" />
<gwt.rpc.view name="item" type="item" name="Alert Test 2" javascript="alert('B:R');" class="menu-item-R" />
</gwt.rpc.view>
...
</gwt.rpc.view>
gwt.rpc.view tags can specify more="true" to make the tab initially hidden behind a "More" tab. (The library function com.com.traction.sdk.SdkFactory now has a new method for creating a com.traction.sdk.props.PropStore representing an entry's properties, and commitChanges method will submit an edit on behalf of the requesting user if any effective changes have been applied to the PropStore.
public abstract com.traction.sdk.props.PropStore getEditableEntryProperties(
com.traction.sdk.Context context,
com.traction.sdk.TractionId entryId,
boolean exact
) throws com.traction.sdk.AuthenticationException;
com.traction.sdk.token.EntryField (and corresponding com.traction.sdk.token.EntryFieldRenderer s) that can be used in conjunction with any task to determine how many times its due date was pushed back (i.teampage_logo.jpg