tag:blogger.com,1999:blog-4496361440376457974.post3116146075969637726..comments2024-03-27T04:40:00.049-07:00Comments on Connecting the {Dots}: Custom modelJobinesh Purushothamanhttp://www.blogger.com/profile/02803942794714887699noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-4496361440376457974.post-54365273102256297322011-10-20T18:19:09.111-07:002011-10-20T18:19:09.111-07:00Hi Jobinesh,
Interesting way to create a custom t...Hi Jobinesh,<br /><br />Interesting way to create a custom train model.<br /><br />However, I notice that when I am on Step 5 and I go back to Step 1, I need to go over to Step 2-4.<br /><br />Isn't it possible such that when I am on the last step, I could navigate to earlier stops without navigating sequentially?<br /><br />I mean, when I have visited a trainstop already then it should be visited always?<br /><br />How to do that given this implementation.<br /><br />Regards,<br />RakeshAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-79583615662581437132011-10-12T18:24:34.161-07:002011-10-12T18:24:34.161-07:00Hi Jobinesh,
I think I am making headway on how t...Hi Jobinesh,<br /><br />I think I am making headway on how to implement my use case. Thanks to your post.<br /><br />But I just would like to know if given your code above, is it possible to set that a particular navigation item is Sequential/Skip/Ignore?<br /><br />Similar to setting of a train-stop?<br /><br />ThanksPhuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-56111671182680447052011-10-12T01:35:11.406-07:002011-10-12T01:35:11.406-07:00Hi Jobinesh,
I already sent an email to your acco...Hi Jobinesh,<br /><br />I already sent an email to your account.<br /><br />Thank You!Phuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-60525232679881147642011-10-12T00:16:03.837-07:002011-10-12T00:16:03.837-07:00Phu Tek,
Drop me a mail with the sample you tried,...Phu Tek,<br />Drop me a mail with the sample you tried, will take a lookJobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-46070856358327008332011-10-12T00:14:21.951-07:002011-10-12T00:14:21.951-07:00Hi Jobinesh,
Just to add also.
Why is it not pos...Hi Jobinesh,<br /><br />Just to add also.<br /><br />Why is it not possible to add a train buton bar component on your code?<br /><br />I tried it with this one.<br /><br /><br />af:train var="node" value="#{viewScope.CustomTrainModel}"<br /> id="train"><br />f:facet name="nodeStamp"><br /> af:commandNavigationItem text="#{node.label}"<br /> actionListener="#{node.doActionListener}"<br /> immediate="#{viewScope.CustomTrainModel.immediate}"<br /> disabled="#{viewScope.CustomTrainModel.readOnly}"<br /> visited="#{viewScope.CustomTrainModel.visited}"<br /> id="commandNavigationItem"/><br /><br /><br />af:trainButtonBar value="#{viewScope.CustomTrainModel}"<br /> id="tbb1"/><br /><br /><br />..but I am unable to navigate the Prev and Next button?<br /><br />Regards,<br />Phuu TekPhuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-40227482322314484302011-10-12T00:11:32.688-07:002011-10-12T00:11:32.688-07:00Blogger might be blocking my code...
af:trainButto...Blogger might be blocking my code...<br />af:trainButtonBar value="#{viewScope.CustomTrainModel}"<br /> id="tbb1"/><br /><br />sorry for spamming your blog post..Phuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-90490281958727693682011-10-12T00:10:02.220-07:002011-10-12T00:10:02.220-07:00This comment has been removed by the author.Phuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-10691455356637214912011-10-12T00:08:26.789-07:002011-10-12T00:08:26.789-07:00This comment has been removed by the author.Phuu Tekhttps://www.blogger.com/profile/08384225820173013681noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-18592960471815437612011-10-11T23:13:04.191-07:002011-10-11T23:13:04.191-07:00Hi Jobinesh,
This was a great post and this just ...Hi Jobinesh,<br /><br />This was a great post and this just suits my needs of dynamically creating train model.<br /><br />One question though, how can I generate a UI on each of the train stops?<br /><br />Since it will be dynamic then how can I add ADF Faces components on each trainstops?<br /><br />I am thinking of having a fixed sets of taskflow and I would like to dynamically bind each taskflow on each trainstops?<br /><br />What could be the best approach given your code?<br /><br />Thanks a lot.<br /><br />Regards,<br />Phu TekAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-46528901765247678072011-02-03T07:31:13.275-08:002011-02-03T07:31:13.275-08:00Thank you Jobinesh for your help. As you indicated...Thank you Jobinesh for your help. As you indicated in the email, I was running an individual page, not the task-flow xml. Tried the task flow xml and its working fine.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-2277926202704445612011-02-01T23:47:57.157-08:002011-02-01T23:47:57.157-08:00Thanks for looking into this.
I have sent you the ...Thanks for looking into this.<br />I have sent you the .EAR file.<br /><br />Thanks again.<br />SivaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-71021007381605312322011-02-01T20:47:09.755-08:002011-02-01T20:47:09.755-08:00Would be great if you can send me a test app, will...Would be great if you can send me a test app, will take a look - jobinesh@gmail.comJobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-75286007339686518002011-02-01T08:36:39.648-08:002011-02-01T08:36:39.648-08:00Thanks again.
I created the page, but still I am g...Thanks again.<br />I created the page, but still I am getting the same error.<br /><br />?xml version="1.0" encoding="windows-1252" ?><br />adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"><br /> task-flow-definition id="Train"><br /> default-activity id="__1">Emp<br /> view id="Emp"><br /> page>/Emp.jspx<br /> train-stop id="__2"/><br /> view><br /> view id="Address"><br /> page>/Addr.jspx<br /> train-stop id="__3"/><br /> view><br /> train/><br /> task-flow-definition><br />adfc-config>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-26318031201123952152011-02-01T07:06:32.508-08:002011-02-01T07:06:32.508-08:00Page defn for view id="Address" is missi...Page defn for view id="Address" is missing?Jobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-20336999124398392862011-02-01T06:58:50.477-08:002011-02-01T06:58:50.477-08:00Thanks for your kind reply.
No, It's a bounded...Thanks for your kind reply.<br />No, It's a bounded flow.<br />Here is the code.<br /><br /><br />xml version="1.0" encoding="windows-1252" ?><br />adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"><br /> task-flow-definition id="Train"><br /> default-activity id="__1">Emp<br /> view id="Emp"><br /> page>/Emp.jspx<br /> train-stop id="__2"/><br /> view><br /> view id="Address"><br /> train-stop id="__3"/><br /> view><br /> train/><br /> task-flow-definition><br />adfc-config><br /><br />Thanks,<br />SivaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-34420632038993846562011-01-31T16:37:01.861-08:002011-01-31T16:37:01.861-08:00Siva,
Are you trying to use it as part of an an un...Siva,<br />Are you trying to use it as part of an an unbounded task flow?Look like that's the error hereJobinesh Purushothamanhttps://www.blogger.com/profile/02803942794714887699noreply@blogger.comtag:blogger.com,1999:blog-4496361440376457974.post-9022074545431365142011-01-31T14:39:43.953-08:002011-01-31T14:39:43.953-08:00Hi Jobinesh,
It's a useful Post. I was trying...Hi Jobinesh,<br /><br />It's a useful Post. I was trying to implement a simple Train Component in ADF using JDEV 11g and I am getting the following warning in the console:<br /><br /> Either a MenuModel object was not provided or an invalid object was provided.<br /> Either a MenuModel object was not provided or an invalid object was provided.<br /><br />Also, the train component is not displayed on the page.<br /><br />It looks like I am hitting the following error:<br />ADF_FACES-30060: Either a MenuModel object was not provided or an invalid object was provided.<br /> Cause: The train component required a value of type MenuModel.<br /> Action: Correct the train definition. <br /><br />But I don;t know where to fix it.<br /><br />Here is my jspx code snippet.<br /><br />f:view<br /> af:document id="d1"<br /> af:messages id="m1"<br /> af:form id="f1"<br /> af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"<br /> id="t1"<br /> af:trainButtonBar value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"<br /> id="tbb1"<br /> af:panelStretchLayout id="psl1"<br /><br />Any help will be appreciated.<br /><br />Thanks,<br />SivaAnonymousnoreply@blogger.com