Re: onclick,onmouseover etc. pass thru properties on h:outputText: MyFaces vs. Mojarra

2010-06-02 Thread Matthias Wessendorf
On Wed, Jun 2, 2010 at 1:18 AM, Ali Ok al...@aliok.com.tr wrote: Hi, I see onclick, onmouseover, etc. attributes of h:outputText are passed thru and rendered. For: h:outputText id=... value=test onclick=alert('click'); .../ I got this with MyFaces 2: span id=... onclick=alert('click');

Re: onclick,onmouseover etc. pass thru properties on h:outputText: MyFaces vs. Mojarra

2010-06-02 Thread Ali Ok
Hi, that's right, not there. It's a (very) simple component. Some of the other components have this situation too, like: * h:commandButton - align * h:inputText - checked (doesn't make sense) * ... On the other hand, it does not cause big issues, other than blowing up the markup, which is

Re: onclick,onmouseover etc. pass thru properties on h:outputText: MyFaces vs. Mojarra

2010-06-02 Thread Matthias Wessendorf
On Wed, Jun 2, 2010 at 9:57 AM, Ali Ok al...@aliok.com.tr wrote: Hi, that's right, not there. It's a (very) simple component. Some of the other components have this situation too, like: * h:commandButton - align * h:inputText - checked (doesn't make sense) * ... On the other hand, it

onclick,onmouseover etc. pass thru properties on h:outputText: MyFaces vs. Mojarra

2010-06-01 Thread Ali Ok
Hi, I see onclick, onmouseover, etc. attributes of h:outputText are passed thru and rendered. For: h:outputText id=... value=test onclick=alert('click'); .../ I got this with MyFaces 2: span id=... *onclick=alert('click');* test/span However, Mojarra ignores 'onclick': span id=... test/span