tag:blogger.com,1999:blog-4496361440376457974.post4363260919445693965..comments2024-03-27T04:40:00.049-07:00Comments on Connecting the {Dots}: Creating Task Flow bindings on the flyJobinesh Purushothamanhttp://www.blogger.com/profile/02803942794714887699noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-4496361440376457974.post-91950924779806791552014-01-03T05:20:08.970-08:002014-01-03T05:20:08.970-08:00Hi Jobinesh,
Nice post.
Do you have any ideas ho...Hi Jobinesh,<br /><br />Nice post.<br /><br />Do you have any ideas how to do it in release 1 ?<br /><br />Thanks.<br /><br />GhaziElGueuzifiéhttps://www.blogger.com/profile/14764470123466590446noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-26693851615516877862013-09-02T04:19:26.868-07:002013-09-02T04:19:26.868-07:00Hi, is there any option to create runtime showdeta...Hi, is there any option to create runtime showdetailsItem with different table?MadFlexhttps://www.blogger.com/profile/15527525456713003768noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-65154297407958198152013-05-10T02:23:16.681-07:002013-05-10T02:23:16.681-07:00Hi amit,
About adding Region programmatically:
y...Hi amit,<br /><br />About adding Region programmatically:<br /><br />you gotta specify region :<br />RichRegion region = new RichRegion();<br />region.setVisible(true);<br />region.setRendered(true);<br /><br />It will be OK.<br /><br />Thanh Hoangnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-67605091194198262452013-04-29T08:05:44.459-07:002013-04-29T08:05:44.459-07:00Hi Jobinesh,
Thanks for Sharing this valuable test...Hi Jobinesh,<br />Thanks for Sharing this valuable test App.<br />I ran your testApp.i was unable to retrieve,parameter map in jspx, with this syntax '#{tf.parameterMap['DepartmentId']}' , where tf is var in foreach. Can you please tell me how to access this parameter map in jsff/jspx ? <br />Thanks in Advance,<br />SiddiSiddihttps://www.blogger.com/profile/07681412759366746951noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-58207114861404337882012-04-16T03:17:31.810-07:002012-04-16T03:17:31.810-07:00Programmatic adding taskflow bindings is still not...Programmatic adding taskflow bindings is still not available in Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081.amithttps://www.blogger.com/profile/11516235464134012033noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-13351732637826865882011-11-29T21:20:48.441-08:002011-11-29T21:20:48.441-08:00Hi Jobinesh,
Cool idea, does makes sense. Thank y...Hi Jobinesh,<br /><br />Cool idea, does makes sense. Thank you.<br /><br />Regards,<br />Vijaioceanshttps://www.blogger.com/profile/16969450626268513871noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-40315583319896659112011-11-29T02:15:29.608-08:002011-11-29T02:15:29.608-08:00Vijai,
If you use VO, drag and drop the executeQue...Vijai,<br />If you use VO, drag and drop the executeQuery action displayed in the data control panel to your taksflow and mark it as default method activity for your taskflow.Rest will be taken care by the frameworkJobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-9134645640590973332011-11-28T21:32:35.159-08:002011-11-28T21:32:35.159-08:00Hi,
I have a scenario where I have a parent page w...Hi,<br />I have a scenario where I have a parent page which is more like a dashboard where I have four regions which shows data for monitoring purpose of different reports of the application. <br /><br />* All there regions are put inside a panel Box with the command link to refresh the data in the regions. <br />* The regions are dynamic regions where different task flow are assigned at runtime governed by their backing bean TaskFlow Id's (No input parameter for taskFlows).<br /><br />The problem I face is, I am able to restart the taskFlows in the regions to their default activity by hitting the refresh the link using this small piece off code.<br /><br />BindingContext bctx = BindingContext.getCurrent();<br />BindingContainer bindings = bctx.getCurrentBindingsEntry();<br />DCTaskFlowBinding taskflowBinding = (DCTaskFlowBinding) bindings.get("dynamicRegion2");<br />taskflowBinding.getRegionModel().refresh(FacesContext.getCurrentInstance());<br /><br />But the iterators in the page fragments of the task flows are not getting me the fresh values in the DB, instead they give me the values that are fetched during the initial loading. <br /><br />So can anyone kindly tell me how to refresh the regions from the parent page such that it refresh's the taskflow and get a fresh values from DB very time it loads.<br /><br />Thanks and Regards,<br />Vijaioceanshttps://www.blogger.com/profile/16969450626268513871noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-63734699515688842912011-08-17T22:20:35.135-07:002011-08-17T22:20:35.135-07:00Amit,
sorry for the delayed response. Look like th...Amit,<br />sorry for the delayed response. Look like this support/fix(programmatically adding taskflow bindings) will be available on future releaseJobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-17050078957468839542011-07-04T00:47:07.144-07:002011-07-04T00:47:07.144-07:00Hi Jobinesh,
I followed this post and the regions ...Hi Jobinesh,<br />I followed this post and the regions displayed as you explained.<br /><br />Then I tried little different approach where I have a tabbed view on my page. On this tab, inside a showDetail I put the below code and it works.<br /><br /><br />af:showDetailItem text="Detail" id="sdi1"<br /> af:region value="#{bindings.dynamicListBTFList.taskFlowBindingList[0].regionModel}"<br /> id="r1" rendered="true"<br /> af:showDetailItem<br /><br /><br />Later, I tried to add a new tab dynamically to display a region displaying one of the binded taskflow using below code. You see that the value expression is same.<br /><br />In this case of dyanmically adding the region, the new tab displays nothing!<br /><br /><br />RichRegion region = new RichRegion();<br />region.setId("Region_" + (n++));<br /><br />FacesContext context = FacesContext.getCurrentInstance();<br />ValueExpression vex =<br />context.getApplication().getExpressionFactory().createValueExpression(context.getELContext(),<br />"#{bindings.dynamicListBTFList.taskFlowBindingList[0].regionModel}",<br />Object.class);<br />region.setValueExpression("value", vex);<br /><br />RichShowDetailItem newShowDetailItem = new RichShowDetailItem();<br />newShowDetailItem .setDisclosed(Boolean.TRUE);<br />newShowDetailItem .setRendered(Boolean.TRUE);<br /><br />newShowDetailItem .setId("DynamicTabID_" +<br />(n++));<br />newShowDetailItem.getChildren().add(region);<br />mainTabbedPanel.getChildren().add(employeeShowDetailItem);<br />AdfFacesContext.getCurrentInstance().addPartialTarget(mainTabbedPanel);<br /><br />Please suggest if this is possible to do.amithttps://www.blogger.com/profile/11516235464134012033noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-58316373788663726942011-07-04T00:44:53.597-07:002011-07-04T00:44:53.597-07:00This comment has been removed by the author.amithttps://www.blogger.com/profile/11516235464134012033noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-55439487490669966802011-06-11T11:52:40.721-07:002011-06-11T11:52:40.721-07:00Nice feature :)Nice feature :)Selvahttps://www.blogger.com/profile/15296181128205692347noreply@blogger.com