You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Jenik (JIRA)" <de...@myfaces.apache.org> on 2006/04/09 09:27:26 UTC

[jira] Created: (TOMAHAWK-239) aliasbean + aliasing a member + binding = fails

aliasbean + aliasing a member + binding = fails
-----------------------------------------------

         Key: TOMAHAWK-239
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-239
     Project: MyFaces Tomahawk
        Type: Bug

  Components: Alias Bean  
    Versions: 1.1.1    
 Environment: linux 2.6 k7 , tomcat5 debian unsatable.
    Reporter: Michael Jenik


My test was more complex but I think this resumes the failure context..

	<x:aliasBean id="alias1" alias="#{laBean}" value="#{Bean4.dede}">
		<f:subview id="sub1">
		<h: whatever binding={laBean.that} />
....


Class Bean4{
	TheOtherClazz dede;
	getDede..
	setDede..

....

Class TheOtherClazz{
	UIWathereve that;
	getThat...
	setThat...


Everithing looks ok... but if you try in some method of TheOtherClazz to do this: "that.getID();" , it fails..









-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-239) aliasbean + aliasing a member + binding = fails

Posted by "Michael Jenik (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-239?page=comments#action_12373761 ] 

Michael Jenik commented on TOMAHAWK-239:
----------------------------------------

oh, I forget to say something....

The problem seams tobe related with Ids. In the example ...

<h: whatever binding={laBean.that} /> 

was in fact 

<h: whatever id="afixedId" binding={laBean.that} />


So I was expecting "afixedId" with "that.getId();"

But It didnt returned that .. It fails..




> aliasbean + aliasing a member + binding = fails
> -----------------------------------------------
>
>          Key: TOMAHAWK-239
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-239
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Alias Bean
>     Versions: 1.1.1
>  Environment: linux 2.6 k7 , tomcat5 debian unsatable.
>     Reporter: Michael Jenik

>
> My test was more complex but I think this resumes the failure context..
> 	<x:aliasBean id="alias1" alias="#{laBean}" value="#{Bean4.dede}">
> 		<f:subview id="sub1">
> 		<h: whatever binding={laBean.that} />
> ....
> Class Bean4{
> 	TheOtherClazz dede;
> 	getDede..
> 	setDede..
> ....
> Class TheOtherClazz{
> 	UIWathereve that;
> 	getThat...
> 	setThat...
> Everithing looks ok... but if you try in some method of TheOtherClazz to do this: "that.getID();" , it fails..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOMAHAWK-239) aliasbean + aliasing a member + binding = fails

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-239?page=comments#action_12373771 ] 

Martin Marinschek commented on TOMAHAWK-239:
--------------------------------------------

Fixed in nightly version.

Attention: fix will only work with myfaces impl, not RI implementation.

regards,

Martin

> aliasbean + aliasing a member + binding = fails
> -----------------------------------------------
>
>          Key: TOMAHAWK-239
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-239
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Alias Bean
>     Versions: 1.1.1
>  Environment: linux 2.6 k7 , tomcat5 debian unsatable.
>     Reporter: Michael Jenik
>      Fix For: 1.1.2-SNAPSHOT

>
> My test was more complex but I think this resumes the failure context..
> 	<x:aliasBean id="alias1" alias="#{laBean}" value="#{Bean4.dede}">
> 		<f:subview id="sub1">
> 		<h: whatever binding={laBean.that} />
> ....
> Class Bean4{
> 	TheOtherClazz dede;
> 	getDede..
> 	setDede..
> ....
> Class TheOtherClazz{
> 	UIWathereve that;
> 	getThat...
> 	setThat...
> Everithing looks ok... but if you try in some method of TheOtherClazz to do this: "that.getID();" , it fails..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (TOMAHAWK-239) aliasbean + aliasing a member + binding = fails

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-239?page=all ]
     
Martin Marinschek closed TOMAHAWK-239:
--------------------------------------

    Fix Version: 1.1.2-SNAPSHOT
     Resolution: Fixed
      Assign To: Martin Marinschek

> aliasbean + aliasing a member + binding = fails
> -----------------------------------------------
>
>          Key: TOMAHAWK-239
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-239
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Alias Bean
>     Versions: 1.1.1
>  Environment: linux 2.6 k7 , tomcat5 debian unsatable.
>     Reporter: Michael Jenik
>     Assignee: Martin Marinschek
>      Fix For: 1.1.2-SNAPSHOT

>
> My test was more complex but I think this resumes the failure context..
> 	<x:aliasBean id="alias1" alias="#{laBean}" value="#{Bean4.dede}">
> 		<f:subview id="sub1">
> 		<h: whatever binding={laBean.that} />
> ....
> Class Bean4{
> 	TheOtherClazz dede;
> 	getDede..
> 	setDede..
> ....
> Class TheOtherClazz{
> 	UIWathereve that;
> 	getThat...
> 	setThat...
> Everithing looks ok... but if you try in some method of TheOtherClazz to do this: "that.getID();" , it fails..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira