ToolTips of fields in UIX JSP

Hi All,
We are using UIX JSP.
We need to put tooltips to the fields getting displayed in our pages. We put the text we want as the tip in the
'ToolTip Text' box in the 'ContrloHint' tab of the
Edit Attribute window.(Using the Structure Panel)
We did it for both the entity object and view object without success. Then we found in the 'Help' that it is
not supported in UIX JSP. I am quoting the following paragraph from the 'Help' in JDev.
"The following table lists the control hints and whether the various Business Components clients pick them up.
Hint BC4J Data Tags BC4J UIX Tags JClient JavaUI
LabelText yes yes yes
Tooltip yes no yes "
If it is not supported with UIX JSP, is there any workaround?
Thanks in Advance
Indica

see the thread
ToolTips of fields in UIX JSP

Similar Messages

  • How to display a message box in a UIX JSP page?

    I've a UIX JSP Application with BC4J developed with JDeveloper RC.
    The problem is that when the user mistakes in the insertion/updating, I'd like to help him displaying a message box or a modal dialog window.
    In particular, I've the following code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=WINDOWS-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%@ page import="oracle.jbo.JboException" %>
    <%@ page import="CdssPackage.*" %>
    <%-- Define Application Module and DataSource--%>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="CdssPackage.CdssPackageModule.CdssPackageModuleLocal" id="app1" username="scott" password="tiger" releasemode="Stateful" />
    <%
    //Check the mandatory fields are not null
    if ((cod_comm.compareTo("")==0) || (nome_ruolo.compareTo("")==0)){
    throw new JboException(Errors.ERR_REQUIRED_FIELD);
    //Now, the errorpage.jsp is displayed, while I'd like to display a message box or a modal dialog window
    %>
    How can I do it?
    Thanks in advance.

    Michele-
    You can use javascript to send a message window in the http protocol.
    Hope this helps,
    Lynn
    Java Tools Team

  • Uix/jsp lovField

    I want a <lovField> on the uix/jsp page.
    The problem is that the wizard brings up just a controller field on the page, but no LOV dialog into the project (though it is promised to be provided at the documentation).
    Now I'm trying to use a 'lovcomp.jsp' provided with the JBO taglib instead.
    Can anybody answer if Oracle has a similar .jsp for the UIX look&feel, or may be I should do something on the BC level for the corresponding dataitem would be rendered with the <bc4juix:InputRender> automatically?
    Thanks in advance.

    I underscore that my case is UIX/JSP, not XML and there's no problem to get a <uix:lovField> on the page. The matter is that the dialog page for choosing an item from the LOV is not provided for the UIX case. But it is provided for the <jbo:InputSelectLOV>.
    My temporary solution is a combination of these 2.
    So i have the code like following:
    <script src="/webapp/jsLibs/LovField.js" language="javascript"></script>
    <uix:lovField
    id="ClAdr1RegionNameLovField" name="ClAdr1RegionName" text='<%=( ((s = (String)ds_CurrentView.getRowSet().getCurrentRow().getAttribute("ClAdr1RegionName"))!=null)?s:"" )%>'
    destination="javascript:launchLov('lovcomp.jsp', 'form1', 'ClAdr1RegionName', 'servo.TechSupportBC.TechSupportBCModule.TechSupportBCModuleLocal', 'RegionsView', 'RegionName', 'RegionName')">
    </uix:lovField>
    It works fine as the 'lovcomp.jsp' is grabbed by me from the <jbo:InputSelectLOV> analogue.
    The one that doesn't suit me is that the 'lovcomp.jsp' has a wrong look&feel for UIX. So I wonder if there is a better one.
    PS: By the way Ed, I suppose that the <jbo:InputSelectLOV> is working good, though I haven't tested.

  • Which Web Client Framework? BC4J-JSP, UIX-JSP, UIX-XML, etc

    Trying to determine which, if any of the JDeveloper frameworks, to use for do web browser (HTML) clients.
    What are the pros/cons of BC4J-JSP, UIX-JSP, UIX-XML, etc?
    What are some common things you might rule out using one or more of the frameworks?
    I plan to be using BC4J, updating, inserting data (currently MS-SQL) and the apps will run on WebLogic 7 or Caucho Resin (webapps no EJB) in a cluster. I would like to be as RAD as possible and still be able to do what I need to do. One main concern is being able to add custom HTML/JavaScript for things like client side validation. I didn't see a way to do this when doing BC4J-JSP. Is that right?
    If I define any validation in the BC4J, will UIX utilized any of this to define a JavaScript validator or must it be redudantly defined?
    One other concern is what the framework requires in terms of architecture, like do I have to have sticky sessions in my web cluster or can it work fine stateless or stateful?
    For UIX-XML, how is this architected for performance? Specifically, is the XML effectively compiled and converted into something more efficient and performant or does it do XML parsing all the time? Is there any significant performance differences between the frameworks?
    Is there any significant difference in dealing with security? Anything in the framework to make it easier to handle certain users being able to see/edit different set of data?
    I have things like some groups can edit only certain entities (product info but not pricing), others only certain types of products (possibly subclass entities) and others situations where what fields than can edit varies. Obviously I can handle this programmatically, but I was wondering what the frameworks had to offer, especially in terms of having different views of the same data.
    Steve

    ...I am little confused then about how BC4J works and what is meant by "session" here.
    When you talk about appmodules in the plural, does this mean that there are potentially multiple instances of the same data on a single server or there is a common datastore with pending data and client specific stuff varying?
    The common datastore is the database. Each client (momentarily, during the span of their request) uses an instance of an application module from the pool. The pool can grow and shrink with load on your system and all of the various tuning parameters. Our doc on the AM Pool covers all the parameter settings and their users.
    What kind of "session" is this?
    It is an abstract notion of a session for a user. The implementation used for Web clients uses the HTTP Session Key as the session key. However, we have other session implementations (and you can provide your own to do custom stuff for more sophisticated needs). We don't store anything else in the HTTP Session to the best of my knowledge. This way in a cluster, the web container doesn't have to waste time propagating all of your serialized HTTP Session state among cluster members. This session key also include an id for the application module and together those provide the key to store your pending state in the database for the "Stateful == Managed State" feature.
    I assume that if I have a cluster which doesn't use session-to-same-server-affinity but uses JDBC for http-session persistance or distributed in-memory http-sessions then I cannot use stateful BC4J even though I can use http-sessions.
    You can use BC4J in this way because the browser will send a cookie that contains the key to your database-stored pending state. In this way, we work great in a server farm for failover and/or scalability reasons.
    Even if I use stateless BC4J, are there issues with round-robin'ng all requests to different servers in a cluster?
    As I said, both our Stateless and Stateful features are designed to be used in Server farms, no problem.
    BTW I wouldn't necessarily say you picked the wrongs terms for the modes, but I know what you mean. There's problems with these terms. I am trying to explain to my mgrs/engineers that there is some state in stateless transactions - that simply making everything "stateless" doesn't mean don't lose anything in a disastrous failure. I am arguing to get support for sessions in our cluster, that the performance gain and simplified development is worth it as long as you put intelligent limits on what you store in the session. Right now, they are insisting on randomly sending requests into two entirely different data centers, with two different clusters.
    Amen. I have seen too many developers make the mistake of trying to be totally stateless, only to completely complicate their development environment with having to peristent partially-completed transaction data to the database. I've seen this done with sets of "Shadow" tables (yuck!) or using hand-written techniques similar to what BC4J provides a robust implementation of in the box.
    We've tuned our "Stateless With Affinity for Server Farms" model over several releases of carefully studying the performance of the Web apps built by our internal Oracle Applications teams using BC4J (over 20 of them now, and growing!) so compared with a hand-written strategy for your web-tier state management, using BC4J's implementation will be much more productive for you.
    We're tuning and tweaking and enhancing it even more for the 9.0.3 release as new needs are highlighted with continued use by our customers (both Oracle internal and external).

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How to add a new field in order.jsp

    Hey,
    I want to add a new field in order.jsp. How to store that data into backend?

    If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
    These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
    If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document.

  • How to "encapsulate" a data from a text field in a JSP form

    Hi. I'm trying to make a user's registration jsp page and I'm not sure how I could get the data from a JSP form from the user and store that into some variable that I could later pass to a query to modify the database. I've been using a JavaBean, but I get null values for all the fields of the jsp page. That's logical, since I cannot find a method that will read the user's input and store that into some variable. In my JavaBean, I have get and set methods that will return a String for each of the form fields such as first name and email. The set method will have in a String as a parameter to set that field value (whichever field it is) to the value of the input parameter, but I don't know if there is a method or a way to read and store the values entered by the user into the jsp form. This is a code snippet of the jsp form:
    <TR><TD>First Name: </TD>
    <TD><INPUT TYPE="TEXT" NAME="fname"
                   VALUE="<%= newUser.getFirstName() %>"></TD></TR>
    Here, the getFirstName() method simply returns the value of a String value related to the user's first name, which is initialized as null in the JavaBean. newUser is the name of the JavaBean that I'm using.
    Any suggestions? Thanks.

    haha...nevermind this question also guys...I found out that I could use the request.getParameter("some_String") method with my JavaBean to read and store data entered by the user in a text field.

  • How to hide fields in UIX form

    Hi
    I need to update the table with last_updated_by and last_updated_date every time if any change to the record. But I do not want to show these 2 fields on the screen.
    Could you help me how to hide fields in UIX form/any procedure to insert the data to database with out placing them in the screen .
    Thanks in advance.
    NRK

    Now that you mention it ... the rendered flag will stop the field from being rendered. So it's not even in the page. Stupid me.
    Have a look at formValue. These are rendered, but invisible fields in a form. That should do it (hopefully).
    In prepareForDML() you could simply call the setter of your date attribute that stores the date of the last update. There you pass the current date, or you could fetch the sysdate from the database and pass that. If you go that way, then the EntityImpl could make these adjustments automatically when inserting or updating and you wouldn't even need these fields/bindings in your UIX page.
    Just check what the operation is, and if it's an update or insert then call the setters of the attributes you want to update. Then call super.prepareForDML(). Something like that.
    It all would happen in the middle-tier, client not involved.
    So formValue should work, and the prepareForDML() stuff should also work. Don't know which way you want to go.
    Sascha

  • How to using the script tag in uix/jsp?

    Do i have to write in uix/jsp:
    <uix:rawText>
    <script type="text/javascript">
    function doCheckForm()
    </script>
    </uix:rawText>
    Or exists another tag that handles the javascripts without the "rawText" script?
    Marc

    If you are declaring a function, you dont need to add it under the rawText tag. It can be added with a simple script tag at the top of the page.

  • No. of hidden fields in a jsp..

    Hi,
    I would like to know if there is any limit to the no. of hidden fields in a jsp page. What effect does the page/browser have if there are many hidden fields(like about say 50) in a single page.
    any ideas.
    thanks
    jag

    The only limitations I know about are in HTTP itself.
    GET request on Internet Explorer supports a maximum of 2,048 characters
    (ex. http://whatever.com/index.jsp?id=23&hidden1=2912912&hidden2=123987123)
    POST request not sure of the limitations but I know its more than 2,048
    hope this helps

  • Accessing input field from the JSP in dynpage

    HI all,
          I am trying to access the input field of the jsp page in my JSPDynpage but it is always return null.My Input is a normal HTML element not a HTMLB element
    JSP File :
         <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
      <hbj:form id="myFormId" >
         <div class="content">
            <table cellpadding="2" cellspacing="2">
                        <tr>
                               <td>
                                  <label for="name"><strong>UserName:</strong></label><span id="info_name">(This field is required)</span><br />                           
                                     <input name="name" id="name" size="10" maxlength="10" type="text" />
                               </td>
                        </tr>
                        <tr>
                             <td>
                                  <label for="email"><strong>EmailID:</strong></label><span id="info_email">(This field is required)</span><br />                           
                                     <input name="email" id="email" size="20" maxlength="20" type="text" /></td>
                        </tr>\
    </Table>
    JSPDynpage:
           InputField myInputField = (InputField) getComponentByName("name");
         if (myInputField != null) {
          name = myInputField.getValueAsDataType().toString();
                   InputField myInputField1 = (InputField) getComponentByName("email");
         if (myInputField1 != null) {
          name = myInputField1.getValueAsDataType().toString();
    In both the cases myInputField and myInputField1 are null . My Question is what should be the parameter that i need to pass for getComponentByName method.
    Regards,
    Raj.

    hi,
    The way you are trying to get the input field value works good with hbj type elements.
    either you change your input field to an hbj one or use java script inside your jsp page to catch the value
    like
    for HTML:
    [HTML Input Field|http://www.w3schools.com/HTMLDOM/met_doc_getelementbyid.asp]
    and for HTMLB
    refer this link:
    [SAP HTMLB GuideLines|http://www.sapdesignguild.org/resources/htmlb_guidance/index.html]
    Regards,
    Srinu

  • Search/Query Form bc4j-uix-jsp

    Hi:
    Are there any samples of Search/Query jsps using
    bc4j -uix jsps?
    There are some on OTN using html.
    I want to set up a search page that users can select one or more(AND) from about 5 attributes
    of a view and then display approx 6-8 different attributes of that same view.
    Any input would be appreciated.
    Thanks.

    Once you create the Query-by-Form datawebbean, you can modify the templates in the templates\webapp directory by changing all usages of the FindForm bean to use your new DWB. You can also create a new webapp template by copying the existing file and creating a new directory. You can add you new template by modifying the templates\apptemplates.xml. The current entries are:
    <?xml version="1.0"?>
    <APPTEMPLATES>
    <TEMPLATE NAME="default" DIRECTORY="templates/webapp/" USETHEMESELECTION="YES">
    </TEMPLATE>
    <TEMPLATE NAME="Oracle" USEFORMSELECTION="NO" DIRECTORY="templates/cabowebapp/" THEMEDIR="/webapp/jsimages" THEMECSS="/webapp/cabo/images/cabo_styles.css" USETHEMESELECTION="NO" TOOLBARCLASS="oracle.jbo.html.databeans.JSNavigatorBar">
    </TEMPLATE>
    </APPTEMPLATES>

  • Change language (uix jsp)

    How can I change language in uix jsp application? I want labels like NEXT, PREVIOUS,... in language otjer than US!

    Hello, I have a similar problem, but in JSF application and the mine is more frustrating. When I put my language (catalan) in the locate configuration int faces-config like this:
    <application>
    <locale-config>
    <default-locale>ca</default-locale>
    </locale-config>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    <message-bundle>missatgesADF</message-bundle>
    </application>
    the application appears in english instead of catalan. In spide of exist a class called BLAFBundle_ca wich contains the needed texts in catalan for show the ADF components, I coulden't do work. When I put "es_ES" instead of "ca" the components are showed in spanish correctly, and if I put "de" is showed in deutch correctly.
    I decided decompile the class MessageBundle_es_ES from adf-faces-api.jar, put it in my source project without change its package. I modified a validation message and it worked. I decide the same for change the ADF components literals ("expand all", "select all", "next"...) and I found it in BLAFBundle_es_ES, I found it in adf-faces-impl.jar and in uix2.jar (this last not used in my project). I do the same steps with the previous file, but doesn't works !!!

  • Master-Detail in UIX-JSP

    Hi:
    How can i do a master-detail in UIX-JSP similar in functionality BC4J-JSP?. I haven't found an HOW-TO or guide.
    Thanks
    Marco

    Yes this is easily done.
    If you have a BC4J project with say Emp and Dept View Objects which are linked via
    a foreign key (there should be a BC4J FKDeptnoLink created), then all you have to do
    is generate a BC4J UIX JSP application.
    In a separate empty project, open the New gallery and select UIX-JSP -> Business Components JSP Application.
    Generate a default JSP application for your BC4J components. You can then run main.jsp
    to see the app.
    To see a master detail view of your app which is based on the Bc4J Link (FKDeptno) just click
    on link "FkDeptnoLink" on the left side..
    -Chris

  • Help converting UIX JSP functionality to UIX

    I have an older UIX JSP page that I am trying to convert to UIX. That page contained a table with a singleSelection node and a Print button. When the Print button is pressed, a value is taken from the selected row in the table and sent as a parameter to Oracle Reports. The code that did this in UIX JSP is:
    <jbo:OnEvent name="Print">
    <% if(sSelected != null)
    errmsg = null;
    errtype = null;
    %>
    <jbo:Row id="MPORow1"
    datasource="MPOOrders"
    action="Find"
    rowkey="<%= sKey %>" />
    <%
    Row MPOCurRow1 = MPOOrders.getRowSet().getCurrentRow();
    if (MPOCurRow1 != null)
    String ordnum = (String) MPOCurRow1.getAttribute("Ordnum").toString();
    String mailer = (String)((Integer) session.getAttribute("loginCustomer")).toString();
    String printURL = "https://<myserver>/reports/rwservlet?destype=cache+desformat=PDF+userid=webuser/webpwd@pas+report=mlrjobstatus.rdf+p_mailer=" + mailer + "+p_jobnum=" + ordnum;
    response.sendRedirect(response.encodeRedirectURL(printURL));
    else
    errtype = "error";
    errmsg = "You must select a row prior to clicking on the 'Print Lists' button";
    %>
    </jbo:OnEvent>
    How can I do this same thing in UIX/Struts? Can it be done as a UIX handler or do I need a custom DataAction?

    Hi Eric,
    Please take a look at the UIX Table chapter. It talks about single-selection in UIX and how you can add buttons which when clicked will submit events to the server. It also talks about how you can handle those events.
    Here is a code snippet from the documentation regarding the event handler:
    public static EventResult doSelectionEvent(BajaContext bc, Page page,
                                               PageEvent event)
      DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
      int index = SelectionUtils.getSelectedIndex(tableRows);
      String name = "Nothing Selected";
      // make sure that something was selected:
      if (index>=0)
        DataObject row = _TABLE_DATA.getItem(index);
        name = row.selectValue(null, "name").toString();
      EventResult result = new EventResult(page);
      result.setProperty("action", event.getName());
      result.setProperty("name", name);
      return result;
    }Thanks,
    Jeanne

Maybe you are looking for

  • How do I re-number and re-order tracks in album view in iTunes 11 for Mac?

    When I manually transfered my iTunes library from an old PowerBook G4 to a used (but new to me) MacBook Pro, one of my albums has the same track numbers for multiple songs and so the songs are in the incorrect order. I know I can create a playlist of

  • ITunes opens and within seconds states it has to close. I've uninstalled

    iTunes will open, but within seconds states it 'Has to close'. Occasionally, I'll see a notice for an update and quickly click to 'Download update?', but when I click on 'Download', a new page opens with 'Thanx for updating', except it hasn't downloa

  • Everytime I add a keyboard shortcut, the settings app crashes.

    So I go to the keyboard shortcuts section on the settings app. Then I hit the "add shorcut" button and I enter the shortcut, etc. When I finish entering everything in, I touch "save", and as soon as I do that, the app crashes to the home screen. It d

  • Audio output from ATV carries noise/humm when also sending video

    I have my Apple TV connected to my LCD TV via HDMI, and I am also sending audio out via the RCA jacks to my distributed audio system (Netstreams Quartet). The audio signal going to the Netstreams system has a noticable humm to it. The humm goes away

  • As /400 ?

    Hi  Experts in sap 7.1 AS/400 adapter is bydefalut adaper or we need to purcase from sap . or we need to upgrate the system ?