function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
arag73877arag73877 

Need help with apex:dynamicComponents

not able to pass my case ID in apexdynamiccomponent tag  but the same in a normal visualforce page works javascript any help is highly appreciated

 

Part of my dynamic comp the pbtable displays  cases queried in the list

 

 

pageblocktable.var='a';

commandLink.onclick ='openNewTab({!a.Id})';

pageblocktable.add(commandlink);

 

 

 

MY JAVASCRIPT


function openNewTab(a){
alert('hi'+a);
}