When I need to Create Component

Hi Gurus,
I have few doubts on EP implementation Can plz help me to clear all.
1. When do we need to implement JspDynpage?
2. When we need to create AbstractPortalComponent?
Using AbstractPortalComponent how to call a Jsp file?
Please help on these doubts. Thanks in advance.
Ian

HI Ian....
JspDynPage is used when u segregate the <b>controller</b> from the <b>Presentation</b>
it represents the MVC architecture....
u have the <b>Model</b> to control data flow.....and jsp to present (<b>View</b>) and JspDynPage as the <b>Controller</b>...........
thats how it works...
where as the Abstract Portal Component doesnt follow this architecture.....
u write the presentation sa well as the business logic completely in the <b>doContent() </b>method......
it depends on ur choice as to which method to follow based on ur requirements or business logic...
Now..as to call the jsp from an Abstract Component....u can get the HttpServletRequest  from the IportalcomponentRequest...and the use it to sendRedirect() to a jsp page....
hope this helps....
Regards,
Sudheer

Similar Messages

  • CcBPM - When we need to create Deadline branch?

    Dear All.
           Reffering to ccBPM - When we need to create Deadline branch? Thank you in advance.
    Cheers
    Yinglak

    Hi,
    Deadlines are used to end the corresponding open steps and proceed with either triggering an alert, throwing an exception or just continuing to the next step, depending on your needs. You define the maximum time given to a specific step to be executed in your process by using deadlines.
    From SAP Help:
    A deadline specifies the last point in time that the block can be executed. You can define a deadline as follows:
    &#9679;      The point in time when the step or process is generated
    &#9679;      An arbitrary point in time that you specify as an expression
    You define how you want the process to react if the deadline is exceeded in a separate branch. In this branch you can trigger an alert for Alert Management by using a control step, for example. The branch has read and write-to access to all data within the block.
    To define a deadline, call the context menu for that particular block.
    The system checks the deadline at runtime. If the deadline has been exceeded, the processing branch is executed for the deadline. The steps in the remaining processing branches in the block are not affected by this. In particular, note that these steps within a block are not automatically completed.
    You can find more information here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/de/766840bf0cbf49e10000000a1550b0/frameset.htm
    Regards,
    Gökhan

  • Need help creating component with 'application.createComponent'

    I am trying to create a button component by doing the following
    application.createcomponent("javax.faces.command") ;
    However it does not seem to work. I can create pretty much any other component by this method but for some reason I am unable to do this with the 'javax.faces.command' component family. Shouldn't this work?

    I think that the component type of the commandButton is "javax.faces.HtmlCommandButton"

  • Pointers needed to create a JSP for week/hour calendar type component

    Hi,
    I am looking to get some pointers on how to create week/hour calendar type component in JSP.
    My application is JSP/struts2 based web application. I need to create a web page where users will see a week hour calendar and for any time slot will enter some information. Each time slot can have different information. For example: Sunday 9:30am to 10:00am - Click on this cell and pop up a dialog for info and save it without refreshing the page. At the end combine all this info for each slot and submit to the server.
    If there is already a component like this is available to use, please point me to that.
    Any ideas are welcome.
    Thanks,
    Developer in need.

    I dont know of an already existing application that can do this. However, here are some ideas on creating your own:
    Create an html table in JSP who's number of rows and columns match what you would find in an ordinary wall calendar for the given month and year. Use the Calander.java class to obtain the number of days in the current month and build the JSP page accordingly (Calendar.java should automatically take care of leap year). You will probably need to add 'next' and 'previous' buttons to the form to retrieve the previous and next month(s) in case the user wants to access previous or future months. Each cell in the table displays that day (example ' 28 '). Notice my convention the first column is usually 'Sunday'.
    Next, determine what to put in each cell. One suggestion is to embed a table in each cell with 48 rows (24 hours in a day, 1/2 hour resolution= =48), and two columns (first column is for time: example: "10:30am to 11:00am", the second column is for the user's appointment message).
    Above that embedded table is the day (example: '28'). If a user has no information in the embedded table, the outer cell will appear to have nothing but the '28' in it.
    Next, how to populate the cell. When the user clicks on the cell, have an onclick event call a javascript function. The function will pop up a new window (a child window) by calling 'window.open( )' (google 'window.open'). In the pop up, show a table with 48 rows, 2 columns that the user can type in a message within column 2. When the user clicks 'submit' button on the pop up, call a javascript onclick function that reads all the message cells. Any cell not empty will populate the corresponding cell (day, rowID, columnID) back on the parent window by calling something like this: window.opener.document.myFormName.myTextField.value = someValue
    (google 'window.opener'). Once this is done, close the child window from that javascript function. By calling 'window.opener', you dont have to refresh the parent window.
    Next, if the user clicks on the parent window cell that is already populated, you will have to pass all theexisting information for that day through the window.open( ) to the child window so the pop up child window will show that preexisting information (that way he can add to the cell or alter it as he pleases).
    Next, after he alters many days on the calender, you have to provide an 'update' button on the parent form so the user saves his changes (write the data to a database record, with his name attached to that record). Note: if he clicks the previous/next button, he will lose any changes unless you also save the information before going to the previous/next page.
    Next, you might want to provide a vertical scroll bar on the table cell if
    the end user has many messages that cant be viewed in the parent cell all at once. Note each cell should be a fixed number of pixels width/height so it shows correctly. Have Fun!

  • I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    Hi kamfong,
    Went to Settings where?
    If you want to use your exisiting Apple ID on your iPad, you need to:
    1.     Go to Settings>iTunes & App Store and sign out the new ID, and then sign on the old one
    2.     Go to Settings>iCloud, scroll to the bottom and delete the iCloud account, and the sign back onto iCloud using the old ID
    You still have not indindated why you are saying that using your old ID originally "didn't work". What do you mean by that? Did you get some sort of error when you tried to sign on with your exisiting Apple ID?
    Cheers,
    GB

  • Error when trying to create component configuration

    Hi!
    When I try to create a component configuration, the following error occurs after pressing the <create>-button:
    Dynproausgabe ohne Verbindung zum Benutzer (<b>Dynpro output without user-connection </b>)
    Applikationsserver PSD1P02_TS3_01 und im Workprozess 0
    RABAX_STATE
    SYSTEM-EXIT of program SAPLSKEY
    Function: TADIR_OBJECT_CHECK of program SAPLSKEY
    Function: CHECK_ACCESS_KEYS of program SAPLSKEY
    Method: CHECK_TROBJ_BEFORE_EDIT of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: FILL_PERS_DATA of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_COMPONENTCONTROLLER~EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==
    Has anybody come across that problem and a solution on hand?
    Regards,
    Thomas

    Hi, Koen!
    Thanks for your answer. Unfortunatly I' ve only one session open - and that should' nt be too much, should it?
    Any other ideas?
    Regards,
    Thomas

  • Help needed for creating new component in web ui

    hi experts,
          i need documentation on the component workbench. i need to cretae a new assignment block in web UI, similar ti the items assignemnt block in opportunity screen.
    Where can i find material to learn how to develop new components using component workbench?
    Thanks,
    Shantanu.

    Hi Shantanu,
    In fact, you need to create a context node. You can create this context node using the wizard. Click with right button in "Context node" of the view and follow the steps.
    Best regards,
    Caíque Escaler

  • I need to create a  Notification in CRM WebUI  When we create a new contract

    Hi Experts,
    I am working in Utility Industry and as per the business requirement I need to create a  Notification in CRM WebUI
    When we create a new contract & click on apply button.
    As per my knowledge we are not maintaining Notification information in CRM System. So could you please
    help me to call IW52 during the new contract creation when we click on apply button.
    Thanks
    Roli

    Hello Roli,
    If your requirement is to launch Transaction IW52 after clicking apply button then you can use Transaction Launcher tool in CRM to integrate to CRM WebClient UI.
    Calling Transaction Launcher on user action
    BOR object or ITS based Transaction Launcher
    Regards,
    Ashik

  • Do I need to create loopback IP address on servers when using LD?

    Beside ASLB mode, do I need to create loopback IP address for the servers when using Local Director?
    Understand LD does not use NAT for IP address, so the server may drop the packet when it sees the packet's destination is not for its own IP.
    And how to set the loopback IP on Windows servers? I can only create the secondary IP under the ethernet NIC configuration, and this always cause the two web servers to complain about duplicated IP address.

    The case of the loopbacks depends on whether you run LDIR in dispatched mode or directed mode.
    Directed mode is a form of NAT where the LDIR changes the destination IP address in the incoming packet to that of the real server chosen.
    Dispatched mode is sort of like 'Layer 2 NAT' or 'MAC NAT', because the LDIR changes the destination MAC address but not the destination IP address. For the server to actually pick up a packet adressed to an IP address not configured on the ingress interface, it will need to have this address configured somewhere else, and this is where the loopback adapter comes into play.
    It is true that with ASLB, you need to run dispatched mode. This is due to how the rewrite is implemented on the C6K (which is needed for ASLB).
    Regarding the Windows configuration, you need to install the loopback adapter. How this is done depends on the Windows version, but basically you need to install the driver manually, as if you had added a physical adapter to the machine and were to manually install a driver. You'll find the loopback adapter under the 'hardware' manufacturer Microsoft in the Add Hardware configuration dialog. When the new 'hardware' has been installed, you can configure an IP address on it like any other NIC.
    So to answer your question: No you do not *need* to use loopbacks when using LDIR, but this depends on the LDIR configuration.
    HTH,
    -A

  • When I want to create apple account in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    When I want to create apple account for my new iphone5 with different apple id than this  in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    The first step would probably be to contact iTunes support as you're being told to do.

  • When and Why Do We Need to Create 2 Diff iTunes Libraries?

    Hi,
    When and Why Do We Need to Create 2 Diff iTunes Libraries?
    Thanks.
    Ed

    There's no fast rule sayng you must, and I suspect most people only use one.
    You might want to set up a second library if your first one is so huge that it is slow to operate.  Split your media. For example, I don't listen to classical and rock music at the same time and could restart iTunes ffrom a different library when the time came to switch.
    I have a few extra libraries. One's for music I organized for a special occasion but don't really listen to myself and don't want it cluttering mine. I also have a special library for my mp3 player (not an Apple model) with its own set of files which match some in my main library but they are tagged differently to be compatible with the player's quirks.
    I could also see having a different library for files on an external drive if you have some on your internal drive too.  You might, for example, have a bunch of movie files on an external drive that you don't normally need to have plugged in all the time and don't want iTunes giving you a bunch of exclamation marks if are using it to play your music media on your internal drive.

  • When do i need to create SID adm user?

    Hi All,
       I am new to XI.I am trying to install XI on windows 2003 and sqlserver. I am done with the following without any error?
    1. OS and its service packs
    2. Sql Server and patches.
    3.Central instance
    4. DB instance
    5. Installed sap gui.
    I have logged in as administrator and installed the above stuff.
    1. When do i need to create <SID>adm user?
    2. Do i need to use <SID>adm to install the XI?
    3. When i logged in to sapgui, i am getting host name error. Do i need to change hosts file?
    Thank you
    Ganges Leaves
    Message was edited by: Ganges Leaves

    Hi Ganges,
    Pls have a look into this SAP Material
    https://websmp209.sap-ag.de/~sapidb/011000358700009389172004E.PDF
    http://help.sap.com/bp_bpmv130/Documentation/Installation/XI30InstallGuide.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a5550de0-0701-0010-a8b4-9fd433a080f3
    <i>4. When i logged in to sapgui, i am getting host name error. Do i need to change hosts file?</i>
    >>> Just ping the IP address and check that are u able to connect. Also check with Browser .
    Hope this helps,
    Regards,
    Moorthy

  • Lines needs to create when u create the header

    Hi Friend,
    this is my requirement,
    1) i have header and lines related page, both header and lines will have save when you click the save button.
    2) here i need to perform one validation that on save button, lines need to create when u create the header.header must have lines.
    3)under save button i have written commit operatition, both line and header table having one common column called -> hid
    can you please provide me some psudococe on this

    Hey,
    You can implement the above requirement in both ways:
    1.Using EO
    2. Using PLSQL Packages.
    Using EO's
    Create the below : MasterVO, ChildVO,  MasterChildVL
    Create an advanced table with details region in it.  You can refer DevGuide for more info. if you want.
    Make use of advancedTable : addRow functionality.  When you commit it.. data will be saved in both tables.
    Regards
    Sridhar

  • When I enter my password to purchase a song, I need to create new security questions. Whenever I finish making thm and submit them, a box says "An error has occurred. We could not save your changes." How do I make it go away?

    When I enter my password to purchase a song, I need to create new security questions. When I finish writing them out and I hit submit, a box comes up with the words: "An error has occurred. We could not save your changes." What does that mean and how do I make it go away?

    Potentially the issue may be the combination of actual distance and the presence of any Wi-Fi interference at the location of the AirPort Express that may be the culprit here. The bottom line is you would want the Express to be within a 25+ dB range of the Extreme to be sure that it can consistently stay connected to it.
    For more details on proper base station placement, check out the following AirPort User tip. Please post back your results.

  • When do i need to create table spaces ?

    hi all,
    i know that any database has one table space and one data file at first creation , but
    when do i need to create another table space or data file ? do i need that when oracle tells me that there is no space anymore or what ?
    thanks

    newbi_egy wrote:
    hi all,
    i know that any database has one table space and one data file at first creation , but
    when do i need to create another table space or data file ? do i need that when oracle tells me that there is no space anymore or what ? In oracle database, the concept of storage segregation is done by two ways, using the schema and using the tablespace. So assume that you have two applications . One is used for HR related work and another is used for Finance and both kind of data is stored in one single database only. So how would you maintain such requirement? There are two ways to do it. One, you make two different schemas for each of the application and call them, for example HR schema and Fin schema. Now, you can create objects related to each of the application in it's own schema and store it in may be a single tablespace, Users. But this is going to be a little problematic like what would happen if you have lost the data file of that tablespace? You would be losing the data related to both the applications. So the better option would be to use two different tablespaces and store the data related to each application in both of them.
    Understand that tablespace is a logical structure only. The only thing that's physical is going to be those data files which are stored under the tablespace. So if you are just running out of space in a data file of a tablespace, you do not need to create another tablespace. Take it like this that if you are running out of space for your family in the house, you can either make a new house for them or you can even build a new floor for them. Which one would be easier to manage, the new floor since a lot of ground work is already done for you. And that's what is the case if you have run out of the space in the data file. For this,you can simply create a new datafile(building a new floor) or even extend the existing one(construct a new room in the same floor, if you have space) . But creating a new tablespace won't be something that you should be doing for the reason of space being exhausted IMO.
    Aman....

Maybe you are looking for

  • Using acrobat on multiple devices?

    I pay the monthy fee acrobat and want to use this software on my desktop and iphone, not just my laptop. Ive tried downloading on my desktop and have been unsuccessful. Can you use on multiple devices when paying for this service?

  • Excel 2013 hangs when previewing xls file made by Reporting Server 2008

    Hi all. I have a unusual error in excel 2013. We have a homepage that delivers statics to our users and there you can choose to export the webpage to a xls file via SQL ReportingServer 2008. The thing is when I open this exported file in Excel and hi

  • Bonjour network problem

    I work with a small network of mostly Panther based Macs, some are running Tiger. We have a USB based Cannon printer (PIXMA iP4500) that we would like networked. Why Canon is not using ethernet as much anymore I'll never understand. We have only one

  • Maximum number of columns in ALV_GRID

    Hello, As per the requirement I am trying to display 70 to 75 columns in report output using ALV_GRID function module. Can we do this or is there any restriction? Thanks, Srinivas

  • SCWCD: Best book

    Hi, Can any one suggest me the best book to refer to give the SCWCD certification. I searched previous posts but did not find any. Moreover SUN recommends SCWCD by Hanumant Deshmukh. I have seen the reviews on this books that are rating very bad. Whi