Current Position:Home > Defaulting on Dynamic VO.

Defaulting on Dynamic VO.

Update:11-30Source: network consolidation
Advertisement
In Create timecard page, user will enter Project, Task, Hours and i have one more field dept (Custom Field added in timecard)
I want to default Dept field based on Task.
How to achieve this
THis is my Page
/oracle/apps/hxc/selfservice/timecard/webui/TcActivitiesPG
VO of this page is dynamic VO
SummaryTableDynamicVO
Page controller is TimecardCO . It has only Processrequest Method
All Field been added dynamically in Processrequest
How to defualt the Dept Field based on Task. Both attributes are part of Dynamic VO
Thanks
Vinoth.

The Best Answer

Advertisement
Hi,
Make use of below code
In PR
OAlinkBean beanObj = (OALinkBean)webBean.findindexedchildrecursive("link");
beanObj .setFireActionForSubmit("customEvent",null, null,false, false);
In PFR
String eventName = pageContext.getParameter(EVENT_PARAM);
if(eventName.equalIgnoreCase("customEvent"))
//put ur logic
}Regards,
Gyan
  • In Drop Down by Index how can i pass default value Dynamically Update:10-11

    Hi Friends, In Drop Down by Index how can i pass default value Dynamically.Please help me. Thanks in advance. Regards, Kumar.hi, if you want the value to be defaulted only the first time you execute the program then write the code which suman has men

  • *Can I pass default Selection dynamically for Drill Down Charts* Update:11-30

    Hi I am having Charts with Drill Down tab and I am currently having to select a value for the Default Selection Combo Box while saving the chart. I want to be able to update this default selection depending upn data coming from the XML / Webservice.

  • Playback Quality defaulting to dynamic or medium; Why??? Update:11-30

    Merry Christmas folks. I've posted a couple times in the past couple weeks regarding an issue that is still sadly unresolved. To try to simplify, I'm cutting a doc on a G5 (details below) using HDV footage on an HDV timeline. I've had no problems unt

  • Defaulting on Dynamic VO. Update:11-30

    In Create timecard page, user will enter Project, Task, Hours and i have one more field dept (Custom Field added in timecard) I want to default Dept field based on Task. How to achieve this THis is my Page /oracle/apps/hxc/selfservice/timecard/webui/

  • Default value dynamic select list Update:11-30

    Hi everybody, I have a question concerning dynamic select lists. I have a report of a table that shows some records. Each record has different versions of data. So when you click on a record you get to another page where you get some information abou

  • ACR Defaults and Dynamic Range Update:11-30

    The tone curve in ACR has a profound effect on the dynamic range of the rendered image, and often this is not appreciated by users. To demonstrate the effects of the tone curve on DR, I photographed a Stouffer step wedge with the Nikon D3 and rendere

  • Default Parameter Dynamic Values in BIP Update:11-30

    Hi All, I have Period Name which is Varchar data Type and has values like JAN-2014, so I want to set the Default Parameter value to previous month dynamically. I tired setting with {$To_Char(Add_Months((Sysdate),-1),'MON-YYYY')$) but it didn't work a

  • How to show first parameter value in drop down list as a default value dynamically in ssrs report? Update:10-11

    Hi, in my ssrs report i have two parameters, accounts and Manager ,there is a cascading between the accounts parameter and manager parameter, as per the cascading we will get managers names based on the account we selected in the accounts parameter,

  • Defaulting dynamic attributes and weightings for BID INVITATION Update:10-11

    Hi Friends I have a task at hand to default the dynamic attributes( some custom defined fields for the bidder) for bid invitation. Can anyone help me with this? Thanks in Advance RegardsHi Ankur, I assume you are looking for attributes automatically

  • Enable/disable/defaulting the radio button in tabular Form Update:10-11

    Hi friends, I have one radio button column in my tabular form with 3 values for it. <li>FC <li>BC <li>EC I need to enable/disable the radio buttons according to the position of the user. If the position of the user is CEO means, then FC