Posts

Showing posts with the label jsf

JSF redirects from http to https

Image
Clash Royale CLAN TAG #URR8PPP JSF redirects from http to https I have a problem with jsf redirects. Since we moved to https the redirects work in a strange manner, they actually redirect to http instead of https, just like in this question: JSF redirects from HTTPS to HTTP Now I'd like to get a better solution. Something doesn't force you to have different code or properties files in different environments. I also tried using <user-data-constraint> <transport-guarantee> CONFIDENTIAL </transport-guarantee> </user-data-constraint> In web.xml, but that made it worse, because not even the first GET request works fine. GET The environment is a cluster with two web server and two application server Websphere 7 . Thanks a lot for your answers. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that y...

Creating custom component based on Primefaces'

Image
Clash Royale CLAN TAG #URR8PPP Creating custom component based on Primefaces' <p:diagram> I've been lurking this helping community for years now and yet never posted because I usually find what I need before asking. I have read through those articles : How to render a composite component using a custom renderer? What is the relationship between component family, component type and renderer type? and yet i'm stuck trying to create my own component based on Primefaces <p:diagram> . The component in itself almost fits my needs but I would need the web browser to be able to correctly interpret HTML tags such as <mark>, <strong> for the data attribute of the Element of the <p:diagram> . I have yet to found a solution without implementing my own component. Knowing a bit how JSF's <h:outputText> gives the option (through the escape tag) to interpret HTML tags correctly, I thought about adding this tag and it's behaviour to the <...