How to make an iview in a page programmatorically  (in)visible

Hi All,
Does somone know how the code to set an iview in a page visibe/invisible.
(like you can do it manually)
I do not want to remove the iview and then add the iview again,
Thanks to help me out on this one,
Nicolas

Hi,
Thanks for your answer, but I already found this on SDN.
But I think it does not fit my needs. (hiding or unhiding it is not depending on roles or language or any other parameter)
This is the scenario I want to do.
I have made webdynpro banner with a message. 
At certain moments in time this banner should appear iin the portal.
Because the team that  decides if the banner should be visible or not, has no portal knowledge. So I want it to make easy for them
I want to program another webdynpro, where they can decide to show the banner or not. (and tthey can also give the banner text in).
So I just want to know how to hide programmatorically an iview in page.

Similar Messages

  • Loop in smartform - how to make values valid in all pages

    Hi All.
    I have a smartforms with several pages (9). I must print these 9 pages once for each line in the internal table ITAB. When I put a loop in the first page, the data under that loop is printed correctly, but every text node outside the loop always prints the last line of ITAB.
    Do any of you know how to make the data in the loop valid throughout the other pages?
    any help will be welcome.
    thanks,
    Hermes.

    I got it. The main window must be the first one in the first page. The loop must be inside the main window, and bellow the loop there must be a page-break command.

  • How to make contents of DIV on page I'm leaving fade out?

    I am trying to figure out how to make the contents of a DIV on the page I'm clicking away from fade out. I know how to make the next page load with a fade in. So I'm half way there (I guess).  Wix has a lot of designs that use this effect. Here's a link to an example:
    http://www.wix.com/website-template/view/html/633?originUrl=http%3A%2F%2Fwww.wix.com&numbe r-of-page=1&position-in-page=1
    This is the code that I use to make a DIV load with a fade in:
    I add this CSS code under the DIV that I want to apply the fade in effect to:
         animation: fadein 2s;
        -moz-animation: fadein 2s; /* Firefox */
        -webkit-animation: fadein 2s; /* Safari and Chrome */
        -o-animation: fadein 2s; /* Opera */
    And I add this extra code to the CSS styles sheet:
    @keyframes fadein {
        from {
            opacity:0;
        to {
            opacity:1;
    @-moz-keyframes fadein { /* Firefox */
        from {
            opacity:0;
        to {
            opacity:1;
    @-webkit-keyframes fadein { /* Safari and Chrome */
        from {
            opacity:0;
        to {
            opacity:1;
    @-o-keyframes fadein { /* Opera */
        from {
            opacity:0;
        to {
            opacity: 1;

    Success!!! Thank you! Although I did have to change one more thing. See bold text below.
    One more question. What if I wanted to apply this effect to two ID's instead of one? Would it be as simple as adding a comma and then the ID in quotes like this?.... $(#container", "#footer")
    $(document).ready(function() {
        $("#container").css("display", "none");
        $("#container").fadeIn(2000);
        $("a.transition").click(function(event){
            event.preventDefault();
            linkLocation = this.href;
            $("#container").fadeOut(1000, redirectPage);       
        function redirectPage() {
            window.location = linkLocation;

  • How to add Portal iViews with Web Page Composer

    Hi,
    We are working with Web Page Composer in EP7.0 SP13.
    We are creating web pages and we would need to add Portal iViews into. When we try to add an iView, we cannot select it from Web Content Browser to drop into the web page container.
    How can we add iViews into our web pages?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi,
    See these:
    [http://help.sap.com/saphelp_nw70/helpdata/en/06/4776399abf4b73945acb8fb4f41473/frameset.htm]
    [/message/4414263#4414263 [original link is broken];
    Best regards,
    Avishai Zamir

  • How to make form a single long page; remove page breaks?

    Hi. I am pretty new to liveCycle but really like it so far! I think these forums are great too. I did a few forums searches and couldn't find a specific answer to this question, so I began this discussion. Please forgive my ignorance if this is has been discussed before!
    I am trying to make a form that isn't intended to be printed. I would like to make it a single long page instead of having page breaks in it. I have experimented with custom page sizes and way able to make the pages longer, but there is a limit to how long liveCycle allows me to make the pages... like 27" or something. I'd like to have no page breaks at all.
    I am not very familliar with XML, but do have some HTML experience, so I could copy/paste some code to the XML sheet if need be-- provided I was told where to put it.
    I attached a bit of the form I would like to turn into a single page to this discussion.
    Any help at all would be greatly appreciated! Thank you very much!

    In teh hierarchy view - click on the Master Page/ Page1. Now on the object palette on the Master Page Tab you can choose a Paper Type. If you scroll to the bottom of the list you can choose a Custom size. The width and height dimensions are now available to you. The UI in designer limits you to 59 in. If you need more than that there is a way to get bigger but you have to do it in the native XML format. Let me know if you need more than that. Here is a modified sample.
    Paul

  • How to add PCD iview in web page composer.

    I have created an KM navigation iview for user messages.I want to add this iview in web page composer.i tried creating entry point but not able to see any changes in web page composer designer.
    Regards,
    Atul Dumbre

    Hi,
    have you executed the steps outlined here?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/06/4776399abf4b73945acb8fb4f41473/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/e58347f5546976e10000000a1553f6/content.htm
    Important steps are: "Deactivate the Hide in Root Folder checkbox." & "Restart the servlet engine."
    How did you configure the entry points provider? sharedcontent=/wpccontent/Cross-Site Content;/documents/MyFolder
    br,
    Tobias

  • How to make fix navigation for single page w/ horizontal slider

    I've created a horizontal sliding page with the use of anchor but i cant fix my navigation bar, can someone help me how to make it?
    like this site http://www.selvagreenng.com/#abt
    thank you very much

    any help please? i will appreciate it a lot.

  • How to make "Mail Contents os this page" in safari 7?

    Hi everybody,
    I need for my daily work to make once or twice a day an upload of an mailing PNG picture. Bevor the upgrade to Maverick Safari 7 I used the safari version 5.1.10 which works great to make "Mail contents of this page" (File Menu > Mail Contents of this file). Now in the Safari 7 version this option is not anymore available and it is change to SHARE "Email this page". This is not the some and it does not match the legal proposing.
    I appreciate as answer for a good solution or which steps shoud I do to get this option again.
    Thx a lot

    Hi Carolyn,
    Thanks a lot for your help and sorry for the inconvenience. I follow your instruction but it is still not working.
    I tried to use now another Mac which I have here, with Mac system 10.6.8, where I use the safari version 5.1.10 (6534.59.10) and it works perfect.
    Here are the screenShots:
    The screenshot from the older computer: here you see the option Mail contents of this page.
    Using that older Mac we have the perfect result, where you see the legal text + images, which i sent to me in bcc.
    The result from my Mac with Maverick and after following the instruction:
    You see the full legal text but no the image!
    Maybe this is just a minor bug in Safari, to exploring yet and to improve. For the meantime I have to use the older Mac only for this part of the job. Not A PERFECT DAY (lou reed, RIP) but not the end of the world!
    Thanks for you help and I´m looking forward to get news on this issue from you.
    <Image Edited By Host>

  • Urgent: how to make an iView show as the initial page

    A user in my team has only one role.
    Under this role, there is a folder.
    In the folder , there are some iViews.
    We want one iView to show up as the initial page immediately after
    the user logs into EP.
    We have tried to set "entry point", sort priority but the user still has to click
    the folder before the iView showing up.
    Is there anyway to avoid the click? (claim: the folder must be there and
    cannot be removed in order to achieve this).
    Points guaranteed. Thx!

    Greg,
    Make the Entry point of the Role as NO. Make the Folder as an Entry Point (select the Folder under the Role - click properties button - then set Entry Point=Yes there). This way the Folder will be shown as the top level tab. Then put your desired iView at the first position under the folder. So you are done. Also you can set the property Sort Priority=1 or something small for the Folder. So that that folder and in turn the iView will always be the first page for your portal.
    Regards,
    Shubho

  • How to:  make a new document in Pages based a Pdf layout (same measures)

    Hi,
    hope someone can help me,
    for a couple of days I have been on Google looking for a solution, but I can't find any
    I have a macbook ( Mavericks) and iWork / PAGES to make bussinesscards, invitations, flyers ....
    From the online printershop Flyer.be  I received a PDF- layout with the exact messures on how my documents must be.
    I know that from Pages I can tranfer my new made documents to PDF (as the printershop requiers) that's no problem
    BUT
    how do I import their PDF-layout into PAGES?
    can this be done in Automator, if yes, How?
    can I convert their PDF to a Template for PAGES?
    if I don't use their PDF- layout but simply use the original Templates that are in PAGES (for example: envelop), the messures are never the same as those required by the printershop,  how can I solve this?
    Dus: I need to find out how to use their messures and be able to work in iWork.
    Hope it's clearly explaned - as my native language is Dutch
    Anyone ? any idee?
    Thanks in advance.
    Greetings Speedy

    That is not a template for a Business Card. It looks like the template for a Compliments Slip 210 x 100mm.
    Also you do not use the Ruler to position things accurately, you use:
    Format > Arrange > Size/Position
    It looks like the Printer wants each item to be its own document, with Page setup to final size.
    There will be a problem however with the page bleed (the image that goes off the edge of the paper) because Pages does not have this.
    Swift Publisher does.
    PDF files are usually not editable, but Adobe Illustrator will open them and edit them and has all the tools you need to format the Stationery.
    Sketch can also open and edit pdfs now and is IMHO absolutely brilliant as well as beautiful to look at.
    Peter

  • 3 column page - how to make each full height of page, with variable content in each?

    Hi everyone. . . I'm a relatively unsophisticated page designer, and I appreciate if you excuse my lack of experience.  I'm putting together a page for a business.  The page has three columns, one of which would be considered to be the main body of the page. . . the one with all the important content.  The column on the left is for a navbar and some affiliate badges, and the column on the right will be for an image that describes for the viewer which page they're on. 
    The question I have is how to, when the content of the center column is very long, make the left and right column divtags extend all the way to the footer, with their borders and background colors, to make a clean page.  When the content of the center column is short, like a paragraph or two, the left divtag will have a minimum height due to the presence of the badges, but the right divtag is quite short.
    I uploaded a test page here: http://www.thermalifegroup.com/test/about_us.html
    Nevermind the visual appearance of the page. . . the spry widget is all over the place, but that's just because I uploaded a few files onto the server.  On my pc it's all copacetic and not an issue.  The code source is up there, so is the stylesheet. 
    I'm hoping I can just add a few attributes to the columns so that they automatically reach down to the bottom extents of the page.  Thanks for any advice you can throw my way.
    Keith

    manliusvalerius wrote:
    Hi everyone. . . I'm a relatively unsophisticated page designer, and I appreciate if you excuse my lack of experience.  I'm putting together a page for a business.  The page has three columns, one of which would be considered to be the main body of the page. . . the one with all the important content.  The column on the left is for a navbar and some affiliate badges, and the column on the right will be for an image that describes for the viewer which page they're on. 
    The question I have is how to, when the content of the center column is very long, make the left and right column divtags extend all the way to the footer, with their borders and background colors, to make a clean page.  When the content of the center column is short, like a paragraph or two, the left divtag will have a minimum height due to the presence of the badges, but the right divtag is quite short.
    I uploaded a test page here: http://www.thermalifegroup.com/test/about_us.html
    Nevermind the visual appearance of the page. . . the spry widget is all over the place, but that's just because I uploaded a few files onto the server.  On my pc it's all copacetic and not an issue.  The code source is up there, so is the stylesheet. 
    I'm hoping I can just add a few attributes to the columns so that they automatically reach down to the bottom extents of the page.  Thanks for any advice you can throw my way.
    Keith
    in your #main css style add following attributes
    float:left
    background-color:#eeeeee
    u can change ur color
    try

  • How to make menu-item of current page appear in a different font color?

    Hi,
    My menu-bar works just fine. Hovering the links I get the text to take display the desired color. Now I want the menu-item of the selected page to show a third color.
    With live-code enabled in Dreamweaver CS6, I can see the following code being generated by the Dynamic menu:
    <script type="text/javascript" src="/CatalystScripts/Java_DynMenusSelectedCSS.js"></script><!-- Dynamic Menu Begin CSS Output --><div id="cat_549633_divs"><ul id="nav_549633"><li class="selected"><a href="/home.html">Home</a></li><li><a href="/leistungen.html">Leistungen</a></li><li><a href="/uhrenservice.html">Uhrenservice</a></li><li><a href="/versteigerungen.html">Versteigerungen</a></li><li><a href="/diamanten.html">Diamanten</a></li><li><a href="/ueber_uns.html">Über uns</a></li><li><a href="/kontakt.html">Kontakt</a></li></ul></div><script type="text/javascript">catSetSelectedCSSItem('nav_549633');</script><!-- Dynamic Menu End CSS Output -->
    The class .selected is being created in the first list-item (home) as this is the current page.
    And here is my CSS:
    #nav_549633 {
              float: right;
              list-style-type: none;
              padding-top: 5px;
    #nav_549633 li {
              float: left;
              text-align: left;
    #nav_549633 li a {
              color:white;
              text-decoration: none;
              margin: 0 27px 0 0;
              font-size: 13px;
              text-transform: uppercase;
    #nav_549633 li a:hover {
              color: yellow;
    .selected {
              color: green;
    The font color green does not appear. It is still white.
    In order to see if the class is "working" I tried some other attributes, that DO work!
    .selected {
      color: green;
      padding: 20px
      background-color: blue;
    In this case, the item appears as a blue box with 20px-padding, just as expected - but the font-color is still white.
    Can anyone help me?
    Regards,
    Herman

    Hi Mario,
    Here's the link to my site:
    http://grootaartseuronics.businesscatalyst.com/index.html
    I have found a solution myself for 2 of the 3 questions i had:
    I have deleted/changed this div: #nav_1371057 li li
    And created a few new ones:
    #nav_1371057 li li a, #nav_1371057 li li a:visited (To control the link en visited link colors in the sub-menu other than the root-menu)
    #nav_1371057 li li a:hover (to control the hover in the sub-menu other than the root-menu if nessesary)
    #nav_1371057 li li.selected a (to control the selected link and let the link change color or bolder like in my case)
    Here are the CSS styles I used:
    #nav_1371057 li li.selected a { /*Dit veranderd de dikte (bold) van de geselecteerde link in het submenu, dus de pagina waar je bent*/
    font-weight:bolder;
    #nav_1371057 li li a, #nav_1371057 li li a:visited{
    background:  #006;
    color:#ffffff;
    #nav_1371057 li li a:hover{
    background:  #999;
    color:#ffffff;
    Only thing i can't figure out is how I can change/control the color of the arrow which is black now. And i want to make it blue.
    Thanks,
    Frank

  • How to make controls static in jsp page

    Hello Friends.............
    I want to make controls or objects static which are on jsp page.
    i.e. when my window is maximized then every thing is perfect but when i restore my window all the controls on the jsp page gets destorted.....
    I want to make look that jsp page same in both the positions of window.
    1) When window is maximized.
    2) When window is minimized.
    The controls should not get destorted.
    Can any body please help me out in this issue....
    Thanks
    Sameer Rede

    This has nothing to do with JSP. It's all about HTML and CSS. You can use CSS to specify fixed sizes/locations for things, or you can use HTML tables to control layouts.

  • How to make guides on a master page more effective

    I have a grid of guides on a master page. They are visible in my working pages, but they don't have that "magnetic" quality that I expect - things don't snap to them. I have layers in the master page and layers in my working pages. Can someone help me sort out what I need to do to make the guides more effective? CS4 on a Mac.

    Guide Options "Snap to zone" 1px?
    Also, 1 pixel isn't much, maybe you're not seeing the snap. Try 5 pixels

  • How to make sure all the apex pages open up in new tab (or) new windows ?

    - Lets say I create an Apex application in 4.0.2 with 10 pages.
    - Now I wanted to check if there is some property in the Apex Admin or some settings which control this:
    1) anything you click on application, either a page,field- it needs to open in a new tab in the same browser
    2) anything you click on application, either a page,field- it needs to open in a new browser window

    >
    1) anything you click on application, either a page,field- it needs to open in a new tab in the same browser
    2) anything you click on application, either a page,field- it needs to open in a new browser window
    >
    I normally say that 98% of questions asked here have been asked (and answered) before, but I think this is a new one...
    What needs to open in a new tab/window? The target APEX page? It would be interesting to hear the reasoning behind this.
    If this is referring to each page view, as Matt points out there are a number of technical reasons in both browsers and APEX that would make this difficult to achieve. However these are dwarfed by usability and accessibility concerns. Using such a UI model would drive most users insane in short order. More seriously it would confuse infrequent users and users with learning disabilities, and present significant orientation and navigation problems for visually impaired users and people using assistive navigation technologies.

Maybe you are looking for

  • G4 iMac won't play downloaded HD TV show.  Is there a way to play SD?

    Hello. I downloaded an HD version of one of my favorite TV shows and it came with the SD bundled version for my iPod. Unfortunately, the processor in my G$ iMac won't render the HD version on my computer. It freezes up. Is it possible to watch the SD

  • How do one add FCP Events and Projects created in previous versions

    Just upgraded to OS X Yosemite and FCP X 10.1.4. The files that I saved under a seperate folder (which I named as Unused Events/Projects) did not convert. How do I get those Event and Projects in new Macintosh HD's projects and events?

  • Admin tool upload the repositroy file by odbc

    is there anyone using admin tool to upload the repository file by odbc to BI server, I had problem working on odbc configuration, that always showing " can not connect to BI server" message -thanks

  • DB13 Update stat error

    Hi,   DB13 update stat's i am getting below error plz kindly help me. BR0301E SQL error -20000 at location stats_ind_collect-3, SQL statement: 'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR3"', INDNAME => '"/BIC/B0000460000KE"', ESTIMATE_PE

  • New encrypted partition? how?

    Hi there! I'd like to have seperate partition (encoded one), so that I have to enter password to mount it (like using truecrypt). Can mac vault accomplish this? And first of all - how to create a new partition without loosing data? I know there are f