Retrieve JTable display view / not model view

I currently have a JTable that has a custom model. This model writes out to a delimeted text file every time the user enters text and moves to another cell.
I also have a sumbit button that then should take the model/text file and submit it to the database. This happens 3 times a day. (Once per shift).
The problem is: If a user enters data into a cell and never moves off the cell...it is not written to the model or text file. Therefore, it does not get written to the database.
Is there any way to retrieve this value or tell the model to update somehow when the submit button is clicked to ensure all values have been accounted for?
Thanks,
Sean

//before submit
TableCellEditor editor=table.getCellEditor();
if (editor!=null) {
if (!editor.stopCellEditing()) {
// deal with this nasty CellEditor who does not want to quit
submit();
CellEditor's partial values need special attention. It is quite some work to make sure all active CellEditor are stopped before doing anything else. Things get more complicated when the input focus moves out of the top level container which the table/tree resides.

Similar Messages

  • How to handle the button "cancel" in a dialog box for displaying views?

    Hello!
    I ve a question about handling the cancel button in a dialog box for displaying views.
    I ve already implemented the dialog box by using the following code:
    METHOD eh_onnewqact.
      DATA stitle TYPE string.
      IF m_popup IS BOUND.
        stitle = cl_bsp_runtime=>get_otr_text( alias = 'ZCC_ICRM/NEW_TASK' )."cl_wd_utilities=>get_otr_text_by_alias( 'ZCC_ICRM/NEW_TASK' ).
        m_popup = comp_controller->window_manager->create_popup(
          iv_interface_view_name = 'ZCC_POPUP_NEWBT/NewQActWindow'
          iv_usage_name = 'CUNewQAct'
          iv_title = stitle
        CALL METHOD m_popup->set_on_close_event
          EXPORTING
            iv_view       = me
            iv_event_name = 'NEWQACT_POPUP_CLOSED'.
      ENDIF.
      m_popup->open( ).
    ENDMETHOD.
    My dialog box consists two buttons - cancel and create.
    The cancel buttons should close the popup and the create button should create an entity of a specified object. but let us come to the cancel button. I did´nt find any information about implementing an cancel button. So, how should I implement it? I thougt
    me->close( ). But that didnt works!
    Could u give me further information about that, because my cancel event-handler is empty?
    method EH_ONCANCEL_QACT.
    endmethod.
    After that I would know how my calling view could know that the user pushes the Create Button and how the data of 2 inputfields of the dialog box finds their way to the calling view in order to process this data there?
    Thank you very much!

    Hi Michael,
    thank you for your advice! This problem is solved...
    ...but I have another issue. Ive implemented 2 editable fields in my popup. The user should fill that fields with context and that context should be processed in the calling view of my popup.
    My question is how to transfer these information from my popup to my calling view or method?
    I tried the following...
          lv_context_node ?= m_popup->get_context_node( 'QUICKACT' ).
          IF lv_context_node IS NOT INITIAL.
            lv_text = lv_context_node->get_date( attribute_path = '' ).
          ENDIF.
    But it doesnt work! The context node object is always empty/initial.
    Thank you!
    PS: Another possibility could be that the object / node of the calling view is transferred to the pop-up in order to process it there.
    Edited by: Marcus Findeisen on Feb 22, 2011 12:13 PM

  • Display view scrambles pages that display fine in browser

    Help would really, really be appreciated.
    I have a number of pages for a site (at
    www.cognographics.com) which display perfectly in the browser.
    Until recently, they also displayed perfectly in display view in
    DW4. Then I replaced my PC (power surge zapped it), reinstalled
    DW4, and now the same pages appear scrambled, with layers scattered
    across the page, tables mixed up, etc.
    Nothing changed in the code, and as I said, the pages display
    fine in IE7. I know the code is not the cleanest, with some of the
    styles in the CSS style sheet and others defined on the page, but
    (a) the browser does not complain and (b) when I created the pages
    in DW they looked fine.
    I have installed DW4 on four different PCs, I've even tried
    my pages in a friend's DW MX -- same result: Perfect preview in
    browser, but pages are messed up in display view in DW.
    I'm at my wits end -- any help would really, really be
    appreciated
    Thanks
    Johan

    > I downloaded several free templates
    You got what you paid for, no?
    > Now, how the ^!#!@#$ is this possible? And why would
    these templates
    > display
    > fine in DW on my PC a few months ago, and now suddenly
    they're screwed up?
    It's entirely possible. Dreamweaver's Design view is not
    nearly so
    forgiving as a browser's rendering.
    > I've tried an upgraded DW (MX);
    Ahh right. The bad news is that DMX is just pretty awful at
    rendering CSS
    layouts. Unfortunately the only thing you can do about this
    is to upgrade
    to a more current version of DW. The Design view in DW CS4 is
    perfect, for
    what that's worth. This page contains all the elements that
    will cause DMX
    to fall down (floated containers, and absolute and relative
    positioning).
    Sorry about that. And since DW4 is the immediate predecessor
    to DMX, it's
    not going to do as well as DMX even.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JohnPerth" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi -- thanks for your comments -- much appreciated.
    >
    > I carefully checked the validation, but unfortunately
    sorting out those
    > problems didn't fix the problem.
    >
    > Here's the thing: I downloaded several free templates
    from
    >
    http://www.freewebsitetemplates.com
    -- including the template which I
    > originally I used for my site (it's called
    architecture).
    >
    > So, these templates have not been touched by me -- their
    code is still
    > 100%
    > unmodified. But when I open them in Dreamweaver -- same
    problem: they are
    > entirely screwed up in Display view, but they render
    just fine in the
    > browser.
    >
    > Now, how the ^!#!@#$ is this possible? And why would
    these templates
    > display
    > fine in DW on my PC a few months ago, and now suddenly
    they're screwed up?
    >
    > You can see the magnitude of the problem. I've tried
    files that have not
    > been
    > modified by me. I've tried an upgraded DW (MX); I've
    tried both DW4 and DW
    > MX
    > on several different physical PCs; I've tried them on
    both XP and Vista
    > machines. Still the problem persists: In display view,
    the pages are
    > screwed
    > up, while they render just fine in the browser.
    >
    > Where do I go from here?
    >
    >
    >

  • "Outlook cannot perform search. Cannot display view." error coming up when searching shared calenders in Outlook 2010.

    Hi,
    So I am having issues with the advanced find feature in Outlook 2010. When I goes to search a shared calender it gives me the "Outlook cannot perform search. Cannot display view." error. It is odd because it only does it with shared calenders
    and only when a calender is selected. If I search my inbox it works fine. It also works fine when I first open Outlook and perform a search without selecting any calenders. If I select on it then gives me the error. I have tried resetting the views, I ran
    cleanfinders and I went through this page (http://www.msoutlook.info/question/47) and rebuilt the index/scanned the pst/etc. Nothing seems to be working. I would appreciate some help if anyone knows why this would be happening. 
    Thank you for your time,
    Gabe M. 

    Pst file size would not cause this and Outlook 2010 can have huge pst files as long as you use the new Unicode format.
    If the problem is a corrupt view, cleanviews will clear it. I'm sure there are other causes besides corrupt views, but I can't think of any at the moment.
    Does it work in Safe mode? To open Outlook in Safe mode: Close Outlook then hold Ctrl as you click on the Outlook icon. You'll get a message asking if you want to start in Safe mode. Click Ok.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Editing Text in Dreamweaver Display View

    I have just started using Dreamweaver CS4. In older versions
    of Dreamweaver, I'm used to seeing text in Display view and being
    able to edit the text directly in Display view, rather than having
    to edit text in Code view. But when I'm trying to edit text in
    Display view on a webpage that has text in a scrollable window,
    Dreamweaver does not allow me to scroll down the scroll box, so I
    can't edit text that is lower down in the scrollable area.
    Anybody have an idea on how I can accomplish this?
    Thanks very much.
    Jason

    That would be the way....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Osgood" <[email protected]> wrote in
    message
    news:go5tfn$r58$[email protected]..
    > Double click in the scrollable area and see what
    happens.
    >
    >
    > jsaffer1 wrote:
    >> I have just started using Dreamweaver CS4. In older
    versions of
    >> Dreamweaver, I'm used to seeing text in Display view
    and being able to
    >> edit the text directly in Display view, rather than
    having to edit text
    >> in Code view. But when I'm trying to edit text in
    Display view on a
    >> webpage that has text in a scrollable window,
    Dreamweaver does not allow
    >> me to scroll down the scroll box, so I can't edit
    text that is lower down
    >> in the scrollable area. Anybody have an idea on how
    I can accomplish
    >> this?
    >>
    >> Thanks very much.
    >>
    >> Jason
    >>

  • Cannot display view BP_HEAD/BPHEADOverview of UI Component BP_HEAD issue

    Dear all, I am facing a strange issue in CRM 7.0 web-UI.
    I have created an attribute set with attributes and was trying to assign this to an Individual account.
    The moment I click on "Marketing Attributes" assignment block, I face the following error message:
    Cannot display view BP_HEAD/BPHEADOverview of UI Component BP_HEAD
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Window 'BP_DATA/MarketingAttributesEOVPList' is not defined in the component 'BP_DATA' 
    Method:  CL_BSP_WD_COMPONENT_USAGE=>GET_INTERFACE_VIEW_CONTR 
    Source Text Row:  28
    Window MainWindow of UI Component BP_HEAD cannot be displayed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BP_DATA.BP_DATA/MarketingAttributesEOVPList in component BP_HEAD could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  165
    I tried with many different business roles but always faced the same problem.
    Consequently, I had to logon using GUI, open tcode BP and assign the marketing attributes.
    After that, when I try to login in web-UI, I face the same issue again.
    Tried to search in Forums but couldn't get a relevant situation. So please suggest if you have any solution.

    Hi Animesh,
    Please check the runtime repository for the component bp_data. In the component Interface, add the window 'BP_DATA/MarketingAttributesEOVPList'. This should resolve your problem.
    Regards,
    Radhika

  • Cannot display view MainWindow of UI Component BT111M_OPPT

    Hi Experts
    I have acceidently enhanced the std component & after that all the views have been deleted.
    Now the issue i am facing is, whenever, i am trying to open the opportunity creation screen, i am getting an error saying
    *Cannot display view MainWindow of UI Component BT111M_OPPT
    An exception has occurred Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'CUBTPOPUPS'
    Method: CL_BSP_WD_REPOSITORY=>GET_CMP_USAGE_DEF
    Source Text Row: 20
    An exception occurred during the activation of target view CUBTOpptOverview.MainWindow for the navigation
    An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View CUBTOpptOverview.MainWindow in component BT111M_OPPT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Saved Searches *
    Is there anyway, the default / standard settings can be retained?
    Thanks & Regards,

    How did you delete the views? Have they been deleted from the enhancement or from rumtime repository?
    Did you also try to delete your enhacement and see if it works fine?
    There is a button in BSP_WD_CMPWB first screen, by clicking that you can show/hide the enhancement set field. Try to see by hiding the enhancement i.e. by navigating to the standard view that the configuration of run time repository is fine.
    Regards
    Prasenjit
    Hi Prasenjit,
    Thanks for continuous help. I havent deleted the standard views either from enhancement OR runtime repository. I selected the view & hit the enhancement button which is available on the screen, it gave some warning & i continued.
    After compliation, i saw that the std views are missing & when i tried to open the opportunity creation screen i am getting the said error.
    regards,

  • IPad can find cellular connection settings no longer displays View Account Tab

    yesterday iPad could not find cellular data connection...Settings under cellular data no longer displayed View Account tab.  (Image below is from my older iPad to show what is missing on newer one with the issue.)
    iPad then displayed notification that it could not connect to cellular data and said to restore iPad.
    I tried to restore via cable to iTunes on home iMac.  All attempts failed.
    By the way I checked the AT&T Accout which is a grandfathered "unlimited" act that is current and up-to-date
    Can anyone help?

    I would take the SIM out and then reinsert it. Next I would restore from backup. Lastly I would restore to factory new to see if it works in that condition before you add things to the iPad.

  • How to Retrieve deleted Webdynpro View

    Folks,
    How to retrieve a deleted view. Please help!!

    Hi madhavi,
    I am afride to say once the view is deleted cannot be get back.
    After deleting the view if you see the window, if there is any outbound plug
    to that view it will show it as obsolete element.
    But if you create the view with the same name the view will appear autumatically in the
    window but the components inside the layout cannot get back.
    Regards and Best wishes.

  • Is there anyway I can retrieve my street view back for the Find My iPhone app?

    Is there anyway I can retrieve my street view back for the Find My iPhone app?

    My wonderful daughter gave me the solution to my problem.  Hopefully it will work for you as well - a Hard Restart....To do this you will need to hold down the screen lock button and the home key together until your iPad shuts off.  Once your iPad has shut off, simply restart it.  Once the iPad was turned back on, my street views returned for all of my maps :-)

  • Installed Premiere Pro CS4 but video display does not work?

    I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
    1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
    2) the UI is way too slow for my big beefy system.
    My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
    Any ideas how to solve this CS4 install issue?
    Ron

    I would like to thank Dan, Hunt, and Haram:
    The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
    My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
    My PC is brand new with the following "beefy" components:
    Motherboard
    nForce 790i SLI FTW
    Features:
    3x PCI Express x16 graphics support
    PCI Express 2.0
    NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
    DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
    Overclocking tools
    NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
    ESA Certified
    NVIDIA DualNet and FirstPacket Ethernet technology
    Registered
    CPU: Intel Core 2 Quad Q9550
    S-Spec: SLAWQ
    Ver: E36105-001
    Product Code: BX80569Q9550
    Made in Malaysia
    Pack Date: 09/04/08
    Features:
    Freq.: 2.83 GHz
    L2 Cache: 12 MHz Cache
    FSB: 1333 MHz (MT/s)
    Core: 45nm
    Code named: Yorkfield
    Power:95W
    Socket: LGA775
    Cooling: Liquid Cooled
    NVIDIAGeForce GTX 280 SC graphics card
    Features:
    1 GB of onboard memory
    Full Microsoft DirectX 10
    NVIDIA 2-way and 3-way SLI Ready
    NVIDIA PureVideo HD technology
    NVIDIA PhysX Ready
    NVIDI CUDA technology
    PCI Express 2.0 support
    Dual-link HDCP
    OpenGL 2.1 Capaple
    Output: DVI (2 dual-link), HDTV
    Western Digital
    2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
    Features:
    10,000 RPM, 3 Gb/sec transfer rate
    RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
    p/n: TW3X4G1333C9DHX G
    product: CM3X2048-1333C9DHX
    Features:
    XMS3 DHX Dual-Path 'heat xchange'
    2048 x 2 MB
    1333 MHz
    Latency 9-9-9-24-2T
    1.6V ver3.2

  • MSN Messenger uses wrong inbuilt webcam for video chat on triple screen set up. It uses a cinema display webcam not the iMac webcam.

    For some strange reason if i attach my 2  apple cinema displays to my iMac to make a triple  screen set up msn messenger video chat does work but it uses the apple cinema display inbuilt webcam and not the iMac webcam. Its annoying as i have to turn sideways to get into the video call view.
    So i have  a set up like this: an apple cinema display thunderbolt, then in the middle an iMac new then to the right of the iMac another apple thunderbolt cinema display. WWhen i use MSN messenger to make a video call it uses the inbuilt webcam on the far right apple thunderbolt cinema display and not the inbuilt webcam in the iMac in front of me, its annoying any ideas please.
    If i unplug both side cinema displays MSN messenger uses the inbuilt camera on the iMac like normal but when  i use extra screens it uses the webcam built into those and not the iMacs webcam.

    I would try with another client like skype or something
    and if it's only msn messanger which have the problem it may
    be more of a question for ms's forum?

  • Jtable: display sortable columns

    Hi all,
    As I undersatnd, by default jtable shows the sorting triangle only after you click on the column header. I wonder how you could display a disabled sorting triangle icon on sortable columns which becomes enabled after you click on the column header. I'm not sure whether it is easier to answer in general terms but just in case here is a code of a basic implementation of sortable table that I have. Any help regarding how the code should be modified are very welcome.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    * @author
    public class Example5 extends JFrame {
        MyCell[][] data = {{new MyCell("A11"), new MyCell("A12")},
                {new MyCell("A21"), new MyCell("A22")}};
        String[] headers = {"A", "B"};
        /** Creates a new instance of Example5 */
        public Example5() {
            setTable();
            setSize(200, 200);
            setVisible(true);
            super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        public void setTable() {
            DefaultTableModel model = new DefaultTableModel(data, headers){
                public Class getColumnClass(int column) {
                    return MyCell.class;
            MyTable table = new MyTable(model);       
            JScrollPane scrollpane = new JScrollPane(table);
            JPanel top_panel = new JPanel();
            top_panel.setLayout(new BorderLayout());
            getContentPane().add(top_panel);
            top_panel.add(scrollpane, BorderLayout.CENTER);
        public static void main(String[] args) {
            Example5 ex = new Example5();
        class MyTable extends JTable {
            public MyTable(TableModel model) {
                super(model);
                MyCellRenderer cell_renderer = new MyCellRenderer();
                TableColumnModel columnModel = getColumnModel();
                for(int i=0; i<columnModel.getColumnCount(); i++) {
                    TableColumn column = columnModel.getColumn(i);
                    column.setCellRenderer(cell_renderer);
                TableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(model);
                setRowSorter(sorter); 
        class MyCellRenderer implements TableCellRenderer {
            public MyCellRenderer() {
             public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row, int column) {
                return (MyCell)value;
        class MyCell extends JLabel implements Comparable<MyCell> {
            String text;
            public MyCell(String text_) {
                text = text_;
            public String getText() {
                return text;
            public int compareTo(MyCell a) {
                return text.compareTo(a.getText());
    }

    I'm not sure whether it is easier to answer in general terms Its easy to answer in general terms, be specific will be more difficult.
    I don't use JDK6, so I don't know how the table sorter works. But in the old version a separate SortedModel was used and a MouseListener was added to the TableHeader to handle mouse clicks. So when a header was clicked the "state" of the header was used to determine whether the "up", "down" or no icon was used in the header. So once you determine where that logic is coded it should be reasonably easy to create and code a "disable sort" icon and display it in the defalut unsorted state.

  • Custom table can be displayed and not maintainable using SE16n.

    Hi Gurus,
    I have created a custom table with DATA BROWSER/TABLE VIEW MAINT. equal to 'N' (Display/Maintainance not allowed) in SAP ECC 6. The the requirment is, this custom table can be displayed using the transaction SE16n.
    This requirement is existing in ECC 5. with same setting DATA BROWSER/TABLE VIEW MAINT. equal to 'N' (Display/Maintainance not allowed) and this table can be viewed using transaction SE16n.
    would there be possible that this requirement be implemented in SAP ECC6? would this be due to the version?
    Please help.
    Thank you..
    Regards,
    SAI

    Hi Kiran,
    Thanks for your answer but unfortunately this is not what I'm looking for. Iam also familiar with &SAP_EDIT.
    Well, my problem is, the custom table setting Data browser/Table view Maint. is set to "N Display / Maintainance not Allowed" ( under Delivery and Maintainance Tab). Also there is no table maintainance generator setup.
    So basically with this setting, in transaction SE11 'Contents' is disabled. And with transaction SE16n, when you execute and tried to view the table, error "You cannot display zcustom_table with standard tool". (checkboxs are hidden)
    What the requirement is looking, the custom table can be viewed (this is with the same setting above but can be viewed using SE16n and the checkbox maintain entries is automatically tick but when executed "auth failed" so, basically to view the entries, untick the checkbox then entries can now be viewed.)

  • I replaced my hard drive and lost iPhoto. Is there a way to retrieve?  I can not find the starter discs that came with my Macbook Pro.

    I replaced my hard drive and lost iPhoto. Is there a way to retrieve?  I can not find the starter discs that came with my Macbook Pro.

    Customer Service: Contacting Apple for support and service - this includes international calling numbers. You can purchase replacement discs from Apple.
    Or, you can upgrade to Lion or Mountain Lion:
    Upgrading from Snow Leopard to Lion or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99.
    If you sign into the App Store and try to purchase Mountain Lion but the App Store says your computer is not compatible then you may still be able to upgrade to Lion per the following information.
    A. Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.
    B. Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

Maybe you are looking for