Problem with woodstock dropdown

hi all
i'm using netbeans 7.5
my jsp code is
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<webuijsf:page id="page1">
<webuijsf:html id="html1">
<webuijsf:head id="head1">
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
<script type="text/javascript">
var req;
var target;
var isIE;
function initRequeskt(url) {
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
} else if (window.ActiveXObject) {
isIE = true;
req = new ActiveXObject("Microsoft.XMLHTTP");
function validateUserId() {
var url = "AjaxServlet";
// Invoke initRequest(url) to create XMLHttpRequest object
initRequest(url);
req.onreadystatechange = processRequest;
req.open("GET", url, true);
req.send(null);
function processRequest() {
if (req.readyState == 4) {
if (req.status == 200) {
// Extract "true" or "false" from the returned data from the server.
// The req.responseXML should contain either <valid>true</valid> or <valid>false</valid>
var message = req.responseXML.getElementsByTagName("number")[0].childNodes[0].nodeValue;
// Call "setMessageUsingDOM(message)" function to display
// "Valid User Id" or "Invalid User Id" message.
setMessageUsingInline(message);
// If the user entered value is not valid, do not allow the user to
// click submit button.
function setMessageUsingInline(message) {
document.getElementById("form1:textField2").setProps( {value: message } );
function showDropDownValue() {
document.getElementById('form1:textField1').setProps( {value: document.getElementById('form1:dropDownCountry').getSelectedValue()} );
document.getElementById('form1:dropDownCity').refresh('form1:textField1');
validateUserId();
function showCalendarValue() {
document.getElementById('form1:textField2').setProps( {value: document.getElementById('form1:calendar1').getProps().value} );
function showChackboxValue() {
document.getElementById('form1:textField3').setProps( {value: document.getElementById('form1:checkbox1').getProps().checked} );
</script>
</webuijsf:head>
<webuijsf:body id="body1" style="-rave-layout: grid">
<webuijsf:form id="form1">
<webuijsf:dropDown binding="#{Page1.dropDownCountry}" id="dropDownCountry" items="#{myobj.dropDownCountryValue}"
onChange="showDropDownValue(); " style="left: 192px; top: 216px; position: absolute"/>
<webuijsf:textField binding="#{Page1.textField1}" id="textField1" onClick="showDropDownValue()"
style="left: 336px; top: 216px; position: absolute" text="#{myobj.country_name}" visible="false"/>
<webuijsf:calendar binding="#{Page1.calendar1}" id="calendar1" onClick="showCalendarValue();" style="left: 144px; top: 288px; position: absolute"/>
<webuijsf:textField binding="#{Page1.textField2}" id="textField2" style="left: 336px; top: 288px; position: absolute"/>
<webuijsf:checkbox binding="#{Page1.checkbox1}" id="checkbox1" label="Checkbox" onClick="showChackboxValue()" style="position: absolute; left: 192px; top: 360px"/>
<webuijsf:textField binding="#{Page1.textField3}" id="textField3" style="left: 336px; top: 360px; position: absolute"/>
<webuijsf:dropDown binding="#{Page1.dropDownCity}" id="dropDownCity" items="#{myobj.dropDownCityValue}" style="position: absolute; left: 528px; top: 216px"/>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>
face-config
<managed-bean>
<managed-bean-name>myobj</managed-bean-name>
<managed-bean-class>newpack.NewClass</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
dropDownCountry is name of countries
dropDownCity is name of cities choosen by dropDownCountry
when i change dropDownCountry, intseat of refreshing dropDownCity in dropDownCity in old cities too
for example if i have choosen Italy in dropDownCountry then items of dropDownCity is rome, milan
then if i switch dropDownCountry to England then items of dropDownCity must be london, liverpool
and in my case when i switch from Italy to England items of dropDownCity is rome, milan, london, liverpool
why dropDownCity items store old datas too
anyone can help?

martin.wainamoinen wrote:
I noticed that the page gets reinstanciated on every refresh and everything gets reset, don't know if this is default behaviourThe managed bean is apparently request scoped. I think it's time to throw away the "visual editor" you're using or to switch to "source code" mode or so and start with writing code yourself. Do not do drag'n'drop, you would become code-blind and you would constantly fight with trivial and obvious problems at code/specification level.

Similar Messages

  • Having an problem with the dropdowns

    Hi ,
    Can you please let me know why the drop downs in the application is not working when recording the script, can you please let me know how to solve the problem.

    Go to Options-current script -Recording and check the box record parameter set events for form entry, that should resolve the issue.

  • Problem with selectOneMenu in Datatable

    Hi
    I have the following datatable that binds correctly to a set of Game objects.
    I need to have a dropdown with the numbers 1 to 10 as items which is bound to each dataItem's newRating field.
    However there is some problem with the dropdown that i can't figure out. The datatable stops rendering when it hits the first dropdown.
    At the moment,
    The new rating field in the Game class is of type SelectItem with the appropriate get and set methods.
    Could anyone please point out what I'm doing wrong
    Thanks.
    Here is the relevant part in Home.jsp:
                                              <h:dataTable binding="#{Home.newGamesTable}" id="newGamesTable" value="#{Home.newGames}" var="dataItem">
                                                                <h:column>
                                                                    <f:facet name="header">
                                                                        <h:outputText value=""/>
                                                                    </f:facet>
                                                                    <h:panelGroup layout="block" styleClass="new_game_main">
                                                                        <h:outputText styleClass="new_game_title" value="#{dataItem.title}"/>
                                                                        <h:outputText escape="false" styleClass="new_game_label" value="Date added: "/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.dateString}"/>
                                                                        <h:outputText escape="false" styleClass="new_game_label" value="Average Rating:"/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.rating}"/>
                                                                        <h:outputText styleClass="new_game_label" value="Uploaded by:"/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.userName}"/>
                                                                        <h:commandLink styleClass="new_game_label" value="Play Now!"/>
                                                                        <h:selectOneMenu styleClass="new_game_rating" value="#{dataItem.newRating}">
                                                                            <f:selectItems value="#{ratingItems}" />
                                                                        </h:selectOneMenu>
                                                                        <h:commandLink action="#{Home.rateNewGame}" styleClass="message_link" value="Rate"/>
                                                                    </h:panelGroup>
                                                                </h:column>
                                                            </h:dataTable>and Home.java
    private List<SelectItem> ratingItems = null;
         public List<SelectItem> getRatingItems()
             if (ratingItems == null)
                 ratingItems = new ArrayList<SelectItem>();
                 for (int i = 1; i <= 10; i++)
                     SelectItem item = new SelectItem();
                     item.setValue(Integer.valueOf(i));                        
                     ratingItems.add(item);
             return ratingItems;
         public void setRatingItems(List<SelectItem> items)
             ratingItems = items;        
        private List<Game> newGames = null;
        private boolean hasNewGames;
        public List<Game> getNewGames()
            if (newGames ==null)
                newGames = DataFactory.getNewGames();           
            hasNewGames = !newGames.isEmpty();
            return newGames;
        }

    What do you mean by stops rendering? Can you paste the relevant portion of the output (from view source in the browser).

  • Problem with buttons in page fragment

    Hi,
    I'm developing a jsp-page, which has two page-fragments and one inline frame..
    I've a problem with one page-fragment. This one contains three buttons, for changing the language. When someone pushes the button, it seems that there is no action triggered...
    Here is my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:j="http://www.sun.com/creator/jsfcl">
        <f:loadBundle basename="oltbwebapplication.bundle" var="bundle"/>
        <h:outputText binding="#{OltbStatus.mnuBanksys}" id="mnuBanksys" style="left: 96px; top: 0px; position: absolute" value="#{bundle.mnuLac}"/>
        <h:commandButton action="#{OltbStatus.choseNl}" actionListener="#{OltbStatus.btnNl_processAction}" binding="#{OltbStatus.btnNl}" id="btnNl"
            style="left: 432px; top: 0px; position: absolute" value="NL"/>
        <h:commandButton action="#{OltbStatus.choseFr}" binding="#{OltbStatus.btnFr}" id="btnFr" style="left: 480px; top: 0px; position: absolute" value="FR"/>
        <h:commandButton action="#{OltbStatus.choseEn}" binding="#{OltbStatus.btnEn}" id="btnEn" style="left: 528px; top: 0px; position: absolute" value="EN"/>
    </div>Thx in advance
    Ann Carpentier

    Hi Ann,
    I was working with dropdowns in pagefragments consequent to your query. I noticed that there is a problem with the dropdowns too. This especially happens if you have the same components in both the page fragments. For example buttons in both the page fragments or dropdowns in both page fragments etc.
    I have filed a change request on your behalf for the same.
    We thank you for bringing this to our notice.
    Thanks and
    Cheers :-)

  • Problem with two dynamic dropdowns

    I have four screens each one with two dropdown's in a child parent relationship with one constrained by the other. Both uses dynamic domains against entity views with the child passing a bind variable containing the value of the parent. The problem I am seeing is that when I enter the detail screen for a row then the child dropdown is populated correctly. When I leave the detail screen and return to the summary only rows with the same primary column value will have the secondary populated.
    e.g. Summary Screen
    Id | Department | Employee
    =========================
    1 | Finance | Jones
    2 | Finance | Smith
    3 | Engineering |
    4 | Engineering |
    5 | Admin |
    If I enter the detail form for the first row and change nothing but simply return to the summary, then rows 1 and 2 with primary 'Finance' will have employee populated but if I open row three with primary 'Engineering' then only rows 3 and 4 will have employee populated.
    It looks like the bind variable that limits the secondary dropdown values, gets set in the form view so that when you return to the table view only values from that limited set get displayed.
    (The differences between the four screens are related to fields other than the two dropdowns)
    Screen1 View for primary lookup:
    ==============
    Table name: Lookup
    Column1: CompositeId
    Column2: Description
    SQL:
    <pre>
    SELECT
    Lookup.Id,
    Lookup.Description
    FROM cv_claims.LOOKUP Lookup
    WHERE LookupName = 'screen_1'
    </pre>
    View for secondary lookup
    ================
    Table name: LookupAssociation
    Column1: FromLid
    Column1: ToLid
    SQL:
    <pre>
    SELECT
    Lookup.Key,
    Lookup.Description
    FROM LOOKUP Lookup
    WHERE Key IN (SELECT ToLid FROM LOOKUP_ASSOCIATION WHERE FromLid = ?)
    </pre>
    Bind variables: FromLid
    Bind variable in dynamic domain for screen 1
    =============================
    FromLid=#{bindings.S01EmployeeLid.inputValue}
    Any suggestions would be appreciated.
    Thanks,
    Pascal

    Hi Pascal,
    Did you follow the instructions in section 6.12.2 of the Oracle JHeadstart 10g for ADF (10.1.3.2) developer's guide?
    Regards,
    Ibrahim

  • Problem in mapping dropdown list  values with the queries

    hi,
    I am building a simple applicaittion of currency conversion.
    The scenario :
    I have a input form with a dropdown list and a input field to enter the amount
    I have created the drop down list with the respective details
    Value   Desc
    1          dollarToeuro
    2          euroTodollar 
    when the user selects the first option in the drop down list and then enters the value and gives a submit -> the conversion takes place
    but evrytime i select the second option --> the application hangs..
    i have given a guard condition in the submit action for each if the query as LIKE(@option,"1") OR LIKE(@option,"2") for the respective queries.
    Please can someone tell me where i am going wrong???
    Regards,
    Vaishali

    Hi ,
    what is the need of ur gaurd condition there?
    and try to run the model without that guard condition.
    Regards,
    Govindu

  • Mac Firefox has a problem with dropdown menus over a flash

    I have notice a problem over the last couple of months when
    using drop down menus from P7, and Quckmenu. The drop down menus
    appears to clip any flash movies below them when using transparent
    settings in css. The recent case the transparent settings where
    apply as following: The wmode of the flash movie set to
    transparent, no problem with flash covering the menu. #qm0 is my
    sub container for the drop down. When commenting out the
    transparent settings, no problem on the Mac. The Firefox browser is
    2.0, and the Mac OS is OS 10, Flash Player 9. I am thinking this is
    Adobe Flash player problem.
    #qm0 div a
    color:#000000;
    padding:2px 20px 2px 5px;
    border-right: 1px solid #000000;
    border-left: 1px solid #000000;
    border-top: 1px solid #000000;
    background-color: #f9f9fb;
    filter:alpha(opacity=90);
    -moz-opacity:0.90;
    -khtml-opacity: .90;
    opacity: 0.90;
    My temp work around is to check the http_user_agent for Mac.
    If is a Mac, no transparent menus.
    David Pearson

    Some gestures have been removed in Firefox 4.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • More fun with enumerated dropdowns - Binding to table

    Hi All,
    I'm having some trouble with enumerated dropdowns.
    My context is as follows:
    node DATA 1...1
    ---> node FLIGHTS 0...N
       -->CARRID etc from SFLIGHTS
    --->DDL (element type string)
    I have successfully tried to add a simple dropdown with the following code on the component controller:
    method wddoinit .
        data lo_nd_data type ref to if_wd_context_node.
        data lo_el_data type ref to if_wd_context_element.
        data ls_data type wd_this->element_data.
        data lv_ddl like ls_data-ddl.
        data node_info type ref to if_wd_context_node_info.
        data vals type table of  wdr_context_attr_value.
        data: s_element type wdr_context_attr_value.
        data: str type string.
    *   navigate from <CONTEXT> to <DATA> via lead selection
        lo_nd_data = wd_context->get_child_node( name = wd_this->wdctx_data ).
    *   get element via lead selection
        lo_el_data = lo_nd_data->get_element(  ).
        lo_el_data->get_static_attributes(
          importing
            static_attributes = ls_data ).
    *      get node info
        call method lo_nd_data->get_node_info
          receiving
            node_info = node_info.
         do 25 times.
           str = sy-index.
           condense str no-gaps.
           s_element-text = str.
           s_element-value = str.
           append s_element to vals.
        enddo.
    *    Set Value_sets to node_info
         call method node_info->set_attribute_value_set
          exporting
            name      = 'DDL'
            value_set = vals
    endmethod.
    This works fine, however now I am trying the same thing with a field from the SFLIGHTS table.
    I want to display a table of the retrieved SFLIGHTS but a field as a dropdown with valid entries from the database. I have added the following code to the view.
    method WDDOINIT .
        data lo_nd_data type ref to if_wd_context_node.
        data lo_nd_flights type ref to if_wd_context_node.
        data lo_el_flights type ref to if_wd_context_element.
        data ls_flights type wd_this->element_flights.
        data gt_flights type table of sflights.
        select * from sflights into table gt_flights.
    *   navigate from <CONTEXT> to <DATA> via lead selection
        lo_nd_data = wd_context->get_child_node( name = wd_this->wdctx_data ).
    *   navigate from <DATA> to <FLIGHTS> via lead selection
        lo_nd_flights = lo_nd_data->get_child_node( name = wd_this->wdctx_flights ).
        lo_nd_flights->bind_table( gt_flights ).
           types: begin of ty_carrname,
         carrname type s_carrname,
         end of ty_carrname.
       data: gt_carrname type table of ty_carrname.
       select distinct carrname
          from sflights
          into table gt_carrname.
         data lv_carrname like ls_flights-carrname.
         data node_info type ref to if_wd_context_node_info.
         data vals type table of  wdr_context_attr_value.
         data: s_element type wdr_context_attr_value.
         data: str type string.
          lo_nd_flights->get_static_attributes(
          importing
            static_attributes = ls_flights ).
          call method lo_nd_flights->get_node_info
          receiving
            node_info = node_info.
         field-symbols: <carrname> like line of gt_carrname.
         loop at gt_carrname assigning <carrname>.
           str = <carrname>-carrname.
           s_element-text = str.
           s_element-value = str.
           append s_element to vals.
         endloop.
         call method node_info->set_attribute_value_set
          exporting
            name      = 'CARRNAME'
            value_set = vals.
    endmethod.
    I can display all the entries with a repeating subform but when I bind the CARRNAME to an enumerated dropdown I get an ADS rendering error:
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    I have looked in the Error PDF but it is blank.
    Does anyone have any suggestions on what is goign wrong or how to diagnose the problem.
    I am assuming you can have a data element that has a 0..N cardinality (i.e a table element) and is also of type enumerated dropdown.
    I'm guessing this is something to do with cardinality but I have no way to find out.
    Thanks,
    Gregor

    I have looked in the defaultTrace file and found the following errors:
    1.  A pdf document with 0 pages.
        Return Status: Render Failure
        Output Trace returned: <?xml version="1.0" encoding="UTF-8"?>
    <log>
       <m mid="29184" tid="10064.4896" sev="f" d="2008-11-12T15:20:01.722Z">Malformed SOM expression: $record.sap-vhlist.FLIGHTS\\.DATA[*]\\.CARRNAME.item[*]</m></log>
    Has anybody else used the enumerated dropdown element bound to dynamic data?
    I am using the latest releases and the "Specify Item Values" on the Object->Binding tab is filled in with what looks correct ($record.sap-vhlist.FLIGHTS\.Data etc) but greyed out.
    Thanks

  • I am having a strange problem with the awesome bar

    The awesome bar/location bar is no longer as awesome as it used to be. When I start typing in an address it seems like it no longer checks through my history and gives a list of possible matches but just gives the stem of an address. For example, if I type in 'goo' it will complete this to 'google.com' if I then append this with an '/a' it will complete this to 'google.com/analytics' but that's as good as it gets, as I say, no list from the history or bookmarks.
    I've checked the options and also about:config and all the settings are as they should be, as far as I can tell (and I certainly hadn't changed any of them when it started misbehaving). I've also disabled all extensions and plug-ins.
    It's driving my slightly bonkers because I quite often use sites with long addresses and can't remember each of the components of each address. I'd switch to using Chrome but I also use Firebug a fair bit so don't really want to do this.

    Hi cowtan, <br/>Sorry you are having problems with the awesome bar.
    I imagine the new behaviour may be reversed by changing some pref but I have not looked that up.
    Regardless of the new behaviour you seem to have some fault as my awesomebar still gives bookmarked items.
    As a troubleshooting step try adding an asterisk in the awesomebar (as first character or anywhere) that should then filter the results in the dropdown list to bookmarked only items, does that work ?
    * see [[Search your bookmarks, history and tabs with the Awesome Bar#w_changing-results-on-the-fly]]_changing-results-on-the-fly
    You possibly have some extension interfering with the awesome bar, try Firefox in safe mode (but do NOT* at this stage try the Reset Firefox option)
    <nowiki>*</nowiki>'''edit''' - personal opinion, if a user; such as you; is knowledgeable enough to use ''about.config'' the easy solution of ''FirefoxReset ''is probably not the best route, as it can have unwanted side effects that are avoidable.
    * [[Troubleshoot Firefox issues using Safe Mode]]
    Do your bookmarked items appear in safe mode ?
    <u>Try a new Profile.</u><br/>The best method for troubleshooting this will be to set up a new Firefox profile, you can then: experiment, troubleshoot, alter settings or extensions installed in that profile without changing and potentially damaging your current profile.
    * http://kb.mozillazine.org/Profile_Manager#Creating_a_new_profile
    I suggest to prevent unexpected problems you
    * use a sensible name such as test 2012 for the profile name
    * ensure an empty folder is used & do not then rename or delete the new profile (instead add or delete shortcuts to it)
    * also see http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Airport problem with iMAC 27" and serious service support for indonesia

    Hi all,
    i can't seem to get any help from anywhere else. so i try to post it here.
    i tried to call the apple store (indonesia) which i bought this imac 27" from. got transfered 4 times and i had to explain it to them all over. in the end i got to speak to the technician and i asked whether i can get a replacement and they don't think it's the correct solution and leave me hanging here.
    the apple store is listed as an apple authorized service provider (AASP) or apple authorized distributor (AAD):
    iBox by Padang Digital Indonesia - Apple Authorised Service Provider
    Puri Imperium Office Plaza, (Belakang Menara Imperium)
    Jl. Kuningan Madya Kav. 5-6, Jakarta
    12980
    Tel: 62 21 8370-iBox (4269); 830 6763
    Fax: 62 21 830 6730
    Email: [email protected]
    Web: http://www.ibox.co.id
    i called the apple support on the apple.com (0018 03061 2009 for indonesia) today wednesday 19 may 2010, time 1:12pm indonesia local time (GMT +7) i didn't get the guy's name but i can tell he's Indian from the accent, i told him what the problem is, he told me to wait, i waited for 10 minutes and he hung up on me at 1:24pm. please check on the record, because i was told the whole conversation was recorded.
    so, let's go to the problem:
    i can't share my internet with airport built-in in my imac 27".
    I'm using ZTE usb hsdpa modem connected to the imac. (fyi, my friend is using the same exact modem and internet provider and don't have any problems with internet sharing using his macbook)
    i tried to share the internet through the airport express simply with these steps:
    1. open the system preferences, internet sharing,
    2. connection with "ZTE usb modem", and the box next to "Airport" is ticked
    3. turn on the internet sharing
    4. press start
    5. yes the firewall is off.
    and these are what i'm having right now:
    1. the airport symbol wont turn into an arrow
    2. when i open the network preferences, it says: AirPort is turned on but is not connected to a network. (color is orange not green)
    3. i searched the wireless network with my ipod touch and i found nothing
    4. if i try to "create a network" here's what it says "There was an error creating your computer-to-computer network."
    5. this are the details on the airport card:
    Software Versions:
    Menu Extra: 6.2 (620.24)
    configd plug-in: 6.2 (620.15.1)
    System Profiler: 6.0 (600.9)
    Network Preference: 6.2 (620.24)
    AirPort Utility: 5.5.1 (551.19)
    IO80211 Family: 3.1 (310.6)
    Interfaces:
    en1:
    Card Type: AirPort Extreme (0x168C, 0x8F)
    Firmware Version: Atheros 9280: 2.1.9.5
    Locale: RoW
    Country Code:
    Supported PHY Modes: 802.11 a/b/g/n
    Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165
    Wake On Wireless: Supported
    Status: Not Associated
    and yes, i've updated all the airport software and i stick on the 10.6.2 os.
    It seems like people who has this latest imac 27" also having problems with the airport express. and they somehow got a replacement.
    http://discussions.apple.com/thread.jspa?threadID=2261196&tstart=0&messageID=109 80828
    so, i really really appreciate if i can get help here.
    many thanks and best regards,
    irene

    If you have anything configured in System Preferences/Network/Airport then you have conflicts configured into the network. I suggest that you start from the beginning. Do not assume anything. Do not take any short cuts. Start fresh.
    Go to Sys Prefs/Sharing turn off Internet Sharing. Go to Sys Prefs/Network, highlight AirPort and press the - symbol below to remove the AirPort interface. Now press the + symbol and create a new AirPort Interface. In the new AirPort interface do not turn on AirPort. You should only select the box to show AirPort Status in the menu bar. Now press Apply.
    Go to Sys Prefs/Sharing and follow the steps 1 through 11 in my first post.
    In step 11 Sys Prefs should ask you to turn on AirPort. Turn it on. It should next ask you to start Internet Sharing. Start Internet Sharing.
    The AirPort Status in the menu bar should show AirPort is on and have an arrow pointing up. In the AirPort Status dropdown menu it should show AirPort is ON, Internet Sharing is ON and it should show the name of the Internet Sharing network that you created.

  • Problems with wireless mouse/keyboard after upgrade to snow leopard

    Hi!
    I am wondering if someone has some insight for me.  I recently upgraded to Snow Leopard from Tiger. I have been using a Logitech S 530 wireless keyboard/mouse combo for a few years.  I am now having problems with them irratically.
    1. When on line and the page is large, I often cannot move the blue bar at the bottom of the screen to scroll to the right. What happens is like a stutter; as I am dragging the bar, it and the page shake rapidly side-to-side. Sometimes, I can drag it to the right, but as soon as I let go, it snaps back to the left.  This does not happen in Word.
    2. When in boxes with dropdown options, only occasionally does that happen.  The dropdown either doesn't show, or it flashes quickly.  Sometimes it will work after clicking many times. This happens with dropdown menus as well as search boxes that have dropdown choices for previous searches or suggested searches a la Google.
    3. When I use my function key or mouse to display all windows, I can't choose the one I want.  Regardless of which one I put my cursor over, only the left-most one is highlighted and comes to the front when I click.
    4. There is a varying lag. Sometimes the system is responsive, and other times there is a lag of varying lengths before the system responds to the mouse action (click, drag, zoom, etc.)
    5. For a while, my left mouse button wouldn't work.  I reconfigured it, that seems to have done the trick.
    6. Today, I can't open any of the menu items on Firefox.  I can move the cursor there, but when I click on any of them, nothing happens. This is okay in Safari.
    I have disconnected and reconnected the usb, restarted the computer, and tried to reinstall the software for the mouse and keybord. When I did that, I got a message saying it couldn't install on the current OS, so I went to Logitech and dowloaded and installed the latest version (which indicated it is for OS X 10.6.8.)
    I don't know if this is a Snow Leopard problem, but it started sometime after I upgraded.  Thanks in advance for any help!
    Donna

    Update all your third party software  or uninstall and reinstall 10.6 versions.
    If your going to 10.7, be warned a lot of software will not work at all and your 10.5 era machine will be slow, perhaps even have problems as 10.7 is problematic on older hardware.
    http://roaringapps.com/apps:table
    IMO save for a new 10.8 machine after this summer.
    See #1-15 here, tune yourself up good.
     Step by Step to fix your Mac

  • HP Envy 15 Graphics Problem with Windows 8.1 (Intel and NVidia Graphics). Help!

    I bought an HP ENVY TouchSmart 15-j013ea about 6 months ago and I have had a major problem with the graphics that I cannot seem to solve. I think it started when I updated to Windows 8.1, even though I am not 100% certain.
    I have noticed the following three problems, and I think they are related:
    Some windows (such as Chrome, Skype, or even Device Manager or other windows) are very blurry compared to others.
    The firefox menu window has some deformed black arrows instead of the normal ones.
    When playing a game (specifically, Star Wars the Force Unleashed 2), after a while I get an error that the computer has ran out of memory. However, according to task manager, only about 50% is in use, not to mention that I have 8 GB of RAM + 2 GB graphics memory. At the same time, the computer gets rather loud (like a fan working overtime) and hot.
    The laptop has both Intel and NVidia graphics, and both are enabled in Device Manager. To be honest, I have no idea which is used when, or how to check that (let me know if there is a way)
    I have tried the following without success:
    Uninstalling the Intel graphics driver from device manager and installing a version I downloaded from the HP website for my laptop and OS. After that, Windows would NOT BOOT, and I had to do a system restore.
    Uninstalling the Intel graphics from Programs and Features, and installing 2 different versions from the Intel website. Nothing changed.
    Updating Nvidia driver through GeForce Experience. Nothing changed.
    Updating Intel drivers from Windows Update. Nothing changed.
    Quite frankly I am not sure what the problem could be, since the graphics versions are supposed to be compatible with WIndows 8.1. I also don't get why some windows are blurry and others are not. I am thinking the computer uses only the Intel graphics and not the Nvidia (at least in the blurry windows), but even if that was the case (and it shouldn't be), I don't think I should be having this problem.
    At this point, I really need help. My graphics details are:
    Intel HD Graphics 4600: Driver version: 10.18.10.3412
    NVidia GeForce GT 740M: Driver version: 335.23
    NVidia GeForce Experience version: 1.8.2
    I am attaching screenshots that show driver details and the problems.
    Thank you.
    Blurry Chrome:
    Firefox menu problem:
    Device Manager and driver windows are also blurry, both graphics are shown

    I had a similar problem with a Dell laptop.  I found the problem was the laptop wanted to switch between the Intel and NYIDIA video cards.  It would switch to the Intel when high graphics was not required then to the NIVIDIA when high graphics was required.  The laptop does this to save power when high graphics is not required but it caused problems with some applications, specifically high graphics games.
    For me the solution was to disable the Intel graphics processor.  You can do this by right clicking on your Wallpaper, select the NIVIDIA Control Panel, then select Set Physx Configuration.  You will see a dropdown box labeled Select Physx Processor.  It is set to Auto by default.  This allows the switching I described. Select this dropdown box and select your NIVIDIA processor.  This will prevent the laptop from switching and force it to use your NVIDIA processor exclusively.
    Hope this helps.
    Sacto Fred
    Owner and CEO
    H&O PC Soultions

  • ALV GRID Problem with reading contents

    Hi there! I'm quite new with ABAP and I have some problems with the syntax of it. Maybe I should first describe my aim and then I'll show you my code.
    1. I read contents from two database tables, called 'zbc_dan_registry' and 'zbc_dan_category'.
    'zbc_dan_registry' has 2 columns: name, value.
    zbc_dan_category' has 1 column: category.
    Now I want to have an ALV Grid, that displays the contents of 'zbc_dan_registry' and one additional column with dropdown fields, where the user can select a category for each row. This is, what my code already does.
    Now I want to save the contents of the whole table in a new table 'zbc_dan_registrz' (you see: 'registrz', not 'registry'!) with 3 columns:
    name, category, value.
    My problem is, how can I read the contents of the ALV Grid, with the user selected category for each row, and save them in an internal table? I've tried to adapt the code of "BCALV_EDIT_04", but I don't get it running.
    Some detailled help would be great, you know, I'm really working hard to understand ABAP, but it's really hard for me. Thanks for your support and help!!
    Here's my code so far:
    *& Report  ZBC400_DAN_TESTNO4
    REPORT  ZBC400_DAN_TESTNO4.
    DATA: lt_registrz TYPE TABLE OF zbc_dan_regstrz WITH HEADER LINE,
          lt_category TYPE TABLE OF zbc_dan_category WITH HEADER LINE,
          ls_category TYPE zbc_dan_category, "Struktur Kategorie
          ok_code LIKE sy-ucomm,
          container_r TYPE REF TO cl_gui_custom_container,
          grid_r TYPE REF TO cl_gui_alv_grid,
          gc_custom_control_name TYPE scrfname VALUE 'CONTAINER_REG',
          fieldcat_r TYPE lvc_t_fcat,
          layout_r TYPE lvc_s_layo,
          lt_ddval TYPE lvc_t_drop,
          ls_ddval TYPE lvc_s_drop,
          c TYPE i.
    CLASS lcl_event_receiver DEFINITION DEFERRED.
      DATA g_verifier TYPE REF TO lcl_event_receiver.
      DATA: BEGIN OF gt_outtab OCCURS 0.
        INCLUDE STRUCTURE zbc_dan_regstrz.
        DATA: celltab TYPE lvc_t_styl.
      DATA: END OF gt_outtab.
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
      TYPES: BEGIN OF lt_registrz_key.         "Struktur mit den Schlüsseln der Tabelle 'Registry'
        TYPES:  name TYPE zbc_dan_name,
                value TYPE zbc_dan_value,
                category TYPE zbc_dan_cat.
      TYPES: END OF lt_registrz_key.
      TYPES:  ls_registrz_keys TYPE STANDARD TABLE OF lt_registrz_key,
              ls_registrz_table TYPE STANDARD TABLE OF zbc_dan_regstrz.
      METHODS: get_inserted_rows EXPORTING inserted_rows TYPE ls_registrz_keys.
      METHODS: refresh_delta_tables.
      METHODS: handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid IMPORTING er_data_changed.
    *  METHODS: get_inserted_rows EXPORTING inserted_rows TYPE registrz_keys.
    *  METHODS: refresh_delta_tables.
      PRIVATE SECTION.
      DATA: inserted_rows TYPE ls_registrz_keys.
      DATA: error_in_data TYPE c.
      METHODS: get_cell_values IMPORTING row_id TYPE int4 pr_data_changed TYPE REF TO cl_alv_changed_data_protocol EXPORTING key TYPE lt_registrz_key.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_data_changed.
        DATA: ls_good TYPE lvc_s_modi,
              ls_new TYPE lvc_s_moce.
        error_in_data = space.
        IF error_in_data = 'X'.
          CALL METHOD er_data_changed->display_protocol.
        ENDIF.
      ENDMETHOD.
      METHOD get_cell_values.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'NAME'
            IMPORTING e_value = key-name.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'VALUE'
            IMPORTING e_value = key-value.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'CATEGORY'
            IMPORTING e_value = key-category.
      ENDMETHOD.
      METHOD get_inserted_rows.
        inserted_rows = me->inserted_rows.
      ENDMETHOD.
      METHOD refresh_delta_tables.
        clear me->inserted_rows[].
      ENDMETHOD.
    ENDCLASS.
    START-OF-SELECTION.
        SELECT client name value
          INTO CORRESPONDING FIELDS OF TABLE lt_registrz FROM zbc_dan_regstry.
        SELECT category INTO CORRESPONDING FIELDS OF TABLE lt_category FROM zbc_dan_category.
    CALL SCREEN 0100.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'BACK'.
          SET SCREEN 0.
          MESSAGE ID 'BC400' TYPE 'S' NUMBER '057'.
        WHEN 'SAVE'.
          PERFORM save_data.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.
    MODULE clear_ok_code OUTPUT.
      CLEAR ok_code.
    ENDMODULE.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'DYNPRO100'.
      SET TITLEBAR 'D0100'.
    ENDMODULE.
    MODULE display_alv OUTPUT.
      PERFORM display_alv.
    ENDMODULE.
    FORM display_alv.
    IF grid_r IS INITIAL.
    *----Creating custom container instance
      CREATE OBJECT container_r
      EXPORTING
        container_name = gc_custom_control_name
      EXCEPTIONS
        cntl_error = 1
        cntl_system_error = 2
        create_error = 3
        lifetime_error = 4
        lifetime_dynpro_dynpro_link = 5
        others = 6.
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Creating ALV Grid instance
        CREATE OBJECT grid_r
        EXPORTING
          i_parent = container_r
        EXCEPTIONS
          error_cntl_create = 1
          error_cntl_init = 2
          error_cntl_link = 3
          error_dp_create = 4
          others = 5.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          CREATE OBJECT g_verifier.
          SET HANDLER g_verifier->handle_data_changed FOR grid_r.
    *----Preparing field catalog.
          PERFORM prepare_field_catalog CHANGING fieldcat_r.
    *----Preparing layout structure
          PERFORM prepare_layout CHANGING layout_r.
    *----Here will be additional preparations
    *--e.g. initial sorting criteria, initial filtering criteria, excluding
    *--functions
          CALL METHOD grid_r->set_table_for_first_display
          EXPORTING
    * I_BUFFER_ACTIVE =
    * I_CONSISTENCY_CHECK =
    * I_STRUCTURE_NAME =
    * IS_VARIANT =
    * I_SAVE =
    * I_DEFAULT = 'X'
            is_layout = layout_r
    * IS_PRINT =
    * IT_SPECIAL_GROUPS =
    * IT_TOOLBAR_EXCLUDING =
    * IT_HYPERLINK =
          CHANGING
            it_outtab = lt_registrz[]
            it_fieldcatalog = fieldcat_r
    * IT_SORT =
    * IT_FILTER =
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error = 2
            too_many_lines = 3
            OTHERS = 4.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          ELSE.
            CALL METHOD grid_r->refresh_table_display
    * EXPORTING
    * IS_STABLE =
    * I_SOFT_REFRESH =
          EXCEPTIONS
            finished = 1
            OTHERS = 2.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
        ENDIF.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    ENDFORM.
    FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
        i_structure_name = 'ZBC_DAN_REGSTR2'
      CHANGING
        ct_fieldcat = pt_fieldcat[]
      EXCEPTIONS
        inconsistent_interface = 1
        program_error = 2
        OTHERS = 3.
      IF sy-subrc <> 0.
    *--Exception handling
      ENDIF.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'NAME'.
            ls_fcat-coltext = 'Name'.
            ls_fcat-outputlen = '40'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'VALUE'.
            ls_fcat-coltext = 'Wert'.
            ls_fcat-outputlen = '30'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'CATEGORY'.
              LOOP AT lt_category into ls_category.
                ls_ddval-handle = 1.
                ls_ddval-value = ls_category-category.
    *            ls_ddval-style = cl_gui_alv_grid=>mc_style_enabled.
                APPEND ls_ddval TO lt_ddval.
             ENDLOOP.
             CALL METHOD grid_r->set_drop_down_table
                EXPORTING it_drop_down = lt_ddval.
            ls_fcat-edit = 'X'.
            ls_fcat-drdn_hndl = '1'.
            ls_fcat-coltext = 'Kategorie'.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.
    FORM prepare_layout CHANGING ps_layout TYPE lvc_s_layo.
      ps_layout-zebra = 'X'.
      ps_layout-grid_title = 'Kategorie zur Registry hinzufügen'.
      ps_layout-smalltitle = 'X'.
    ENDFORM.
    FORM save_data.
      DATA: ls_ins_keys TYPE g_verifier->ls_registrz_keys,
            ls_ins_key TYPE g_verifier->lt_registrz_key,
            ls_registrz TYPE zbc_dan_regstrz,
            ls_outtab LIKE LINE OF gt_outtab,
            lt_instab TYPE TABLE OF zbc_dan_regstrz.
      CALL METHOD g_verifier->get_inserted_rows IMPORTING inserted_rows = ls_ins_keys.
      LOOP AT ls_ins_keys INTO ls_ins_key.
        READ TABLE gt_outtab INTO ls_outtab
        WITH KEY  name = ls_ins_key-name
                  value = ls_ins_key-value
                  category = ls_ins_key-category.
        IF sy-subrc = 0.
          MOVE-CORRESPONDING ls_outtab TO ls_registrz.
          APPEND ls_registrz TO lt_instab.
        ENDIF.
      ENDLOOP.
      INSERT zbc_dan_regstrz FROM TABLE lt_instab.
      CALL METHOD g_verifier->refresh_delta_tables.
      ENDFORM.

    Hi Hans,
    You raised the Question in the Webdynpro ABAP forum. Here its very diffcult to get the answer from this forum. Please close it here and raise the same question in ABAP General Forum there you will get faster and so many anwsers.
    Please close the question here.
    Warm Regards,
    Vijay

  • Problem With Cutom Configuration with Object Type

    Dear Guru's
    I am working WebUI, I am facing a problem with Custom Configuration.
    1. The initial requirement to control the visibility for a dropdown event in ERP Quotation.
    2. To this i copied the default configuration to custom configuration with custom Object type and Subtype.
           CONFIG KEY: ZPJQTN
           OBJECT TYPE: ZOTYP_CONFIG
           OBJECT SUB TYPE:  ZSTYPE_CONFIG1
    3. I have created customm fields in enhancement.
    4. Now i chosen my new configuration (ZPJQTN,ZOTYP_CONFIG,ZSTYP_CONFIG1), when i click Show available fields, the custom fields are not showing. Instead the created fields are available at other configuration.
    5. I am able to control the visibility for the standard available fields.But i am not getting the custom created fields
    (Note:  I have created the Object type and Object sub type as follows: SPRO->CRM->UI Framework->Define Object Types
    Object type: ZOTYP_CONFIG Callback class: ZCL_CONFIG_CALLBACK
    Redifned the method: IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES
    Coded as below:
      data: lv_subtype type bsp_dlc_object_sub_type.
      lv_subtype = 'ZSTYP_CONFIG1'.
      append lv_subtype to result.
      lv_subtype = 'ZSTYP_CONFIG2'.
      APPEND lv_subtype to result.
    Now Please suggest me how to achieve this.
    Also please let me know, whether i am following the correct procedure for controlling the visibility.
    Thanks in Advance,
    S.Meganadhan.

    Hi Harshit,
    I added custom fields using AET only.
    I am able to see the field got added in the structure. I am able to access GET and SET methods of the field.
    But the problem is, it is not getting saved. Am i missed any configuration step?
    Please suggest me.
    Thanks in advance,
    Regards,
    S.Meganadhan.

  • Problem with subrpt links in crystal reports 8.5 (cr 9 and 2008 installed)

    I am trying to add a subreport to an existing CR 8.5 report.  I currently have Cr 8.5, cr 9 and cr 2008 on my pc (xp).  The subrpt is pointing to a sql 2005 stored procedure that has a parameter (@vvcrCono).  When I try to set up the link, the parameter  is not listed in the of available parameters to link to.  I select a field from the available fields on the main report, hit the > to move it over as a field to link to, and the dropdown that contains the list of parms to link to on the subreport will change to ?pm-(fieldname).  I do not see the parm list from the subreport.  I am unable to get the link defined.  This occurs even when trying to edit an existing subreport.
    Is there a problem with running these crystal report versions on the same machine?  Or am I just missing something? It has been a while since I've used cr 8.5.

    Joanne, thank you for your posted solution and specifically your mention of miniscule scroll bar of the 'subreport parameter field to use' drop down, I had been on several forums but none of them mentioned this, my subreport now accepts the passed parameter and main report works well. Hope your post helps others as it did me, only wish we could include a graphic to illustrate this as I have seen same question posed several times and several different msg boards.

Maybe you are looking for

  • Problem Using HTTP Dispatcher -- Could Not able to get the data in JSP

    Hi, I am using HTTP Dispatcher to send my events to particular URL which is a JSP page. I am trying to populate the received event through URL and populate to a oracle data base. But could not able to get the data in Oracle database. Code is : <h1>JS

  • Boot from DVD but cannot find hard drive now

    just updated to 10.7.3, then cannot boot from hard drive. I boot from DVD and cannot find hard drive now

  • How to remove namespace from root-element

    Hi Gurus, I want one xml output from xslt transformation with no namespace. I managed to remove namespace from child elements by leveraging elementFormDefault ='unqualified' property of xsd. But not able remove namespace from root-element. Output tha

  • Can't Transfer Video(3gp), Mp3....

    I'm Using Windows Vista the new version of Windows. However the PC Suite Software got problem on trying to transfer the file. It Either the PC Suite Software problem or this windows vista version not support for PC Suite Software. Right now i using l

  • Joining VBAK and VBAP

    Hi Guys, Can you pls check the query and suggest best approch to improve the performance as its going for dump. VBAP as 2,22,34,404 VBAK as 25,54,345 and r_matnr as 96,000 records.   SELECT vbapmatnr SUM( vbapkwmeng )     FROM vbak INNER JOIN vbap ON