Hello, 

I am doing a form component that can edit the object bound to it.

Here is an exemple:

I am editing a resource wich has a type, so I did this:


        
        
        
    


I use the class, labelFields and pkField to retrieve the corresponding
values in the bound object.

The template part:


        
    
         ${fetchButton} 

        
                
        
        
        
                
${label}
                 ${cancelFetchButton} 
                

                
                

                
        
        
        
        
        


I use javascript to handle the clic on the img tag. The block fetchBlock
appears when I clic on the img and disappears when I clic on the cancel img.
But the Bean editor is empty, with just the Create/save button. It is like
the resType object have no properties.


I don't know how to solve this.

Does someone tried to do something similar?

If you need more info, just tell me.


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-use-a-BeanEditForm-with-a-bean-without-knowing-the-bean-class-tp4286211p4286211.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to