javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
Hi, I have another problem after my update from myfaces 1.1.5 to 1.2.8. I cannot use this anymore in onclick attributes of commandLinks due to changed rendering of commandLinks. Instead of the link the outer form is accessed via this. sample: h:form id=tabform ... t:commandLink id=tabTemplates

Re: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Jakob Korherr
Hi Michael, Unfortunately I don't think it is possible to refer to the clicked link inside the function definition. The only way I know is to use document.getElementById('...'). »How is the id of the commandLink placed into oamSubmitForm as parameter?« The renderer of the command link generates

RE: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
Hi Jakob, I feared this. I used this often in dynamic expressions returned from managed beans to do some client side stuff e.g. getOnclick(){ doit(this); } From my point of view it would be great if myfaces would replace »this« with »document.getElementById('clienId')« automatically.

Re: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Jakob Korherr
Hi Michael, I'll write a mail to the dev list and ask for opinions. On my opinion we surely can implement this in tomahawk, because the spec does not define the behavior of the tomahawk components and it certainly is an improvement. I'll keep you up to date! Regards, Jakob 2010/1/4 Michael

RE: javascript problem with commandlink and onclick after update to JSF 1.2

2010-01-04 Thread Michael Heinen
Hi Jakob, Thanks for the initiative. BTW Richfaces does not render command links this new way. They do it still in the old way. The user specific content of the onclick attribute is not wrapped in a js function and this is still working. Maybe they are not spec compliant, don't know whether

t:navigationMenuItem f:setPropertyActionListener

2010-01-04 Thread SANTINI, Rafael
Hi, happy new year! Does f:setPropertyActionListener works inside t:navigationMenuItem with MyFaces Core 1.2.8, Tomahawk 12-1.1.9 and Facelets 1.1.14? Thanks, Rafael Santini

Re: [Trinidad] Trinidad and Glassfish: resource servlet does not work

2010-01-04 Thread Walter Mourão
Hi Folks, It's working ! I migrated the application to MyFaces 1.2.8, Trinidad 1.2.10, removed the el-api and el-ri dependencies, rebuilt and it's working fine in Glassfish too! Best regards, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Dec 29,

[COMMUNITY] MyFaces += Blake Sullivan

2010-01-04 Thread Matthias Wessendorf
The Myfaces PMC is proud to announce a new addition to our community. Please welcome Blake Sullivan as the newest MyFaces committer! Blake is an active member of the myfaces community, especially on the Trinidad subproject. @Blake: Please add yourself to the Master-POM at