[jboss-user] [JBoss Seam] - Re: Setting the default propagation for <s:link>
swd847
do-not-reply at jboss.com
Sun Oct 7 22:06:12 EDT 2007
I do not think that there is a way to do this in seam. I think that you can work around it by creating your own taglib, although I am far from an expert on this. Something like:
mylink.xhtml:
| <composition xmlns="http://java.sun.com/jsf/facelet"
| xmlns:s="http://jboss.com/products/seam/taglib"
| >
| <s:link id="#{id}" value="#{value}" propagation="none" view="#{view}" rendered="#{rendered}" />
| </composition>
|
mytaglib.taglib.xml:
| <?xml version="1.0"?>
| <!DOCTYPE facelet-taglib PUBLIC
| "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
| "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
| <facelet-taglib>
| <namespace>http://www.test.com/mynamespace</namespace>
| <tag>
| <tag-name>mylink</tag-name>
| <source>mylink.xhtml</source>
| </tag>
| </facelet-taglib>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092379#4092379
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092379
More information about the jboss-user
mailing list