Author |
Message |
|
Hi Björn,
in our project we use the workplace perspective feature, but we have only one perspective. Here is the content of the used default.xml-file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workplaceTileInfo>
<text>XXX</text>
<split>
<orientation>horizontal</orientation>
<dividerLocation>200</dividerLocation>
<subSplit1>
<orientation>vertical</orientation>
<dividerLocation>400</dividerLocation>
<subContainer1>
<id>FUNCTIONS</id>
</subContainer1>
<subSplit2>
<orientation>vertical</orientation>
<dividerLocation>100</dividerLocation>
<subContainer1>
<id>USERINFO</id>
</subContainer1>
<subContainer2>
<id>TEST</id>
</subContainer2>
</subSplit2>
</subSplit1>
<subContainer2/>
</split>
<startViews>
<jspPage>/WEB-INF/jsp/workplace/functiontree.jsp</jspPage>
...
</startViews>
<startViews>
<jspPage>/WEB-INF/jsp/workplace/userInfo.jsp</jspPage>
...
</startViews>
...
<frozen>false</frozen>
</workplaceTileInfo>
We got the requirement for another customer project, that the UserInfo-view must not be displayed in the workplace. Is there a possibility to switch on/off the UserInfo-view by a attribute like 'rendered' in the <startViews> or <subContainer>-elements in the XML. We didn't find a hint in the developer documentation.
CC-Version 5_0_20131216_2 is used in the product.
Regards,
Ralf
|
|
|
hi Björn,
we use a FIXGRIDBindung and the data is loaded step by step during the scrolling (like example "Load on Demand 2" in CC-Demos). Now we would like to implement the buttons "First" and "Last" to move to the top / end of the grid.
Therefore we calculate the new sbvalue (requestedIndex - ClientVisibleAmount) and set the new sbvalue with the FIXGRIDBinding.setSbValue()-methode.
Then we try to select the item FIXGRIDBinding.selectItem(requestedIndex).
The result is a NullPointerException from FIXGRIDBinding.selectItemWCB.
What we have to do that the grid is "reloaded" and contains the needed items after FIXGRIDBinding.setSbValue()?
Kind regards,
Ralf
|
|
|
|
|