Can we change the behaviour of PopUp Anchor component?

Hi,
I have a datagrid. I am using an item renderer in one of its column to display a button. On the click of the button, I use a pop anchor component to open a pop up window below the selected row.
Now My Problem is the fact that the the popup anchor opens the popup above the row as not does not find space below. My question is :
1) How can I change this behaviour to ensure that popup anchor can increase the size to accomadte the pop up being opened? I am sure this require changes in PopUp anchor class but I am not sure how best to acheive it.
2) Since pop is virtually part of the grid , can we effect change in size of the grid if the pop up is being opened at few bottom rows and it does not find enough space.

Actually I want to increase the screen size such that the browser scroll also expands and the pop up shows up and when the popup closes resizing happens.
Can you help me with some code samples of how to effect the above requirement?

Similar Messages

  • How can we change the behaviour of a method by using proxy ??

    Hi ,
    can anybody tell me how we can add or change the behaviour of a method in java using the proxy object ?? it would be better if u put ur idea with an example .
    Thanks ,
    Ganesh

    Please take your time to write full words: "you" instead of "u", "your" instead of "ur". It makes your posts a lot easier to read, especially for those of us who don't have English as their native language.
    You can not really "modify" the behaviour of a method by using a proxy, but you can create a proxy, direct all but one method to the original method and provide a separate implementation for the target method.
    This way you'll have two objects with the same interface (not only in the Java sense, but all methods look the same), but differing behaviour: the original object and the proxy.
    Now if you pass around the proxy instead of the original object, then it'll look as if you changed the behaviour of your object.

  • Can i change the behaviour for the firefox menu so lists open instead of opening the 1st option?

    is it possible to adjust the way the orange firefox menu behaves when you click an option?
    currently hovering over an option opens the list underneath it(such as a list of bookmarks for the bookmarks option, or a list of visited pages for the history option) and clicking it opens the first item in the list.
    i'd like to change this so the list is opened when you click an option too, since it's not possible to hover using a touchscreen.
    it's rather annoying when the bookmarks management screen opens if all i want to do is bookmark the current page(which isn't possible from that screen)

    i just downloaded what seems to be a preview/test version for the new interface(the browser calls itself UX) and its menu is a bit more touch friendly.
    it does seem to have 1 major issue, if you put the bookmarks button inside the menu the bookmarks list can only use the height of the menu instead of the full height of the screen.
    jscher2000: tapping the little arrow works, but it's too small to comfortably use.
    i'll try out UX for now.

  • How can I change the default wording of scrolling component for datatable

    Hi,
    Is it possible to change the default wording (i.e. "previous n" and "next n") shown on scrolling component for datatable? how ?
    I created a datatable based on a custom vector bean class. By default the count shown on scrolling component indicates number of rows (i.e. first 2 rows, next 2 rows). What I want is to show (if it is a 2X2 table) first 4 (items) and next 4 (items).
    Any suggestion?

    Not only can you set global values for each of the three columns, but you can also set unique column widths on a per community basis like this:
    .ptCommunity-1234 .columnOne { width: 635px; border-right:1px solid #CCCCCC; padding-top: 10px; padding-right: 20px; }
    .ptCommunity-1234 .columnTwo { width: 240px; padding-top: 10px; padding-left: 8px;}
    You can see here my community #1234 has a wide first column and a more narrow column two and even puts a little solid line between them.
    It's all in the stylesheets on your imageserver at the path I mentioned earlier. Again, look at the experience definition object in your admin portal and look at the stylesheet name in the dropbox. The stylesheet name you see is mapped to the .css file using the community-themes.txt file in the same ...yadayada/common/public/css folder on the imageserver.
    If you have, lets say, a mainstyle1-en.css that only has about a dozen lines dictating only the few items you mentioned before - then it has been stripped at one time because the default that comes w/ an original install is huge and a great starting point. It even has style tips and snippets in comment blocks to tutor you through its gargantuan variety of options.

  • Can we change the enhancement set for a component

    Dear All
    I have a situation where in we need to change assign a different enhancement set to all our components which got enhanced.
    We can only have 1 enhancement set active for a client.
    Now in our case
    Say for client 300 we were using Enhancement Set E1.
    Our requirement is to create one more enhancment set E2 and assign it to client C1. We can do that.
    Do we we have a mechanism to move all development already done using E1 to E2?
    Please Help.
    Thanks
    Gaurav Sahai

    Hi Gaurav,
                   We create enhancement set in SM30, then assign it to client also there.
    After that, when we go to BSP_WD_CMPWB - by default we see the enhancement set assigned to the client. Now there are 2 things:
    1. to use different enhancement set for different users - you can implement badi component_loading to load different enhancement set depending on business requirement by writing code:
    RV_RESULT = <name of ENHANCEMENT_SET. >
      there is a default implementation in the system for reference.
    2. all enhanced views can be seen in transaction SM34, give name of view cluster as  BSPWDVC_CMP_EXT
       Select your enhancement set -> go to Enhancement Definitions (here you see components enhanced) -> select any -> go to Controller Subsitutes (here you see all view enhanced).
      You can try copying all these entries into another enhancement set. I am not sure if it will allow same entries in two different sets (if it doesn't you will have to delete from the other).
    I hope that resolves your query.
    Thanks,
    Rohit

  • How can I change the default EXPORT directory for latest iPhoto?

    Perhaps I am missing something, but I have as yet to find a way to set my default EXPORT directory. Since installing Lion and the iPhoto update, whenever I want to export it wants to put the image in 'Pictures', but I want 'Desktop' generally or somewhere else.
    I am all set with library and import location. In fact, Import is smart enough to remember where I import my stuff FROM - namely, the desktop.
    But once I have edited files and want to export them, the default jumps back to Pictures.
    Again, this is NEW and CHANGED behavior with the latest release to coincide with iOS 5 ...
    I just want it to remember my default from export to export ... heck, it even changes within the same session!

    I can certainly confirm the behaviour and have no solution to it.
    That said, in the export dialogue typing command-d will point the export to the desktop.
    Regards
    TD

  • How do I change the behaviour of an update button.

    I have a variable - $UpdateFlag, which contains a string and updates a table with it on the click of the update button.
    The problem I have is that if the string is blank, I don't want to update, and I want the button to exit instead.
    here's the code. At the moment the button does nothing if $UpdateFlag is blank.
    How do I change the behaviour of the button so that it can update or exit based on $UpdateFlag?
    <?php
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1") and $UpdateFlag !='' ) {
      $updateSQL = sprintf("UPDATE offer SET status=%s WHERE offer_id=%s",
                           GetSQLValueString($UpdateFlag ,"text"),
                           GetSQLValueString($_GET['offer_id'], "int"));
      mysql_select_db($database_guitarswap_db, $guitarswap_db);
      $Result1 = mysql_query($updateSQL, $guitarswap_db) or die(mysql_error());
      $updateGoTo = "Member2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
        echo OK;
      header(sprintf("Location: %s", $updateGoTo));

    Add an else statement to do what you want if the flag is empty.
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1") and $UpdateFlag !='' ) {
      $updateSQL = sprintf("UPDATE offer SET status=%s WHERE offer_id=%s",
                           GetSQLValueString($UpdateFlag ,"text"),
                           GetSQLValueString($_GET['offer_id'], "int"));
    mysql_select_db($database_guitarswap_db, $guitarswap_db);
      $Result1 = mysql_query($updateSQL, $guitarswap_db) or die(mysql_error());
    $updateGoTo = "Member2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
        echo OK; // <-- This will cause a parse error
      header(sprintf("Location: %s", $updateGoTo));
    } else {
      //do something else
    Note that your echo statement will cause a parse error. OK is a string, and should be in quotes. Also, it will prevent the redirect from working.

  • How can I change the default application for a content type?

    Running a version of Linux, the default application for PDF files is "Use Document Viewer (default)", which appears to be /usr/bin/evince. I'd much prefer to use /usr/bin/okular; how can I change the default. This question is NOT about how to change the function that is automatically applied when I access a link, in this case "Preview in Firefox", but rather to the default application that I can select when I download a file being viewed in Firefox's previewer.

    This is real progress, a solution to the problem as posted. The command:
    xdg-mime default okularApplication_pdf.desktop application/pdf
    makes okular the default.
    However when I added okular to the choices for applications in:
    * Edit>Preferences>Applications>PDF
    the popup box that appears when I click Download on the preview page changed. The pulldown menu that appears next to "Open with" used to have 3 entries:
    # Document Viewer (default)
    # Acroread
    # Other
    Now it has only 2:
    # Okular (Default)
    # Other
    I'd like it to read
    # Okular (Default)
    # Acroread
    # Other
    How can I control the entries in this pulldown list?
    Also, how can I make the default choice in the popup box be
    * Open With <whatever> , rather than
    * Save File ?

  • How can i change the istore usa instead of mexico

    how can i change the istore from mexico to usa?

    If you are in the US then you can update your billing address on your account to be your US address - on your iPod you can try tapping on your id in Settings > iTunes & App Store and signing into your account and updating your details, or on your computer's iTunes you can use the Store > View Account menu option.
    If you are getting an 'account not in this country' message (e.g. you are in the US but your iPod thinks that you are in Mexico) then try going to the bottom of the Featured tab in the App Store app on your iPod and tap on your account id, tap on 'View Apple ID' on the popup and log into your account, and then select the Country/Region section and select USA.

  • Can't change the lable text

    I found some problem to change label text in the prender method , I create a label on the form and type "Customer" on the properties text .
    I want to change label from "Customer" to "Supplier" in the prerender method , I found some strange behaviour.
    If I type something on the properties text , I can't change the label text on the prerender method for the first time to load the form. If I submit the form , the label text can be changed.
    If I do not type anything on the properties text, I can change the lable text on the prerendner method without any problem , no matter it is first load or submit .
    Anyone can help me to solve this problem ?
    Thanks

    This is a tough one to explain. Here is one explanation from the Delving Into Components tutorial:
    As with the JavaServer Pages implementation, when the server constructs a page from JSP source, the tag attribute settings in the JSP source take precedence over runtime settings. For example, if you set the text property for a Static Text component to "moon," the IDE adds text="moon" to the Static Text component's tag in the JSP file. Even if the page's prerender method has a staticText1.setText("sun") statement, the Static Text component shows "moon" when the application renders the page. If the page is rerendered, the staticText1.setText("sun") statement takes affect and the Static Text component shows "sun." If you visit another page and come back, the server once again constructs the page from the JSP source, the values set in the JSP tag attributes take precedence, and the page displays "moon."

  • How can I change the duration for all clips in iMovie 10.2

    How can I change the duration for all clips in iMovie 10.2?  I'm used to working in the older version of iMovie where all I had to do was click on the gear on the clip and change the duration. ALso could use the tool bar to set the duration for all clips. Can't figure out how to do that in this new version. Any suggestions would be appreciated.

    In the timeline select the clip whose duration you want to change. Click the adjust button at the top of the viewer and then click the i button and you can set the duration. For multiple clips select them all and in the i button type in the duration you want and it will be applied to all the selected clips. You can also change the duration of a clip in the timeline by putting the cursor over the beginning or end of a clip and dragging. A popup will show the new duration.

  • Can't change the weight of my strokes, color or fill...

    I use artioscad wich has a plug-in for illustrator. When I'm working with illustrator i can't change the weight of my strokes, color or fill, in fact i can't do anything, everything is locked. I have tried to unlock the draw but with n o sucessm can anyone help me?? I have to make the illustrations for the boxes I draw and using *.eps file is not my solution.

    Hi Megan,
    Thanks for the replay.
    I have tried many thinks, and tried what you wrote, but nothing. I'm new in this artioscad-illustrator, so probably I'm making something wrong. I just draw in artios and open directly in illustrator using esko plug-in.
    I tried again what to told me to trie but with no luck.
    I'll pass you a step-by-step what I made after oppening in illustrator:
    I'll make my steps for you to undersatnd whats hapening.. because I have tried looking the appearance palette.. and its ok.
    First i draw in artios, its a package software design which has a plug-in for illustrator (to open directly artios drawings in illustrator)
    Then in illustrator i open it directly, the aspect is like this:
    I unlock the chain of the layers and in the appearence palette apears just plug-in object.
    I can select an individual path but can't change it. If I make a offset path with 0mm, I can change that path weight but not the original. But if i try to move the offset path or the original path it gives me an error "Can't move the objects. The command was canceled"
    I have tried so many things that, realy, I can't remember all. I
    have a menu that has more options, but none of them unlock the paths. Every time try to drag an anchor it goes right back to the original position.
    The goal is to make something like the next image:
    Today I dupplicated my layer and then made a offset 0, now I can change the weight, color and fill my shape. Probably I will find more problens in the way. This was the only solution that worked with me!

  • HT1918 Hello , I will like to change my payment information but my new credit card is not American , Is Canadian .How can i change the country on my billing info? I cant seam to be able to do it . Thanks a lot for your help ,

    Hello ,
    I will like to change my payment information but my new credit card is not American , Is Canadian .How can i change the country on my billing info? I cant seam to be able to do it .
    Thanks a lot for your help ,

    What country are you in ? If you are in the US then you can only use the US iTune store, and you can't use a Canadian credit card with the US store - a credit card needs to have been issued by a bank in the country where you are.
    If you are in Canada then remove your old credit card from your account and then update your country/region and billing address on your account e.g. by tapping on your id in Settings > iTunes & App Store on your phone and 'view Apple id' on the popup, or via the Store > View Account menu option on your computer's iTunes

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • How can I change the display of Inbox in my iPad's mail app- so that it takes up the full screen?

    How can I change the display of Inbox in my iPad's mail app- so that it takes up the whole screen, as opposed to just about one third; the other two thirds display the full text of the selected email?

    You can't change the display in the Mail app, if you are holding the iPad in landscape orientation then the left-hand third will be for navigation, and the right-hand two-thirds will be an email. If you hold the iPad in portrait orientation then the navigation section becomes a drop-down section.

Maybe you are looking for