Im having some commandlink issues, I need to give a bit of background
before I can explain the problem I'm having. WE have started a redesign
of our website. I decided to use Myfaces2, trinidad2 and tomahawk2.
One of the things we wanted to do was build a custom menu builder that
can be configured using a xml file and displays links based on some
critria.
After bit of digging I found a nice tutorial that explained it. Basicly
you create a panelgroup and bind it to a backing bean.
<h:panelGroup binding="#{menuBean.navigationMenu}" />
Then in the backing bean you build upo your "menu" by creating a
HTMLPanelGroup and then adding child UICOmponents like commandlinks
public HtmlPanelGroup getTabNavigationMenu() {
....
}
Apart form that, we also use partial page rendering to display a html
datatable (its wrapped in tr:panelGroupLayout )
<tr:panelGroupLayout>
<tr:poll
pollListener="#{accountBean.accountsChange}" interval="3500" id="pollid"
immediate="true"/>
<tr:panelGroupLayout
partialTriggers="pollid">
<div style="clear:both"></div>
<h:dataTable id="accTable"
rowClasses="OddRow,EvenRow"
columnClasses="datatbleName,datatbleName,datatbleType,datatbleAmount,dat
atbleAmount,datatbleAmount" value="#{accountBean.accounts}"
var="account" width="100%" styleClass="data">
RIGHT
Now what Im seeing is this. Sometimes clicking on of the menu
commandlinks as generated above nothing happens (it seems to happen
during the PPR of the datatable but im not sure)
Also I get the piece of script as below randomly, then nothing works and
we have to refresh the page then it goes away.
<span id="tr_masterform_Postscript
Is there anyone that can help me with this. Im at a complete loss.
Gerhard Visagie
Programmer
FNB Connect
Smart
FNB Bankcity
cnr Simmonds and Jeppe
Johannesburg
CBD
Tel (087) 5759138, Fax (011) 8322870, Cell 0833584826
e-mail [email protected]
www.fnb.co.za <http://www.fnb.co.za> www.howcanwehelpyou.co.za
<http://www.howcanwehelpyou.co.za>
First National Bank - a division of FirstRand Bank Limited.
An Authorised Financial Services and Credit Provider (NCRCP20).
'Consider the effect on the environment before printing this email.'
To read FirstRand Bank's Disclaimer for this email click on the following
address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to
[email protected] and we will send you a copy of the Disclaimer.