tag:blogger.com,1999:blog-5874979429188093780.post5962709105828078472..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: ADF Generator for Dynamic ADF BC and ADF UIAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-5874979429188093780.post-59279854476459399252016-12-30T06:38:16.757+01:002016-12-30T06:38:16.757+01:00Hi Andrejus Baranovskis,
In of my application I u...Hi Andrejus Baranovskis,<br /><br />In of my application I used dynamic VO. but i got the weird behavior like in QA environment i am getting oracle.jbo.domain.date datatype for date attribute and on production I am getting java.sql.timestamp datatype . can you help me why i am getting this type of behavior? erything is same on both the environments. and when i restart the server then issue is resolved on prod.<br /><br /><br />How can i handle this behaviour?Nikita Charakhawalahttps://www.blogger.com/profile/16053697802242877377noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-47201898830030192442016-11-26T11:46:08.357+01:002016-11-26T11:46:08.357+01:00This is true for all old samples prior to 2014, yo...This is true for all old samples prior to 2014, you can download all such samples from Google Archive - https://code.google.com/archive/p/jdevsamples/downloads<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-69536044169431367932016-11-26T10:17:44.384+01:002016-11-26T10:17:44.384+01:00Hi Andrejus
i notice that you application download...Hi Andrejus<br />i notice that you application download links are down is any other links can be posted Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-5471027584221236632016-11-01T13:47:46.132+01:002016-11-01T13:47:46.132+01:00Thank you!!!
I'll be waiting :)Thank you!!!<br />I'll be waiting :)Marcohttps://www.blogger.com/profile/08261079407188317538noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-50672799400337497402016-10-31T18:29:44.420+01:002016-10-31T18:29:44.420+01:00Thanks for feedback. I noted down your question. I...Thanks for feedback. I noted down your question. I will try to post next blog with answers.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-30590797992700266242016-10-31T17:57:39.818+01:002016-10-31T17:57:39.818+01:00Hi Andrejus,
your job is wonderful, as ever.
I'...Hi Andrejus,<br />your job is wonderful, as ever.<br />I'm trying to use the dynamic table but I have some problem in setting the SelectionListener and the filterable options.<br />In a comment you wrote that filterable options work fine with you.<br />Could you please share the method you used?<br />And for the SelectionListener: have you found how can be substituted the call to the collectionModel.makeCurrent method?<br /><br />Thanks and best regards.<br /><br />MarcoMarcohttps://www.blogger.com/profile/08261079407188317538noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-53159585563209344112016-05-17T07:05:05.846+02:002016-05-17T07:05:05.846+02:00You can add validation rules to ADF BC attributes ...You can add validation rules to ADF BC attributes programmatically.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-72140390900626111432016-05-17T06:27:05.682+02:002016-05-17T06:27:05.682+02:00Hi Andrejus,
How do we apply page level validatio...Hi Andrejus,<br /><br />How do we apply page level validation for the jsff which is created.<br /><br />eg : If i want to apply email, integer validation on jsff how can we achieve it above scenario?<br /><br />Thanks,<br />Rohitreign of chaoshttps://www.blogger.com/profile/10941323335729128113noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-13223323356248830872015-05-29T11:45:04.401+02:002015-05-29T11:45:04.401+02:00Hi,
On using this approach to create VO, View Acce...Hi,<br />On using this approach to create VO, View Accessor I am running into 2 issues. Can you help with this?<br /><br />I am not using a dynamiic form, instead have created a transient attribute on existing vo and associating the view accessor at runtime.<br /><br />1. First approach, I tried to drag n dropo my transiient attribute and load the lov from bean method. With This, I was able to acess the ListBinding loaded programatically as mentioned by you. But was not able to access the values of ListBinding. I was using listBinding.getValueList() and listBinding.getLabelList() methods to show the lov. But these were always returned null and hence could not populate the selectItems. <br /><br />2. In second approach, I tried to drop the transient attribute ass Lov and mapped it to the programatic lov id in page def xml. With this approach, While the screen is rendered I am getting "Definition -1 of type Attribute is not found in Vo". On debugging I noticed View DEfinition is looking to a result Index to load the Row Set, And in this case it is always returning as -1. Hence the error.<br /><br />Can you please suggest me the right approach?Sandhyahttps://www.blogger.com/profile/06384231258101987912noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-72014844457356057402015-05-20T06:47:05.915+02:002015-05-20T06:47:05.915+02:00Hi
Thank you very much for this post. I was able ...Hi<br /><br />Thank you very much for this post. I was able to implement a dynamic form<br /><br />But the attributes which were present in form can i show those attribute below the form as table in read only mode??<br /><br />If so kindly let me knowRakeshhttps://www.blogger.com/profile/11585095475931270621noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-45902930777754338372015-04-17T06:23:20.035+02:002015-04-17T06:23:20.035+02:00You could use LOV switcher functionality and still...You could use LOV switcher functionality and still have two LOV's in the background.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-30066774719576402222015-04-17T05:58:38.407+02:002015-04-17T05:58:38.407+02:00Hi, Thanks for your great post, It's very help...Hi, Thanks for your great post, It's very helpful! We have another requirement: whether can we change sql of LOV VO at run time? for example: I have 2 pages, one page has 2 buttons, another is to show form of dynamic table, one column has dynamic LOV, when press button 1, LOV show sql 1 list, when press button 2, LOV show sql 2 list<br /><br />KelvinAnonymoushttps://www.blogger.com/profile/00414658787182020514noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-28296503349479026042014-12-09T10:49:05.694+01:002014-12-09T10:49:05.694+01:00I have a similar app for 12c, it is using complete...I have a similar app for 12c, it is using completely custom generated UI, you can change it to use dynamicComponent: http://andrejusb.blogspot.com/2014/11/adaptive-form-with-dynamic-adf-lov.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-10572094354176077632014-12-09T10:29:52.385+01:002014-12-09T10:29:52.385+01:00Hi,
Could you test this application in jdev12c?
...Hi,<br /><br />Could you test this application in jdev12c?<br /><br />I have an application in which I create the Entities, ViewDefs and VOs at runtime in model project, and VOs are rendered as table with <af:dynamicComponent.<br /><br />I want to use the af:query panel with the ViewCriteria "__ImplicitViewCriteria__", but I get the same error.<br /><br />jdev 12c.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-81041343046084252322014-11-13T12:01:17.651+01:002014-11-13T12:01:17.651+01:00Try to recreate the iterator - http://andrejusb.bl...Try to recreate the iterator - http://andrejusb.blogspot.com/2013/03/adf-generator-for-dynamic-adf-bc-and.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-71784735192663743862014-11-13T11:39:36.528+01:002014-11-13T11:39:36.528+01:00Hello Andrejus,
Thanks for the useful post on dyn...Hello Andrejus,<br /><br />Thanks for the useful post on dynamic form.<br /><br />I am trying to implement this feature in my project. Am facing NullPointerException as below while trying to run the page.<br /><br /> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6<br />java.lang.NullPointerException<br /> at oracle.adfinternal.view.faces.dynamic.DynamicForm.isRefreshNecessary(DynamicForm.java:506)<br /> at oracle.adfinternal.view.faces.dynamic.DynamicForm.createChildren(DynamicForm.java:373)<br /> at oracle.adfinternal.view.faces.dynamic.DynamicForm.encodeBegin(DynamicForm.java:283)<br /><br />Can you help me out?<br /><br />Thanks,<br />VishwanathAnonymoushttps://www.blogger.com/profile/11854682033768876074noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-48094518456815391712014-07-17T18:50:27.707+02:002014-07-17T18:50:27.707+02:00This post for 11g, I would need to test if same wo...This post for 11g, I would need to test if same works with 12c. This is different.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-67813912112446131352014-07-17T09:29:24.332+02:002014-07-17T09:29:24.332+02:00jdev version is 12c (12.1.2.0).
I have created a ...jdev version is 12c (12.1.2.0).<br /><br />I have created a dynamic table with the ADF Table wizard, checking the option: Generate columns dynamically at runtime.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-30663761309868474112014-07-16T19:53:01.775+02:002014-07-16T19:53:01.775+02:00I was testing filterable option with dynamic table...I was testing filterable option with dynamic table, it works fine for me. Which ADF version you are using?<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-80761187514357597972014-07-16T19:17:16.169+02:002014-07-16T19:17:16.169+02:00Thanks for this post.
I have detected an issue wi...Thanks for this post.<br /><br />I have detected an issue with this solution. If you create the dynamic component as dynamic Table, It doesn't work.<br /><br />This is the stack trace:<br /><br />java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String<br /> at oracle.jbo.ViewCriteriaItem.resolveResourceProperty(ViewCriteriaItem.java:2613)<br /> at oracle.jbo.ViewCriteriaItem.resolveResourceProperty(ViewCriteriaItem.java:2608)<br /> at oracle.jbo.ViewCriteriaItem.getControlType(ViewCriteriaItem.java:2828)<br /> at oracle.adf.model.bean.DCVCItemValueRowAttrHints.resolveControlType(DCVCItemValueRowAttrHints.java:476)<br /> at oracle.adf.model.bean.DCVCItemValueRowAttrHints.getControlTypeSkipOperCheck(DCVCItemValueRowAttrHints.java:188)<br /> at oracle.adf.model.bean.DCVCItemValueRowAttrHints.getHint(DCVCItemValueRowAttrHints.java:224)<br /> at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHint(JUCtrlValueBinding.java:2353)<br /> at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeDescriptor._getControlType(FacesCtrlSearchBinding.java:3519)<br /> at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeDescriptor.isLOVDefined(FacesCtrlSearchBinding.java:3692)<br /> at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfFilterAttributeCriterion.(FacesCtrlSearchBinding.java:4998)<br /> at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfFilterConjunctionCriterion._loadCriterionList(FacesCtrlSearchBinding.java:4645)<br /> at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfFilterConjunctionCriterion.getCriterionMap(FacesCtrlSearchBinding.java:4568).<br /><br /><br />This is happening when you check the filterable table option.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-18325544175328704182014-03-07T06:07:25.977+01:002014-03-07T06:07:25.977+01:00Thanks for the post.
In my case i have a view obje...Thanks for the post.<br />In my case i have a view object already defined. Now I want dynamically create LOV and attach to the view object attributes.<br /><br />Regards<br />AzharAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-85226374289266357022013-02-06T23:01:38.594+01:002013-02-06T23:01:38.594+01:00Hi, thanks for writing such great posts. I was abl...Hi, thanks for writing such great posts. I was able to implement a dynamic reporting module based on this post. Regards.Anonymoushttps://www.blogger.com/profile/05599815066202691589noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-46446187185644860202012-11-26T11:33:22.108+01:002012-11-26T11:33:22.108+01:00No, I dont have such sample. I would recommend to ...No, I dont have such sample. I would recommend to use ADF BC, if you access DB directly.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-43062780588627476702012-11-26T10:50:57.225+01:002012-11-26T10:50:57.225+01:00Hello,
Thanks for your another nice post. It is qu...Hello,<br />Thanks for your another nice post. It is quite helpful for that subject i think.<br />Is there any sample used by EJB, Eclipselink like this one here-related in dynamic view/ui on ADF? I will be appreciated if you could share.Anonymoushttps://www.blogger.com/profile/00071966121598666824noreply@blogger.com