Frames in Page Flows
I have a jsp file which includes 3 frames. ON the page flow I don't see anyway
to associate the individual frames with the main jsp. Is there a way to work with
frames?
Thanks
Frames and pageflow don't work together in 8.1GA because only the current pageflow
and it's stack (of nested pageflows) is maintained in the session. 8.1sp2 (out
sometime in dec) will be able to handle this. It will look something like this:
<frameset cols="50%,50%">
<frame src="../a/FlowA.jpf?jpfScopeID=scopeA" name="frameA">
<frame src="../b/FlowB.jpf?jpfScopeID=scopeB" name="frameB">
</frameset>
Each scope has its own idea of the current page flow and the current stack
of nested page flows.
-tanya
"Kush" <[email protected]> wrote:
>
I have a jsp file which includes 3 frames. ON the page flow I don't see
anyway
to associate the individual frames with the main jsp. Is there a way
to work with
frames?
Thanks
Similar Messages
-
How to link text frames in Pages 5.2?
How to link text frames in Pages 5.2?
The correct term in Pages is Text Boxes, and true linking is not implemented in v5.2. You can Unite, Intersect, Subtract, and Exclude multiple Text Boxes via the Arrange panel. These attributes only appear when two or more Text Boxes are selected. Also, on the Arrange menu, you will need Object Placement set to Move with Text, and the Text Wrap set to None for more accurate positioning.
In the following example, there was initially a Text Box with overflowing text that was duplicated. With both Text Boxes selected and aligned, I could then use the Unite feature from the Arrange panel. This allowed the text to flow into the second box. Selecting text in one box and dragging upwards continues the text selection between both boxes. Hoefler italic applied in one box is applied to both. Appropriately placed, another trip to the Arrange panel to enable Text Wrap around and text fit adjustments. -
FrameMaker 11 won't display page flow
Working in a 60+ page document and when it gets to page 42 it will not display the remaining pages. I know they are there as I can see the curser work through the page flow using the arrow key to move down but the page stays at 42.
Sounds like someone either deleted auto-connected pages, or inserted a disconnected page.
What is the Autoconnect status of the Flow A text frame on the last few pages? -
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 -
Menu-drive page flow without having to resort to portals
Is it possible to use the page flow system in a cross-frame context, without having
to resort to the Portal paradigm?
We need to display a menu in the top frame and the actual page displayed in the
center frame needs to change when a menu option is clicked. I know this sounds
a lot like the portal, but it is much more simple. Can I find an example somewhere
on how to implement this with only a page flow.
Thanks in advance,
Regards,
Jan NoppenHi Jan,
we needed something similar in one of our projects. I don't know if you
mean html frames, or you just used the word to describe the menu-content
structure. We had the later.
We used netui:templates to do it. We created a template that contained a
menu and the actual content. The jsp-s of the pageflow used this
template, so they had the menu. The different parts can communicate
using request or session.
BR,
don
Template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
<netui:html>
<head>
<netui:base />
<title><netui-template:attribute name="title"/></title>
<link href="<%=request.getContextPath()%>/resources/css/style.css"
type="text/css" rel="stylesheet"/>
</head>
<body style="margin:0">
<jsp:include page="menu.jsp" />
<netui-template:includeSection
name="bodySection"></netui-template:includeSection>
</body>
</netui:html>
jsp in pageflow:
<!--Generated by WebLogic Workshop-->
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
<%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<netui-template:template templatePage="/resources/jsp/mytemplate.jsp">
<netui-template:setAttribute value="Title of page" name="title"/>
<netui-template:section name="bodySection">
some content
</body>
</netui-template:section>
</netui-template:template>
Jan Noppen wrote:
Is it possible to use the page flow system in a cross-frame context, without having
to resort to the Portal paradigm?
We need to display a menu in the top frame and the actual page displayed in the
center frame needs to change when a menu option is clicked. I know this sounds
a lot like the portal, but it is much more simple. Can I find an example somewhere
on how to implement this with only a page flow.
Thanks in advance,
Regards,
Jan Noppen -
Javascript popups in page flows?
Is there a way to make a popup window in a page flow? I want to have a
link which will use Javascript to pop up a new window, but I don't like
having to hard code the link to that window instead of using the page
flow functionality.
What I've been able to get working is:
<script language="Javascript">
function createNew() {
window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
</script>
Create New Item
Is there a way to do this with netui tags, so that I can use actions to
direct the page flow, and still get the ability to open the link in a
new window?
Joe Robins Tel: 212-918-5057
Thaumaturgix, Inc. Fax: 212-918-5001
19 W. 44th St., Suite 810 Email: [email protected]
New York, NY 10036 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles.Tanya,
I read this hread from you. I had posted a similar issue yesterday(look for posts
by Jack). Is ther a way to work with page flows and popup's until sp2 comes out
in december?
Thanks
"tanya" <[email protected]> wrote:
>
Apologies, that last message was not complete...
You can try using:
<netui:anchor href="/myNestedFlow/Controller.jfp" anchor="A"/>
But, one thing to note for GA, there is a limitation where you cannot
call 2 (or
more) pop ups and expect to maintain 2 pageflow stacks. Only the current
pageflow
and it's nested stack are kept in the session. Having a 2nd pageflow
will stomp
on this first one.
For SP2, out sometime in dec, there will be a workaround for this:
<netui:anchor href="../a/FlowA.jpf" target="_a">
<netui:parameter name="jpfScopeID" value="scopeA"/>
Page Flow A (scope "scopeA")
</netui:anchor>
<br>
<netui:anchor href="../b/FlowB.jpf" target="_b">
<netui:parameter name="jpfScopeID" value="scopeB"/>
Page Flow B (scope "scopeB")
</netui:anchor>
Each scope has its own idea of the current page flow and the current
stack
of nested page flows.
-Tanya
"tanya" <[email protected]> wrote:
How about
Popups and pageflow don't work together in 8.1GA because only the current
pageflow
and it's stack (of nested pageflows) is maintained in the session. 8.1sp2
(out
sometime in dec) will be able to handle this. It will look something
like this:
<frameset cols="50%,50%">
<frame src="../a/FlowA.jpf?jpfScopeID=scopeA" name="frameA">
<frame src="../b/FlowB.jpf?jpfScopeID=scopeB" name="frameB">
</frameset>
Each scope has its own idea of the current page flow and the current
stack
of nested page flows.
Joe Robins <[email protected]> wrote:
Is there a way to make a popup window in a page flow? I want to have
a
link which will use Javascript to pop up a new window, but I don't
like
having to hard code the link to that window instead of using the page
flow functionality.
What I've been able to get working is:
<script language="Javascript">
function createNew() {
window.open('/MyPortalWeb/mydir/create_item/create_itemController.jpf','newItemWin','height=500,width=500,scrollbars');
</script>
Create New Item
Is there a way to do this with netui tags, so that I can use actions
to
direct the page flow, and still get the ability to open the link ina
new window?
Joe Robins Tel: 212-918-5057
Thaumaturgix, Inc. Fax: 212-918-5001
19 W. 44th St., Suite 810 Email: [email protected]
New York, NY 10036 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles. -
I have been editing a chapter for three days with no problems, and out of the blue, the page flow stopped, and I can't get the paragraphs to advance to the next page. I have tried the following things:
checking to make sure the current and next pages have the same flow. (They do.)
saving and closing the file, exiting FrameMaker, and restarting my computer
using a different paragraph tag
turning off track text edits and attempting to advance to the next page with unmarked text
entering preview mode with track text edits turned off
I have the following set up:
FrameMaker 9.0p237
Windows 7 64bit
A very robust computer
A client with an insane deadline
Please help!
Thanks,
KarenKaren, as you're on a deadline I'd suggest that it's easier to resurrect the file by creating a new file rather than troubleshooting what went wrong with the current file.
1. save your current file as-is, so that you're sure you have both the content that you've entered and the formatting. Personally I'd also do a second backup copy of the problem file with a different name, e.g. xxBAD or something.
2. create a brand new FM file. With both documents open, in the new file do File > Import > Formats, and select the "old" file in the drop-down menu. Then select which will copy all the master pages and paratags etc. over to your new file. Save this new file with a different name, "xxNew". Be sure to note what settings you've selected on the bottom section "While updating remove", so that if you need to you can re-do the import and change these settings. The initial selection depends on how many style overrides you might have used (if any) in the original document.
3. In the xxNew file, put your cursor in the text frame at the top of the first (and so far only) page. Then do File > Import > File. Choose the xxOld file. At the bottom of the dialog be sure to select "copy into document". This will copy the content from the other file into the xxNew file.
In the "Import text flow" dialog that pops up, choose the Body page flow and the default "A (Main Flow)". Because you've already imported the formats you could use either the default "Reformat Using current document's formats" or the bottom "Retain Source's Formatting" -- the choice depends a lot on whether you have ad hoc formatting in your original document, e.g. highlighted words and just clicked "Bold" from the menu, as opposed to using a character style called "Bold", or changed the alignment of a paragraph but not made a new paragraph tag for that different alignment, both of those examples are of overrides. If you have used a lot of overrides then I would suggest using "Retain source's formatting".
4. In the xxNew file, page to the end of the document. Put your cursor before the "end of flow" symbol,
Start typing, enter a few carriage returns, whatever, to be sure that when you reach the end of the page that FM will automatically add a new page and your typing does extend forward onto the next page as you expect.
Assuming things are ok, then save this xxNew file as the original filename.
That should get you back to operation, and you can work out what went wrong with the original file once the deadline has passed.
Sheila -
I have one serious problem when handling exception in page flow. ie.
my code looks like,
// Generated by WebLogic Workshop
// Created on: Mon Dec 01 15:31:45 GMT+05:30 2003
// By: kshashishekar
package portlets.validation.validation;
import com.bea.wlw.netui.pageflow.FormData;
import com.bea.wlw.netui.pageflow.Forward;
import com.bea.wlw.netui.pageflow.PageFlowController;
import com.bea.wlw.netui.tags.html.TreeNode;
import javax.security.auth.login.FailedLoginException;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.*;
import com.login.CustomLogin;
import com.bea.p13n.controls.login.UserLoginControl;
* @jpf:controller struts-merge="struts-config-portlets-validation-validation2.xml"
* @jpf:message-resources resources="validation.validator.Message"
* @jpf:view-properties view-properties::
* <!-- This data is auto-generated. Hand-editing this section is not recommended.
-->
* <view-properties>
* <pageflow-object id="pageflow:/portlets/validation/validation/validationController.jpf"/>
* <pageflow-object id="action:begin.do">
* <property value="280" name="x"/>
* <property value="60" name="y"/>
* </pageflow-object>
* <pageflow-object id="action:validate1.do#portlets.validation.validation.validationController.ValidateForm">
* <property value="220" name="x"/>
* <property value="200" name="y"/>
* </pageflow-object>
* <pageflow-object id="action:logout.do#portlets.validation.validation.validationController.ValidateForm">
* <property value="120" name="x"/>
* <property value="100" name="y"/>
* </pageflow-object>
* <pageflow-object id="action-call:@page:validate1Page1.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
* <property value="384,320,320,256" name="elbowsX"/>
* <property value="172,172,192,192" name="elbowsY"/>
* <property value="West_1" name="fromPort"/>
* <property value="East_1" name="toPort"/>
* </pageflow-object>
* <pageflow-object id="page:validate1Page1.jsp">
* <property value="420" name="x"/>
* <property value="180" name="y"/>
* </pageflow-object>
* <pageflow-object id="action-call:@page:Result.jsp@#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
* <property value="156,170,170,184" name="elbowsX"/>
* <property value="332,332,203,203" name="elbowsY"/>
* <property value="East_1" name="fromPort"/>
* <property value="West_2" name="toPort"/>
* </pageflow-object>
* <pageflow-object id="page:Result.jsp">
* <property value="120" name="x"/>
* <property value="340" name="y"/>
* </pageflow-object>
* <pageflow-object id="page:/error.jsp">
* <property value="40" name="x"/>
* <property value="180" name="y"/>
* </pageflow-object>
* <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:begin.do@">
* <property value="316,350,350,384" name="elbowsX"/>
* <property value="52,52,172,172" name="elbowsY"/>
* <property value="East_1" name="fromPort"/>
* <property value="West_1" name="toPort"/>
* <property value="success" name="label"/>
* </pageflow-object>
* <pageflow-object id="forward:path#success#Result.jsp#@action:validate1.do#portlets.validation.validation.validationController.ValidateForm@">
* <property value="184,170,170,156" name="elbowsX"/>
* <property value="192,192,332,332" name="elbowsY"/>
* <property value="West_1" name="fromPort"/>
* <property value="East_1" name="toPort"/>
* <property value="success" name="label"/>
* </pageflow-object>
* <pageflow-object id="forward:path#success#validate1Page1.jsp#@action:logout.do#portlets.validation.validation.validationController.ValidateForm@">
* <property value="156,270,270,384" name="elbowsX"/>
* <property value="92,92,172,172" name="elbowsY"/>
* <property value="East_1" name="fromPort"/>
* <property value="West_1" name="toPort"/>
* <property value="success" name="label"/>
* </pageflow-object>
* <pageflow-object id="control:com.bea.p13n.controls.login.UserLoginControl#myControl">
* <property value="28" name="x"/>
* <property value="34" name="y"/>
* </pageflow-object>
* <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#username#java.lang.String"/>
* <pageflow-object id="formbeanprop:portlets.validation.validation.validationController.ValidateForm#password#java.lang.String"/>
* <pageflow-object id="formbean:portlets.validation.validation.validationController.ValidateForm"/>
* </view-properties>
public class validationController extends PageFlowController
* This is the control used to generate this pageflow
* @common:control
private UserLoginControl myControl;
// Uncomment this declaration to access Global.app.
// protected global.Global globalApp;
// For an example of page flow exception handling see the example "catch"
and "exception-handler"
// annotations in {project}/WEB-INF/src/global/Global.app
* This method represents the point of entry into the pageflow
* @jpf:action
* @jpf:forward name="success" path="validate1Page1.jsp"
protected Forward begin()
return new Forward( "success" );
* @jpf:action validation-error-page="validate1Page1.jsp"
* @jpf:forward name="success" path="Result.jsp"
* @jpf:catch method="exceptionHandler" type="Exception"
protected Forward validate1(ValidateForm aForm) throws Exception
com.bea.p13n.usermgmt.profile.ProfileWrapper var = myControl.login( aForm.username,
aForm.password, getRequest());
getRequest().setAttribute( "results", var );
return new Forward("success",aForm);
* Action encapsulating the control method :logout
* @jpf:action
* @jpf:forward name="success" path="validate1Page1.jsp"
* @jpf:catch message="not authenticated" path="/error.jsp" type="Exception"
public Forward logout( ValidateForm aForm )
throws Exception
myControl.logout( getRequest() );
return new Forward( "success" );
* @jpf:exception-handler
* @jpf:forward name="errorPage" path="/error.jsp"
protected Forward exceptionHandler( Exception ex, String actionName, String
message, FormData form )
String displayMessage = "An exception occurred in the action " + actionName;
System.out.println ("display message "+displayMessage);
getRequest().setAttribute( "errorMessage", displayMessage );
return new Forward( "errorPage" );
* FormData get and set methods may be overwritten by the Form Bean editor.
public static class ValidateForm extends org.apache.struts.validator.ValidatorForm
private String password;
private String username;
public void setUsername(String username)
this.username = username;
public String getUsername()
return this.username;
public void setPassword(String password)
this.password = password;
public String getPassword()
return this.password;
* added just to test validate (override) method.
public ActionErrors validate(ActionMapping map, HttpServletRequest req)
ActionErrors errors = null;
try {
errors = super.validate(map,req);
}catch (Exception e)
e.printStackTrace();
if (errors ==null) {
System.out.println ("errors = "+errors);
} else
System.out.println ("errors= "+errors);
return errors;
in the above code when we call "validate1" action, it will authenticate successfully
when we enter valid username and passowrd.
But when i enter invalid credentials page flow controller should execute "handleException"
method but at this time i am getting an error
Page Flow Unhandled Exception
Exception: java.lang.IllegalArgumentException
Message: argument type mismatch
A java.lang.IllegalArgumentException exception was thrown and not handled by any
Page Flow. See the console for the exception stack trace.
please help us on how to rectify this error.
thanks,
shashi
[validationController.jpf]Hi-
That may be on the right track, but the /index.jsp page gets displayed in the
portlet...I am still within the portal framework, so I don't think I am loosing
the context...
-Howie
"Khurram Zafar" <[email protected]> wrote:
>
you are most likely redirecting to the /error.jsp page and losing the
context for
your portal app. The index.jsp page may be defined as your <welcome-file>
in your
web.xml file. The best thing to do is to save the context before visiting
error.jsp
and then provide a link in error.jsp to go back. Look at javadoc for
PageURL for
obtaining the URL to a portal page, you can then save it in session of
pass it
to your error page.
"Howie Oakes" <[email protected]> wrote:
Hello-
I have a page flow portlet that I am testing some exception handling
on. Right
now when I catch an exception, I display the global /error.jsp page,
using the
@jpf:catch tag. The problem is when I refresh the page after viewing
the error
page, the pageflow always pulls up the /index.jsp page at the root of
the webapp.
I have to get a new session to see the original page flow.
This only happens when I am running the Jpf as a portlet...I don't see
this behavior
with it stand-alone.
I am not sure why the index.jsp page is being called...there are noreferences
to it in my jpf code...
thanks,
Howie -
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 -
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 -
Communication between multiple page flow portlets
Hi, I am working on weblogic portal 8.1.
I've been struggling to communicate between different page flow portlets,
I have a login page flow portlet and i need to submit login details to indeex page after login action is done.
I am able to do this by using PageUrl class and RequestDispatcher's forward method using definition label of the index page flow portlet.
but it is not happening again when i logged out.
If anybody have worked on it, please let me know the soltution.
Thanks,
Vidya sagarNot sure whether you tried this option(I tried it works for me).
configuration has to be done is portlet-2:
=========================
Create an custom event namely(messageCustomEvent) and also add an action for it for invoking a portlet method getMessage in Portlet-2.
//Place this method in Portlet-2
public void getMessage(ActionRequest request, ActionResponse response,
Event event) {
CustomEvent customEvent = (CustomEvent) event;
String message = (String) customEvent.getPayload();
response.setRenderParameter("message0", message);
configuration has to be done is portlet-1:
=========================
when click on Login in portlet1, in the pageflow code you fire an custom event as shown below
PortletBackingContext context =
PortletBackingContext.getPortletBackingContext(getRequest());
context.fireCustomEvent("messageCustomEvent", form.getMessage());
return new Forward("success");
Thanks & Regards,
Murali.
============ -
Workshop CRASHED while editing a page flow
Workshop Gurus -
Any clues on this bug. I get this error while editing pageflow. It just started
happening this morning.
I must say, WLW crashes gracefully. It allows me to report this message directly
to BEA, and then allows me to save my files. However, I do need a resolution to
this problem, hopefully soon.
java.lang.NullPointerException
at workshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:120)
at workshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEventAdapter.java:492)
at workshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.java:177)
at workshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdapter.java:123)
at com.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.java:253)
at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:243)
at com.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupport.java:219)
at com.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument.java:482)
at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDocument.java:523)
at com.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDocument.java:610)
at workshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProject.java:1448)
at workshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(CompilerSvcImpl.java:161)
at workshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:1498)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Thanks
Kunal MittalRaj -
Yes I am using SP2. I have had Workshop crash SEVERAL times when working with
page flows. Some sort of null pointer exception. The only good thing is that workshop
crashes gracefully, so I didn't lose any work that I was doing.
Thanks.
Kunal
"Raj Alagumalai" <[email protected]> wrote:
Kunal,
Can you try using SP2 ?
Thanks,
Raj Alagumalai
Backline Workshop Support
"Kunal Mittal" <[email protected]> wrote in message
news:[email protected]...
Workshop Gurus -
Any clues on this bug. I get this error while editing pageflow. Itjust
started
happening this morning.
I must say, WLW crashes gracefully. It allows me to report this messagedirectly
to BEA, and then allows me to save my files. However, I do need aresolution to
this problem, hopefully soon.
java.lang.NullPointerException
atworkshop.pageflow.model.ExternalPageFlow.refChanged(ExternalPageFlow.java:12
0)
atworkshop.pageflow.model.DocumentEventAdapter.processModelObjects(DocumentEve
ntAdapter.java:492)
atworkshop.pageflow.model.DocumentEventAdapter.process(DocumentEventAdapter.ja
va:177)
atworkshop.pageflow.model.DocumentEventAdapter.elementChange(DocumentEventAdap
ter.java:123)
atcom.bea.ide.element.ElementChangeSupport.fireListeners(ElementChangeSupport.
java:253)
atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
ort.java:243)
atcom.bea.ide.element.ElementChangeSupport.fireElementChange(ElementChangeSupp
ort.java:219)
atcom.bea.ide.document.DefaultDocument.fireElementChildRemoved(DefaultDocument
.java:482)
atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeComplete(DefaultSourceDo
cument.java:523)
atcom.bea.ide.sourceeditor.DefaultSourceDocument.mergeMetadata(DefaultSourceDo
cument.java:610)
atworkshop.sourceeditor.compiler.CompilerProject$MergeRunner.run(CompilerProje
ct.java:1448)
atworkshop.sourceeditor.compiler.CompilerSvcImpl$TreeMergeLock.runMerger(Compi
lerSvcImpl.java:161)
atworkshop.sourceeditor.compiler.CompilerProject$4.run(CompilerProject.java:14
98)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
atjava.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:197)
atjava.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Thanks
Kunal Mittal -
How to submit a form with checkboxes in a page flow?
I'm having some trouble with a form that contains several checkboxes, and
how to submit this form within a page flow...
I have a JSP page containing a form with N checkboxes. The value and
checked/unchecked status of each checkbox is generated from parsing an XML
document. Here is the (simplified) code:
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
<netui:form action="doUpdate">
<x:forEach select="...">
<input type="checkbox" name="id"
<x:if ...>checked</x:if> value="<x:out ... />">
</x:forEach>
<netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
<netui:anchor action="doCancel">Cancel</netui:anchor>
</netui:form>
When this form is submitted, the checkbox values are lost -- the following
code (in the action) produces an empty array:
String[] prefs = this.getRequest().getParameterValues("id");
I looked at the <netui:checkbox> tag, but it does not appear to give me a
way to set the state and value (unless I've missed something).
Can I submit a form without using a form bean? If I do use a form bean, can
I set the state and value from my JSP?
Any suggestions on how to do this (or insights into what I'm doing wrong)
are welcome...
-- CraigI am new to this, but I think this may solve your problem:
I am not sure if this is what you are looking for, but you can create a LinkedHashMap
with the req key/value pairs in the page-calling action in the pageflow and then
pass that via a getRequest().setAttribute("myCheckboxes",myCheckboxHashMap);
You can then access it in code using the optionsDataSource portion of the netui:checkBoxGroup
- ie
<netui:checkBoxGroup dataSource="{actionForm.thisCheckbox}" optionsDataSource="{request.myCheckboxes}">
Hope this helps!
m
"Craig Coffin" <craig+1268fbec@nfld-dot-com> wrote:
I'm having some trouble with a form that contains several checkboxes,
and
how to submit this form within a page flow...
I have a JSP page containing a form with N checkboxes. The value and
checked/unchecked status of each checkbox is generated from parsing an
XML
document. Here is the (simplified) code:
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
<netui:form action="doUpdate">
<x:forEach select="...">
<input type="checkbox" name="id"
<x:if ...>checked</x:if> value="<x:out ... />">
</x:forEach>
<netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
<netui:anchor action="doCancel">Cancel</netui:anchor>
</netui:form>
When this form is submitted, the checkbox values are lost -- the following
code (in the action) produces an empty array:
String[] prefs = this.getRequest().getParameterValues("id");
I looked at the <netui:checkbox> tag, but it does not appear to give
me a
way to set the state and value (unless I've missed something).
Can I submit a form without using a form bean? If I do use a form bean,
can
I set the state and value from my JSP?
Any suggestions on how to do this (or insights into what I'm doing wrong)
are welcome...
-- Craig -
Drag and drop STILL sketchy in Struts Page Flow
Struts Page Flow has been a major problem area in JDev since it was introduced, and I am still having some useability issues with it.
I CANNOT drag an application module method out, onto a data action; if the data action isn't one of the newest actions on the page. If the action has more than one target, (multiple "forwards") or just isn't one of the "newest" actions on the page, the GUI shows me dragging a the method from an app mod out onto the action, but no work is done once I drop it. I must delete the data action, and re-create it. This, in the mean time, will overwrite any data action class I had defined originally.
This needs to be fixed very soon, as it has been in every build of 10g that I have dealt with.Ok. To reproduce the bad drag and drop behavior:
Create a Misc Data page, name it "Home"
Drag a data page out, name it "A", and put stuff on it. (Doesn't need to be complex).
Drag an action out, name it "B".
Drag another action out, name it "C"
Connect a forward from "A" to "B", connect a forward from "B" to "C". Connect a forward from "C" to "Home".
Connect a "fail" forward back, from "B" to "A".
Try to drag a method off of an applicaiton module to Action "B". It should not work. -
How do I redirect request to an external page flow?
Hi,
I´m really stucked here. I need to redirect and XML wich I get in page flow to an external page flow(in a different project(war) but in the same workshop application(ear)), I´ve tryied all kinds off things but it does not work correctly.
I even tryied what is written in workshop docs:
If the path begins with a protocol such as "http:" the page flow runtime will look outside of this web application for the resource, and it will automatically cause a redirect (rather than a server forward) to the resource. If the path begins with a forward slash, "/", the runtime will start at the web application's root directory to locate the resource. If the path omits the forward slash, "/", the reference is relative to the page flow's directory.
so I did:
@jpf:forward name="goToKnapp" path="http://localhost:7001/eaiKnapp/PageFlowName.jpf"
and inside the method:
return new Forward("goToKnapp");
and it does´t work.
Any help will be wellcome.Go to iPhoto and hit File and go to EXPORT. From there you can export your entire iPhoto Library to your external drive in any folder you want. Now if you've named the pictures in iPhoto and you select the check box for NAME and Keywords in the EXPORT menu the photos will be exported with the names given in iPhoto and any keywords you have added to the photo such as a description.. Hope this helps not sure if this is what your looking for.
Maybe you are looking for
-
How can we see status of all Requests at a time using any tables?
How can we see status of all Requests at a time in the Info cube or ODS using any tables? what I am facing was while I run a Process Chain in some data targets red requests remains and due to this all other requests doesnot available for reporting. N
-
Including down payment made to vendor in the internal order
Hi all My requirement is like this. We use IM and IO(Capex orders) for procuring and capitalising assets. We are able to assign all the costs of procuring assets (both APC and incidental expenses to the internal order). We use purchase orders and ass
-
How do you edit a scanned document
How do you edit a scaned document
-
Iphone stuck in headphone mode
Hi, I have seen that I'am not the only one with this issue. I'am quite sure that this is not a hardware issue on my iphone 5, because my workaround is to turn the phone off/on. Then it works fine until I connect headphone again. Quite annoying.. This
-
Hibernate data insertion not working with oracle auto increment
hi i have created a table and the id is set to auto increment by a sequence trigger pair when i manually giving value to id its working fine but when i tried without maually giving the id i am getting this error org.hibernate.id.IdentifierGenerationE