Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP Professional
JBOSS 4.0.5.GA
-
ICEsoft Forum Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
The following is a working navigation rule from the security demo:
<navigation-rule>
<from-view-id>/login.iface</from-view-id>
<navigation-case>
<from-action>#{authenticationController.authenticate}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/secure/main.iface</to-view-id>
<redirect/>
</navigation-case>
</navigation-rule>
When I added Facelets to the security demo, the navigation no longer worked. I found I had to remove the following entries for it to work:
<from-view-id>/login.iface</from-view-id>
and
<from-action>#{authenticationController.authenticate}</from-action>
I was able to confirm this in another demo using Facelets. It appears that <from-view-id> and <from-action> do not work when pairing ICEfaces with Facelets.
<navigation-rule>
<from-view-id>/login.iface</from-view-id>
<navigation-case>
<from-action>#{authenticationController.authenticate}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/secure/main.iface</to-view-id>
<redirect/>
</navigation-case>
</navigation-rule>
When I added Facelets to the security demo, the navigation no longer worked. I found I had to remove the following entries for it to work:
<from-view-id>/login.iface</from-view-id>
and
<from-action>#{authenticationController.authenticate}</from-action>
I was able to confirm this in another demo using Facelets. It appears that <from-view-id> and <from-action> do not work when pairing ICEfaces with Facelets.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Brad Kroeger
created issue -
Brad Kroeger
made changes -
Field | Original Value | New Value |
---|---|---|
Workaround Description | Just use <from-outcome> in your navigation rule. |
The navigation rule only works if if the from-view-id is the resolved physical resource and the to-view-id is the resource with the virtual .iface extension. or Just use <from-outcome> in your navigation rule. |
Tyler Johnson
made changes -
Salesforce Case | [5007000000I0kWm] |