Problem in CommandLink
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Problem in CommandLink  XML
Forum Index -> Tools
Author Message
sensoftt

Joined: 30/04/2007 00:00:00
Messages: 6
Offline


Hi All,

I am new to this framework. I encounted the problem while implemented the CommandLink tag.

1. On Click on any CommandLink the URL ( in the browser ) not getting changed. Becoz of this not able to view the source code of the current page and CSS is not getting reflected.

Please do the needful.

THANKS IN ADVANCE.

Best Regards,
Senthil



philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2675
Offline


Hi Senthil,

Sorry, I don't understand your issue. Could you post some of your JSF and your rendered HTML and try to elaborate on what the problem is?

Thanks,
Philip

.
sensoftt

Joined: 30/04/2007 00:00:00
Messages: 6
Offline


Hi Philip,

Thanks for your response.

For more clear:

We have a list (of records) page, Each record contain hiberlink to see the details of the record. So, we have used CommandLink tag for the first Column.
The CommandLink is working fine, But after clicking the CommandLink some of the CSS is not getting reflected moreover i could not able to see the changed taget URL on the Browser. Still, it shows only a List page URL. Becoz of that, we could not able to see the source code of the detail page and CSS also not getting reflected.

If we see the sourcecode(right click 'View Source') it shows only the List page source.

Hope, you have understand my problem now.

Thanks in Advance.

Regards,
Senthil

philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2675
Offline


Hi Senthil,

A URL won't change unless you're using a redirect in your navigation case. This is the nature of a server-side forward, which is the default navigation mode of JSF. I'm not sure what you mean by 'CSS is not getting reflected'. If you want a good tool, try downloading Firebug for Firefox. This provides a lot of great features for inspecting HTML, DOM, and CSS.

Philip

.
basa

Joined: 02/04/2007 00:00:00
Messages: 5
Offline


I am having the exact same problem as was posted last April: after clicking any of the outputLinks on the page the commandLinks do not respond anymore.
I was wondering if anybody found a solution for this problem and if so, what the solution might be?
mark.collette


Joined: 07/02/2005 00:00:00
Messages: 1556
Offline


Sorry, but do you mean that you go from page A to B via an outputLink, and then page B's commandLinks don't work? Or that the outputLink refers back to the original page? Or you've clicked the back button, after visiting some other page?
[Email]
basa

Joined: 02/04/2007 00:00:00
Messages: 5
Offline


Thanks for the response;
In the home page of my icefaces project I have a set of links, of which some are ice:commandLinks, and some are ice:outputLinks. As long as I use the commandLinks everything is fine, but as soon as I use one of the outputLinks the commandLinks on that same home page no longer respond to my clicks.
mark.collette


Joined: 07/02/2005 00:00:00
Messages: 1556
Offline


Do those outputLinks open up the new URL in a new window or tab? Is that how you still have the original page showing, after clicking on an outputLink?
[Email]
basa

Joined: 02/04/2007 00:00:00
Messages: 5
Offline


Yes, that's exactly it.
basa

Joined: 02/04/2007 00:00:00
Messages: 5
Offline


Anybody?
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team