Multiple entry points into a Page Flow
Is it possible to define multiple entry points into a PageFlow ? That is, can I forward to an arbitrary Action inside a PageFlow (other then the standard begin) ?
If so, is there sample code illustrating this ?
Thank you
Cristian
The flow view should show the action from the anchor.
"Cristian" <[email protected]> wrote in message
news:405892c9$[email protected]..
>
John,
That answers my questions.
One more thing though :
When using an anchor to forward from a jsp to an action in a pageflow,
the 'Flow View' does not show the corresponding link. Is that normal ?
Thank you
Cristian
"John Rohrlich" <[email protected]> wrote:
Cristian,
Yes the samples implicitly go to begin because jumping into the middle
of
some flow can lead to code that is difficult to follow and to debug.
If
there are pieces of a page flow that are useful in multiple contexts
you
might want to make them independent page flows or nested page flows
You can go from a jsp to an action in another page flow using an anchor
and
setting the href attribute, for example
<netui:anchor
href="/WebApp/anotherPageFlow/someAction.do">continue</netui:anchor>
notice that you set href= rather than action= because you are going
outside
of the local page flow.
If you want to go from an action in one page flow to an action in another
page flow of the same application you can do this
* @jpf:forward name="success" path="/anotherPageFlow/someAction.do"
If you want to pass a form to the action you can do that also. You just
follow the last example and add the form to the forward, for example
return new Forward("success", someForm);
I hope that covers it - john
"Cristian" <[email protected]> wrote in message
news:405787a2$[email protected]..
I need to go from either an action or a jsp in one page flow to ajsp/action in another page flow, passing around a session scoped action
form.
What is the syntax for the forwarding path ?
All the samples I found implicitly
forward to the 'begin()' action in the destination jpf.
How do I tell it to go to
another action/jsp in the target jpf ?
Thanks
Cristian
Similar Messages
-
Hi Friends,
There is a one-to-one relationship between an application and a component entry point.
My Query is if i wish to give my component multiple entry points, we must define multiple applications.
So how is this possible in WebDynpro Java Application.
Please help me out to move further.
Thanks and regards,
Chandrashekar.Hi,
Do you mean you want to create multiple entries ie., applications for a component, Such that every appliation will be having a different view as an entry point. If this is your requirement then what you can do is
1) while creating an application from existing component you can see Interfaceview Inputfield, where you can set different views for each application.
Regards
Raghu -
Multiple Browsers with the same Page Flow
I have a legacy application that I am working on migrating to Weblogic. The
legacy application allowed the user to have multiple windows of the same
module open at the same time. Users found this useful if they wanted to look
at two different records in the same module. For example, if you had a
registration app and you wanted to look at Joe's registration information
and Sue's registration. Is it possible to have two browsers within the same
session open and pointing to the same RegistrationController.jpf?
Thank You.
MichelleI believe our problem is that our form beans are class members of the page
flow thus when you open another instance of the same controller the form
beans are overwritten. Our GUI is displayed as modules containing multiple
tabs with a form bean for each tab. The module has a controller, signifying
the page flow for the module. So, one record in a module will span multiple
tabs. We did not want to have one big form bean that is why we multiple
form beans. But it now looks like we will need to store these form beans
perhaps to the session in a collection identified by the window instance
they belong to.
We also need to do multiple different page flows but I don't think nested
page flows will not work here because the page flows would almost need to be
nested of each other. I guess you could almost think of as each module is
an independent application however some can be invoked by others.
<Rich Feit> wrote in message news:[email protected]..
Hi Michelle,
Yes, that should be just fine. That page flow will remain the "current
page flow" as requests from both browser windows hit it. The NetUI
runtime synchronizes the action methods, so you don't need to worry about
thread-safety within them.
There's also a way to have multiple different active page flows at the
same time, but in this case you don't need to do anything special.
Rich -
Include page flows into another page flow
Hi,
i have created two page flows that hit the database. i want create another pageflow that can call the two page flow i have created earlier.
Any one please send me the docs on the eVision.
Thanks,
Krishna.http://docs.sun.com/app/docs/doc/819-6744?q=evision
-
Entry point into ADF application
Hello,
We are building an ADF (JSF) application using JDeveloper 11.1.1.5, running on Weblogic 10.3.5. In addition to a traditional login page, we have a method in a backing bean called:
public void directLogin(username, pwd)
and would also like to provide the ability to call this directly (from outside the application).
Any suggestions on how to achieve this? I have tried adding a Method call to the adfc-config, but how can this be called externally?.
Thanks.Thank you both for your helpful responses.
I created a BTF with "Url-invoke-allow" and a default method call that calls the "public void directLogin(username, pwd)" method. But I find that on running the BTF, the following exception is thrown
javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class SBean
SBean is a session Managed Bean declared in faces-config.xml as below :
<managed-bean>
<managed-bean-name>sessionController</managed-bean-name>
<managed-bean-class>view.controllers.SBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
Any suggestions?
Thanks. -
Multiple instances of Page Flows
I have a legacy application that I am working on migrating to Weblogic. The
legacy application allowed the user to have multiple windows of the same
module open at the same time. Users found this useful if they wanted to look
at two different records in the same module. For example, if you had a
registration app and you wanted to look at Joe's registration information
and Sue's registration. Is it possible to have two browsers within the same
session open and pointing to the same RegistrationController.jpf?
We currently have our form beans stored in the page flow which seems to
cause a problem as when we open another browser instance in the same session
pointing to the same page flow, the form beans from the first window are
overwritten. An approach we are possbily looking at is to store the form
beans in an object in the session and identify a set of form beans as
belonging to a particular window instance - perhaps by uniquely naming the
windows as they are opened.
Has anyone done this before with needing to have multiple instances of the
same page flow or multiple instances of different non-nested page flows open
at the same time?
MichelleHi Vijay,
Thanks for the reply, But that's not the right aproach.
I cannot change the application to stateless, Since the standard application where the page resides is statefull.
Also some of the business logic I cannot achive with stateless application
Regards
Geogy -
How to create Entry Point to pcd repository?
Hi,
I am unable to see the iviews to drag and drop on the web page in Web page composer.
I tried to create static entry point to PCD repository.
But I can't the PCD folders.
How do I configure this?
Thanks
Thruna ShanmugaHi Vishal,
Thanks for your replies.
I am able to see the my folder
in Content Administration -> KM Content ->
pcd>portal content>Test
In the property i set the following value.
displaymode=select,maxproviderprio=30,entriesperrow=5,entrypointsprefix=/entrypoints,
sharedcontent=/wpccontent/Cross-Site Content;/documents/MyFolder;/pcd/Test
When I tried to create entry point in Web Page Composer, I click the browse to find the Test folder.
I can't see the Test folder.
How do I create entry point for the Test folder?
Thanks
Thruna Shanmuga
Thanks
Thruna Shanmuga
Edited by: Thruna Shanmuga on Apr 6, 2009 10:34 PM
Edited by: Thruna Shanmuga on Apr 6, 2009 10:42 PM
Edited by: Thruna Shanmuga on Apr 6, 2009 10:42 PM -
Can Individual Users Define Portal Entry Points?
Hi All,
Is it possible for individual portal users to define their own entry points into the Portal or can this only be done on a role by role basis?
To clarify, lets say User A is assign the Manufacturing role which has three worksets called Home, Supply and Commercial. The role has been configured to automatically open "Home" but User A wants his role to automatically open "Supply" - is this possible?
Thanks in advance,
Oloy.Hi Michael,
Thanks for your response.
I suspected that it wasn't possible but it's always best to clarify.
So essentially, I am the only person who can define the entry points for all of the Portal Roles.
You mention quick links, how/where are these defined? Are they defined in the iView? Where do the quick links appear once they have been created?
Thanks,
Oloy. -
Hello,
We are using Portal 8.1 SP6
I have seen an interesting way to implement dependency injection in NanoWAR (PicoContainer).
They have implemented their own the struts processorClass, which is responsible to resolve the dependencies for the struts Action classes, and there they inject dependencies.
The dependencies key is the URL to an action.
Since a page flow is somehow a struts action, I was looking for a way to replace the processor class by my own one. Have a look at the .pageflow-struts-generated directory and you will see that Portal has defined following line:
processorClass="com.bea.wlw.netui.pageflow.PageFlowRequestProcessor"
Has anybody any idea about how to replace that class?
If this is not possible, is there a way replace Portal's page flow factory by my own one?
Thanks,
Yves Bossel
Edited by ybossel at 05/29/2007 7:13 AMHello,
After some research Workshop documentation I have found the com.bea.wlw.netui.pageflow.FlowControllerFactory class.
That class is responsible to resolve the page flow class and to create new page flow instances.
If I could specify the FlowControllerFactory, it would be possible to inject the dependencies into the page flows, just after they get instantiated.
The idea is to declare a decorator for the FlowControllerFactory that injects the dependencies (setter injection) after the decorated FlowControllerFactory has created a page flow.
Note that I would prefer to use constructor injection. But this is a good start.
I would appreciate any idea about how to replace the FlowControllerFactory.
Thanks in advance,
Yves -
Page Flow Portability kit incompatible with weblogic 7?
I have a client who needs us to develop a web app to deploy on weblogic 7.
I have been looking at the page flow that comes with weblogic 8, and that would
be great if I could deploy it to weblogic 7.
Therefore, I've been looking into the page flow portability kit, with the intention
of deploying it and my application to weblogic 7 as per the instructions on http://dev-test.bea.com:90/technologies/standards/standards_pageflow_portability_index.jsp
If I compile my pageflow app written on weblogic workshop 8.1, using jdk131, I
get a
java.lang.UnsupportedClassVersionError: com/bea/wlw/netui/xdoclet/NetuiDocletTask
(Unsupported major.minor version 48.0)
error. If I compile against jdk141, it works fine. However, if I try to deploy
the jdk141 compiled version against weblogic 7 (which uses jdk131), then I get
the following error:
java.lang.UnsupportedClassVersionError: com/bea/wlw/netui/pageflow/PageFlowActionServlet
(Unsupported major.minor version 48.0)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:802)
Any ideas how I can get around this? I can't change my client's version of weblogic.
Thanks.Hi,
I just tested the downlaod url at http://dev2dev.bea.com/pub/a/2004/02/pgflow_portability.html#download and was able to download both the Tomcat version and the J2EE compliant version
can you try again ?
cheers
Raj -
Can I combine multiple entries into a single statement?
I am relatively new to Live Cycle so forgive my lack of technical wording.
I would like to use multiple entry fields to fill in a statement.
For example:
I'd like the user to see this:
Target Dropdown Endo Dropdown Type Dropdown Version # Entry Date 1 Entry Date 2 Entry
and then have the form merge all that together into a line that looks like this:
RS_(target)_(endo)_(type)\(version)_(date)_(date)
Preferably without repeating information on the page as we'll have multiple of these entries and the page will get hectic quick.
Is this possible?
I first had each dropdown in individual table fields, but due to regulations we follow the entries need to be merged without spaces.
I always have a backup if this can't be done, but any help is appreciated.Not sure where you're sending it, but if you have a global variable named "bob".
bob.value = "RS_"+target.rawValue+"_"+endo.rawValue+"_"+type.rawValue+"\"+version.rawValue+"_"+date.r awValue+"_"+date2.rawValue;
Something like that should work. -
When trying to start firefox a message comes up " the procedure entry point IS Thread Desktop composited could not be located in the dynamic link library user32.dll" I then tell it okay as this is the only button it has abd it then takes me into the Add-on window and freezes up and I then have to reboot and avoid using firefox
== This happened ==
Every time Firefox opened
== After trying to install Firefox upgrade and IE8 ==
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever -
Hi,
In Web Page composer blog ,in the inital step it is given create web site 'Knowledge Bank'.In that folder 4 folders were created automatically i.e.1) Entry point 2)Site content 3)Site navigation and 4) Web pages. from the following link :https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/209dd2c1-28ec-2a10-0c90-c0ccebc003e5
Here in this i need the concept of Entrypoint and what exactly it does in web pageHi Vijayalakshmi,
An entry point provider makes one or more folders available as links that you can access from a central point.
Please refer to this.
http://help.sap.com/saphelp_nw70/helpdata/EN/f6/da3340284e7a56e10000000a1550b0/frameset.htm
In this context as soon as you create an entry point, you can upload site specific/ global content and images or documents into these folders
Let me know if you still have any questions on it.
Cheers,
Sandeep Tudumu
Edited by: Sandeep Tudumu on Jul 2, 2008 5:13 PM -
Loading a Page Flow into a region programmatically
Hi everyone,
I'm currently using JDeveloper 11.1.1.0.2, I have a fragment with a backing bean that programatically generates a set of RichPanelSplitters to create a page with a user-defined amount of rows and columns.
This is working fine, but while creating these panels I want to insert into each facet a RichRegion that will contain a Page Flow that I've created (e.g. my-flow-definition.xml which I would normally drag onto a page and select 'Region' from the context menu).
I can easily create a RichRegion in my managed bean, but I have no idea how I'd 'insert' my flow definition into it programatically, is this possible?
Thanks in advance, TomHi,
Ok, the post I linked you to won't be useful for that as you really need a "varying amount" of task flows in your page. Since you also posted on another topic about that part I pretty much get that you're trying to create a page composer on your own. MDS would greatly help you do that but, sadly, it's not available and you said your time frame is pretty short in the other thread, leaving you with very few options. Here's what you can attempt, but it's going to be complex:
1. Create a custom TaskFlowRegionModel (you'll have to check the ADFc API, including the private one, to create a working one). This step is the most complex one;
2. Make sure all dynamically added task flow do NOT use page defs / data binding nor call task flows that does;
3. Create an user preference table;
4. Create a model layer service managing the table;
5. Change your managed bean you retrieve/write properties on the service and creating region dynamically using your custom made RegionModel created in 1;
6. Add code to include the current fragment's content at that point, which is very fishy outside JSP pageContext.
You should plan between 10~20 days to create the model alone (step 1) and maybe 5~10 for fragment inclusion step 6. I've created my model in 3 days and the inclusion code in 2, so it's doable in that time frame as well, but I'm not a newbie with JDeveloper, ADF nor JSF at all so I would take those number as close to absolute minimum time required and even then I could not overcome the point 2's limitation. I'm not allowed to share the code though, sorry about that.
Regards,
~ Simon -
I am trying to combine multiple pdf's into one, using preview, but when I drag the additional pages they show up as separate documents. When I drag the doc in a line would show up in the past, and if I went above th eline all was good. It doesn't have a line, and no matter what I try I am having no success.
Please help!According to an Apple Support article, unless there are unforeseen issues
in file ownership or permissions, the combining of .PDFs should be simple.
•OS X: Combining PDF documents using Preview - Apple Support
There are a few variable and similar methods, some change with version
of OS X in use; some vintage OS X may vary a little in the process...
A variety of similar topics appear in search results, with terms:
" mac os x combine pdf into one " such as this page shows...
https://www.google.com/?gws_rd=ssl#q=mac%20os%20x%20combine%20pdf%20into%20one
If the system is older than Mavericks there may be other methods to try.
Suggestions are among linked results in the search. I see a few fair ones.
•Here's another that offers generally similar suggestions...* this info looks OK, extra links, do not:
http://osxdaily.com/2014/06/27/how-to-join-multiple-pdf-files-into-a-single-pdf- document-in-mac-os-x/
{ note: avoid clicking on links to products in * this ^ page, since they likely will not help & may be adware prone }
If you have a problem after trying other methods, based on an OS X
your computer is running, post back with more exact information...
Good luck & happy computing!
edited
Maybe you are looking for
-
How can i map a file with different structures to several deep structures?
Hey experts, here is my situation. I have to build a file2file scenario. The file has a flat structure without any separators. Depending on the value of the keyfield, i have to determinate, which kind of structure in the current sequence there is. Li
-
hi all, plz solve my problem. how to find a badi for tcode migo ? wher to write code? can any bodysuggest me? thanks sachhidananda
-
Reg:Funtional Design or specification
Hi All, Can i know the steps to be followed to prepare the Fucntional Design for a NEW SAP implementation. Thanks sasikanth
-
After effects cc installation issues.
Hi I am trying to install this app on my mac. I keep getting this error. Please I close the PS, but I cant close the others in teh activity window as I cant find them there. Any ideas please. I have a top of the range mac retina display laptop. thank
-
Extended My Sites has stopped functioning correctly
I have recently extended MySites to an Internet Zone and it has stopped functioning correctly. Previously, when i navigated to https://mysites it automatically navigated to https://mysites/my. Now, it stays on https://mysites and tells me i don't ha