How to drag component from data control palette and drop in a line of text?

Hi,
I am using JDeveloper 10.1.3.4 and get frustrated with my attempt to drag a component from the data control palette and drop it in a line of text in a .jspx page. What I need to accomplish is to display a line of text to the use on a page:
Get clearance for the Spring 2009 semester.This is a line of static text except "Spring 2009" is the {color:green}Term{color} attribute of a view object dragged from the data control palette. I found that if I try to type some text on a page, as soon as I create a new line, a <f:verbatim> is created. So when I tryped the first part of the text, the code is:
<f:verbatim>
<p>
   Get clearance for the
</p>
</f:verbatim>Then drag-and-drop the bound data from the data control palette:
<f:verbatim>
<p>
   Get clearance for the
   <af:outputText value="#{bindings.Term.inputValue}"
             binding="#{backing_student_printOrQuit.outputText6}"
             id="outputText6"/>
</p>
</f:verbatim>And then add the last word:
<f:verbatim>
<p>
   Get clearance for the
   <af:outputText value="#{bindings.Term.inputValue}"
             binding="#{backing_student_printOrQuit.outputText6}"
             id="outputText6"/> term.
</p>
</f:verbatim>This looks OK in the Source tab. But in the Design tab the bound data jumps above the text line. Both the bound data and the <f:verbatim> appear to be block elements in the page. And so is it when the line is displayed in the browser:
Spring 2009
Get clearance for the term.How to overcome this problem?
Thanks for sharing your experience.
Newman

Shay,
Waht a surprise! Just now I had already finished typing the posting to tell that it did not work. I tried changing the original code to
<f:verbatim>
<p>
   Get clearance for the #{bindings.Term.inputValue} term.
</p>
</f:verbatim>and got the display:
Get clearance for the #{bindings.Term.inputValue} term.I tried various ways, putting single quotes around the whole expression in single quotes, around part of it, using square brackets, ... I was going to click the "Post Message" button, but gave it one last try:
<f:verbatim>
<p>
   Get clearance for the ${bindings.Term.inputValue} term.
</p>
</f:verbatim>and I got it! --
Get clearance for the Spring 2009 term.It was my gut feeling that I was quite close because the dot-separated hierarchy {color:green}bindings.Term.inputValue{color} looks right, only some tiny bit in syntax narrowly missing it. I was lucky.
Thank you for the suggestion!
Newman

Similar Messages

  • Anything dragged from data control palette squeezes text out of jsp page

    Hi,
    I am using JDeveloper 10.1.3.4. When I drag-and-drop anything from the data control palette onto a jsp page, then any template text on the page will be gone in the Design tab of the page, only the component from the data control palette is visible. The template data is still there though, as can be seen in the Source tab. This makes the Design tab unusable if I want to edit the text on the page. If want to drag-and-drop another component from the palette, I am not able to drop it in desired place since the page text is not visible.
    If these are relevant: the page is a jsp page and the tab libraries used in the page before the drag-and-drop are:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>Besides the text on the page, I also had a JSF HTML command button added to the page:
    <h:commandButton value="Quit"/>After the drag-and-drop the ADF tag libraries were added by JDeveloper, and the directives became:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>Is there any incompatibility between the elements from the different tag librarries? How to fix this problem? Or anybody had the same problem before and solved it?
    Thanks!
    Newman

    Shay,
    Thank you for the advice. I was using jsp pages. But I also tried jspx and had the same problem. I wonder if it is a problem with the tag library or with the JDeveloper software. When I create a new jsp page, at the step where the available tag libraries can be shuttled from left to the right, sometimes on the right side there is only JSF HTML but hot JSF Core, but JSF core is not on the left side either. Yet if you click finish and check the source tab you would see both directives for the two libraries are in the page.
    When building the pages, all the tags are created by JDeveloper. I do not have the freedom to edit the code because I do not know the tags. If I knew how to directly edit the tags, I can forget about the Design tab. But at least for now I am dependent on the Design tab.
    There are many questions on my mind such as the difference between <form> and <h:form>? Is it OK to mix all these tags from the different tag libraries in one page? What is the difference between the JSF HTML CommandButton and the ADF FACES Core CommandButton, and which one should I used in what context? And many many other questions. Are there any Oracle documents that cover these topics and systematically explain and teach the use of these tags? I just found documents for 11g, one of which, by its title at least, looks like a book for such purpose. But it is for 11g.
    Many thanks for your guidance!
    Newman

  • UPDATE button in the Data Control Palette and CREATE,SUBMIT,COMMIT

    JDeveloper 10.1.3
    I created a simple JSP page. It is based on a ViewObject that ties directly to a Person Table.
    two questions:
    1) I noticed in the "Data Control Palette" doesn't have the UPDATE operation... How do I do an UPDATE?
    2) to Create a Person through my new form I had to do the following steps in the Web Page: HIT CREATE BUTTON, ENTER DATA, HIT SUBMIT BUTTON, HIT COMMIT BUTTON.
    Seems like a lot of steps to simply create a record - is there a simpler way (using the JSP page, not JHS or JSF..etc).
    Thanks!

    1) my edit form is pre loaded with a record, since it is based on a parameterized view and I had to modify the pagedefs for that edit page to have the proper binding and action. It is setup to receive the PID in the request and set the value to the bind variable. This works fine to pull up the record. I then have the buttons that I dragged and dropped onto the screen: Submit (came with the drag-drop of the parameterized view), Create, Execute, Commit, Rollback. When I preload the right person into the form (by calling edit_person.jsp?pid=1), and then change the name (for example), I would have suspected that if I hit Submit that the Commit button would be enabled.. but it isn't. if I remove the part that disables the Commit button, then the Commit button doesn't work...
    2) I am in 10.1.3, and if I drag the commit over to the "Submit" button it doesn't take...it wants to add the new button to the right or left of the "Submit" button....

  • Nested AMs in Data Control Palette

    Hi,
    I have configured a root application module "RootAM" and a nested application module "NestedAM" in my data model. The Data Control Palette shows two top nodes for both AMs. The RootAM contains a childnode "NestedAM".
    + RootAM
    ---+ NestedAM
    ------+ NestedVO
    + NestedAM
    ---+ NestedVO
    When using the childnode "NestedAM" and its VOs in my bindings everthing works fine. But when using the top level node "NestedAM" and its VOs I get some strange behaviour accessing data. The VOs act as they belong to a different transaction/application.
    My Questions are:
    1.) Why does the Data Control Palette provide nested AMs as top level AMs? Using those AMs leads to some unexpected results.
    2.)
    The NestedAM depends on the RootAM. Why can it act as independent AM when using the top level node "NestedAM"?
    3.)
    How many instances of the NestedAM exist when I use both 'versions' (top level node and childnode) in my bindings?
    Thanks for your comments,
    Markus

    Markus,
    Good questions.
    Any ADF Application Module can be both a top-level service, as well as nested as a reusable component inside another application module.
    For the sake of argumet, let's call our two application modules AM1 and AM2.
    If you nest/reuse an instance of AM2 inside of AM1, it does not prevent AM2 from also being used on its own as a top-level ("root") application module. From the ADF data binding point of view, a top-level application module corresponds to a data control and its own application module pool. In contrast, nested application modules are simply a part of the implementation of the AM that includes them and don't have there own data control or their own application module pool.
    In my example above, if you use both AM1 and AM2 as data controls via drag and drop data binding, then the runtime behavior depends on which AM2 in the Data Control palette you drop. The Data Control palette will present both AM1 and AM2 as top-level data controls, but it will also present AM2 as a nested child node of the AM1 application module in which is it embedded. If you drop something from the top-level AM2 in the data control palette, it will create a data control for it and it will have its own AM2 application module pool. If instead you drop something from the AM2 node that is nested inside of the AM1 (top-level) node in the palette, it will not create a separate data control for AM2.
    So, to your questions...
    Why does the Data Control Palette provide nested AMs as top level AMs?
    All AM's show up as top-level data controls in the data control palette at present. Nested AM's show up indented inside their containing AM in the palette. Since the same AM can be used both ways, they both show up.
    I agree it could lead to user confusion, perhaps rather than automatically publishing all application modules as data controls, a separate "Create Data Control" step should be required so the developer would only publish the ones (s)he wants to be top-level data controls?
    The NestedAM depends on the RootAM. Why can it act as independent AM when using the top level node "NestedAM"?
    In general a nested AM does not depend on the AM that embeds a nested instance of it. Rather, the reverse is true. A containing, nesting AM depends on the AM instance it contains but not vice versa.
    How many instances of the NestedAM exist when I use both 'versions' (top level node and childnode) in my bindings?
    If you use both, then you'll have one instance that is a top-level AM and pooled as explained above, and another instance that is just an embedded part of the containing AM whenever it is used.

  • Data Control Palette in Jdev 10.1.3

    I have a struts project, and an ADF model project in my workspace. I created a new Data Page. My Data Control Palette shows the ADF components available from my Model Project. But, I cannot drag anything onto the page like it seems to be possible from the documentation:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html
    I know the screenshots are for 10.1.2 but I expect it to be similar. I don't see the "Drag and Drop As" dropdown. Nor do I see a UI model tab in the structure pane. Am I missing something?

    No luck with new projects. I created a new workspace - selected JSP, Struts, ADF. Created one App Mod in the Model. Created One ViewObject based on a simple select query. Added the ViewObject to the AppMod. Opened the struts-config.xml under the ViewController project. Dragged a DataPage from the component palette. Double clicked the new page. Completed the wizard with default selections. Opened the new JSP in design view. My Data Control Palette shows the app mod with the view under it. I try to drag the View onto the page, and the circle-slash icon appears and does not allow it to be dropped on the page. I can't drag out the attributes, operations, or anything at all from the Data Control Palette. I don't see any text printed on the Java console run from jdev.exe.

  • No Master Detail option in Data Control Palette

    No Master Detail option in "Drop as:" dropdown list in data control palette.
    First I create two entity objects with a referential key relation in a business
    components diagram from an existing db schema.
    Than I create two view objects and a view link from the entity objects.
    Following I create an application module with the view objects and the view link.
    The diagram seems correct, it shows the view objects and the view link inside
    of the app module.
    When I create a data page (jsp) in the struts-config.xml I'm not able to
    select the option Master Detail (Many to many) in the dropdown list from
    data control palette due to it isn't there.
    What is my mistake ?
    Many thanks.

    There is no mistake in your side. Thing is actually you cannot use the many to many option for a view object in jsp. This option is available if you are using UIX page. In case of jsp, you could manually create the master table using master view object and create the child table using the detail view object(present as child in view link). In the master table, you can add another column with ADF operation: setCurrentRowWithKey(String). That's it. Now selecting the select link in master table will refresh the child table rowset.

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • MaximumLength on LOV coponents when dragged from Data Control

    Hello,
    I have the following problem:
    I drag an attribute from Data Controls and put it in the jspx. af:inputText component is created, with property maximumLength set to maximumLength="#{bindings.AttrName.hints.precision}" e.g.:
        <af:inputText value="#{bindings.AttrName.inputValue}"
                      label="#{bindings.AttrName.hints.label}"
                      required="#{bindings.AttrName.hints.mandatory}"
                      columns="#{bindings.AttrName.hints.displayWidth}"
                      maximumLength="#{bindings.AttrName.hints.precision}"
                      shortDesc="#{bindings.Ime.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.Ime.validator}"/>
    </af:inputText>But when i drag another attribute which is configured to be a LOV it is created without the maximumLength property being set:
      <af:inputListOfValues id="id2"
            popupTitle=" #{bindings.AtrtName2.hints.label}"
            value="#{bindings.AtrtName2.inputValue}"
            label="#{bindings.AtrtName2.hints.label}"
            model="#{bindings.AtrtName2.listOfValuesModel}"
            required="#{bindings.AtrtName2.hints.mandatory}"
            columns="#{bindings.AtrtName2.hints.displayWidth}"
            shortDesc="#{bindings.AtrtName2.hints.tooltip}">
         <f:validator binding="#{bindings.AtrtName2.validator}"/>
      </af:inputListOfValues>We have to add the property for every single lov, because the client wants the input to be limited.
    Is there a way to modify this default behaviour?
    Edited by: Valhery on 2010-3-10 1:26

    Shay,
    Thank you for the advice. I was using jsp pages. But I also tried jspx and had the same problem. I wonder if it is a problem with the tag library or with the JDeveloper software. When I create a new jsp page, at the step where the available tag libraries can be shuttled from left to the right, sometimes on the right side there is only JSF HTML but hot JSF Core, but JSF core is not on the left side either. Yet if you click finish and check the source tab you would see both directives for the two libraries are in the page.
    When building the pages, all the tags are created by JDeveloper. I do not have the freedom to edit the code because I do not know the tags. If I knew how to directly edit the tags, I can forget about the Design tab. But at least for now I am dependent on the Design tab.
    There are many questions on my mind such as the difference between <form> and <h:form>? Is it OK to mix all these tags from the different tag libraries in one page? What is the difference between the JSF HTML CommandButton and the ADF FACES Core CommandButton, and which one should I used in what context? And many many other questions. Are there any Oracle documents that cover these topics and systematically explain and teach the use of these tags? I just found documents for 11g, one of which, by its title at least, looks like a book for such purpose. But it is for 11g.
    Many thanks for your guidance!
    Newman

  • Unexpected  behavior with data control palette after migration to 10.1.3

    I recently migrated my adf/struts app to 10.1.3 from 10.1.2.
    The app compiles and runs fine in jdev, and the migration had no errors.
    When I try to drag and drop attributes from the data control palette onto an existing (or new) page I get the “you can’t drop that here icon” circle with a line through it.
    This happens on all my pages and for every attribute in the data control including actions.
    Is this the intended behavior? In 10.1.2 there was a section that asked if it should be dropped as a label or text field etc, I don’t see that option anymore.
    I can still use the component palette &#61664; JSTL 1.0 core “out” and drag that onto the page and then bind the value to binding.attname. this works fine.
    In 10.1.3 faces I see that when I drag and drop I get a popup menu which shows the available type of component to drop the item as.
    Is this the correct behavior or am I missing something?
    I'm using jdev version 10.1.3.0.4 (SU2)
    Thanks

    So as far as I can tell the issue bioled down to having something wrong with my libraries definition. When would go to the project properties the libraries tab would not show correctly, I was able to remove some libraries and then add them back in. This made the libraries tab in the project properties work, and as a side effect fixed the data control drag and drop.
    thx

  • How to get value in data control at run time based on bind variable in VO

    Hi,
    we are capturing the value of customer id at run time. we are associating the captured value of customer id to bind variable of the view object.
    View object is returning the data of that customer id, this view object is part of the application module ,this application module is exposed as data control,so than we have drag and drop this view object response on the
    page from data control.
    How ever after assigning the customer id to bind variable but still it is not showing on jsf page,even we refreshed the data control manually with the help of java code so kindly provide some solution for it.

    Hi,
    If i got your post correctly,you can filter your VO using defining view criteria see following samples
    Oracle ADF - Create View Criteria and Execute using Bean.
    http://adf-lk.blogspot.com/2011/05/oracle-adf-create-view-criteria-and_4727.html

  • Methods At Data Control Palette

    How can i see methods from Menage beans in the Data Control Palette ?

    I recommend checking out the resources for developer's new to ADF on the ADF Learning Center. There are tutorials, demos, and developer's guides both for advanced J2EE developers as well as Forms/4GL developers who prefer a maximally declarative environment that is the same one Oracle Applications uses internally at Oracle.
    ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html

  • How to iterate the webservice Data control result set?

    Hi all,
    How to iterate the webservice Data control result set? I have an jsff page where I am displaying the single UserDetails by webservice DataContol. As per my design requirement I should iterate the DataControl resultSet to get the user details and push the same in to Managed bean. Please help me how to do this, any sample code please to iterate the resultset and get the data from it.
       <?xml version='1.0' encoding='UTF-8'?>
       <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
       <c:set var="uiBundle" value="#{adfBundle['edu.syr.oim.uiBundle']}"/>
       <af:pageTemplate viewId="/templates/jsffTemplate.jspx">
        <f:facet name="fTop"/>
        <f:facet name="fCenter">
          <af:panelGroupLayout layout="scroll" inlineStyle="width:100.0%;">
       <af:panelTabbed id="pt1">
        <af:showDetailItem text="#{uiBundle.PRIVACYFLAGS}" id="sdi4">
                <af:panelGroupLayout id="pgl4" layout="scroll">
                  <af:spacer width="10" height="10" id="s3"/>
                  <af:panelFormLayout id="pfl6">
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTEMAIL}"
                                             id="plam35">
                      <af:outputText value="#{bindings.stuEmail.inputValue}"
                                     id="ot42"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEADDRESS}"
                                             id="plam39">
                      <af:outputText value="#{bindings.stuPermAddr.inputValue}"
                                     id="ot35"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEPHONE}"
                                             id="plam40">
                      <af:outputText value="#{bindings.stuPermPhn.inputValue}"
                                     id="ot37"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam42">
                      <af:outputText value="#{bindings.stuCurrAddr.inputValue}"
                                     id="ot40"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam36">
                      <af:outputText value="#{bindings.stuCurrPhn.inputValue}"
                                     id="ot38"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTACAINFO}"
                                             id="plam41">
                      <af:outputText value="#{bindings.stuAcad.inputValue}"
                                     id="ot36"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEADDRESS}"
                                             id="plam38">
                      <af:outputText value="#{bindings.empPermAddr.inputValue}"
                                     id="ot39"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEPHONE}"
                                             id="plam37">
                      <af:outputText value="#{bindings.empPermPhn.inputValue}"
                                     id="ot41"/>
                    </af:panelLabelAndMessage>
                  </af:panelFormLayout>
                </af:panelGroupLayout>
              </af:showDetailItem>
       </af:panelTabbed> Above is my jsff code. Here how/where to add the phase listener to paopulate the managed bean while page render. Do I need to iterate the DC to get and push the each parameter in to ManagedBean or is there any easy way to do this by EL mapping directly at jsff. Please clarify.
    Thanks
    kln

    That is what exactly I am trying right now. I am binding each of my page fragment outputText item in to backing bean and by that way trying to populate the values.
    But the issue here is, the backing bean method doesn't getting any value until I hit any of the link or the button in the fragment. While loading the page the bean set and get is null. If i hit any link or button it is filled up with the vaule. As per my design, I would like to populate the bean method along with page load before any user action. But cant able to do this!! :(
    Below is my sample code what I am trying right now
            <af:panelLabelAndMessage label="#{uiBundle.NETID}" id="plam13">
                      <af:outputText value="#{bindings.netid.inputValue}" id="ot4" binding="#{UserDataBean.netId}"/>
           </af:panelLabelAndMessage>
    backing bean ex:
    private RichOutputText netId;
    static String netidVal;
        public void setNetId(RichOutputText netId) {
           netidVal= netId.getValue() == null? "":netId.getValue().toString();
           this.netId = netId;
        public RichOutputText getNetId() {
           return netId;
        public String getNetIdVal() {
           return netidVal;
        }Thanks
    kln

  • 10.1.3.1.0 : Nested View Object sould not appear in Data Control Palette

    Hello,
    I have a strange behavior in JDeveloper 10.1.3.1.0.
    I have two View Objects, a parent and a child, that are linked by a View Link.
    Although my Application Module instanciates only the parent View Object, I can still see the child View Object in the Data Control Palette.
    I've checked in JDev 10.1.3 SU5 and this behavior doesn't occur.
    Is this a bug ?
    Thanks,
    Seb.

    Hi,
    I tried to reproduce but cannot. I created a m/d ViewObject that are linked by a ViewLink. I removed the detail from the master tree in the AppModule configuration so that only the master instance is left. Opening the DataControl palette, I only see the master view.
    Is the project one that you upgraded from 10.1.3.0? If yes, please try and reproduce in a new workspace
    Frank

  • ADF - New columns in DB table need to be reflected in Data Control Palette

    I am new to ADF. I am editing a JSF that does add and edit to data in database table. I added new columns to the table and need to modify the JSF accordingly.
    I have not been able to find info on how to take a new "snapshot" of the database table that will reflect my new columns in the DataBindings.cpx.
    Can someone steer me in the right direction?
    Thanks,
    Chris

    Chris,
    if your business service is ADF BC, then synchronize the EO with the database for it to pick up the changes. Once this is done, go to the VO and add the two new attributes. Right after that the data control palette will show the new entries.
    If you use EJB as a business service layer, change the entity classto expose the two attributes, re-generate the session facade ad then re-generate the data control.
    Frank

  • Duplicate top level entries in Data Control Palette

    Hi
    I'm not sure when this happened, but I have just discovered that my local facade is now appearing twice in the Data Control Palette.
    Anyone know why this should be?
    I have made a stab in the dark and checked the DataControls.dcx and similar files in the model project, there only appear to be one reference there.
    Tom

    When you create DataControl from SessionBean parser
    goes through that Bean and adds in interface all the
    methods that have different signatures. Only if you
    use refactoring from the pallete when renaming the
    method signature from session bean method in the
    interface will be refactored too. That's all. I don't
    think it is a bug, but I agree that it could be
    solved in better way.
    Regards.Are you saying that if you don't use refactoring to alter a methods name or arguments then when the Create Data Controls is run it simply looks for new method signatures, ie the name and argument as one, and adds those?
    If this is the case, then surely it should remove ones that no longer exist, ie the old one, thus there would still only be one definition. At the end of the day, manually altering a methods name or argument list is surely no different to using refactoring.
    As has been pointed out if you chose to alter the name/arguments manually unless the interface and class method names/arguments match compilation would fail anyway.
    Tom

Maybe you are looking for

  • Strange problem in report Execution in test system

    Hi, As something strange going on my program in test system. 1) Executing the program in Development system using SE38->program name->F8. the program executes and display selection screen fraction of seconds. issue: When i am doing same process in TE

  • Albums in the "Pictures" app

    how do I create albums in the "Pictures" app to organize my photos

  • Assign Form and Output Program for Purchase Order

    Hi, in SPRO, Assign Form and Output Program for Purchase Order I see the following data: -  IMG Activity  Assign Form and Output Program for Purchase Order     -  View Maintenance: Data                                                                 

  • Error in Template Creation

    Hi all, Facing problem in getting o/p format in PDF XML Data seems like below <POH_VENDOR_NAME>BASSON MANUFACTURING FRI</POH_VENDOR_NAME> I created rtf template and i mapped above xml data for displaying the vendor name. I am will displayin in PDF, i

  • Menu Bar does not show icons

    My MacBook was acting up so I took out the battery because it wouldn't let me shut down or restart. When I put the battery back in and turned it back on all of the icons on the right side of my menu bar were missing. There is no bluetooth, battery li