How to use UI elements in Abstract component  of PORTAL

HI,
I want to know how to use UI elements in Abstract components of PORTAL.Since i using only dialog box,i want to use other UI  elements  and images ,so that the application will be easy to do.

Hi,
If I have understood correctly your doubt, you want to know how to code jsp's in AbstractPortal Comp.
Following is sample code of jsp
<table width="100%">
     <%@ include file="NJ_Header.jsp" %>
     </table>
<table width="100%" border="0">
<tr>
<td align="left">
     <hbj:textView     id="txtPageNumber" design="EMPHASIZED"
          text=" Page Number : 2">
               </hbj:textView>
          </td>     
     <td align="right">
               <font color="#FF0000">*
     <hbj:textView
               id="txtLegend" design="STANDARD" encode="false"
                    text="Indicates mandatory fields">
               </hbj:textView>
               </font>
          </td>
     </tr>     
</table>     
<!-- Debug / End User Message -->
<table width="90%">
     <tr>
          <td align="center">
               <font color="#008000"><i><%=SAPMASTERDATABEAN.getUserMessage()%></i></font>
          </td>
     </tr>
</table>

Similar Messages

  • How to use UI elements in abstract portal component

    hi all
    i am new to portal development..i want to use different UI elements such as textbox,buttons using abstract portal component.can anyone telme how to use them.

    Yes Asusha
    You can use JSP , JSPDyn pages in Abstract portal component.
    You can call a Jsp file from the abstract portal component.
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         com.sapportals.portal.prt.resource.IResource somePage =          
                   request.getResource("jsp", "pagelet/test.jsp");
                   response.include(request, somePage);
    Then you can made your desired UI in JSP.
    Hope this helps..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Where do I find a tutorial on how to use photoshop elements 11 and premier elements 11?

    Where do I find a tutorial on how to use photoshop elements 11 and premier elements 11?

    The tutorial courses that got me going were on lynda.com.   Both the PE and PrE courses are taught by instructors that know the software and how to teach on line. 
    The difference between random turtorials and a course is organization.  A course has a beginning, or foundation and builds skills one at a time.  Random tutorials like on Adobe TV or YouTube can be very good but they don't have the sequential skill building process.
    Many of the Adobe TV tutorials are chapters provided by lynda.com as part of their marketing program.  If you like them, you can pay the $25 a month for the full course work.     

  • How to get Cost element for a component in co03 cost analysis report

    Hi,
    I'm using table COSP to find the quantity for a production order component.  However, I need to identify the cost element first to get the unique data.  In CO03 cost analysis report, there is cost element for the component.  Does anyone know how to get it ?
    Thanks.

    CSKA stores the basic info about the cost element
    There is no data in CSKB.
    I'm trying to use different tables to get the cost element.
    AUFK, AFKO, AFPO, RESB, ...but no luck...

  • How to use UI Element "AbstractApplet" to embedd java applet in WDA

    Hello,
    I want to embedd a java applet in a WebDynpro ABAP application and I've found the following statement on SAP online help:
    The Active Control Framework (ACF) enables the development of applets or ActiveX-based controls that can be embedded in Web Dynpro ABAP.
    Link:[AbstractApplet|http://help.sap.com/saphelp_nwpi71/helpdata/en/47/b915bc878a2d67e10000000a42189c/frameset.htm]
    Is there any further help, how to use this (abstract) UI Element to integrate a given java applet?
    Kind Regards,
    Guido

    Hi,
    As per the link you gave,
    In the View layout, You can use the UI elements like - AcfExecute and AcfUpDownload. For upload and download the things.
    Try to use these UI elements and get the reference of the Abrstact APplet class and use the methods inside it.
    Regards,
    Lekha.

  • How to use Photoshop elements more efficiently

    I have a blog Jobs & Newspaper Job Ads i frequently used Adobe Photoshop and other Adobe products to make banners,advertisements and other things for marketing,I need help of how to use all tools effectively and which element shoud be applied first and which one last as i feel a bit diffcult to creat more complex and close to nature graphics.

    I am unaware of a universal work flow.
    Suggest the following considerations for your projects:
    For printing, resolution should be 240-300 px/in. For web work, 72 px/in is ok
    File>new>blank>file will allow you to set the parameters
    Optimize the background
    Add your component graphics. Each should be on a separate layer. Ideally, the resolution of the graphics should be the same value as used in step #2
    Make adjustments with adjustment layers, e.g. levels, brightness/contrast
    Sharpen last
    Please post examples of your work in progress for additional guidance.

  • How to use single element as both control as well as indicator in labview

    Hi All,
    I need to use single element for both control and as an indicator.
    I need not want to use its value property os shift register.

    Hi pmg,
                I think this thread will be helpful to you.
               http://forums.ni.com/t5/LabVIEW/Using-a-control-as-both-an-indicator-and-control/td-p/1113158 
    Thanks as kudos only

  • How to use one DC's view/component/appln in another DC

    Hi All,
      I am new to DC concept. I am trying to use one DC's component in another DC. I have done following steps.
    a)Created two DCs A and B
    b) DC A's 'New Public Part-->Entity Type(Web Dynnpro Component) I selected component
    c) Add Used DC in B, I added A's component
    <b> From this point onwards I am not getting any clues</b>. How do I call A's component in DC B. <i>Please guide. Any examples will be great.</i>
    Thanks and Regards,
    Ganga.

    Hi Gangadharaya,
    Just tell me do u want to display a view, use some context or use some methods defined in other controller.
    So that i can help you in the same direction.
    <b>Component Usage</b>
    Suppose you have following scenario:
    1) DC2 has component Comp2. In this dc you read the context a value and stores it in context named "Ctx_value".
    2) DC1 has component Comp1. Here you want to read the Ctx_value from comp2.
    In Comp2 create a method getValue()
      public java.lang.String getProcessId( )
          return wdContext.getCurrentElement().getAttributeValue("Ctx_value");
    In the interface controller of Comp2 click on properties tab and add reference to the cont2 controller. Now create a method here in interface controller to get the value of Ctx_value
      public java.lang.String getValue( )
        return wdThis.wdGetComp2Controller().getValue();
    Expose the Comp2 as public part now.
    In DC1 add DC1 as used DC.
    Build both dc's
    In Comp1 create Component usage by name Comp2Usage to Comp2.
    Now you can access the method getValue() from interface controller of Comp2.
    wdThis.wdGetComp2UsageInterface().getValue();
    This is how you can access a value of Context. Same can be done by direct binding.
    <b>View Access</b>
    If you want to access a view v2 in comp2 then goto windows in comp1 and embedd an existing view and in that select the interface view of comp2. The default view in comp2 can now be displayed in comp1.
    Regards,
    Murtuza
    Message was edited by:
            Murtuza Kharodawala

  • How to use standard validator with custom component?

    Hi folks!
    I've implemented a custom component extending UIInput. My component worked well but now I want to use a standard validator.
    How can I use it??
    regards,
    Steven

    Validation is done by UIInput.validate() which is invoked by processValidators().
    So, if you don't redefine these inherited methods they will invoke the
    corresponding validators.

  • ADF UIX: How to use MessageCheckbox to trigger a component to be rendered?

    I have two UIX component:
    messageCheckBox model="${bindings.Servicelocal}"
    and messageStyledText id="mst_TextChange".
    I want messageStyledText to be showed if messageCheckBox was checked.
    I want to know how to set the “rendered” property of the MessageStyleText.
    The following is my uix xml code:
    <rowLayout>
    <contents>
    <cellFormat>
    <contents>
    <messageStyledText id="mst_TextChange" text="${bindings.Servicelocal}" rendered="${bindings.Servicelocal}"/>
    </contents>
    </cellFormat>
    <cellFormat>
    <contents>
    <messageCheckBox model="${bindings.Servicelocal}" >
    <end>
    <formValue model="${ctrl:createCheckBoxState(bindings.Servicelocal)}"/>
    </end>
    <primaryClientAction>
    <firePartialAction event="ShowHide_Text" unvalidated="true" targets="mst_TextChange"/>
    </primaryClientAction>
    </messageCheckBox>
    </contents>
    </cellFormat>
    </contents>
    </rowLayout>

    I think you're on the right track here.
    Assuming that the values for Servicelocal are 'Y' and null, what you could do is use EL to define the rendered component as follows:
    rendered="${!empty bindings.Servicelocal.inputValue}"
    or alternatively:
    rendered="${empty bindings.Servicelocal.inputValue ? false : true}"
    I'm writing this from home so can't check the above but you get the idea.
    Note the use of ".inputValue" to retrieve the actual value of Servicelocal.
    I note your use of the &lt;firePartialAction&gt; tag in the &lt;messageCheckBox&gt;. Please note I recently found a bug (I've raised this with Oracle Support) where the &lt;firePartialAction&gt; causes the running page to ignore any user input for some seconds (5 sec?) when fired from a &lt;messageCheckBox&gt;. Your mileage may vary.
    Hope this helps.
    CM.

  • How to use function of an abstract class??

    Hi all,
    I want to use the format(object obj) function of the package java.text.Format. But as the Format class is an abstract class i could not instantiate it, so that i can call the format(object obj) method using the dot(.) operator.
    I know what is an abstract class. i've studied and tried to understand. as everybody knows, studied the perfect example(because i've read it in all the abstract class tutorial, books) of the Shape class. But still i dont understand how am i going to use that format(object obj) method. Please help me..

    Instead of using the abstract class Format use the
    concrete classes DecimalFormat
    SimpleDateFormat etc check java.text APIS
    http://java.sun.com/j2se/1.4.2/docs/api
    Hi!! Thanks both of you.
    If Sun has a abstract class then there must be a
    concrete class which extends that abstract class .It
    is always better to check the APIWhat do you mean by this line. Is it true for all the abstract classes in the jdk?

  • How to use Photoshop Elements 11 Image Tags in Lightroom 4.4

    Hello,
    I would like to filter my Lightroom catalog by people in the photo. This could be done manually in Lightroom using metadata, however, Photoshop Elements 11 Organiser has an auto-analyse feature that does this automatically and creates Image Tags for all identified people. How do I use the Photoshop Elements 11 Organiser Image Tags in Lightroom 4.4?
    I have tried:
    Created image tags for identified people. These are listed in the Image Tags section of the main workspace and can be used within Photoshop Elements 11 Organiser to filter on people using Search and People features.
    Updated metadata within Lightroom
    Searched for tags in all metadata fields using Library Filters
    I have been unable to find any mention of these Image Tags in the file metadata - perhaps they only exist in the Photoshop Elements 11 Catalog? If so, does anybody have a best practice for transferring this information between Photoshop Elements 11 and Lightroom 4.4?
    Thanks in advance,
    David

    Yes you can open multiple images into PSE from LR. But actually there is no great advantage in using Lightroom for Photomerge as the export copies are already created in the Library but the saved copy will be the merged version which LR will know nothing about, and which would need to be imported to the library separately.
    I would personally start from Expert Mode in PSE11 and then use:
    File >> Open
    Navigate directly to the folder and select the images you want and click open.
    If they are raw files they will open up in camera raw and will already have the light room adjustments included, if the metadata has been saved to file in Lightroom.
    Click select all (top left) and then ensure the image depth is set to 8 bits using the drop down menu at the bottom of the dialog. Then click the open images button (bottom right) to send them all into PSE.

  • Sample code is required on how to use TableUI element in ArrayList

    Hi all
    Can any body send the sample code on how to store Table UI element in Arraylist.
    Regards
    Suresh babu

    Hi I am providing two methods of it. Just go through and try. This will defenately solve your problem
    I. METHOD
    Try This
      //@@begin others
    //this is the array used in the program
      String emp[][]=
           {"nikhil","tapkir","pune"},     
          { "juhi","bhatnagar","delhi"},
      //@@end
    i have to insert the above information in a table wid columns firstname lastname and city .
    u need to use the for loop to insert the data in the table for more than 1 record
    code the following thing in wd init
    here fname lname and city are my value attributes mapped to my table columns.
    for (int i=0;i<emp.length;i++)
           IPrivateTabappView.ITablenodeElement tnode=wdContext.createTablenodeElement();
           tnode.setFname(this.emp<i>[0]);
           tnode.setLname(this.emp<i>[1]);
           tnode.setCity(this.emp<i>[2]);
          wdContext.nodeTablenode().addElement(tnode);
    i hope this is what ur doubt was if not pls clarify.
    hope this helps u.
    II METHOD
    For example: Consider that the value node DataNode having two attributes A and B is bound to the DataSource property of your Table UI Element.
    IDataNodeElement objDataNode = null;
    ArrayList arlDataNode = null;
    int size = 0;
    size = <No. of rows that you want in the table>;
    arlDataNode = new ArrayList();
    for(int i=0;i<size;i++)
    objDataNode = wdContext.createDataNodeElement();
    objDataNode.setA(<Set some values>);
    objDataNode.setB(<Set some values>);
    arlDataNode.add(objDataNode);
    wdContext.nodeDataNode.bind(arlDataNode);
    Hope, You can resolve your problem. Revert me if you have any doubts.
    Regards
    Raghu

  • How to use WBS element in Asset master data upload

    Dear All
    Does any body know how to treat field WBS element in Asset master during upload.
    Field POSNR in table ANLA is of 8 characters, but WBS element which is entered in asst master is more than 8 char.
    I vaguely remember tht with wbs system internally assign a different number.
    Has anybody come across this issue?
    Please help
    Thanks
    Sanjeev

    There are in the asset 2 fields for PS
    One is filled when you do an settlement from an WBS (is not possible to fill in)
    The other one you found in the the tab time dependend like cost center.
    This field is available when you have assign the possibilety to do depreciation to an WBS.
    Paul

  • How to use total elements in a script logic?

    Hi All,
    I am using BPC 7.0 MS. I need to create a calculation using script logic as follows:
    The application name is GYP and it is composed by the following dimensions:
    PL (Account type) in this dimension are the units
    Time
    Category
    Entity
    Product
    RptCurrency
    I would like to make a calculation like this:
    UNITS of any product (base element) and any entity (base element) for the BUDGET category and LC currency divided by UNITS of TotalEntity.
    Also, I would like to check before the calculation if UNITS have any value to proceed with that calculation.
    Best Regards,
    Luisana

    Hi Robert,
    Thank you for your reply.
    Let me explain better what i would like to do. I have an application called GYP, it is composed for the following dimensions:
    PL (Account type)
    Time
    Category
    Entity
    Product
    RptCurrency
    In the PL dimension i have an element called UNITS and another one called UNITSBYX. I would like to get a calculation like this:
    For the BUDGET category and LC currency.
    UNITSBYX = UNITS for each ENTITY / UNITS for ALL_ENTITIES
    Let's say I have three entities:
    Units for Entity1 = 50
    Units for Entity2 = 100
    Units for Entity3 = 300
    Units for All_Entities = 450
    The calculation should be like this:
    UNITSBYX = Units for Entity1 / Units for All_Entities
    UNITSBYX = 50 / 450
    UNITSBYX = 0.11
    UNITSBYX = Units for Entity2 / Units for All_Entities
    UNITSBYX = 100 / 450
    UNITSBYX = 0.22
    I hope you get my point.
    Kind regards,
    Luisana

Maybe you are looking for