Code for set the attribute with sysdate

OADBTransactionImpl oadbtr= (OADBTransactionImpl)oapagecontext.getRootApplicationModule().getOADBTransaction();
Date sysdate = oadbtr.getCurrentDBDate();
// vo.getCurrentRow().setAttribute("Attribute11",sysdate);
OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("CashAndOtherLinesVO");
oaviewobject.reset();
OARow oarow = (OARow)oaviewobject.next();
while(oaviewobject.hasNext())
oarow.setAttribute("Attribute11",sysdate);
}

Prakashjava wrote:
Hi Friends,
Happy to get back. I need a valid sample code to display the menu bar with menu items in a JSP page with struts.Then what you need is a Google search.

Similar Messages

  • How to set the attributes of request in JSF Programming

    Hi All,
    for setting the attribute values for session, we do something like below.
    setValue("#{sessionScope.PREFERED_TOTALDAYS}",request.getParameter("txtDays")!=null?request.getParameter("txtDays"): ""+jobRowSet.getInt("PREFERED_TOTALDAYS"));
    Now my query is for setting the attribute values of request what is the code I need to use??
    thanks,
    sudhakar

    Just replace "sessionScope" with "requestScope". That will set the attribute request scope.
    Regards
    -Jayashri
    Creator team.

  • I have set up my work Exchange email/calendar. After setting up I am getting passcode expired message and asking for changing the passcode with a 16   digit and 4 special characters. No combination of numberic, alphanumeric, special characters works. Help

    I have set up my work Exchange email/calendar. After setting up I am getting passcode expired message and asking for changing the passcode with a 16 +  digit and 4 special characters. No combination of numberic, alphanumeric, special characters is working. Help!!

    I have set up my work Exchange email/calendar. After setting up I am getting passcode expired message and asking for changing the passcode with a 16 +  digit and 4 special characters. No combination of numberic, alphanumeric, special characters is working. Help!!

  • Polling the master detail table and to update the LAST_UPDATED with SYSDATE

    Hi
    The requirement is polling the master detail table where read_flag is null and has to update the LAST_UPDATED with SYSDATE in both tables.
    Refered the MasterDetail and PollingPureSQLSysdateLogicalDelete samples of SOASuite.
    Used the delete polling strategy in polling process and modified the generated TopLink discriptor as follows.
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for master table (RECEIVER_DEPT) :
    update RECEIVER_DEPT set READ_FLAG= 'S' , LAST_UPDATED=sysdate where DEPTNO=#DEPTNO
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for Detail table (RECEIVER_EMP):
    update RECEIVER_EMP set LAST_UPDATED=sysdate where EMPNO=#EMPNO
    After deploying the bpel process data is updated in master(RECEIVER_DEPT) table with LAST_UPDATED as sysdate and read_flag as S
    however data is deleted in detail(RECEIVER_EMP) table rather than updated records.

    Xtanto,
    I suggest using JSP / Struts. UIX will be replaced by ADF Faces in JDeveloper 10.1.3 and thus I wouldn't suggest new developments to be started with UIX unless time doesn't allow to wait for ADF Faces. In this case develop UIX in an MVC1 model, using the UIX events for navigation because this model seems more likely to be mgratable, according to the UIX Statement of direction on Otn.
    Back to your question. You can create a search form in JSP that forwards the request to a StrutsData Action to set the scope of teh result set. The read only table can have a link or a button to call the detail page, passing the RoewKey as a string.
    Have a look at the Oracle by Example (OBE) tutorials that contain similar exaqmples.
    Frank

  • Code for repositioning the borders in SFP

    Hello Forum,
    Could someone help me with the code for repostioning the borders in SFP?
    Thanks
    Best Regards
    D. Swathi

    Hi Swathi,
    Are you asking about the page border repositioning. Follwing is the code to reposition any UI Element on the form.
    The code is in FormCalc and Java Script and you have to write it in the form's Script editor. Write the code in the event of the UI element you want.
    To set Margins use follwing:
    Margins
    Left
    leftInset property
    Subform1.margin.leftInset = "measurement"
    Right
    rightInset property
    Subform1.margin.rightInset = "measurement"
    Top
    topInset property
    Subform1.margin.topInset = "measurement"
    Bottom
    bottomInset property
    Subform1.margin.bottomInset = "measurement"
    Size and Position
    X
    x property
    Subform1.x = "measurement"
    Y
    y property
    Subform1.y = "measurement"
    Width
    w property
    Subform1.w = "measurement"
    Height
    h property
    Subform1.h = "measurement"
    Width Auto-fit
    minW property
    Subform1.minW = "measurement"
    Height Auto-fit
    minH property
    Subform1.minH = "measurement"
    Hope it will help.
    Regards,
    Vaibhav Tiwari.

  • Wanted to update the software now available, but it is asking for a pass code. As far as I remember in didn't put in any pass code , how do I settle this issue . Earlier updates were asking Apple ID but pass code for updating the new soft ware not known.

    Wanted to update the software now available, but it is asking for a pass code. As far as I remember in didn't put in any pass code , how do I settle this issue . Earlier updates were asking Apple ID but pass code for updating the new soft ware not known.

    Hello Kewal,
    Thank you for the details of the issue you are experiencing when trying to perform an update.  I recommend trying to update using iTunes, and as always, it is a good idea to make a backup first. 
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • T.Code for checking the total value of a material

    Hi Experts,
      Can anybody tel me the T.code for checking the total value of a material which is procured in a specified period?
    Thanks in advance
    Channa

    Refer Tcode ME80FN click on Change Veiw & select Purchase Order History with this you can get PO-GRN-INVOICE Qty & Value details
    Last button on Application tool Bar it is in line of filter, total etc icons
    Also check below reports :
    MC$G - PURCHIS: Material PurchVal Selection
    MC$0 - PURCHIS: PurchGrp PurchVal Selection
    MC$< - PURCHIS: MatGrp PurchVal Selection
    MC$4 - PURCHIS: Vendor PurchVal Selection

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • Transaction Code for seeing the files in the  Application Server

    Hello All,
      Can anybody please give me the transaction code for seeing the files in the Application Server
    Thanks in Advance,
    Regards,
    LIJO.

    hi
    good
    try with tcode AL11.
    thanks
    mrutyun^

  • Settings for Mark for deletion for setting the exchange Rates

    Hi all,
    Can you tell me where is the settings for Mark for deletion for setting the exchange Rates.
    User has deleted all the MEND rates in 'OB08'.
    and he cannot input them again, gets error message "an entry with this key is marked for deletion"
    Rg
    vk

    Hi
    Try as said in help - Message number is SV010
    You can:
    enter another key
    delete the entries before entering the new entry
    The entries flagged for deletion can then no longer be reactivated.
    End the error dialog with Cancel. Choose Save and repeat your new entry.
    reactivate the entry marked for deletion to change it :
    and return to the overview screen with Back.
    Choose Display deleted entries in menu Choose to select all the deleted entries.
    Mark the entries that you want to reactivate.
    Choose Retrieve.
    VVR

  • Code for displaying the word doc file from servlet as response.

    Hi can any provide me code for displaying the word document form servlet as response.
    here i have file from file it should ale to read them and display it.
    i have written code but the proble here is in displaying.it ios as not showing as word.can any one help me here
    vijay

    Are we talking of HTTP?
    If yes, you'll need to provide an appropriate content-type and use the binary output stream.
    IE does not trust the content-type header but relies upon the file name, so set it too.
    response.setHeader( "Content-Disposition", "attachment; filename=" etc. Edited by: BIJ001 on Oct 22, 2007 10:10 AM

  • I Seek code for programming lego minstorm with labview

    Hi,
    I'am building a car with lego mindstorm for a project and i seek code for programming my car with labview. If you already use labview for programming lego mindstorm, can you send exemples codes for see how the car do for move or turn. please.
    Thanks 

    duplicate post
    duplicate post
    Please try to keep your question to one thread. Otherwise people don't know where to respond. 

  • Code for displaying the elements of ArraList and HashMap

    hi..im new to java ..
    tell me the code for displaying the elements of ArraList and HashMap

    myj-ava wrote:
    wt abt displaying the elments of HashMap?plz..give clear codehey, this is not a code-giving service. This is a forum of volunteers who help others who have specific questions. I find that the greatest help is given to those who have shown that they've put in at least some effort. You have shown none. Please look at the Sun tutorials first, then come back with a specific question if anything there confuses you.

  • API for setting Access points with PEAP programmatically

    Dear Godly developers,
    Would like to find out if there is any APIs for setting Access points with PEAP programmatically?
    Regards
    hAoZ

    Thanks for your response. We don't have the Wireless LAN Controller installed and have only configured directly through the AP's, which don't seem to have any configuration changes regarding Aironet IE's. Is there a config change that needs to be made just on the AP's? Or is the Wireless LAN Controller software necessary to make this change?
    Thanks again.

  • T.code for check the Total SRS

    pls tell me t.code for match the SRS (stock requitions slip)from store  or production ?
    Thanks
    Rekha Sharma

    U can check in MB25 or in MB51.

Maybe you are looking for

  • File or Folder does not exist

    I'm having a wierd problem with a png image which generates an error in my script. I'm building a UI using the group constructor, here is the line code I'm using to load the image: myImg:Image{text:'',image:'(image_folder)/image.png', alignment:['lef

  • Deployment Profile items are all greyed out

    I am using Jdev 10.1.3.3.0 with Jheadstart. I created an application and started looking at deploying it as a WAR file. I was able to create a connection to the target Application Server with a Successful test connection. The next step is to create a

  • Bank charges for DD

    Dear All, My client would like to send DD (Demand draft) to vendor and bank charges are bing made by my client. So, to be able to achieve in SAP Configuration where i have to configure (In FBZP) or where else. they are using APP (F110) how the bank c

  • Problem accessing gmail with IMAP using JavaMail APIs

    Hi, I am trying to access my gmail account with JavaMail API. I am able to access it using pop3s but not with IMAP. I have used following details: protocol: imap host: imap.gmail.com port: -1 (also tried with 993) but no success. My basic code is url

  • HT201210 how to download the latest software to my ipad which I purchased 2 two years ago

    May some one can tell me how to download the latest version of software to my ipad (the oldest version).