Problem with browsing between pages with Outcome

Asked

Viewed 503 times

2

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

In the Template there are several links pointing each to its entity and in this destination page there are calls to the inclusion page and list.

They were worked perfectly but were not organized in folders.

So to organize my pages I created a folder inside Webcontent with the pages name and inside I created the folders of the respective entities and in this the pages that are 3: the page you receive from the template link and points to inclusion and listing, the inclusion page and the list page.

ex:) template: locality link; locality.xhtml cadastral-locality.xhtml list-locations.xhtml

using implicit navigation:

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

using explicit navigation:

making the configuration in faces-config.xml and exchanging Outcome for action in the links the links are generated on the page but does not redirect to the destination folder.

how do I have the pages organized into folders by browsing all the pages by the links where the application just redirect to one only after login successfully.

inserir a descrição da imagem aqui

In addition to these has the authentication page that is at the root in the Webcontent folder and template that is in WEB-INF/templates. Then when running the application you will access the authentication screen configured in web.xml(Welcome-file) and the template has the navigation links pointing to the locale.xhtml, contract.xhtml, servico.xhtml, andxhtml supplier etc. and these calling lists and insersion forms.

  • Take a print of your file structure, and send the code of the links/ buttons that you call the other pages

  • Anyone can help?

  • do you use linux? if yes, did you create these folders in "mao"? or by " IDE"? if it is in "mao" check the permissions.

  • no linux usage. I created the folders by Eclipse IDE.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.