How do I link from one jsf flow to another state in another flow?JSF - Spring Web Flow - problem accessing “selectedRow” in nested dataTablesJSF 2.0: Preserving component state across multiple viewsHow to include another XHTML in XHTML using JSF 2.0 Facelets?What is the JSF resource library for and how should it be used?Implicit flow-scope object is not recognized in JSF applicationSimple-flow example from the Java EE7 tutorial remembers values of previous flowExiting a JSF FlowPrimefaces tree and how to navigate based on TreeNode leaf entity IDJSF Flow - Implicit navigation doesn't workJSF Flow. End current flow and start a new one
What is the most 'environmentally friendly' way to learn to fly?
Matrix condition number and reordering
How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with
What do the screens say after you are set free?
"Fewer errors means better products" or "Fewer errors mean better products"?
Can I shorten this filter, that finds disk sizes over 100G?
How to get maximum number that newcount can hold?
How long should I wait to plug in my refrigerator after unplugging it?
Can Otiluke's Freezing Spheres be stockpiled?
Is law enforcement responcible for damages made by a search warrent?
Does KNN have a loss function?
Is the un-detonated globe of Otiluke's Freezing Sphere magical?
How do I solve such questions on paramagnetism and ferromagnetism?
What's the term for a group of people who enjoy literary works?
linearization of objective function
What sort of solar system / atmospheric conditions, if any, would allow for a very cold planet that still receives plenty of light from its sun?
Why are sugars in whole fruits not digested the same way sugars in juice are?
How were x-ray diffraction patterns deciphered before computers?
Adding a (stair/baby) gate without facing walls
Basic theorem proving in Mathematica?
Define tcolorbox in math mode
A conjectural trigonometric identity
Partial Fractions: Why does this shortcut method work?
Why are Star Wars Rebel Alliance ships named after letters from the Latin alphabet?
How do I link from one jsf flow to another state in another flow?
JSF - Spring Web Flow - problem accessing “selectedRow” in nested dataTablesJSF 2.0: Preserving component state across multiple viewsHow to include another XHTML in XHTML using JSF 2.0 Facelets?What is the JSF resource library for and how should it be used?Implicit flow-scope object is not recognized in JSF applicationSimple-flow example from the Java EE7 tutorial remembers values of previous flowExiting a JSF FlowPrimefaces tree and how to navigate based on TreeNode leaf entity IDJSF Flow - Implicit navigation doesn't workJSF Flow. End current flow and start a new one
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
On my inventory detail page, some of the inventory might be in a tool kit. If so, I want to create a link from that inventory item to the tool kit detail page for the associated kit. So, I have this link in the inventory table:
<h:commandLink rendered="#transaction.kitId != null" value = "(in kit)" action="goKit">
<f:param name="kitId" value="#transaction.kitId"/>
</h:commandLink>
Then, in the manage inventory flow, I manage the goKit action like this:
<view-state id="detail">
<transition on="return" to="main"/>
<transition on="goKit" to="transitionToKit"/>
</view-state>
<subflow-state id="transitionToKit" subflow="manage-tool-kit">
<input name="kitId" value="requestParameters.kitId" type="java.lang.Integer"/>
<transition to="assign"/>
</subflow-state>
The goal is to send the id of the kit to the manage-tool-kit subflow, so that it can load the associated tool kit. So, in the tool kit flow, I have:
<input name="kitId" value="flowScope.kitId" type="java.lang.Integer" required="false"/>
<view-state id="assign">
<on-entry>
<evaluate expression="kitAssignmentBean.loadKitFromInventory(flowScope.kitId)"/>
<evaluate expression="kitAssignmentBean.loadLinkedToolControls()"/>
</on-entry>
<transition on="return" to = "main"></transition>
</view-state>
The problem is that when I click on the link, it simply goes to the main view state of the kit flow. How do I get the link to navigate to the assign view state?
The system should navigate to the assign view state of the kit flow, and load the associated kit. It's only going to the main view state.
jsf web-applications flow-scope
add a comment |
On my inventory detail page, some of the inventory might be in a tool kit. If so, I want to create a link from that inventory item to the tool kit detail page for the associated kit. So, I have this link in the inventory table:
<h:commandLink rendered="#transaction.kitId != null" value = "(in kit)" action="goKit">
<f:param name="kitId" value="#transaction.kitId"/>
</h:commandLink>
Then, in the manage inventory flow, I manage the goKit action like this:
<view-state id="detail">
<transition on="return" to="main"/>
<transition on="goKit" to="transitionToKit"/>
</view-state>
<subflow-state id="transitionToKit" subflow="manage-tool-kit">
<input name="kitId" value="requestParameters.kitId" type="java.lang.Integer"/>
<transition to="assign"/>
</subflow-state>
The goal is to send the id of the kit to the manage-tool-kit subflow, so that it can load the associated tool kit. So, in the tool kit flow, I have:
<input name="kitId" value="flowScope.kitId" type="java.lang.Integer" required="false"/>
<view-state id="assign">
<on-entry>
<evaluate expression="kitAssignmentBean.loadKitFromInventory(flowScope.kitId)"/>
<evaluate expression="kitAssignmentBean.loadLinkedToolControls()"/>
</on-entry>
<transition on="return" to = "main"></transition>
</view-state>
The problem is that when I click on the link, it simply goes to the main view state of the kit flow. How do I get the link to navigate to the assign view state?
The system should navigate to the assign view state of the kit flow, and load the associated kit. It's only going to the main view state.
jsf web-applications flow-scope
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29
add a comment |
On my inventory detail page, some of the inventory might be in a tool kit. If so, I want to create a link from that inventory item to the tool kit detail page for the associated kit. So, I have this link in the inventory table:
<h:commandLink rendered="#transaction.kitId != null" value = "(in kit)" action="goKit">
<f:param name="kitId" value="#transaction.kitId"/>
</h:commandLink>
Then, in the manage inventory flow, I manage the goKit action like this:
<view-state id="detail">
<transition on="return" to="main"/>
<transition on="goKit" to="transitionToKit"/>
</view-state>
<subflow-state id="transitionToKit" subflow="manage-tool-kit">
<input name="kitId" value="requestParameters.kitId" type="java.lang.Integer"/>
<transition to="assign"/>
</subflow-state>
The goal is to send the id of the kit to the manage-tool-kit subflow, so that it can load the associated tool kit. So, in the tool kit flow, I have:
<input name="kitId" value="flowScope.kitId" type="java.lang.Integer" required="false"/>
<view-state id="assign">
<on-entry>
<evaluate expression="kitAssignmentBean.loadKitFromInventory(flowScope.kitId)"/>
<evaluate expression="kitAssignmentBean.loadLinkedToolControls()"/>
</on-entry>
<transition on="return" to = "main"></transition>
</view-state>
The problem is that when I click on the link, it simply goes to the main view state of the kit flow. How do I get the link to navigate to the assign view state?
The system should navigate to the assign view state of the kit flow, and load the associated kit. It's only going to the main view state.
jsf web-applications flow-scope
On my inventory detail page, some of the inventory might be in a tool kit. If so, I want to create a link from that inventory item to the tool kit detail page for the associated kit. So, I have this link in the inventory table:
<h:commandLink rendered="#transaction.kitId != null" value = "(in kit)" action="goKit">
<f:param name="kitId" value="#transaction.kitId"/>
</h:commandLink>
Then, in the manage inventory flow, I manage the goKit action like this:
<view-state id="detail">
<transition on="return" to="main"/>
<transition on="goKit" to="transitionToKit"/>
</view-state>
<subflow-state id="transitionToKit" subflow="manage-tool-kit">
<input name="kitId" value="requestParameters.kitId" type="java.lang.Integer"/>
<transition to="assign"/>
</subflow-state>
The goal is to send the id of the kit to the manage-tool-kit subflow, so that it can load the associated tool kit. So, in the tool kit flow, I have:
<input name="kitId" value="flowScope.kitId" type="java.lang.Integer" required="false"/>
<view-state id="assign">
<on-entry>
<evaluate expression="kitAssignmentBean.loadKitFromInventory(flowScope.kitId)"/>
<evaluate expression="kitAssignmentBean.loadLinkedToolControls()"/>
</on-entry>
<transition on="return" to = "main"></transition>
</view-state>
The problem is that when I click on the link, it simply goes to the main view state of the kit flow. How do I get the link to navigate to the assign view state?
The system should navigate to the assign view state of the kit flow, and load the associated kit. It's only going to the main view state.
jsf web-applications flow-scope
jsf web-applications flow-scope
edited Mar 27 at 0:28
Kukeltje
9,6894 gold badges15 silver badges40 bronze badges
9,6894 gold badges15 silver badges40 bronze badges
asked Mar 26 at 14:46
user3794648user3794648
163 bronze badges
163 bronze badges
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29
add a comment |
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359967%2fhow-do-i-link-from-one-jsf-flow-to-another-state-in-another-flow%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55359967%2fhow-do-i-link-from-one-jsf-flow-to-another-state-in-another-flow%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
All this is not PrimeFaces related
– Kukeltje
Mar 27 at 0:29