[jboss-user] [JBoss Seam] - <s:decorate> - is id available within template?

tynor do-not-reply at jboss.com
Wed Jul 25 11:19:16 EDT 2007


Argh.  I've changed my edit.xhtml to layout my form elements as table rows since I have some forms which need to be multi-column and getting fixed -width CSS to work properly is hard.  It all displays fine now until I trigger an ajax4jsf validation/rerender -- then I start seeing duplicated rows in my table(!). This is probably a bug in ajax4jsf, but i don't have the energy to track it down - i just want to work around by causing the rerender to not trigger problems.

If I add a named span inside my td and rerender that, it seems to work properly. However, I need to generate an id for that span based on the id passed to the s:decorate tag, but can't figure out how to do that.

I've tried accessing the id via #{id} and by setting for= on the s:decorate and accesing it via #{forId} - both evaluate to empty strings in my template. I've looked at the Seam tag source and the facelets tag source and don't understand how or if the attribute values are propagated to EL. Help please!

Seam 1.2.1-GA (what precise version of Facelets is bundled?)
Richfaces 3.0.1
Ajax4jsf 1.1.1


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067449#4067449

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067449



More information about the jboss-user mailing list