-
1. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
sergeysmirnov Jul 30, 2007 11:39 PM (in response to danielnp)"DanielNP" wrote:
. When I try to close a page(xhtml)...
What does it mean? -
2. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
frcandia Jul 31, 2007 7:56 AM (in response to danielnp)I have the same problem.
I use the RichFaces with css and I have my css too. When I use <a4j:commandButton> and the action goes to another page, the action is a navigation. My new page use the css from RichFaces correctly and don't use my css correctly, but if I refresh this new page, my css work ok togheter the css from RichFaces.
Fabio. -
3. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
danielnp Jul 31, 2007 8:48 AM (in response to danielnp)frcandia explained the problem.
. When I try to close a page(xhtml)...
Means that when a navigate to a new page, using the action for navigation, the error is show. -
4. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
danielnp Jul 31, 2007 3:27 PM (in response to danielnp)help me .........
-
5. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
ishabalov Jul 31, 2007 3:37 PM (in response to danielnp)Can you post page snipped? How do you link to the CSS? Is navigation a "forward" or "redirect"?
-
6. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
sergeysmirnov Jul 31, 2007 3:38 PM (in response to danielnp)If you have a navigation rule that bring application to the new page, it is not an Ajax anymore.
Actually, this is one of the possible mode for Ajax4jsf - "Ajax Request generates Non-Ajax Response". However, you need to use < redirect /> for such navigation rule. -
7. Re: CSS x action (<a4j:commandButton>, <a4j:commandLink>)
danielnp Aug 1, 2007 2:01 PM (in response to danielnp)with redirect woks fine.
If you have a navigation rule that bring application to the new page, it is not an Ajax anymore.
If I have a page with a h:commandButton that save many datas and, at the moment that I save occurs an error, so I want to display this error on <h:messages> and I need stay at the same page. But if no errors occurs so I want to go a new page, in this case the button need be a a4j:commandButton.
Think about this.