[jira] Commented: (TOBAGO-466) Extend AttributeHandler for handling methodexpression in a facelet composition

2008-03-14 Thread Bernd Bohmann (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12578670#action_12578670
 ] 

Bernd Bohmann commented on TOBAGO-466:
--

Yes, this should be possible adding an attribute to declare this is an 
methodbinding or a different Tag like attributeMethodXXX..

 Extend AttributeHandler for handling methodexpression in a facelet composition
 --

 Key: TOBAGO-466
 URL: https://issues.apache.org/jira/browse/TOBAGO-466
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Facelets
Reporter: Bernd Bohmann
Assignee: Bernd Bohmann
 Fix For: 1.0.12


 In a facelets composition a method expression as an argument did not work.
 ui:composition...
 tc:label .../
 tc:in /
 tc:button action=${action} actionListener=${actionListener} /
 /ui:composition
 instead you can use the attribute tag
  tc:button
  tc:attribute name=action value=${action} /
  /tc:button
 the attribute tag evaluate the value expression and create if required a 
 method expression from the value of the expression.
 If the value is not a value expression the attribute tag create the method 
 expression directly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TOBAGO-466) Extend AttributeHandler for handling methodexpression in a facelet composition

2008-03-13 Thread Martin Marinschek (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12578556#action_12578556
 ] 

Martin Marinschek commented on TOBAGO-466:
--

Hi Bernd,

finally I got time to look at this solution ;)

What I like:

it is really simple

What I don't like:

- you have to explicitly define the signature in the attribute-handler - what 
with more generic methods? I'd rather configure this somewhere in the 
composite...

regards,

Martin

 Extend AttributeHandler for handling methodexpression in a facelet composition
 --

 Key: TOBAGO-466
 URL: https://issues.apache.org/jira/browse/TOBAGO-466
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Facelets
Reporter: Bernd Bohmann
Assignee: Bernd Bohmann
 Fix For: 1.0.12


 In a facelets composition a method expression as an argument did not work.
 ui:composition...
 tc:label .../
 tc:in /
 tc:button action=${action} actionListener=${actionListener} /
 /ui:composition
 instead you can use the attribute tag
  tc:button
  tc:attribute name=action value=${action} /
  /tc:button
 the attribute tag evaluate the value expression and create if required a 
 method expression from the value of the expression.
 If the value is not a value expression the attribute tag create the method 
 expression directly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TOBAGO-466) Extend AttributeHandler for handling methodexpression in a facelet composition

2007-08-12 Thread Martin Marinschek (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519294
 ] 

Martin Marinschek commented on TOBAGO-466:
--

Sounds very interesting - can you comment a bit more?

regards,

Martin

 Extend AttributeHandler for handling methodexpression in a facelet composition
 --

 Key: TOBAGO-466
 URL: https://issues.apache.org/jira/browse/TOBAGO-466
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Facelets
Reporter: Bernd Bohmann
Assignee: Bernd Bohmann
 Fix For: 1.0.12




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.