This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 94343 - A simpler way to handle conditional Page Navigation
Summary: A simpler way to handle conditional Page Navigation
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Joelle Lam
Depends on:
Reported: 2007-02-05 11:33 UTC by bugbridge
Modified: 2007-09-22 18:22 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 11:33:48 UTC
Original status: 4-Defer; Suggested Status: RESOLVED (Resolution:REMIND)

Original Target Release: mako_dev; Suggested Target Milestone : Dev

In the Page Navigation view, here's a nice way
to allow for developers to add conditional logic:
Create a "Redirector" visual component which can be
placed visually between pages, and which when
clicked upon a developer can enter code to tell it
to go to page A, B or C based on some logic. So visually
it looks like page 1 on the left, with a arrow
to the Redirector on the right, and then one or more
arrows coming out of the Redirector and going into one
or more pages. Then the user double-clicks inside
the Redirector and puts the conditions (and optional
default case) under which the redirector will send
the user to any one of the pages attached to it.
  Note that the way the condition is specified
could be done really slick by giving the developer
a checkbox/dropdown/choice which allows a developer
to specify how the conditional code will be specified.
One way to specify it is "By passing the page name
as the value of a variable" or "by writing a Java Expression
that outputs a page name" or "by reading the integer
value of a variable and using it to construct the name
of the next page, as in page1, page2, etc", etc.

Good RFE for Mako
Comment 1 Joelle Lam 2007-09-22 18:21:45 UTC
IDE: [9/22/07 10:21 AM] Committing "Navigation Support" started
Checking in;
/cvs/visualweb/navigation/src/org/netbeans/modules/visualweb/navigation/,v  <--
new revision: 1.18; previous revision: 1.17
Checking in;
/cvs/visualweb/navigation/src/org/netbeans/modules/visualweb/navigation/,v  <--
new revision: 1.16; previous revision: 1.15
IDE: [9/22/07 10:21 AM] Committing "Navigation Support" finished
Comment 2 Joelle Lam 2007-09-22 18:22:23 UTC
Oops, closed the wrong bug.