Java page flow jpf forward to dynamic url
How to forward to a dyamic url from a page flow action method
use new Forward (URI uri,
boolean doRedirect)
with redirect as false
Edit : If the path isnt within your webapp you will have to do a redirect (you can use the constructor with the URL form)
regards
deepak
Edited by: deepshet on Sep 2, 2009 3:38 PM
Similar Messages
-
Oracle WebLogic Portal 10.3.6: Creating a Java Page Flow Portlet in WorkShop
Hello,
We are not able to create a Java Page Flow Portlet in WorkShop. While adding the Beehive NetUI Facet(1.0.2) getting the following error in the workshop.
error installing beehive netui facet
File template generation failed: Unable to configure AvalonLogSystem : java.io.FileNotFoundException: C:\Windows\System32\velocity.log (Access is denied)
Following are the environment details:
WebLogic Server 11gR1
Oracle WebLogic Portal 10.3.6
Any Solution for this issue??Hi Chris,
I have already gone through this document. But the procedure that is given in it is not working. I mean I am not able to render diffferent different jspx files based on the menu link clicked. It will great if you can provide me steps by step process since I am new to the portal World.
Thanks a lot for your reply -
Hello there,
I would love to know if there is or will be a JSR for the Java Page Flow
technology that we have in Workshop. If not. what are the reasons behind this?
I see there is JSR207 for the Process Definition stuff for integration, but what
about page flow?
thanks,
frankFrank,
XML beans stand alone is available at
http://workshop.bea.com/xmlbeans/index.jsp
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Thomas Cook" <[email protected]> wrote in message
news:[email protected]..
Frank,
Speaking for page flows, there will soon be an Ant compiler and
supporting libraries to allow page flows to run on Tomcat and possibly
other standards-based products as well. Whether there will be any other
standardization push for page flows, such as a JSR, remains to be
determined.
I can't say anything for XML beans other than it's currently freely
available from BEA.
Thomas
frank wrote:
aehm, I missed something: XML Beans
Also, does anyone know which way of standardization this piece of
technology will
go?
I understand it makes sense to merge it with jax-b over time, but arethere any
>>
jsr out yet or anything else?
thanks a lot for any information!
frank
"Frank" <[email protected]> wrote:
Hello there,
I would love to know if there is or will be a JSR for the Java Page Flow
technology that we have in Workshop. If not. what are the reasons behind
this?
I see there is JSR207 for the Process Definition stuff for integration,
but what
about page flow?
thanks,
frank -
Calling servlet from java page flow
Hi,
I need to call servelt class from the <netui:anchor ..> tag of my jpf.
i have mapped this servlet class in the web.xml.
please tell us how to invoke servlet from the netui:anchor tag from the jpf action
method.
thanks
shashiI am calling a Servlet from JAVA Class as I am using IDE: Eclipse. The Problem is below
URL url = new URL(ServletPath);
URLConnection connet = url.openConnection();Why should the Servlet running in different Runtime print on your Eclipse Runtime. Please be more clear about the question. -
Adding Page View Web Part with dynamic URL based on visited mysite user
Problem:
I want to add an iframe (using Page View Web Part for example) on all mysite users front page (person.aspx) with following address:
http://webservice/calendar?user=name
The property "name" represents a dynamic value based on which person the user is visiting. Hence if i open "Tom Hanks" mysite profile, the iframe will show content from http://webservice/calendar?user=Tom%Hanks
(This is a custom made calendar from Domino)
Any suggestions welcome.
-TerjeHi,
The Page Viewer Web Part is basically an HTML IFRAME. We can use a Content Editor Web Part with an IFRAME and a little JavaScript to meet your requirement.
Here is a similar thread for your reference:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/d9a06d93-93d2-4340-a491-c7d0d5d4fdf3/how-to-dynamically-change-link-in-page-viewer-web-part-sharepoint-2010?forum=sharepointgeneralprevious
More information:
http://stackoverflow.com/questions/20981226/sharepoint-2013-get-current-user-javascript
Best Regards
Dennis Guo
TechNet Community Support -
Controller Java Page Flow and Backing file
Hello all,
I am very confused with the controller and the backing file, for example, I have a login page, I would like to flow to another page after I successfully login, which method I should use.
Thanks and best regards
Spenceru can use the validation technique provided by the weblogic.
-
Difference between java page flow and java process definition
I have joined a BEA WebLogic Integration project as an entry level BEA developer. I have a big question on the real difference between a jpf and a jpd. My co-workers say there is actually no difference, but I don't believe so. I think a jpd is more like a back-end process and it may or may not not need a View(MVC). While a jpf is the Controller(MVC) and is closely related to a web-based application where all the navigation logic(and only navigation logic) resides. A jpf normally should have a View(rendered on browser or other terminals) to present data from Model. I strongly believe this is true. But my project manager and my team lead, both are very technical guys, fiercely object to my understanding. I am extremely curious to have input from the BEA community on this fundamental concept.
I find it hard to believe your team lead really believes there is no difference between a JPF and a JPD. There are numerous differences, both conceptually and technically.
I believe your understanding of the differing roles of the two is correct. A JPF would represent the view of an application, and a JPD would represent callable services of an application, and server-side business logic.
From the technical point of view, a JPF, assuming it avoided certain features, can be deployed on Tomcat. The core of it is a pure servlet application. A JPD is an EJB, either a SLSB or a SFSB. -
Weblogic portal page flow issue
Hi,
We are working with portal development using legacy product. This runs on weblogic portal 8.1 SP 4.
Part of the project, we have to provide user management. We are planning to use the java page flow offered by weblogic.
When we create a new application and new project and try to create a new page flow (with the UserManager controller) standalone, it works.
We access the legacy portlets by IMPORTING it as a project inside weblogic portal (i.e workshop). If we follow the same steps to create the page controller in this imported project, the page flow does not work. i.e., instead of displaying the form, it generates java code in the test browser of Workshop
Do we have to enable any project specific settings for jpf to work.
regards
-RamuduHi,
Proliferation refers to the process by which changes made to the Library instance of a portal asset are pushed into user-customized instances of that asset which means that when any changes are made to the portlet in source and if you want to propagate that change to the destination, that time if that portlet is used in a desktop where many users are provided an option to customize that desktop only that particular time at destination if you change the Portal Resources Proliferation of Updates Configuration setting to either Asynchronous or off propagation will be faster because that time propagation utility will not change for each user. If the value is synchronous it changes for each user and hence some delay that too it will happen during commit operation only but not during download operation.
So I feel, Proliferation may not be useful for your case.
We need to find why downloading source is taking 3 hrs and destination is taking 8 hrs.
Please let me know whether you are running downloadsource and downloaddestination.
I suggest run downloadSource in source machine itself and downloadDestination on the destination Machine itself so that you can reduce the network latency.
Thanks & Regards,
Murali.
=========== -
What is the trick to get Page Flows (.jpf) files to be put in an .ear file from
within Workshop 8.1 ? When I do "Build EAR" from the menu, the build happens
fine, but when I expand the EAR file, the JPF file is not there ? All the associated
JSP's are there though. Any ideas ?
Thanks,
JeffWhat is the trick to get Page Flows (.jpf) files to be put in an .ear file from
within Workshop 8.1 ? When I do "Build EAR" from the menu, the build happens
fine, but when I expand the EAR file, the JPF file is not there ? All the associated
JSP's are there though. Any ideas ?
Thanks,
Jeff -
Code to call another Page Flow URL from one page flow URL
Can anyone send me the code to call another pageflow url from one page flow URL.
thanks...
In my appication there is no Form page. Only based on Canvas in that ,
i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
I did every thing with in single Midlet file.While developng goes on i got the problem ,
Like "your application exceeds the memorylimit you cant
use more than 32Kb of byte code in Canvas"...
So the application is not opened.
I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
How to solve this problem,is any other way? please... -
Page Flow and Java Control interaction
Hi everybody !
Even after to read some documents like
http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
and
http://dev2dev.bea.com/pub/a/2004/01/jones.html
i still didn't get what is really happening "behind the scenes" between Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone could send to me more detailed documentation or explanation about this subject.
How can a Java Control to stand behind a Stateless Session Bean (GenericStatelessSLSB) and still to keep its internal state (instance variables) consistent ? How can a statefull Java Control to remain statefull being accessed by a stateless component (the EJB) ? Or is the source code of a Java Control (the JCS file) kept by the Page Flow and sent to EJB for its execution ?
Thanks in advance.Hi Daniel
I have attached a doc I created that explains what happens behind the scenes
when a pageflow call a JCS va a JWS calling a JCS.
Can you please go through the document and let me know any questions you may
have?
Thanks
Vimala
<Daniel Lima> wrote in message news:[email protected]..
Hi everybody !
Even after to read some documents like
http://dev2dev.bea.com/pub/a/2004/06/wlw_internals.html
and
http://dev2dev.bea.com/pub/a/2004/01/jones.html
i still didn't get what is really happening "behind the scenes" between
Page Flows and Java Controls (Workshop 8.1). I would be glad if anyone
could send to me more detailed documentation or explanation about this
subject.
How can a Java Control to stand behind a Stateless Session Bean
(GenericStatelessSLSB) and still to keep its internal state (instance
variables) consistent ? How can a statefull Java Control to remain
statefull being accessed by a stateless component (the EJB) ? Or is the
source code of a Java Control (the JCS file) kept by the Page Flow and
sent to EJB for its execution ?
Thanks in advance. -
Java.lang.StackOverflowError on Go To Code in Page Flow Diagram
If I select Go To Code in a Struts Page Flow Diagram with a Data Page, the cursor changes to a hourglass and back to a pointer and nothing else happens. The java window reports a java.lang.StackOverflowError.
Normally, I would expect the create class wizard that helped me to subclass oracle.adf.controller.struts.actions.DataActionMapping, which was the case a few days ago.
Any idea what could be wrong ?I found the reason myself: If the UIX project has a dependence to a BC4J project Project1 containing the AM Module and Project1 by itself has a dependency to a BC4J project Project2 containing the EO, this error shows up. Simply remove the dependency (Project Properties - Dependencies), and the Page Flow Modeler behaves as expected.
Another detail: Doubleclicking on the Data Page instead of Context Menu - Go To Code opens a window showing BME-99009: An error has occured in the Java VM reporting the same short stack trace java.lang.StackoverflowError. -
Page Flow db vs java Control db access
I am a real newbie here and I wanted to ask some design questions.
Primarily, I am designing a page flow that hits a backend server. Users fill out
forms, and it updates what they are doing.
Should I have the db control directly in the pageflow, or should I send the req
to a java control that then has the db control? The latter seems to me to be taking
redundant steps.
thanks,
mIt does, and it makes a LOT of sense. Thanks!!!
"Morgan" <[email protected]> wrote:
>
Hi Matt,
The BEA guys seem to be busy this week, but I think I can actually answer
this
question.
It sounds like you have a pretty basic web app, maybe even started from
the RowSet
Control wizard?
From my understanding of Model, View, Controller, struts and Workshop,
it sounds
like in your case you would probably want to use the control directly
in your
pageflow. Most likely you will get a RowSet out of your control for
a query and
then push that out to some type of tag that can work with it or some
variation
along those lines. If you need to perform significant business logic
on the
data before adding it to the database, or after retrieving it and before
presenting
it, then I think it would be a good idea to encapsulate that business
logic in
another class or control. Significant is a relative term I suppose,
but changing
a value from upper to lower case or something simple I'd probably just
handle
in the Controller or with a formatter tag. If you had to correlate information
from multiple rows, analyze it, create totals, and statistics, I would
probably
build a class to handle that logic so that the controller just made the
decision
on where to send results and where to send information collected.
I hope that helps,
Morgan
"Matt Mcknight" <[email protected]> wrote:
I am a real newbie here and I wanted to ask some design questions.
Primarily, I am designing a page flow that hits a backend server. Users
fill out
forms, and it updates what they are doing.
Should I have the db control directly in the pageflow, or should I send
the req
to a java control that then has the db control? The latter seems tome
to be taking
redundant steps.
thanks,
m -
Struts / Page Flow - forwards to home page in streaming mode
I have a pretty complex page flow with several actions and several forwards. The
page flow is using struts validation (using the xml file). It is also user the
Portal User Controls.
Everything works fine in .portal file. However, in streaming mode, from a jsp
when I click on an netui:anchor, the action gets executed, but then it redirects
to the home page, not to the page which has the portlet.More info: I can place a page component on my page flow diagram but I cannot place any other components. They won't display. Placing the page component on the diagram does not put code into the source file. Also, I get the following compile error: Error(1,1):<Line 1, Column 1>:XML-20108:(Fatal Error) Start of root element expected.
Thanks! -
Forwards that are deleted by Struts Page Flow
I'm using JDev 9.0.5 preview and I'm having some problems with Struts page flow.
I create a �forward link� from a �Data Action� to a �Page forward�, then I edit this �forward link� to send a parameter to the Page Forward. To do that, I change the �path� of the forward link from �/menu.do� to �/menu.do?include=/UT1.do�.
Then if I run this project, everything work fine and I�m able use the parameter, but if I close Struts page Flow, when I will reopen it, the �Forward link� will be erased (not just the parameter I added, the �Forward link�).
I do this because I don�t want to include a header and a footer in all my pages, I want to do it the order way around : I want to the same page (which will contains a header, a body and a footer) to have the page that it receives in parameter as a body. For example, if this call is made : www.xxxxx.com/menu.do?include=/UT1.do, the page �menu.do� will include the page /UT1.do.
Does anyone know how I could prevent JDev from deleting my forward links or does anyone know an easier way to pass parameter between a �Data Action� and a �Page forward�.
Thanks
J�r�me RobergeI had the same problem when I used a parameter named "event". I changed the name of the parameter to pmode and this seems to have fixed the problem. I am not 100% sure yet. The parameter names "event" and "include" may conflict with some automatic features of JDeveloper.
Another thing that happened while I was using "event" was that my web.xml was overwritten with a very basic/generic web.xml file - as if JDeveloper thought that it was creating a new project.
Maybe you are looking for
-
How to u set your alarm clock but not have the phone or txt go off
Hi, My old phone Blackberry had an alarm. I would set it and then shut the phone off. The phone would turn itself on when the alarm had to go off. IPone 4 will not do that. So, how do I set the alarm and not have the phone ring or get text alerts. I
-
TcLookupOperationsIntf method usage in OIM 10g JSP
We are trying to use the tcLookupOperationsIntf in OIM-10g to populate few lookup fields on manual selection. But while trying to use getLookupValues, getLookupValuesForColumn we couldn't achieve the same. Both the above quoted methods require differ
-
Financial Reports - Task- Setup User POV
Hi In FR when we select the members for a User POV using Task->Setup User POV........................Does the list of members apply to this particular report or all reports with this database connection. For every report the User prompt Members for a
-
My iphone 4 won't update to ios 7
Dear Apple, The saturay after ios 7 came out I tried to update it over wifi on my iphone, but I got an error message. So I gave up and told myself to try again later that week and so yesterday and today I tried and on my phone it said I did not have
-
I am having issues with my MacBook Pro retina display, I purchased the macbook a few weeks back and from day one I have had issues with my wifi at home. My router is a Netgear DGN2000, this only occurs at home but it's fine at my student accomondatio