Re: Page Flow Question

John,
We are looking into this and will get back to you.
Regards,
Anurag
"John Hundley" <[email protected]> wrote in message
news:3f184486$[email protected]..
>
Hi,
I have developed a Page Flow application that has more than one entrypoint into
a given set of pages that perform updates to a database. Depending onwhere the
user entered the pages from I want to return to that page once the personhas
completed making the updates. I have been toying with the return to pagebut
that only works to go to the previous page and no further. I was thinkingI could
set a variable in the globalApp class that would point to the initialentry page
but I would have to do that in the .jsp and I haven't quite figured outhow to
access globalApp from a .jsp. Is this the best approach or are therebetter ways
of doing what I am trying to do? Has anyone done this sort of thing andhave an
example?
Thanks,
John

Thanks suggestion from Eddie and Gregory! Actually Eddie's suggestion by putting
everything in a single line did work, however I encountered a even weirder problem:
I am using a plugin called Chime Pro from MDL, by putting everything in a single
line, the plugin is able to render picture on the test brower on server machine,
however, the picture still won't be rendered on the client browser (on another
PC with plugin installed), the weirdest thing is that when I start the TCPtrace
utility:http://www.pocketsoap.com/tcptrace/, the plugin start to work.
I initially think it may due to the port problem, I switched the server port to
the common 8080, it still won't work.
Does anyone in this group use Chime Pro plugin? Any suggestion is appreciated.
Thanks
Zhenhao
Eddie O'Neil <[email protected]> wrote:
Zhenhao--
Try putting everything on a single line; it looks like the \n's at the
end of the taglib definitions are putting returns in the output page.
Eddie
Zhenhao Qi wrote:
Hi Eddie,
Thanks for the hint, by using <netui:content/> tag, I did get rid ofthe HTML
<span> ...</span> wrap. However, I still got several empty lines beforemy output
(please see the attached returned-format.txt and the format_wanted.txtand the
screen shot ), this causes my plugin refuse to render the picture.I think those
empty line is due to my code below, somehow the WLS output newlineif I have code
on that line "
<%@ page contentType="chemical/x-mdl-molfile"%>
<%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%@taglib prefix="netui" uri="netui-tags-html.tld"%>
<netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
<netui-data:methodParameter value="{url.Sample_code}"/>
</netui-data:callPageFlow>
<netui:content value="{pageContext.jpfMol}" >
</netui:content>
I think we are getting close to solve the problem, but this maybe adifficult
one due to workshop's own setting.
Thanks!
zq
Eddie O'Neil <[email protected]> wrote:
Zhenhao--
Try using the <netui:content/> tag; this simply writes the text to
the output stream and does not wrap it in an HTML <span>...</span>
as
the <netui:label/> tag does.
Let me know if that helps...
Eddie
Zhenhao Qi wrote:
Hi,
Looks like my workshop debugger is behaving better this afternoon.My apology
for the previous message, the "call PageFlow" did return the stringI expected,
However, the format is little off from what I expected, please seethe attached
return format and the format I wanted.
I have the following jsp code:
<%@ page contentType="chemical/x-mdl-molfile"%>
<%@ 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"%>
<%@taglib prefix="netui" uri="netui-tags-html.tld"%>
<netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
<netui-data:methodParameter value="{url.Sample_code}"/>
</netui-data:callPageFlow>
<netui:label value="{pageContext.jpfMol}" >
</netui:label>
Is there any way inside workshop that I maybe able to tweak code alittle to make
the format suit my need, this is critical for my plugin to recognizethe format
to reder some picture.
Thanks!
Zq
"Zhenhao Qi" <[email protected]> wrote:
Hi Eddie,
Thanks a lot for the info.! the "{url.Sample_code}" did solve my
dynamic
data
binding problem, however it looks like it did not return any thingwhen
I use
the following code:
<netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
<netui-data:methodParameter value="{url.Sample_code}"/>
</netui-data:callPageFlow>
<netui:label value="{pageContext.jpfMol}" >
</netui:label>
The method "GetMolbyscode" in the .jpf as following:
public String GetMolbyscode(String S_code)
try {
java.sql.Clob molfile = structuredb.getmolbyscode(S_code);
int len = (int)molfile.length();
String molfil = molfile.getSubString(1, len);
return molfil;
catch (SQLException e) {
System.err.print("Caught Exception : ") ;
e.printStackTrace() ;
return null;
I did use "toggle breakpoint" to step through the excution of "GetMolbyscode",
I got the expected "molfil". I need to particularly mention that
the
returned
string "molfil" contains several "\n" inside it, I am wondering this
may cause
the problem.
By the way, the "toggle breakpoint" debugging function sometimesdid
not work,
I am wondering why.
Thanks!
Zq
Eddie O'Neil <[email protected]> wrote:
Zhenhao--
The NetUI tags use data binding expressions to access data. Oneof
the ways you could do this is to use the "url" binding context,
which
provides access to the first parameter that shows up on the URLfor
each
parameter key; this is equivalent to your getParameter(...) call.
Replace your methodParameter with this:
<netui-data:methodParameter value="{url.Sample_code}"/>
Hope that helps...
Eddie
Zhenhao Qi wrote:
Hi All,
I am new to this newsgroup. I am using workshop 8.1 and try to
call
dynamically
the PageFolow method, but it won't work, is there alternatives?
I have the follwing codes:
<%
String S_code = request.getParameter("Sample_code");
%>
<netui-data:callPageFlow method="GetMolbyscode" resultId="jpfmol">
<netui-data:methodParameter value="<%=S_code%>"/>
</netui-data:callPageFlow>
However, it give me the error: this attribute does not supportrequest
time value.
Thanks!
zq
ISISHOST03270216272D 1 1.00000 0.00000 26670
41 44 0 0 0 999 V2000
2.7381 -3.0319 0.0000 C 0 0 0 0 0 0 0 00
3.5627 -3.0960 0.0000 C 0 0 0 0 0 0 0 00
4.0298 -2.4093 0.0000 C 0 0 0 0 0 0 0 00
3.6710 -1.6674 0.0000 C 0 0 0 0 0 0 0 00
2.3818 -2.2873 0.0000 C 0 0 0 0 0 0 0 00
2.8488 -1.6080 0.0000 C 0 0 0 0 0 0 0 00
2.3471 -0.9539 0.0000 N 0 0 3 0 0 0 0 00
1.5699 -1.2290 0.0000 C 0 0 0 0 0 0 0 00
1.5915 -2.0530 0.0000 C 0 0 0 0 0 0 0 00
0.8901 -0.7616 0.0000 C 0 0 0 0 0 0 0 00
0.9549 0.0608 0.0000 O 0 0 0 0 0 0 0 00
0.1454 -1.1167 0.0000 N 0 0 0 0 0 0 0 00
-0.5344 -0.6494 0.0000 C 0 0 0 0 0 0 0 00
-0.4678 0.1701 0.0000 C 0 0 0 0 0 0 0 00
-1.1469 0.6373 0.0000 C 0 0 0 0 0 0 0 00
-1.8925 0.2822 0.0000 C 0 0 0 0 0 0 0 00
-1.9550 -0.5447 0.0000 C 0 0 0 0 0 0 0 00
-1.2751 -1.0082 0.0000 C 0 0 0 0 0 0 0 00
-1.0817 1.4597 0.0000 C 0 0 3 0 0 0 0 00
-0.3368 1.8145 0.0000 C 0 0 0 0 0 0 0 00
-1.7613 1.9274 0.0000 C 0 0 0 0 0 0 0 00
-0.3041 1.1839 0.0000 C 0 0 0 0 0 0 0 00
-1.3358 -1.8310 0.0000 O 0 0 0 0 0 0 0 00
-2.0787 -2.1898 0.0000 C 0 0 0 0 0 0 0 00
-2.6984 -0.9024 0.0000 N 0 0 0 0 0 0 0 00
-3.3799 -0.4375 0.0000 S 0 0 3 0 0 0 0 00
-4.1233 -0.7952 0.0000 C 0 0 0 0 0 0 0 00
-2.7549 0.1042 0.0000 O 0 0 0 0 0 0 0 00
-3.7404 0.3098 0.0000 O 0 0 0 0 0 0 0 00
4.1342 -0.9847 0.0000 N 0 0 0 0 0 0 0 00
4.9571 -1.0445 0.0000 C 0 0 0 0 0 0 0 00
5.4203 -0.3619 0.0000 C 0 0 0 0 0 0 0 00
5.3167 -1.7870 0.0000 O 0 0 0 0 0 0 0 00
6.2476 -0.4235 0.0000 C 0 0 0 0 0 0 0 00
6.7107 0.2583 0.0000 C 0 0 0 0 0 0 0 00
6.3511 1.0018 0.0000 C 0 0 0 0 0 0 0 00
5.5239 1.0593 0.0000 N 0 0 0 0 0 0 0 00
5.0645 0.3766 0.0000 C 0 0 0 0 0 0 0 00
6.8135 1.6851 0.0000 N 0 0 0 0 0 0 0 00
7.6364 1.6264 0.0000 C 0 0 0 0 0 0 0 00
2.5816 -0.1629 0.0000 C 0 0 0 0 0 0 0 00
9 5 1 0 0 0
19 20 1 0 0 0
4 6 1 0 0 0
19 21 1 0 0 0
8 10 1 0 0 0
19 22 1 0 0 0
5 6 2 0 0 0
18 23 1 0 0 0
10 11 2 0 0 0
23 24 1 0 0 0
1 2 2 0 0 0
17 25 1 0 0 0
10 12 1 0 0 0
25 26 1 0 0 0
5 1 1 0 0 0
26 27 1 0 0 0
12 13 1 0 0 0
26 28 2 0 0 0
2 3 1 0 0 0
26 29 2 0 0 0
13 14 2 0 0 0
4 30 1 0 0 0
30 31 1 0 0 0
14 15 1 0 0 0
31 32 1 0 0 0
3 4 2 0 0 0
31 33 2 0 0 0
15 16 2 0 0 0
32 34 2 0 0 0
6 7 1 0 0 0
34 35 1 0 0 0
16 17 1 0 0 0
35 36 2 0 0 0
7 8 1 0 0 0
36 37 1 0 0 0
17 18 2 0 0 0
37 38 2 0 0 0
38 32 1 0 0 0
18 13 1 0 0 0
36 39 1 0 0 0
8 9 2 0 0 0
39 40 1 0 0 0
15 19 1 0 0 0
7 41 1 0 0 0
M END
</span>------------------------------------------------------------------------

Similar Messages

  • Page Flow Question

    I have 2 page flows in my application :PageFlow1 and PageFlow2
    PageFlow 1 has a method jumpToPageFlow2() that calls begin method of PageFlow2
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="/PageFlow2.jpf"
    protected Forward jumpToPageFlow2()
    return new Forward( "success" );
    The index page of PageFlow 2 gets executed successfully. If I do refresh on the
    index page of PageFlow2, it throws me PageFlow error - Action Not Found and expects
    method jumpToPageFlow2() to be in PageFlow2.
    This is strange.
    Is there any work around solution
    Thanks

    Hi
    You can access pageflow variable from any JSP page that is part of that page flow. Is the jsp part of the pageflow?
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    Vimala-

  • JSR-168 vs Page Flow question

    Hi,
    I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
    will i loose ?
    Thanks

    Two main features
    * Managing flow: WLW can help manage flow for pageflows, but with JSR168
    portlets, you need to create the flow programmatically.
    * Databinding: Pageflows support advanced databinding features, and
    these features are not part of the spec defining JSR168 portlets.
    Subbu
    Carl Samson said the following on 12/08/2003 07:12 AM:
    Hi,
    I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
    will i loose ?
    Thanks

  • How to change the "Page Flow Error - Unsatisfied Role Restriction" page

    When you try to access a page and are denied authorization to it, Weblogic automatically redirects you to a
    "Page Flow Error - Unsatisfied Role Restriction" page, on the bottom of which tells you what roles you have to be in in order to access the resource. My question is how can I change this page to match the general look and feel of my application?

    I know you asked this almost a month ago, so you may have already figured it out... but you just need to add a handler for com.bea.wlw.netui.pageflow.UnfulfilledRolesException. Something like this:
    @jpf:catch type="com.bea.wlw.netui.pageflow.UnfulfilledRolesException" path="roles-error.jsp"
    You can put it at the class level of a specific page flow, or at the class level of WEB-INF/src/Global.app, which will apply it to all page flows.
    Hope this helps.
    Rich

  • 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.

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is there a way to RECREATE the Page Flow Overview in BEA Workshop 4WL?

    BEA Workshop foe weblogic makes JSP development a lot simpler, and the auto generated Page Flow Overview is a nice feature - as long as your page flows are relatively small and simple. It doesn't take much to completlly confuse the tool though and you end up with a workflow with all sorts of flow lines cris-crossing each other - often I which I could just reach in and move a single jsp or action item and the whole mess would straighten out.
    Is there a way to reposition individual elements of the Page Flow Overview or failing that to have it Recreate itself (in hopes that it will straighten out the mess itself).
    Also is there a way to manually edit the flow - adding notes and/or objects and flow lines?

    There is no explicit "refresh" button for the Page Flow Overview (PFO), however clicking the "Show Link Labels" button on the toolbar will cause the graph to be redrawn.
    That said, in my experience replotting the graph nearly always arrives at the same layout. While the layout algorithm does a pretty good job with large graphs generally, some very highly connected graphs can be pretty tough to read right off the bat.
    For various reasons we've moved away from having users manually tweak the layout to deal with this situation. However, we added some highlighting functionality to help make graphs easier to read even if the layout appears tangled.
    If you click the Graph Tracing button on the PFO toolbar you can select a given node and see all directly connected nodes highlighted. If some of the directly connected nodes are far away on the canvas, park the PFO next to the Page Flow Editor view and you'll be able to see a more regular arrangement of the same nodes.
    When you're more interested in following a specific path than seeing the whole immediate neighborhood, you can hit the slash key repeatedly to cycle through highlighting all the links connected to the selected node.
    Finally, you can ctrl-click to multi-select links of interest if you want to trace a given path all the way through the flow. If you were doing this for documentation purposes you can print the graph in this state, or click the Export to Image button, to make a copy of the highlighted path.
    WRT your other question about editing the flow - the Page Flow Editor is intended to complement the PFO as a means of efficiently editing the flow. Select a node in the PFO and you be able to add/modify connections to that node viat the Page Flow Editor.
    There is no provision to add notes or other objects to the flow (though the exported image files can of course be annotated in a graphics editor for documentation purposes).
    I hope that helps.

  • Page flow inheritance in Workshop 10 application structure?

    This question will probably expose my relative ignorance in this forum but I don't know who else to ask. I'm trying to use page flow inheritance to extend an abstract base controller class to controllers for several projects (which should all behave the same way but have different jsps, templates, and configuration parameters) in an application. I can't figure out how/where to build the base class and where it needs to be in order for the project controllers to have access to it. I tried building the class in its own project and exporting a jar, or including the module in an enterprise app - although I've been able to build and deploy some of these attempts, everything I've tried gives runtime errors that seem to be due to classes/files not being found because the application structure isn't workable. If anyone has examples of how to do this, or suggestions for other ways to do this besides inheritance, I would be very happy to hear them.

    This is why you break your application into task flow, this allows you to have a hierarchy of taskflows and one icon in a diagram that can represent a complete flow.
    Learn more about taskflows here:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2

  • 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

  • Page flow controller - instance variable thread safe?

    I have page flow controller that is a subclass of org.apache.beehive.netui.pageflow.PageFlowController runing weblogic 921. The essence of my question is: is instance variable of page flow controller thread safe?
    Here are the details. I have an instance variable “status” that stores the status of the patient, which is stored in the request. It sets the status with after the patient status is retrieved from database. The set method is not synchronized.
    This works fine during normal test. But it failed during load test. Does a page flow controller instance shared among different requests? If so, how can I store the status for each request?
    Thanks,
    G T

    Hello
    You seem to put your question on the wrong forum
    Oracle Beehive and Apache Beehive are two different products...
    Have a look on http://beehive.apache.org
    Cheers
    Fred

  • 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,
    m

    It 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

  • Message resources from page flow

    How can I access the ResourceBoundle declared at the top of the page flow, from
    the page flow?

    I have a question that goes along with this...
    Can you add formatting with any of these different bundle options? Since
    8.1 SP2 now has the attribute "accessKey" on buttons, we'd like to be able
    to underline the letter we are using for the accessKey. Our attempt at
    using the message bundle just puts the formatting inside the button value.
    When the jsp displayed this was the value shown for the button text: <u> S
    </u>ubmit
    Is this possible to do without using javascript? One of our team members
    found a script that adds the underline, but there is alot of code to
    underline one letter.
    Ideas?
    Thank you!
    Wendy
    "John Rohrlich" <[email protected]> wrote in message
    news:[email protected]...
    Gus,
    Your welcome.
    You don't need to get the bundle and pass it. You can access it directly
    from the JSP. If these are validation error messages you can use the
    <netui:error> tag. If the string you want to access is not for displaying
    validation errors you'll want to access the strings in another manner. The
    documentation in
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    shows at least 3 approaches. Here is the relevant section from that
    document.
    bundle
    The bundle data binding context references properties that you define in a
    message resources file, which allows you to implement internationalizedweb
    applications by not hard-coding text labels in your JSP pages.
    For example, in your page flow controller class, you can add an annotation
    such as the following:
    * @jpf:controller
    * @jpf:message-resources resources="labels.Messages"
    public class Controller extends PageFlowController
    { ...In this example, the naming convention is that the message resources
    file must be located in the project's /WEB-INF/classes/labels directory,and
    the file must be named Messages.properties.
    In the Messages.properties file, you might have a property such as:
    nameLabel=Name Then in your JSP page, you can use a data bindingexpression
    such as the following:
    <netui:label value="{bundle.default.nameLabel}"/> Alternately, you can use
    the key attribute on the @jpf:message-resources annotation:
    In your page flow controller class annotation:
    * @jpf:controller
    * @jpf:message-resources key="foo" resources="labels.Messages"
    public class Controller extends PageFlowController
    { ...Assume that the Messages.properties file in the
    /WEB-INF/classes/labels directory is the same as shown in the previous
    example. In the JSP page, you could use a tag such as the following:
    <netui:label value="{bundle['foo/jpfDirectory'].nameLabel}"/> In this
    case, your page flow controller class file is/jpfDirectory/Controller.jpf.
    >
    Another option is to use the <netui-data:declareBundle> tag. For example,in
    your JSP page:
    <netui-data:declareBundle name="someMessages"
    bundlePath="com/foobar/resources/WebAppMessages"/>This tag declares abundle
    that can be referenced in a data binding expression, such as in the
    following example:
    <netui:label value="{bundle.someMessages}"/> For more information, see the
    topics about the @jpf:message-resources Annotation and the
    <netui-data:declareBundle> Tag.
    "Gus" <[email protected]> wrote in message
    news:[email protected]...
    First of all, thanks!
    I want to get a string from the bundle and pass it to a JSP in therequest.
    I have defined the resources at the top of the JPF, as specified in thehelp:
    @jpf:message-resources resources="mensajes"
    The question is how can I get a string from the mensajes.properties
    file.
    >>
    Gus
    I would be better able to answer your question if I knew what you
    wanted
    to
    do. Are you trying to display the strings from the bundle?
    john
    "Gus" <[email protected]> wrote in message
    news:[email protected]...
    How can I access the ResourceBoundle declared at the top of the pageflow,
    from
    the page flow?

  • Trigger ADF page flow from ESB

    Hi
    I have couple of questions regarding ESB and ADF interactions.
    My requirement is to launch a application (similar to a payment gateway) which takes the input parameters from client and performs some processing using couple of ADF pages. After my processing is done, i would like to direct the page flow to "success" or "failure" pages. the URL's for the success and failure pages would be provided by the client in the payload before launching the application.
    1. can a ADF flow be triggered from a ESB/BPEL process ?
    2. can the client apps page flow be modified by the result of my apps processing ?
    any pointers to sample implementations or documentation would be really helpful.
    Thanks in advance
    Pradeep

    Sorry for spamming the forum..
    I thought both forums are handled by different PM's....
    For the benifit of visitors to this thread...
    Here is the link for the Question posted in the BPEL forum which was answered by clemens.
    Trigger ADF page flow from BPEL
    Pradeep

  • Trigger ADF page flow from BPEL

    Hi
    I have couple of questions regarding BPEL and ADF interactions.
    My requirement is to launch a application (similar to a payment gateway) which takes the input parameters from client and performs some processing using couple of ADF pages. After my processing is done, i would like to direct the page flow to "success" or "failure" pages. the URL's for the success and failure pages would be provided by the client in the payload before launching the application.
    1. can a ADF flow be triggered from a BPEL/ESB process ?
    2. can the client apps page flow be modified by the result of my apps processing ?
    any pointers to sample implementations or documentation would be really helpful.
    Thanks in advance
    Pradeep

    Pradeep,
    BPEL - Business Process Execution Language - not Page Flow Execution Language :D. BPEL is for Business process development at a large and not to replace the page flow of say Struts, or JSF navigation.
    You can trigger any process from a page but I would strongly advise against trying to do the opposite route. For simple fillups off information you can use the Human Workflow part of BPEL, for complex - screensets - this will be part of 11.
    For your requirement, it might be good enough to write some result from a process to the db and based on it - the application decides what to do next - in this case the page flow lies again within the application and NOT BPEL
    hth clemens

  • Disadvantages of using page flows

    Hello Friends,
    I am using page flows for the first time. I would also need to run the web application under another j2ee server. I know that we can use the portability kit to do this transformation.Even though I understand that using page flows have certain advantages, I wanted to know whether there are disadvantages to using it too?
    Some specific questions I had was:
    1. Does using page flows slow down the web application?
    2. Does using page flows increase the web app size?
    3. Does it make it difficult to maintain?
    4. Does using the portability kit have some disadvantages?

    Hi Gabriel,
    using BPm is always advantageous  only thing is that complex scenarios are named as BPM.So it is complex
    once you get the idea of BPM then no disadvanges.
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    **PS:Reward points if useful**
    Regards,
    Sumit Gupta

Maybe you are looking for

  • GR price is not matching with the PO price

    Hi Gurus, I am created a PO with qty = 4 set and PO price = 70,750 EUR per 1 set. And in my pricing procedure i am using 3 condition types i.e, PB00,PBXX and GRWR(statistical value) = 2% . Total value of the PO = 3,04,480 EUR (including GRWR-2%). Usi

  • Audigy and vista build 5

    hello, i have a Audigy sound card and using Vista build 5308. i was wondering if there is any solution for the BSOD that appears when restarting/shutdown the pc. am i the only one with this error ? i realise these drivers were released for beta but s

  • Internal Order Budget - Availability Control

    I have done the budget profile, entered the budget figures, created internal order budget with the required profile.  However, when I entered the fi document with this statistical IO, system does not give any message as per the tolerance setting acti

  • Any way to "lock" app from being deleted?

    My 3-yr old son has recently deveopled a penchant for deleting apps off our iPad.  Is there any way to "lock" apps in a way that, say, a password is needed to delete them? I'm getting tired of having to re-load everything after he's done with it.

  • Playmemories app for Windows phone

    I have recently bought the HDR-AS100VR action cam, and has desperately beeb looking for the Playmemories app for my also recently acquired Windows phone. This however seems futile. I can find several post in here and others on the internet dating bac