-
1. Re: single quote in <h:commandLink/>
ilya_shaikovsky Feb 5, 2009 6:04 AM (in response to ramki9977)which RF version, browser and etc you using.
-
2. Re: single quote in <h:commandLink/>
ramki9977 Feb 5, 2009 6:22 AM (in response to ramki9977)hi,
in using IE6 for testing. i have scrollable data table where it will contains textboxes(with single quote). then in IE6 its showing java script error. but in fire fox its working fine.
RF 3.2.2 GA
IE6,firefox 3.0.5
thanks,
ramki. -
3. Re: single quote in <h:commandLink/>
ramki9977 Feb 5, 2009 7:25 AM (in response to ramki9977)hi,
i found whats the problem is. i am using some java script when i click on customer link. that script casusing the problem.
thnaks,
ramki. -
4. Re: single quote in <h:commandLink/>
ramki9977 Feb 5, 2009 9:06 AM (in response to ramki9977)hi,
my problem still not solved. how can i pass current row(scrollable table) details to java script. there i need to access customer name.
thanks,
ramki. -
5. Re: single quote in <h:commandLink/>
ilya_shaikovsky Feb 5, 2009 9:21 AM (in response to ramki9977)Didn't sure where the problem because you didn't show any of your code but this works for me ok:
<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="20" reRender="ds" id="simpletable" onRowClick="alert('#{cap.name}')">
-
6. Re: single quote in <h:commandLink/>
ramki9977 Feb 5, 2009 11:05 AM (in response to ramki9977)i have one java script function like this
function check(vallue)
{
........
}
i have one delete button each row end. when i click on that button i need to show cusotmer name to delete in confirm box.if he says yes i need to delete. now i am passing that value java script check('ramki's') here i am getting the error. can you please tell me how can i pass that value to javascrpt.
<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="20" reRender="ds" id="simpletable" onRowClick="check('#{cap.name}')">