that's a MyFaces issue, i didn't check all place but
basically
org.apache.myfaces.shared.application.DefaultViewHandlerSupport#calculateActionURL
doesn't care if context is / and always prefixes the url by the context
(so you get //index.xhtml instead of /index.xhtml which induces the
behavior
Hi Rommain. Thanks for report it.
2013/5/22 Romain Manni-Bucau rmannibu...@gmail.com
FYI https://issues.apache.org/jira/browse/MYFACES-3726
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*
Hi. I have a problem since i move from war to ear (since 4 months ago
aprox.), but i didn't have any chance to report it.
I have a security constraint with a based-form login, i have defined my
form-login-page to an xhtml let say a login.xhtml, but when somebody tries
to access to private content
Did you try swapping your form-login-page and form-error-page from
/foo.xhtml to /foo.jsf ? (or whatever you map the faces servlet to)
On Tue, May 21, 2013 at 1:08 PM, José Luis Cetina maxtorz...@gmail.comwrote:
Hi. I have a problem since i move from war to ear (since 4 months ago
aprox.),
I will try now, but i have this mapping
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.xhtml/url-pattern
/servlet-mapping
2013/5/21 John D. Ament john.d.am...@gmail.com
Did you try swapping your form-login-page and form-error-page from
/foo.xhtml to
I added this
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.xhtml/url-pattern
url-pattern*.jsf/url-pattern
/servlet-mapping
login-config
auth-methodFORM/auth-method
form-login-config
Interesting. Are your underlying files also *.xhtml ?
On Tue, May 21, 2013 at 1:14 PM, José Luis Cetina maxtorz...@gmail.comwrote:
I will try now, but i have this mapping
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.xhtml/url-pattern
Hi
Is it still on trunk?
Le 21 mai 2013 19:15, José Luis Cetina maxtorz...@gmail.com a écrit :
I will try now, but i have this mapping
servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.xhtml/url-pattern
/servlet-mapping
2013/5/21 John D. Ament
@John i had *.xhtml only but i add *.jsf for test your recommendation. I
only use *.xhtml.
Rommain, yes it is on trunk.
2013/5/21 Romain Manni-Bucau rmannibu...@gmail.com
Hi
Is it still on trunk?
Le 21 mai 2013 19:15, José Luis Cetina maxtorz...@gmail.com a écrit :
I will try now, but
Think youll need to do a sample with no dep to ease the issue research
Le 21 mai 2013 19:23, José Luis Cetina maxtorz...@gmail.com a écrit :
@John i had *.xhtml only but i add *.jsf for test your recommendation. I
only use *.xhtml.
Rommain, yes it is on trunk.
2013/5/21 Romain Manni-Bucau
i could just remove the dependencies if you want
2013/5/21 Romain Manni-Bucau rmannibu...@gmail.com
Think youll need to do a sample with no dep to ease the issue research
Le 21 mai 2013 19:23, José Luis Cetina maxtorz...@gmail.com a écrit :
@John i had *.xhtml only but i add *.jsf for
Rommain, im doing tests, and i can confirm that the CODI dependency is the
issue ( i dont know why) if you just comment or remove (you will not have
compilation errors) the CODI dependencies in myenterprise-web2 pom.xml
(from line 38 to 62) the redirect do the expected behavior.
Can you give a
If i add the CODI dependencies to ear pom.xml and then mark as provided the
CODI dependencies in each webapp then CODI stop working, the managedbeans
annotated with @ViewAccessScoped (CODI annotation) never is called.
2013/5/21 José Luis Cetina maxtorz...@gmail.com
Rommain, im doing tests, and
I might be wrong,
But if you're making your wars skinny you probably have to make sure the
META-INF are correct.
PS, had som issues with the source level on your shared library. 1.6
should work by adding maven compiler plugin.
Anyhow, I can guarantee that codi works on tomee 1.6.0-SNAPSHOT Plus
Here you have a simple example with the error:
https://github.com/maxtorzito/tomee-codi.git
You can just package using the pom.xml and then mvn tomee:run on
ear-codi-ear/pom.xml
Open your browser and type: localhost:8080/ then you can follow the
instructions in the page.
Please let me know if
15 matches
Mail list logo