[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

Delphi's Ghost do-not-reply at jboss.com
Tue Jun 19 17:34:23 EDT 2007


Hey Pete, 

Yes, I saw that, I have looked at the decorate stuff, actually, I think I have copied edit.xhtml to my app to look at start trying to use it.  I do need to add an access key element on to there, but that should be easy. 

I did implement a facelet for date edits, and my main problem was that in order to specify a proper document, with access keys in labels and labels and controls with Ids, you end up having include a lot of parameters, and putting an access key param in a facelet is a lot longer than putting accessKey="a" in the label tag. 
Also, remembering the params can be a pain, until you get to the point where you are having to copy and paste the invokation of the template, at which point, you might as well just copy and paste the raw html that is in the template. My select date template contained around 8 tags for params, whereas the underlying html was 3 tags and a few attributes.

I know, you get re-use and all that from s:decorate and templates, but still...I'm a tough customer to please :)



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

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



More information about the jboss-user mailing list