[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3153) Template property deleted in UIDecorate class
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Jul 10 10:43:26 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-3153?page=all ]
Pete Muir closed JBSEAM-3153.
-----------------------------
Resolution: Won't Fix
The template property had no effect, hence why it was removed.
> Template property deleted in UIDecorate class
> ---------------------------------------------
>
> Key: JBSEAM-3153
> URL: http://jira.jboss.com/jira/browse/JBSEAM-3153
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.2.SP1
> Environment: MacOSX. 10.5.4 jboss-4.2.2.GA java5
> Reporter: Jean-Baptiste Meyer
>
> In the documentation of seam 2.0.0 http://docs.jboss.org/seam/2.0.0.GA/ui/apidocs/org/jboss/seam/ui/component/html/HtmlDecorate.html, the HtmlDecorate has a template attribute. However in last version this property disappeared. I would like to generate a decorate biding it to a rich:panel.
> here is what I use in my xhtml : <rich:panel binding="#{configurationTypeInstanceManagerBean.layout}" />
>
> Here is my setter in my bean ;
> public void setLayout(UIComponent layout)
> {
> this.layout = layout;
>
> HtmlDecorate decorate = new HtmlDecorate() ;
>
> HtmlOutputText text = new HtmlOutputText() ;
> text.setValue("test") ;
> text.setTitle("test") ;
> text.setId("test") ;
>
> decorate.getChildren().add(text) ;
>
>
> HtmlInputText in = new HtmlInputText() ;
> in.setId("in") ;
> in.setSize(40) ;
>
>
> layout.getChildren().add(decorate) ;
> layout.processRestoreState(ctx, decorate ) ;
>
> }
> Adding a template to have a code like that :
> <s:decorate id="configurationNameDecoration" template="/layout/edit.xhtml">...
> seem to be very complicated to do know. I don't see any documentation why this template property has been deleted. I blocked in my work because of that
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list