i am using data realm for login authentication. it works fine. i am also using primefaces 3.2 components in my app, they also work fine BUT the problem occurs on homepage before login. The primefaces components are not rendered properly(for eg. the tab menu is displayed as simple links one below other, buttons are displayed as simple jsf buttons,etc.) and the login works fine , when i clear the browsing history from my browser, the primefaces are rendered correctly but now the realm fails to work, i am redirected to the error page, why does this happen? how do i solve it? the homepage of my app is ruined due to this.
primefaces components not rendered properly with data realm
727 Views Asked by z22 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in CSS
- CSS Class is not applying to element (border width,color,and style attributes)
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
- Positioning child at bottom of parent with scroll
- Play multiple audio files in a slider
- How to set text over image?
- Website zoomed out on Android default browser
- Writing/Overwriting to specific XML file from ASP.NET code behind
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- CSS: Preventing a property to affect on element until the end of transition
- Polygon Button with pure CSS
- transform-origin doesnt apply in safari
- show/hide multiple div tags at once and change the size of the remaining div tag
- Mask the image/maps/div (circle) using css and jquery
Related Questions in PRIMEFACES
- disable sorting in lineChart series in Primefaces?
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- backingBean doens't receive commandButton action
- How to disable default keyCode event in Primefaces?
- Primefaces onkeyPress triggerevent
- PrimeFaces Chart not updating with Ajax Requests
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to change the position of confirmation box in jsf primefaces?
- commandLink not working when images are in same line
- Using multiple FluidGrids in one form
- update cell from primefaces datatable after action invoked
- What are the p:ajax events available for slider component in primefaces
- retrieve value from Parameters Map sent by Javascript Function generated by p:remoteCommand does not work
- Add table plugin to primefaces editor
- How to handle inline image added by user in email client
Related Questions in JDBCREALM
- JDBC Realm authentication with single table
- Get session attributes in tomcat realm
- JDBCRealm authentication works with Servlet @WebFilter but throws NamingEcception when using security constraint in web.xml
- Glassfish 4 Authentication (JDBCRealm and JPA 2) works with Dery but not with MySQL
- Can't get logout to work in Glassfish 3.1
- Form authentication for not authorised user
- Apache Shiro - using database to read users, roles and permissions
- Tomcat JDBCRealm authentication does not work after deploy
- How to configure MySQL as Tomcat 9 realm for user credentials
- Glassfish JDBC Security Realm with JPA Annotations
- How to prepare digest passwords for Tomcat JDBCRealm?
- Configuring jdbcRealm in context.xml
- Removing the previous session, if it is already active (if a user forgot to log out) using JAAS
- Navigation in restricted area Java EE on Glassfish 4.1
- Using two different columns for password with Elyctron JDBC realm
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems that your Primefaces resources are in the restricted folders. Exclude the resources folder from your security constraints definitions.
This is an example configuration from one of my projects. First I restrict access to the whole project (allowing only specific roles to access):
Then I add exceptions for folders that can be accessed by any user:
You need to adapt this to your security policy and folder structure.