How to create Popups in task flows
Hi,
Can any one help how can we create popup in taskflow. My requirement is i need to do create/edit operation on a table using task flows i have followed the "http://www.oracle.com/technology/obe/obe11jdev/11/btf/bounded_task_flow.html#t6" for create/edit operations in this it's navigating to new page, my case i need to invoke a popup instead of page.
can any one help me.
You need to create a separate tf for the edit and use that as a region in your search page.
Similar Messages
-
How to call an adf task flow in a commandNavigation tab
Hi,
I have created an adf task flow, I am able to invoke the same on click of a link.
Now I have a tab and some sub tabs under it. I want to open this adf task flow on click of one of these sub tabs.
For this I have added a property of type CommandNavigationItem in parallel with exising subtabs and on the actionListener of this property I am calling the method of the adf task flow.
But it is not working. When I click on the sub tab created by me I get this error on the logs :
ADF_FACES-60096:Server Exception during PPR, #1[[javax.servlet.ServletException
Please help/guide how to solve this issue.Hi,
do you use the XML Menu Model? If so then the task flow must be referenced from a navigaqtion case in the unbounded task flow you turn into the menu model
Frank -
Do some processing before loading jsf fragment created using adf task flow
Hi,
I am working on JDev11g.
I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
Is there any method which is called only first time when region is loaded ?
Or any other solution to achieve this.
Regards,
DevangHi,
don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
Frank -
How to create a custom task in SRM for the standard task
Hi Gurus,
How to create a custom task in SRM for the standard task eg: TS10407929
regards,
George.from PFTC itself. Same.
-
How to create a warehouse task in EWM
Hi Experts,
In Extended Ware house management(EWM), how to create a Warehouse Task against inbound delivery order,
if there any standard method's is available, if not any custom methods, plz let me know.
my issue :
am retrieving a Productid, batch, location from various tables.
now along with this i have to find the inbound delivery order,
for this inbound delivery order , i need to create a warehouse task.
please let me share.
Regards,
Nag.from PFTC itself. Same.
-
How to create popup in ABAP webdynpro.
Hi,
I found lot of examples to create a popup/ model window for java webdynpro.
Could anyone give a pointer to an example which explains how to create popup in ABAP webdynpro??
Kind Regards
ShahulHi Thomas:
It worked fine the 1st time. Second time when the user clicks on the button to open up the popup it dumps.
Here is the code in the action for popup:
data: l_cmp_api type ref to if_wd_Component,
l_window_manager type ref to if_wd_window_manager,
l_api type ref to if_wd_View_controller,
l_text type string_table.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
if wd_this->m_popup is initial.
wd_this->m_popup = l_window_manager->create_window(
window_name = 'DOCQSOW'
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none ).
component_usage_name = 'DOCQUERY_USAGE_1'
l_api = wd_this->wd_get_api( ).
wd_this->m_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = 'Transfer'
action_name = 'POPUP_CLOSED'
action_view = l_api ) .
wd_this->m_popup->SET_REMOVE_ON_CLOSE( abap_true ).
endif.
wd_this->m_popup->open( ).
Second time when the popup tries to open, I get the following error:
Method: RENDER_WINDOW of program CL_WDR_WINDOW_RENDERER========CP
Method: RENDER_WINDOW of program CL_WDR_CLIENT_SSR=============CP
Method: RENDER_POPUP_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_RESPONSE_RENDERER~RENDER_VIEWS of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_RESPONSE_RENDERER~RENDER_USER_INTERFACE_UPDATES of program CL_WDR_CLIENT_SSR=============CP
Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_WDR_CLIENT~SEND_RESPONSE of program CL_WDR_CLIENT_SSR=============CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Is there a way to destroy the instance of the m_popup?
Any help is appreciated!
Thanks -
How i create popup menu when button onclick
how i create popup menu when button onclick
You try adding a scrip tag in your jsp code, and calling the function in the onclick attribute.
Example:
<script><![CDATA[
function confirmDelete(){
if(confirm("Are you sure you want to delete selected user")){
return true;
} else{
return false;
]]></script>
<ui:button action="#{View.delete_action}" binding="#{View.delete}" id="delete" onclick="confirmDelete"/>
Cheers
Daniel
null -
How Worklist/BPM knows which task flow to invoke at runtime
Hi, I use JDev 11.1.1.5
In my BPM, I had one Human task activitiy state. Then I create a task flow through "ADF Task Flow Based on Human Task". I found that there is no any configuration value for taskFlowFileLocation property in .task source file. However, the process succefully invoke the correct task flow when I run it.
I am curious on how the worklist engine associate the task flow with the human task? If there are multiple task flows for the same human task, which file is the right place to find the configurations?
Thanks,Hi Yannick,
I have a same scenario like yours. Have you implemented that? How to modify the preferences in backing bean? I change the input parameters of taskflow in backing bean. But when popup the edit dialog, the old value is still there. Thanks.
Regards,
Joe -
Create Custom ADF Task Flow for BPM
Hi,
I'm working an project on BPM and I'm required to create a custom ADF task flow with multiple views based on the human tasks in BPM. Since I'm new to ADF, could some one please give me some pointers?
Thanks,
DebojitHi,
You have to implement your own custom worklist screens for such a subject. As you know the OOTB worklist screen shows the logged-in users' assigned, etc. tasks. You have to implement the API of SOA workflow.
You can check Mark Nelson's blogs on Redstack to accomplish this. Hope this is the answer of the problem you are looking for. -
How to add many bounded task flow just on one only .jspx page?
Dear all
I will explain you what I do and What I want to do.
I created one jsf page template called "baseTemplate". It contains only one panelSpliter with horizontal layout . In the first face I created 10 commandLinks as a menu. the second facet contains the facet ref.
My task is now to create 10 task flows.
What i do is:
1- create bounded task flow name it "taskFlow1" and add all the views and page navigations that I want.
2- double click the views and create them as page fragment and design the layout.
3- create .jspx page name "task1.jpx" based on "baseTemplate".
4- dragging and dropping "taskFlow1" into "task1.jspx" as a region
5- repeating steps from 1 to 4 with "task2.jspx" till "task10.jspx"
in this way i created 10 "jspx" pages for each task flow
What i want to do is:
I want to create just one and only one ".jspx" page and drag all task flows on it. And when clicking on any command link from the menu , the corresponding task flow is invoke.
Is this a way to do this.
Thank you in advance.of course, there is.simply in the unbounded Task flow drag your task flow as task flow call and specify the outcome, and make the action of your command link
the outcome you specify, of course you will navigate to the default activity of the bounded task flow also you could open your task flow as lightweight dialog
as frank do in his example -
How to create popup link in OAF dynamically or declaratively.
Can anybody please help how to create a link as popUp in OAF dynamically or declaratively?
Step 1: Create an OAPopupBean. For example:
OAPopupBean popupBean =(OAPopupBean)createWebBean(pageContext,POPUP_BEAN,null,"myPopup");
//Set the following properties on the pop-up:
popupBean.setID("myPopup");
popupBean.setUINodeName("myPopup");
String popupRegion= "/oracle/apps/fnd/framework/toolbox/labsolutions/webui/TestEmpDetailsRN" ;
popupBean.setRegion(popupRegion);
popupBean.setHeight("130");
popupBean.setWidth("320");
popupBean.setTitle("Test");
popupBean.setType(EMBEDDED_POPUP); /* Embedded type */
Step 2: Select the item (messageStyledText, image, link, or button) on which you want to enable the pop-up, and set the following properties, as shown in this example:
OATableBean tableBean = (OATableBean)webBean.findChildRecursive("ResultsTable");
OAImageBean image = (OAImageBean)webBean.findChildRecursive("UpdateImage");
image.setPopupEnabled(true);
image.setPopupRenderEvent("onClick");
image.setPopupID("myPopup");
Step 3: Add the pop-up as an indexed child of the region that contains the item on which the pop-up is enabled.
Note: If you are enabling a pop-up on an item within a classic table, advanced table or HGrid, then you must add the pop-up and the item on which it is enabled to a layout and add the layout as the indexed child of the table.
In this example, the pop-up is enabled on an image within a table, hence the pop-up is added as a second level indexed child of the table:
OAStackLayoutBean stackLayoutBean = new OAStackLayoutBean();
stackLayoutBean.addIndexedChild(popupBean);
tableBean.addIndexedChild(stackLayoutBean); -
How to create PopUps in Web dynpro
Hi,
How can I create Popup window in web dynpro's.
Regards,
VenkatHello Venkat,
Refer these links
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504</a><a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6</a>
Hope the information helps.
Regards,
Sudeep. -
How to control Transaction in task flow ?
Hi All,
In Each task flow under behavior tab we have transaction which contains following sub category
1-Always Begin New Transaction
2-Always use Existing Transaction
3-use Existing transaction if possible
Would any one give me real example which will show the purpose of this things
Thanks
Edited by: ADFORCLE on Jan 16, 2012 6:26 PMhttp://one-size-doesnt-fit-all.blogspot.com/2011/05/jdev-11g-task-flows-adf-bc-always-use.html
http://one-size-doesnt-fit-all.blogspot.com/2011/05/jdev-11g-task-flows-adf-bc-one-root.html -
HOW I CREATE POPUP MENU ON MOUSE OVER
hello every body
my question is how to create popupmenu on mouse over on table column data in studio creator.
please help me
thanksok this examples runs great on image component, in button or hyperlynk dont work finee or i can find how, paste this code in the head of the jsp code:
<script type="text/javascript"><![CDATA[
var opt=0;
* AnyLink Drop Down Menu- � Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
//Contents for menu 1
var menu1=new Array()
menu1[0]='Information<\/a>'
menu1[1]='Del<\/a>'
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow' //menu bgcolor
var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
/////No further editting needed
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"><\/div>')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
return totaloffset;
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
return edgeoffset
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
return clickreturnvalue()
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
]]></script>
Next, paste this in css stylesheet:
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
#dropmenudiv a:hover{
/*hover background color*/
background-color: #faebeb
and in the image componen in event onClick paste this
dropdownmenu(this, event, menu1, '150px')
onMouseOut event paste this:
delayhidemenu()
this should works, and as u can see, u can get more examples like this in the DHTML page. I hope it helps
Plz tell me if this is what ur looking for, oor if u need help, post again
Beltazor -
How to create the new task without time through WCAP
Hi
I am trying to create the new task by using WCAP commands. I want to create the task with out time, that is "no time" option that u see in the web access. If I set the duedate without time its putting 12:00 AM as default. Is there any option that I need to set for WCAP command in order to set the "no time" option. Any help is appreciated.
Thanks
HariHi Anusha,
This code correct for your requirement, only thing is you are not able to modify it as per your requirement.
What you have to do is:
1. Copy queried row into into new row, change primary key values(but don't commit your changes here).
2. Now you have two rows in your VO(OLD as well as New)
3. Make any changes if you want using User Interface.
4. At the save button first compare OLD and NEW row, if any value is differing then commit the chnages(it will insert new row in corresponding database table), if no changes are there I mean to say OLD value and NEW rows are same then rollback(it will remove copied row from VO and no row will be inserted in database.)
While comparing rows please note that Primary keys will not be same so don't compare Primary keys while comparing rows.
I hope it will help you.
Regards,
Reetesh Sharma
Maybe you are looking for
-
What are theSNP Settings required for Forecast Consumption with Sales Order
Hello APO Folks, I have one SNP scenario: (We don't have GATP) Forecast for Finsihed Product - "PNG_Fert" in Location "1000". I have forecast quantity of 500, now our requirement is - when SNP heuristic run will take place (without any sales order q
-
When ever I type in something on safari it quits the app
-
Quality inspection for stock transfer inspection type 8
Dear Friends , For inspection type 8 , when there is a stock transfer from plant to plant a inspection lot is created automatically and then the stock goes to QI and we do RR and UD and stock posting to Unrestricted stock if pass Is my understanding
-
WP Table of MMC has some of them
Status ended. i am trying to install SAP R/3 4.6C on Windows xpp, but some of the work process in WP Table are getting status ended and err 1. i have not installed the Gui yet, bcoz before installing that i wanted to make sure i could turn on the R/3
-
Error while trying to update Touch to 2.0 – help!
I launch iTunes and plug in my Touch. I've purchased 2.0 and it first asks me do I want to update. I Accept T&Cs and then it says There was a problem downloading the iPod software for the iPod Touch. You do not have enough access privileges for this