Problem with navigation between pages with outcome

2

I have a JSF application where there is a template inside WEB-INF and the other pages in the WebContent root.

In the Template there are several links pointing each to your entity and on this landing page there are calls to inclusion page and list.

They worked perfectly but were not organized into folders.

Then to organize my pages I created a folder inside WebContent with the name pages and inside I created the folders of the respective entities and in this the pages that are 3: the page that receives the template link and points to inclusion and list, the inclusion page, and the list page.

ex :) template: link location; locality.xhtml registration-locality.xhtml list-localities.xhtml

Using Implicit Browsing:

The problem is that only the page that I choose to open when the user is logged in successfully gets the link on the screen because it is redirected by the application, the others get the name but when I move the mouse does not stay the hand continues the arrow as was an outputText but with the color of the link (blue).

using explicit navigation:

By configuring faces-config.xml and changing outcome by action on links, the links are generated on the page but not redirected to the destination folder.

How do I get the pages organized into folders by navigating all the pages by the links where the application only redirects to one just after login successfully.

In addition to these has the authentication page that is in the root in the WebContent folder and template that is in WEB-INF / templates. Then when running the application will access the authentication screen configured in web.xml (welcome-file) and the template has the navigation links pointing to the locality.xhtml, contract.xhtml, servico.xhtml, vendor.xhtml etc. screens. and these are calling lists and insertion forms.

    
asked by anonymous 05.12.2014 / 22:50

0 answers