-
15. Re: Problems with a4j:commandLink, paging forwarding and IE7
gus.ehr Jun 18, 2008 7:18 PM (in response to gus.ehr)@nohaks
Check the navigation rules to the return String.
Remember that the a4j:commandLink bug occurs on page FORWARD, so try to REDIRECT to another page.
@all
How can I send a sample project that shows the bug?
How can I report this issue?? -
16. Re: Problems with a4j:commandLink, paging forwarding and IE7
sergeysmirnov Jun 18, 2008 7:32 PM (in response to gus.ehr)"gus.ehr" wrote:
@all
How can I send a sample project that shows the bug?
How can I report this issue??
1) Login to the JBoss Jira with the same account you use on the forum.
2) Create the issue in the Jboss Jira
3) Reference in the jira issue to this forum thread
4) Attach the sample project as an attachment to the issue
5) Post a cross reference to the jira issue to this forum thread
For the Jira link look at:http://jboss.com/index.html?module=bb&op=viewtopic&t=104575 -
17. Re: Problems with a4j:commandLink, paging forwarding and IE7
gus.ehr Jun 18, 2008 8:18 PM (in response to gus.ehr)Thanks!
Issue created: http://jira.jboss.com/jira/browse/RF-3745 -
18. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jun 21, 2008 5:15 PM (in response to gus.ehr)Hey Guys,
I have the same issue and cant find a work around for this.
I check Jira and they downgraded this with a easy work around. I dont see it.
Priority: Minor Minor
Should be a major bug....
When I use the redirect option my request beans are null. I dont think it would be good to have all sessions beans just to get this to work on IE 7.
Phil
I'm experiencing some problems when I use ajax forms on IE7.
My page basically use an a4j:commandLink with some action attribute. This action is described on my faces-config.xml to FORWARD to another page.
It works normally on Firefox and IE6, but doesn't works just on IE7.
The problem don't occurs when changing my navigation rule to REDIRECT to another page. But I couldn't use request scope to my beans (I'm using a4j:KeepAlive).
===============================================
Just a tip:
Use a4j:htmlCommandLink to make page FORWARDS.
That worked to me on IE6, IE7 and FF, but there's no Ajax request. So Ajax stuff doesn't work (e.g. a4j:actionParam and a4j:status). -
19. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jun 23, 2008 1:34 PM (in response to gus.ehr)Hey Guys,
I still have an issue with this bug. It does not look like the work around works for me. We are using request scoped beans.
What is the usual time frame these issues are resolved?
Thanks
Phil -
20. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jun 25, 2008 10:47 AM (in response to gus.ehr)Any help out there??
Phil -
21. Please Help...a4j:commandLink, paging forwarding and IE7
nohacks Jun 27, 2008 2:05 PM (in response to gus.ehr)Hey Guys,
I have been working on this bug for several weeks now. I cant seem to find a way around it.
Any help out there would really be appreciated.
My basic issue is we have<a4j:commandLink styleClass="phil" action="go_memberViewed" actionListener="#{memberViewForm.getMemberInfoAttrib}" immediate="true"> <a4j:actionparam id="memberId_str" name="memberId_str" value="#{membersZip.memberId_str}" assignTo="#{welcomeMembersZip.memberId_str}"></a4j:actionparam> =========== faces-config =========== <navigation-rule> <navigation-case> <from-outcome>go_memberViewed</from-outcome> <to-view-id>/welcomeMemberProfileView.jsp</to-view-id> </navigation-case> </navigation-rule> ============
This works fine on FireFox but will not forward to the page on IE7.
The method is called and the lookup is done for the current clicked on member. I show all the proper data selected from Oracle in the system.outs.
The problem is the does not go to the results page in IE7 but does in FireFox.
Thanks
Phil -
22. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jun 30, 2008 5:05 PM (in response to gus.ehr)Hey Guys,
I have been working with this for over 3 weeks now.
I cant find a work around for it.
Any help out there??
Phil -
23. Re: Problems with a4j:commandLink, paging forwarding and IE7
gus.ehr Jun 30, 2008 5:34 PM (in response to gus.ehr)OK Phil
Try this:
page.jsf<a4j:htmlCommandLink styleClass="phil" action="#{memberViewForm.go}> <f:setPropertyActionListener value="#{membersZip.memberId_str}" target="#{welcomeMembersZip.memberId_str}" /> <h:outputText value="go" /> </a4j:htmlCommandLink>
MemberViewForm.javapublic String go() { return "go_memberViewed" }
WelcomeMembersZip.javaprivate String memberId_str; public getMemberId_str... public setMemberId_str...
So you'll have the memberId_str of the clicked link without the a4j:actionParam.
faces-config.xml<navigation-rule> <navigation-case> <from-outcome>go_memberViewed</from-outcome> <to-view-id>/welcomeMemberProfileView.jsp</to-view-id> </navigation-case> </navigation-rule>
-
24. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jun 30, 2008 5:40 PM (in response to gus.ehr)Hi Gustavo,
Thanks soo much for your reply.
I will try it out now and let you know if it works.
Phil -
25. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jul 3, 2008 9:44 AM (in response to gus.ehr)Hi Gustavo,
Thanks for your response.
Yes, either way it works on the backend. I see the results with system out prints.
My a4j:htmlCommandLink passes the proper member_id. It preforms the inserts in the tables. The only problem is the redirect seems to remove my request variables. When it forwards to the next page the display variables are empty.
I dont know how to fix this issue. It is only on IE7 FireFox is fine. I use this to Navigate to members on the site. I think it is pretty important to work.
Thanks for all you help..
Phil -
26. Re: Problems with a4j:commandLink, paging forwarding and IE7
gus.ehr Jul 3, 2008 11:18 PM (in response to gus.ehr)@nohacks
If you want to keep the variables NOW you can change they to session scope...
It's kind of thing to be momently, but should work until this bug fix. -
27. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jul 5, 2008 2:15 PM (in response to gus.ehr)Hi Gustavo,
Thanks for your reply...variables NOW you can change they to session scope...
It's kind of thing to be momently, but should work until this bug fix.
The problem with sessions scope is I might have thousands of users on the site. That would be a lot of memory required with session scoped variables.
Any ideal when this fix will be put in?? I look forward to it...
RichFaces is a great framework..I really enjoy working with it.
Thanks
Phil -
28. Re: Problems with a4j:commandLink, paging forwarding and IE7
ilya_shaikovsky Jul 7, 2008 4:08 AM (in response to gus.ehr)You can use a4j:include component as a possible workaround. Please see the
example here:
http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf .
Another possible variant is to use Seam conversation scope; it can be
configured to work with redirects:
http://shrubbery.mynetgear.net/wiki/Seam_and_redirect-after-post -
29. Re: Problems with a4j:commandLink, paging forwarding and IE7
nohacks Jul 7, 2008 10:33 AM (in response to gus.ehr)Hi Ilya,
Thanks for your post I will try those out asap.
I have a question for you. What is the memory impact of using Seam Conversation Scope. We could have a lot of users on this site.
Also, we have most of this our site complete and use commandLinks for navigation. We have been testing on FireFox and it did work on IE before the 3.21. This looks like a big change for us to put in and test. What are the chances this bug is fixed in the near future?
I would think that other people are running into this issue. Richfaces is a great tool but hard sell when I have to tell Management that we have to use Seam to fix bugs.
They very much enjoy the look and feel so far of RichFaces.
Thanks for all your help ...I know Tech Support is a brutal job. I did tech support for several years. But not at this level when you are developing a framework...it must be twice as hard..
http://jira.jboss.com/jira/browse/RF-3745
I see the bug is posted in Jira but listed as minor.
Any thoughts.??
Phil