Accessing HTMLB Visible controls in Jspdynpage

Hi
I am new to portals, presently i am doing portal application with jspdynpage.Can anyone provide me sample application
using HTMLB Visible controls(checkbox,radiobutton etc) and to access that controls in jspdynpage.

Hi lalithavani,
You can find the tutorials for PDK on help.sap.com On the left side navigation, under SAP Netweaver -> SAP netweaver 2004 -> english -> People Integration-> Portal-> Portal Developer Guide. In that you have sections Go and Create and Core Development Tasks* In that you have all the information given about PDK.
you can access the same using the following link
http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
For information about the UI elements and the usage you can access the following link
http://help.sap.com/saphelp_nw04/helpdata/en/fd/01f34026d70b06e10000000a155106/frameset.htm
For JSP Dyn pages:https://www.avispublics.com/irj/portalapps/com.sap.portal.pdk.htmlb.htmlbmanuals/docs/dynpage-01.html
In that you have sections which explains about the layouts, layout controls, visible controls(the UI elements which will be visible) and nonvisible controls(like bookmarks and timers). this sections provides both with the tablib usage and class lib usage and the code snippets are also given.
If you have java developer role in your portal then under PDK starter & Viewer you can find all the examples given for the UI elements.
there you can find codes also.
provide your mailid so that i can send you some sample applications
Hope this helps.
regards,
mrudula
reward points if helpful
Edited by: Mrudula Jarugula on Feb 21, 2008 3:36 PM
Edited by: Mrudula Jarugula on Feb 21, 2008 3:37 PM

Similar Messages

  • Tableview tag in htmlb visible controls

    hi gurus,
    i am trying to create a table view using the "tableView" tag presents in the htmlb visible controls.
    i am using the"help.sap.com" as reference website.i understood the details given there partially.so i couldnt complete my task.
    if anybody completed these type of task please send me ur sample code for reference with the codes for  jsp file,model (bean) and controller (.java file).....
    regards,
    tamil

    Hi,
    In JavaDeveloper role you have working examples of TableView.
    I am pasting the code, incase you dont have JavaDeveloper on your server.
    TableViewExample.java
    import bean.TableViewBean;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.event.TableNavigationEvent;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.table.TableView;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentContext;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    public class TableViewExample extends PageProcessorComponent {
      public DynPage getPage() {
        return new MyDynPage();
      // JSPDynPage
      public class MyDynPage extends JSPDynPage {
        public TableView table;
        TableViewBean myBean;
        Used for user initialization. called when the application is started
        public void doInitialization() {
          // Get the request, context and profile from portal platform
          IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
          IPortalComponentContext myContext = request.getComponentContext();
          IPortalComponentProfile myProfile = myContext.getProfile();
          // Initialization of bean
          TableViewBean myBean = new TableViewBean();
          setBeanFromProfile(myProfile, myBean);
          // Put the bean into the application context
          myContext.putValue("myBeanName", myBean);
      Used for handling the input. Generally called each time
        after doInitialization
        public void doProcessAfterInput() throws PageException {
          // Get the request, context and profile from portal platform
          IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
          IPortalComponentContext myContext = request.getComponentContext();
          IPortalComponentProfile myProfile = myContext.getProfile();
          // Get the bean from application context
          table = (TableView) this.getComponentByName("myTableView");
          myBean = (TableViewBean) myContext.getValue("myBeanName");
          setBeanFromProfile(myProfile, myBean);
          myBean.setOldTableView(table);
      Used for handling the output. This method is always called.
        public void doProcessBeforeOutput() throws PageException {
          // set the name of your JSP page
          setJspName("tableview.jsp");
        public void onMyOnNavigate(Event event) throws PageException {
          // NAVIGATION - get the event to recover the actual position
          TableNavigationEvent tne = (TableNavigationEvent) event;
          // With the event we can use method getFirstVisibleRowAfter(); which gives
          // us the actual position (after the event)
          if (myBean != null) { // just for the first time, when there is no bean
            // set the new visibleRow
            myBean.setVisibleFirstRow(new Integer(tne.getFirstVisibleRowAfter()).toString());
        public void onMyOnHeaderClick(Event event) throws PageException {
        public void onMyOnCellClick(Event event) throws PageException {
        public void onMyOnRowSelection(Event event) throws PageException {
        private void setBeanFromProfile(IPortalComponentProfile myProfile, TableViewBean myBean) {
          myBean.setDesign(myProfile.getProperty("design"));
          myBean.setHeaderVisible(myProfile.getProperty("headerVisible"));
          myBean.setFooterVisible(myProfile.getProperty("footerVisible"));
          myBean.setFillUpEmptyRows(myProfile.getProperty("fillUpEmptyRows"));
          myBean.setNavigationMode(myProfile.getProperty("navigationMode"));
          myBean.setSelectionMode(myProfile.getProperty("selectionMode"));
          myBean.setHeaderText(myProfile.getProperty("headerText"));
          myBean.setVisibleFirstRow(myProfile.getProperty("visibleFirstRow"));
          myBean.setVisibleRowCount(myProfile.getProperty("visibleRowCount"));
          myBean.setRowCount(myProfile.getProperty("rowCount"));
          myBean.setTableWidth(myProfile.getProperty("width"));
    D:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.pdk.htmlbcontrols\pagelet\tableview.jsp
    <%--- TableView.jsp --%>
    <%@ taglib uri= "tagLib" prefix="hbj" %>
    <%--- Get the Bean named myBeanName from the application context --%>
    <jsp:useBean id="myBeanName" scope="application" class="bean.TableViewBean" />
    <hbj:content id="myContext" >
      <hbj:page title="Template for a portal component">
       <hbj:form id="myFormId">
        <hbj:tableView
                   id="myTableView"
                   model="myBeanName.model"
                   design="<%=myBeanName.getDesign() %>"
                   headerVisible="<%=myBeanName.isHeaderVisible() %>"
                   footerVisible="<%=myBeanName.isFooterVisible() %>"
                   fillUpEmptyRows="<%=myBeanName.isFillUpEmptyRows() %>"
                   navigationMode="<%=myBeanName.getNavigationMode() %>"
                   selectionMode="<%=myBeanName.getSelectionMode() %>"
                   headerText="<%=myBeanName.getHeaderText() %>"
                   visibleFirstRow="<%=myBeanName.getVisibleFirstRow() %>"
                   visibleRowCount="<%=myBeanName.getVisibleRowCount() %>"
                   rowCount="<%=myBeanName.getRowCount() %>"
                   width="<%=myBeanName.getTableWidth() %>"
                   onNavigate="myOnNavigate">
                   <% myTableView.setOnHeaderClick("myOnHeaderClick");
                      myTableView.setOnCellClick(1,"myOnCellClick");
                      myTableView.useRowSelection(myBeanName.getOldTableView());
                      myTableView.setOnRowSelection("myOnRowSelection"); %>
        </hbj:tableView>
        </hbj:form>
      </hbj:page>
    </hbj:content>
    TableViewBean.java
    package bean;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableColumn;
    import com.sapportals.htmlb.table.TableView;
    // Bean for dataexchange between DynPage and JSP
    public class TableViewBean {
      public String design;
      public String headerVisible;
      public String footerVisible;
      public String fillUpEmptyRows;
      public String navigationMode;
      public String selectionMode;
      public String headerText;
      public String visibleFirstRow;
      public String visibleRowCount;
      public String rowCount;
      public String tableWidth;
      public DefaultTableViewModel model;
      private TableView oldtableview;
      public TableView getOldTableView() {
        return this.oldtableview;
      public void setOldTableView(TableView table) {
        this.oldtableview = table;
      public DefaultTableViewModel getModel() {
        return model;
      public void setModel(DefaultTableViewModel model) {
        this.model = model;
      public String getDesign() {
        return design;
      public void setDesign(String design) {
        this.design = design;
      public String isHeaderVisible() {
        return headerVisible;
      public void setHeaderVisible(String headerVisible) {
        this.headerVisible = headerVisible;
      public String isFooterVisible() {
        return footerVisible;
      public void setFooterVisible(String footerVisible) {
        this.footerVisible = footerVisible;
      public String isFillUpEmptyRows() {
        return fillUpEmptyRows;
      public void setFillUpEmptyRows(String fillUpEmptyRows) {
        this.fillUpEmptyRows = fillUpEmptyRows;
      public String getNavigationMode() {
        return navigationMode;
      public void setNavigationMode(String navigationMode) {
        this.navigationMode = navigationMode;
      public String getSelectionMode() {
        return selectionMode;
      public void setSelectionMode(String selectionMode) {
        this.selectionMode = selectionMode;
      public String getHeaderText() {
        return headerText;
      public void setHeaderText(String headerText) {
        this.headerText = headerText;
      public String getVisibleFirstRow() {
        return visibleFirstRow;
      public void setVisibleFirstRow(String visibleFirstRow) {
        this.visibleFirstRow = visibleFirstRow;
      public String getVisibleRowCount() {
        return visibleRowCount;
      public void setVisibleRowCount(String visibleRowCount) {
        this.visibleRowCount = visibleRowCount;
      public String getRowCount() {
        return rowCount;
      public void setRowCount(String rowCount) {
        this.rowCount = rowCount;
      public String getTableWidth() {
        return tableWidth;
      public void setTableWidth(String tableWidth) {
        this.tableWidth = tableWidth;
      public TableViewBean() {
        String[][] data = createData();
    // get a new array for the titles
        String[] colNames = {"LASTNAME", "FIRSTNAME", "STREET", "ZIP", "CITY"};
    // set titles
    /// By default the title also defines the column name - we use both methods to create a
    /// proper title and a column name that is better to work with. You should omit
    /// blanks or other special characters in the column name.
    /// The column name is important later (Part 2) to retrieve data from the tableView
        model = new DefaultTableViewModel(data, colNames);
        model.setKeyColumn(1);
        // To set the cell event we have to get the column and set the setOnCellClick
        // for every column.
        // Get the column with the specified column name.
        TableColumn column = model.getColumn("LASTNAME");
        // Set the event.
        column.setOnCellClick("onMyOnCellClick"); // set the TableCellClickEvent
        column.setTitle("Last Name");
        // Repeat that with the other column. Every cell can have its own onCellClick
        // method names of course. We use the same event method for all cells.
        column = model.getColumn("FIRSTNAME");
        column.setOnCellClick("onMyOnCellClick"); // set the TableCellClickEvent
        column.setTitle("First Name");
        column = model.getColumn("STREET");
        column.setOnCellClick("onMyOnCellClick"); // set the TableCellClickEvent
        column.setTitle("Street");
        column = model.getColumn("ZIP");
        column.setOnCellClick("onMyOnCellClick"); // set the TableCellClickEvent
        column.setTitle("ZIP - Code");
        column = model.getColumn("CITY");
        column.setOnCellClick("onMyOnCellClick"); // set the TableCellClickEvent
        column.setTitle("City");
      private String[][] createData() {
        // just a simple way to produce data, not real life indeed
        String[][] retVal = {
          {"Backer", "Melissa", "528 34th Ave", "94121", "San Francisco"},
          {"Hamilton", "Ann", "4752 17th St", "94117", "San Francisco"},
          {"Hudson", "Bree", "16 Hudson Ct", "94124", "San Francisco"},
          {"Watson", "David", "168 Cervantes Blvd", "94123", "San Francisco"},
          {"Eastwood", "Kenneth", "3367 Troy Dr", "90068", "Los Angeles"},
          {"Peter", "Smith", "524 Arvin St", "93308", "Bakersfield"},
          {"Antony", "Miller", "10430 Wilshire Blvd", "90024", "Los Angeles"},
          {"Moore", "Roger", "1815 W 82d", "90001", "Los Angeles"},
          {"Jackson", "Michael", "3450 Sawtelle Blvd", "90066", "Los Angeles"}
        return retVal;
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • Htmlb chart control is not working

    Hi All
    I created chart using htmlb chart control as per documents  given in pdk. but it is not displaying any thing on the browser,I am attaching code ,Please tell me where will the wrong
    Thanks in advance
    Gopal
    Java:
    create a new JCO table
            JCO.Table table = new JCO.Table("DAX");
    //       add the info/header to the table. The header is defined by the column name,
    //       data type and length (see JCO table API for details).
            table.addInfo("GROUPID", JCO.TYPE_CHAR, 50);
            table.addInfo("X", JCO.TYPE_CHAR, 50);
            table.addInfo("Y", JCO.TYPE_CHAR, 50);
            table.addInfo("Z", JCO.TYPE_CHAR, 50);
            table.addInfo("COLOR", JCO.TYPE_CHAR, 50);
            table.addInfo("EXTENSION", JCO.TYPE_CHAR, 150);
    //       append a record to the table. setValue sets the value as string. The second
    //       parameter is the column. The numbers are according to the sequence of the
    //       definition of the header (see above).
            table.appendRow();
            table.setValue("07.2001",0);
            table.setValue("SAP",1);
            table.setValue("158",2);
            table.setValue("20",3);
            table.setValue("10",4);
            table.setValue("href=\"http://www.sap-ag.de/\"",5);
    //       create a JCOChartModel and set the JCO table
           IChartModel model = new JCOChartModel();
            ((JCOChartModel) model).setDataSrc(table);
    myBean.setModel(model1);
    JSP:
    <jsp:useBean id="myBean" scope="session" class="com.sap.barchart.ModelBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
         <hbj:chart
               id="myChart1"
               model="myBean.model"
               visible="true"
               displayObjectValues="true"
               titleCategories="Company"
               titleValues="Turnover"
               title="Washers by Companies!"
               chartType="BARS_3D"
               colorOrder="DEFAULT"
               height="200"
         />
         </hbj:form>
      </hbj:page>
    </hbj:content>

    HI,
    Check if the bean is null.
    Try displaying it using classlib in the dynpage itself .
    Regards
    Bharathwaj

  • Want Access Data Grid control in SharePoint 2013?

    Hello everyone!
    Recently we noticed something funny in SharePoint 2013. While quite many people were hoping to have the datasheet view like those in SP2007 and 2010, Microsoft has chosen a different interface to display datasheet view.
    Now, if you try to create a sub site under a publishing site, and use the
    Publishing Site template then try to create a datasheet view in the sub site, SharePoint will try to use the Access data grid control to display the view. In some situations the view will display and other situations it will not, and will show this
    error:
    The list is displayed in Standard view. It cannot be displayed in Datasheet view for one or more of the following reasons: A datasheet component compatible with Microsoft SharePoint Foundation is not installed, your browser does not support ActiveX controls,
    a component is not properly configured for 32-bit or 64-bit support, or support for ActiveX controls is disabled.
    If you create a sub site using Publishing Site with Workflow instead, then the datasheet view will be created properly using SP2013 interface.
    Using PowerShell, we can see that both Publishing Portal and
    Publishing Site With Workflow are using the BLANKINTERNET 53 template. The
    Publishing Site on the other hand is using the CMSPUBLISHING 39 template.
    Want to try it out and let me know if that happens to your SharePoint too?

    Hi Conway,
    I tested the issue in my environment per your description and it returned the results as below:
    I created a subsite using Publishing site under a team site in SharePoint server 2013, the datasheet view in a list displayed as pic1
    I reproduced the issue in SharePoint server 2010, the datasheet view in a list displayed as pic2
    It turns out by design the datasheet view in the subsite based on Publishing site template displays as your situation. Here is an article which explains this:
    http://www.sharepointblues.com/2010/03/31/data-sheet-view-not-working/
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Not able to access the mx.controls package

    hi,
    i found a weird issue. I'm developing my application
    entirely using actionscript 3 by creating "actionscript Project' in
    the flex builder. I need to use the ColorPicker component which is
    under mx.controls package, but to my disappointment i'm not able to
    access that mx.controls package and when i forcefully use it the
    compiler throws me an error, but when i create a new flex project
    and create an asctionscript file, i'm able to access that
    mx.controls package and also the ColorPicker class. Can anyone tell
    me what the problem is?
    Thanks,
    Shajahan

    I am having the same issue. I'm using Flex 3 and I cannot
    access the mx.controls package in any actionscript project.

  • Does OS installed through boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?

    I am planning to buy new PC for my faculty needs and this time I am thinking to buy Apple laptop like Mac book Pro 13" or so ( I owe already IPhone and Ipad 2)
    To make final decision I need few information . These are:
    1. May I use Boot Camp or similar utility software to install Windows 7 OS next to OS X Lion, or use some kind of virtual box software to create virtual machines with diverse guest OS in them like Windows , Linux etc.?
    2. Does OS installed through Boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?
    3. May I use the same disk partitions to access to the files regardless if I am using Windows 7 or OS X Lion operating system?
    4. Is there full compatibility between Microsoft Office under OS X Lion and Windows 7 M. Office?
    5. What is general user experience with OS X Lion operating system comparing to Windows 7?
    Thanks for  sharing your experience with me.
    Adnan S

    adnans wrote:
    I am planning to buy new PC for my faculty needs and this time I am thinking to buy Apple laptop like Mac book Pro 13" or so ( I owe already IPhone and Ipad 2)
    To make final decision I need few information . These are:
    1. May I use Boot Camp or similar utility software to install Windows 7 OS next to OS X Lion, or use some kind of virtual box software to create virtual machines with diverse guest OS in them like Windows , Linux etc.?
    2. Does OS installed through Boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?
    3. May I use the same disk partitions to access to the files regardless if I am using Windows 7 or OS X Lion operating system?
    4. Is there full compatibility between Microsoft Office under OS X Lion and Windows 7 M. Office?
    5. What is general user experience with OS X Lion operating system comparing to Windows 7?
    Thanks for  sharing your experience with me.
    Adnan S
    1. Yes. You can install Windows 7 natively using Boot Camp Assistant or you can install Windows 7 in a virtual machine using Parallels, Fusion, or VirtualBox
    2. If installed using Boot Camp Assistant Windows 7 uses all your computer's resources just as OSx does. If installed using a VM Windows 7 will share the computer's resources with OSx.
    3. A Boot Camp partition is separate from the OSx partition. The VMs allow sharing of files across partitions since both OS are running at the same time.
    4. No, not 100%.
    5. Too broad a question. Be specific about what feature you are asking about or search the Internet for comparisons. I use both and find they both work well.

  • Script error suppression in Access 2010 Webbrowser Control

    I like the WebBrowser Control have an application where I use it to do online research and save the results, but on many sites, particularly University Sites, I get script errors.  This is very annoying.
    How can I suppress script errors in Access 2010 WebBrowser Control.  Looked at the property controls and VBA does not contain the VB Suppress...script.  I am at a complete loss. 
    Looked and Looked for solution on internet and no dice. 
    Help me Obi Wan (A.K.A. Albert Kallal) you're my only hope
    tjf

    Thanks for the kind thumbs up!
    And with the recent purchase of the star wars franchise by Walt Disney, it's very possible we will see a new Star Wars movie in the not too distant future (or should I say in a galaxy not too far away?).  So I'm actually looking forward to the possibility
    of another star wars sequel and that would be lots of fun!
    As for the script errors? Unfortunately, I don't think there is a solution.
    You can check + ensure that the options in Internet explorer (advanced) are set to ensure that script errors and script debugging is disabled. However, THESE SETTINGS DO NOT carry over from Internet explorer into the web control on an access form. And in
    fact you might even be using Firefox browser or something else. The web control in Access has a relative high degree of independence from your actual browser setting or even what Browser you're currently using. (and in most cases this is a good thing!).
    This is a native control to Access.
    If you're receiving the script errors without the user doing anything at all in that browser, I don't think you have much choice here (you can check the scriipt setttings in IE, but to my knowledge they do NOT apply). You have to see if the admin of the
    web site can clean up the HTML to eliminate such errors.
    Another possbile is to as others here suggest - launch the browser external as hyper link.
    Albert D. Kallal (Access MVP)
    Edmonton, Alberta Canada

  • Access OEM Database Control through IIS

    After installing IIS on my dev server, I am unable to access the database controls for my various databases. Any information on configuring IIS to allow access to my OEM DB Controls?
    Oracle 11g R2, IIS 7.5, Windows Server 2008 R2
    Thanks.

    Thank you Biss ,
    It is their and also it is member of ora_dba. so it should have administrator rights.
    The following are the exact lines from db_instance.pl at which I get error.
    sub get_db_status
    &set_env_var($oracle_home, $oracle_sid);
    my $dir = tempdir( CLEANUP => 1);
    (my $fh, my $filename) = tempfile( DIR => $dir );
    if($NT)
         $TEMP = "C:\\TEMP";
         &mkDir($TEMP);
         $mytime = time();
         $filename = "$TEMP\\dbinstance.$mytime";
    open(SQL_WRITER, "|$ENV{ORACLE_HOME}/bin/sqlplus /nolog >$filename")
         || die "Can not open pipe for DB_STATUS";
    print SQL_WRITER "whenever sqlerror exit sql.sqlcode\n";
    Thanks

  • HTMLB Link Control

    Hello All,
    I am using a HTMLB Link Control,
    Here my requirement i am generating the Link ID Dynamically and also it is in loop.How can i call onClientClick and jsObjectNeeded
    <hbj:link
              id="<%=ID+i%>"
              text="link"
              reference=""
              target=""
              tooltip=""
              >
         <% *?*.setOnClientClick("myFunction()");%>
    </hbj:link>
    How can i call the ID for Link?
    Regards,
    Aksiti

    Hi,
       I get your question. Can think of one solution. You can create JSP2 with new portal component. Create a dumy JSP. Now When else statement is called, call dummy JSP with javascript to open JSP2 in new window like this.
    window.open(Project.portalcomponentname,title);
    Let me know if it works.
    Regards,
    Harini S

  • Accessing HTMLB from javascript

    Hi expert,
    Can someone explain how to access the attributes,methods avialable in javascript to access htmlb objects in a page,
    Like for e.g.,
    htmlbSL(this,2,'SUBMITVALUES:HandleSubmit')
    Is there any document available?
    Thank you
    AP

    Hi AP,
    I believe there is no documentation avaliable about this.
    Maybe because this accessing method is not right to do
    but I can explaint about the function htmlbSL
    function htmlbEL(this,2,'SUBMITVALUES:HandleSubmit');
    this                      = HTML element.
    2                         = event type index.
    SUBMITVALUES:HandleSubmit = objectID:eventName
    if you want to know list of event type index.
    here the list:
    <b>EVENT TYPE                  INDEX</b>
    'htmlb:breadCrumb:click'      1
    <b>'htmlb:button:click'          2</b>
    'htmlb:checkbox:click'        3
    'htmlb:image:click'           4
    'htmlb:link:click'            5
    'htmlb:radioButton:click'     6
    'htmlb:tabStrip:click'        7
    'htmlb:tree:click'            8
    hope this can help you.
    respeck,
    -adyt-

  • Accessing different custom controls during runtime

    Hi,
    I am developing a test engine. Each test requires different data. My idea is to store all the custom controls(specific control to specific test case). I am getting a variant input and this should be converted to the custom control data type. Is there anyway to access the custom control datatype based on the test case???
    Or to be more specific, is there a way to get the data type of control in a VI using VI reference???
    Tnx in advance

    Hi Sam.. I think u got my problem wrong... I ll explain u in asimple way.
    Test 1 requires 1 boolean and 1 numeric
    Test 2 requires 2 numeric
    Test 3 requires 1 string
    Wat I recieve is a variant containig all inputs of that particular test(Exmpl: 2 numeric for Test 2)....Now I need to convert this variant to 1 bool and 1 num(for Test 1) or 2 numeric(if Test 2) or 1 string (if test 3). Wat I thought was put all the ctrls in a folder and access it to convert the variant based on test number.(This is for future use so tht I can just add cntrls if new tests are added). Now the question is how to access this cntrl datatype for the conversion??????? 

  • Username to Access "Application Server Control"

    Hi,
    We are using,
    EBS : 12.1.1
    OS : OEL 5.6
    Database : 11.1.0.7.0
    I want to deploy web services on Application Tier. For that i have started iAS Console using following commands on Application Tier,
    1. Sourced env File of Application Tier
    2. $emctl start iasconsole
    Using above command iAS Console started successfully. Now while accessing url (http://hostname:1156/emd) it asks for Username and Password with following message,
    The Servertestapp.onwardinfosys.com at enterprise-manager requires a username and password.
    Warning: This server is requesting that your username and password be sent in an inseure manner(basic Authentication without a secure connection)
    Username :
    Password :
    Can anyone tell me which username and password credentials are required to access Application Server Control page ???
    Regards,
    Priyanka

    No I am not getting any errors. Login page accepts Username and Password of user "ias_admin" and redirect's to Application Server Control Page but page shows just APplication Server and no information of it...
    Information i gor after click on "About Oracle Enterprise Manager 10g Application Server Control",
    About Oracle Enterprise Manager 10g Application Server Control
    Oracle Enterprise Manager 10g Application Server Control     10.1.2.3.0
    Supported Target Application Servers                    10.1.2.3.0
    Accessibility Mode                              Disabled
    "Accessibility Mode" is coming as "Disabled"... How to enable that?? Is their any confiuration required to setup Application Server Control for EBS R12 ??? Please guide..
    Regards,
    Priyanka
    Edited by: Priyanka Pawar on Apr 9, 2012 11:17 AM

  • HTMLB InputField Control

    Hi,
    I am using HTMLB inputField Control,its type is DATE.
    I am using JSP tagLibs.
    If the date entered by user is wrong it autimatically validates and makes the text of the inputfield red.
    When user enters correct date the text does not become red.
    I am using InputField Control for date and I have set the property of InputField showHelp="TRUE" so it is automatically showing Calendar Control next to the InputField.I can't make InputField disabled because the Calendar control also gets disabled when I disable the InputField.
    Now my problem is
    When I am using isValid() method for InputField class during programming it always returns true inspite of entering correct input.
    Can sombody help me on this?
    Parag.

    Hi Parag,
    Just try creating a string before the inputField declaration and then using that (htmlb doesnt like the mix and match in the id like you're trying to do).
    <%
    String tempId;
    for(int x=0;x<5;x++)
    { tempId = "a"+x;
    %>
    <tr>
    <td><hbj:inputfield id ="<%=tempId%>"/></td>
    <%}%>
    Hope this helps,
    Marty

  • Outlook Web Access S/MIME control on my system

    I am running Windows 7 home premium and I once had outlook web access S/MIME control on my system and when i logged in a few days ago .....I no longer have the ability to read encrypt messages.  Help???? Please????

    Hello msouthousehog,
    Please take a look at the following article.
    https://technet.microsoft.com/en-us/library/bb124432%28EXCHG.65%29.aspx?f=255&MSPPError=-2147217396
    Users who do not have administrator privileges receive an error when they attempt to install Outlook Web Access with the S/MIME control.
    To receive better support, it is recommended to ask in the TechNet OWA forum.
    The professionals there will be glad to help you.
    https://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrclients
    Thanks for your understanding.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Proplem: Access HTMLB controls from java code

    Hi,
    I am new to iView development for EP6. So my problem should be easy to solve (for you ).
    I created in the NW Dev Studio a JSP DynPage.
    The following files were created or edited:
    1.     JSP file (created)
    2.     java file (created)
    3.     portalapp.xml (edited)
    In order to make the page running (proccessing) I changed the following things:
    1.     JSP file – Add taglib reference to HTMLB-class
    2.     portalapp.xml – Remove the „native“ property so the JSP file will not be accessed directly.
    Now I want to do the following:
    On the JSP page I placed severeal HTMLB controls (textViews).
    From the java code I try to access these controls in the „doProcessBeforeOutput“ method and change/set values.
    But I get all the time a null-Exception.
    Code (JSP)
    <%-- mcmsprovider.jsp --%>
    <%@ taglib uri= "tagLib" prefix="hbj" %>
    <hbj:content id="cntMcmsProvider" >
      <hbj:page title="MCMS Provider Dynpage">
       <hbj:form id="frmMcmsProvider" >
                 <hbj:textView id="tvwScript" encode="false"></hbj:textView>
                 <hbj:textView id="tvwStyle" encode="false"></hbj:textView>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Code (JAVA):
    public void doProcessBeforeOutput() throws PageException {
           this.setJspName("mcmsprovider.jsp");
           TextView tvw = (TextView) this.getComponentByName("tvwStyle");
           tvw.setText("Here the dynamic text");
    I also tried to add raw text to the form but also null excpetion:
    public void doProcessBeforeOutput() throws PageException {
           this.setJspName("mcmsprovider.jsp");
           Form frmCurrent = (Form) this.getForm();
           frmCurrent.addRawText("<h3>This comes from here</h3>");
    My goal is to dynamically add controls to the form, but until now I think it will be a dream:
    public void doProcessBeforeOutput() throws PageException {
           this.setJspName("mcmsprovider.jsp");
      Form form = (Form)this.getForm();
           TextView tvw  = new TextView("tvwDynamic");
           tvw.setText("Here the dynamic control");
           form.addComponent(tvw);
    The normal page processing runs:
    public void doProcessBeforeOutput() throws PageException {
           this.setJspName("mcmsprovider.jsp");
    Any help is greatly appreciated.

    Eike
    Here is the example straight from the PDK documentation. This should help you a little
    UsingAbstractPortalComponentWithHTMLB.java
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.DataType;
    import com.sapportals.htmlb.enum.GroupDesign;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.rendering.IPageContext;
    import com.sapportals.htmlb.rendering.PageContextFactory;
    import com.sapportals.portal.prt.component.AbstractPortalComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    public class UsingAbstractPortalComponentWithHTMLB extends AbstractPortalComponent {
        //Fill in your output for "normal" content creation mode here
        protected void doContent(IPortalComponentRequest request, IPortalComponentResponse response) {
            IPageContext myContext = PageContextFactory.createPageContext(request, response);
            if (myContext == null) {
                System.out.println("htmlb service did not start up as expected.");
            Form myForm = myContext.createFormDocument("First Experiment");
            Event lastEvent = myContext.getCurrentEvent();
            Group myGroup = new Group();
            myGroup.setWidth("350");
            myGroup.setTitle("First Experiment");
            myGroup.setDesign(GroupDesign.SAPCOLOR);
            myForm.addComponent(myGroup);
            GridLayout gl = new GridLayout();
            myGroup.addComponent(gl);
            if ((lastEvent != null) && (lastEvent.getComponentName().equals("submit"))) {
                String name = myContext.getDataForComponentId("USER_NAME").toString();
                TextView label = new TextView("Hi, " + name);
                gl.addComponent(1, 1, label);
                Button myButton = new Button("goback", "Go back");
                myButton.setOnClick("goBack"); // ignored anyway
                gl.addComponent(2, 1, myButton);
            } else {
                TextView label = new TextView("What's your name?");
                gl.addComponent(1, 1, label);
                InputField inf = new InputField("USER_NAME");
                inf.setType(DataType.STRING);
                gl.addComponent(1, 2, inf);
                Button myButton = new Button("submit", "Tell");
                myButton.setOnClick("submit");
                gl.addComponent(2, 2, myButton);
            myContext.render();

Maybe you are looking for

  • Can't print with adhoc network for HP 7780 all-in-one

    Operating system is Windows Vista 32 bit. Downloaded full driver software from HP site and installed it OK with wired connection to printer.  All works fine in this mode. Now I want to do wireless printing via an adhoc network called MYNetwork that I

  • The latest version dosen't support my QuickTime?

    After I updated my AE CC 2014,it says I don't have QT installed. But even if I reinstall the latest QT, it doesn't work! WHY? Reinstalling the last version works.

  • Resizing media components dynamically

    Does anyone know of a way to resize the MediaController component dynamically based on the size of the stage? When I just change its height/width properties, it stretches it. Not quite what I'm looking for. If I resize it manually by changing the dim

  • Nokia ovi suite 3.0.0.290 bluetooth

    i have a big problem " i have a windows 7 64 bit when i install my ovi suite i found  (use bluetooth instead) disable what can i do to connect my phone via bluetooth Attachments: Doc2.doc ‏131 KB

  • Need Ideas for Minimalist Website and Image Gallery

    I am looking for ideas for creating a minimalist online image gallery/portfolio? I want to either use html for the site and then flash for the portfolio images or some other method. I want to click on the thumbnails and then a large image will open.