Show 'Expand'/'Collapse' Icon in Tray
Hi All,
I have done the following configuration in the portal and the result is confusing, can you please help me understand why?
1. I have created 2 pages, first is a standard portal page and second a webdynpro page in a test folder
2. copied a standard SAP iView to the test folder and added it to both the pages as a delta link
3. opened the iview property from the std. page and set the "Show u2018Expandu2019/u2019Collapseu2019 Icon in Tray" property to NO
4. opened the iview property from the webdynpro page and set the "Show u2018Expandu2019/u2019Collapseu2019 Icon in Tray" property to NO
When i preview the standard page the iView appears without the "Expand/Collapse" icon, but when i preview the webdynpro page the iview appears with the "Expand/Collapse" icon.
Thanks,
Anand
Hi Raghu,
Our portal version is 7.01 SPS15.
Hi All,
Any suggestions?
Edited by: Kirupanand Venkatapathi on Oct 4, 2010 11:32 AM
Similar Messages
-
I am working in CP7 on a project with a Table of Contents that is set to 'Overlay'. The client has requested that I remove the "TOC" button in the playbar, without removing the TOC "Expand/Collapse" icon, so that the user can still hide/reveal the TOC when necessary. The only control I can find is the "Show TOC" checkbox under Project > Table of Contents. However, un-checking this option removes both the "TOC" button AND the "Expand/Collapse" icons. Is it possible to remove just the "TOC" button in the playbar?
If you are using SWF output you can always edit the playbar in Flash and remove it.
If HTML5 you can edit the JavaScript out put to remove the button from the playbar. -
How do I remove expand / collapse icon for JTree empty folders
Hi
I am using a JTree as a file system browser. I use DefaultMutableTreeNode nodes.
I have a problem with empty folders.
Empty folders show the expand / collapse icon, leading the user to believe there are sub-directories. When the user double-clicks the folder, the expand / collapse icon goes away. This is a "haha-gotcha" glitch that I really don't want my users to have to continually deal with.
So, how might I get my JTree to not show the expand / collapse icon for empty folders?
Thanks
WayneMaybe I can use the FileSystemView isTraversable(File f) method in my TreeCellRenderer class to check if anything is in the directory.
But I still need to know how to disable the expand / collapse icon for such a node. -
Change behaviour of Expand/collapse icon in JTree
Want to change the behaviour of Expand/collapse icon in a JTree. Need help with the same. Thanks.
Check: Hide and show region
-
Remove/hide expand/collapse icons
Hi,
I would like to remove/hide the expand/collapse icons and have a fixed navigation iView.
Thanks in advance.
Rgds,
JanviHi Janvi,
Probably to hide the collapse and expand icon you could go about with the theme editor , where u can set the url to these images as some blank image that coincides with ur background colour.
To have a fixed navigation panel without scrolling ,probably you can change the the width of the navigation panel by changing the value defaultExpWidth in the file WAandNAVPanel.js file in the par file com.sap.layouts.framework.par from 220 pixels to a higher value.Later u need to upload the file back and restart ur system.
Hope this helps,
Regards,
Uma. -
JTree without expand/collapse icons
I want to be able to hide or change the expand/collapse icon of a specific node, not the entire Jtree.
Is there any way to do that?
TahnxI want to be able to hide or change the expand/collapse icon of a specific node, not the entire Jtree.
Is there any way to do that?
Tahnx -
How to Expand/Collapse Select Option Tray
Hi,
I have a View in which I have dynamically created a select-option Tray and then added select-options within the Tray using:
DATA lr_cost_ctr TYPE REF TO data.
DATA lr_interfacecontroller TYPE REF TO iwci_wdr_select_options.
DATA lr_select_options TYPE REF TO if_wd_select_options.
* Initialise the selection screen.
lr_interfacecontroller = wd_this->wd_cpifc_select_options_search( ).
lr_select_options =
lr_interfacecontroller->init_selection_screen( ).
* Add a tray.
lr_select_options->add_block(
i_id = 'TRY_ACCT_***'
i_block_type = if_wd_select_options=>mc_block_type_tray
i_title = 'Account Assignment' ).
* Add a Select Option.
lr_cost_ctr = lr_select_options->create_range_table( 'KOSTL' ).
lr_select_options->add_selection_field(
i_id = 'COST_CTR'
i_within_block = 'TRY_ACCT_***'
it_result = lr_cost_ctr ).
This works fine, but how do I dynamically expand and collapse the select-option Tray ? There are plenty of examples for expanding/collapsing normal Trays by binding the "expanded" attribute at design time or dynamically. But with a Tray created as a select-option block I do not have a reference to the Tray.
I have searched high and low but cannot find how to do this.
I don't want to create the Tray at design time because there will be select-options above and within the Tray.
Any help will be appreciated.
Thanks & regards,
GroganHi,
My Approch is:
---Initially set the webBean property in processReq
Hgrid.setAutoQuery(false);
---On Button click navigate to the same page n set the webBean properties..
put var in session.
pageContext.forwardImmediatelyToCurrentPage(null, true, null);
---in process req get teh value of var from session.
if(pageContext.getSessionValue(var)!= null)
Hgrid.setAutoQuery(true);
Hope it will helps..:)
Note:
---We cant modify the webBean properties in processformReq and processformdata.
Regards
Meher Irk -
How to hide Expand/ Collapse icon from ADF Query Panel.
Hi Experts,
I need to hide the expand collapse button from the ADF Query panel.
is there any way to hide it.
Please help me.
Thanks in Advance.
Balaji,Hi Balaji,
Create a CSS file and the below code
af|query.CustomQueryPanel::disclosure-icon-container { background-image: url("../img/minus.png"); display:none; height:0px; width:0px; }
af|query.CustomQueryPanel::disclosed-icon { display:none; }
af|query.CustomQueryPanel::undisclosed-icon { display:none; }
Add styleClass="CustomQueryPanel" inside <af:query...>
Now you can try...:)
Thanks
Prabhat -
Detailed Navigation (disable expand./collapse icons opening tree
Hi,
I would like to adjust the detailed navigation as this site performs with having no action when clicking the +/- icons.
Please can someone point me in the right direction. I have been able to get the detailed navigation.par file out and look at the jsp code, but not sure where this requires a change.
Will reward points for a helpful answer....
KaiIf I am reading your question correctly, you want to create a detailed navigation similar to SDN so that when you click on the expand/collapse icon it doesn't do a server round trip.
Firstly I believe that the standard one performs a round trip to retrieve the nodes underneath the one that you have expanded.
With SDN we created our own detailed navigation iview so that the entire navigation structure is loaded immediately. This is also the same if you use the standard light navigation iview I believe, so you could simply use this iview instead.
I hope this helps
Darrell -
Expand/Collapse a block in a selection screen
Hey Folks,
I have a requirement , where I have a selection screen, with 3 selection blocks. I have a requirement that I need to make 2 of these blocks expandible/collapsible on the toggle of a button.. How can this be achieved.
In case of a normal screen, I would have had to create the blocks as subscreens (one type of screen for expanded state...another for collapsed state) and called it from the main screen. But how do I achieve the same using the selection screens?
I was considering creating the blocks as subscreens in the selection screen and calling them in the PBO of the main selection screen. However, I am unsure if thats a wise thing to do since the screen is generated automatically in case of a selection screen and I do believe its not a good idea to manually alter it.
Does anyone has any pointers on this?
Thanks and Best Regards,
Puja.Hi,
I have modified the code to show the expand/collapse ICON accordingly..Please check..
TABLES sscrfields.
TYPE-POOLS icon.
* Expand/collapse buttons.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON 2(23) b1 USER-COMMAND usr1.
SELECTION-SCREEN END OF LINE.
* Block 1
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS: p_test1 TYPE char10 MODIF ID m1,
p_test2 TYPE char10 MODIF ID m1.
SELECT-OPTIONS s_date FOR sy-datum MODIF ID m1.
SELECTION-SCREEN END OF BLOCK b1.
* Block 2
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON 2(23) b2 USER-COMMAND usr2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF BLOCK b2.
PARAMETERS: p_test3 TYPE char10 MODIF ID m2,
p_test4 TYPE char10 MODIF ID m2.
SELECTION-SCREEN END OF BLOCK b2.
* Declarations
DATA: v_flag, v_flag1.
INITIALIZATION.
b1 = 'Button1'.
b2 = 'Button2'.
v_flag = 'X'.
v_flag1 = 'X'.
AT SELECTION-SCREEN.
* Check the user command.
IF sy-ucomm = 'USR1'.
IF v_flag IS INITIAL.
v_flag = 'X'.
ELSE.
CLEAR v_flag.
ENDIF.
ELSEIF sy-ucomm = 'USR2'.
IF v_flag1 IS INITIAL.
v_flag1 = 'X'.
ELSE.
CLEAR v_flag1.
ENDIF.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF v_flag1 = 'X'.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_expand
text = 'Button 2'
info = 'Button 2'
IMPORTING
RESULT = b2
EXCEPTIONS
OTHERS = 0.
ELSEIF v_flag1 IS INITIAL.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_collapse
text = 'Button 2'
info = 'Button 2'
IMPORTING
RESULT = b2
EXCEPTIONS
OTHERS = 0.
ENDIF.
IF v_flag = 'X'.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_expand
text = 'Button 1'
info = 'Button 1'
IMPORTING
RESULT = b1
EXCEPTIONS
OTHERS = 0.
ELSEIF v_flag IS INITIAL.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_collapse
text = 'Button 1'
info = 'Button 1'
IMPORTING
RESULT = b1
EXCEPTIONS
OTHERS = 0.
ENDIF.
LOOP AT SCREEN.
* Expand collapse block1
IF v_flag = 'X' AND screen-group1 = 'M1'.
screen-active = 0.
ELSEIF v_flag IS INITIAL AND screen-group1 = 'M1'.
screen-active = 1.
ENDIF.
* Expand collapse block2
IF v_flag1 = 'X' AND screen-group1 = 'M2'.
screen-active = 0.
ELSEIF v_flag1 IS INITIAL AND screen-group1 = 'M2'.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Thanks
Naren -
Expand/Collapse option in Portal - SP13
Hi everybody!!
We have EP7.0 NetWeaver 2004s and we upgraded the SP from 5 to 13. When SP13 was installed, the icon to expand/collapse doesn't work correctly (Detail Navigation in Navigation Panel in the Light Framework). The icon always send the user to the main and first page. With the SP5 it works well.
Do you have any idea about how can I solve this??
Thanks in advance for any help that you can give me!
Best Regards,
ClaudiaHi Claudia,
Take a look at this thread maybe it gives you some answers...
How to disable automatic loading of iView/Page in detailed navigation?
We have SP13 at this moment and its working "fine":
1. When clicking on the expand/collapse icon (the triangle) the first navigation node in this folder/workset is NOT loaded automatically.
2. When clicking on the text part of the link (the actual url) the first navigation node in this folder/workset IS loaded.
In addition to step 2 you can steer what navigation node is loaded by setting the parameter "Default Entry for Folder" this property is by default set to No.
Also take a look at the property: "Clicking Folder Name Launches First Node" of the Detailed Navigation iView.. Maybe this is by some reason got set properly...
Good Luck,
Benjamin Houttuin -
Expand/Collapse function in WAD 7.0
Hi,
I have made a report in WAD using a table and a chart. In the output which I am running on a portal I have a table Report Navigation with in which I have some of the export options and an Expand / Collapse icons are present on the button group and also I have one drop down box calendar year .As soon as I click on the icon Collapse in the above table Report Navigation my drop down should get collapsed and again when I click on the Expand the drop down should be visible
Report naviagtion and Drop down boxes are present in a seperate table where in when I click on the icons( Expand / Collapse ) it should get reflected on the dropdown box which is present on the 2nd table
I have done the above in WAD 3.5 using Java script Code
How can this be done in WAD 7.0
Regards,
MayaHi,
After setting the Analysis item properties, just click on the 7th icon on top menu bar, i think its Verify or Check on server. Somthing like that.
Or try re-opening the template after sometime. Close the existing Web window, where you see your output, and execute the template once again. This should work.
If nothing of the above works, theres one more thing. You may have to re-create the Template.
This happens at times when there is no proper connection between the Portal and WAD. I have faced it myself. So, just try something like that. -
Trying to override the default af:tree expanded and collapsed icons
Hi,
I initially hijacked a thread from 2010 that was vaguely similar to what I need to ask, but a kind forum moderator split my post out to stand on its own merits.
I am trying to override the default af:tree expanded and collapsed icons I am using the following styles for my af:tree but they are not reflecting any thing on my tree with the styleclass orgType.
af|tree.orgType::expanded-icon {
content: url("../images/ac-expand.png");
cursor: default;
af|tree.orgType::collapsed-icon {
content: url("../images/ac-collapsed.png");
cursor: default;
af|tree::expanded-icon {
content: url("../images/folder_open.png");
cursor: default;
af|tree::collapsed-icon {
content: url("../images/folder_close.png");
cursor: default;
After working for long hours I realized that there is some problem with af:tree and treeTable. They are not taking the styles where as for the other components, every thing works fine. Is there any way to achieve the task. Could you suggest any alternative way to do this. Thanks in advance. Your suggestions for this task can really help me and my team a lot.
Regards,
Krishna Sumanth.Hi,
do the icons show without the style class reference used in the skin file? If so, then the style class for this component might be rendered differently for the tree, e.g.
.orgType af|tree ...
Frank -
TP4 FileExplorer tree: change Folder icon when expanded/collapsed
I am trying to create a tree similar with FileExplorer from the Demo application. I am trying to use two icons for every node: one for expanded node and another one for collapsed.
I use a rowDisclosureListener tag
rowDisclosureListener="#{menuBean.menuRowDisclosureEvent}to fire an expand/collapse event. In a custom method menuRowDisclosureEvent(RowDisclosureEvent disclosureEvent) I retreive the selected node and programatically change the icon. The only thing is that the tree view itself is not refreshed on the same phase cycle. The node icons are refreshed only at the next requests.
Thanks,
/FlorinI have also tried to use:
AdfFacesContext.getCurrentInstance().addPartialTarget(tree);Didn't helped -
TreeByNesting image changes required for Expand,Collapse and Leaf Icons
Hi
I am currently working on webdynpro for Java on NW04s SP15.
I have embedded Tree Element inside Table. I need to change the Expand,Collapse and Leaf Arrows inside Table. I dont find those things inside Theme Editor.
Could you please suggest how can I change those Icons.
Thank you
Regards
Krishna Kanth.Hi WalterLaan,
Thanks for your replay, I had tried with TreeExpansionListener before posting it, but not with TreeWillExpandListener.
I have a mouseListener to handle a leaf on single click.
My problem is now my foldernode has arrowIcon, folder icon, text, all three respond for click action(expand/collapse), since my renderer has all the three in one panel and rendering it
but i want arrowIcon has to behave separate on single click and folder icon and text has to behave different at the same time.
I have plan to separate it(arrowIcon in one panel/ another two in another panel) in a renderer, is it will help me?
Thanks, your post given little light to me.
I will do more R&D of this.
More suggestion are welcome.
Maybe you are looking for
-
Can not see running jobs from, package
I have a problem with processing parallely runing jobs: I am creating another immediately runned jobs in a main job. Those two parallel jobs (2 loads from different databases) have to be finished before I run next operation (working out loaded data).
-
I have qualitynet either wired internet. I buy a card good for a month at a time, I can only log into one device at any one time. Are there settings I can adjust on my airport express to allow all my devices to connect to wi-fi without having to log
-
Is there program for precise measuring of web traffic in/out my Mac?
Some ISPs have their proprietary web traffic/usage indicators but they are crude, of no use for precise measurements. Widgets are of no hellp either. Is there a program which can display the internet traffic in/out of a computer at any given mom
-
Dear Experts, I'm looking for a way to read the registry of my server once connected/at the connection step (trigger). This to be able to be re-directed to a given schema based on the value found in a specific key defined in the registry. Regards, Gu
-
How to change aspect ratio AFTER creating a project
I created a project in FCPX and somehow it's got Black bars on the left and right (i think i created a 16:9 project and put 4:3 clips in). I can't enlarge the clips as they contain text that would be cropped out, so i need to turn my 16:9 project int