You need to sign in to do that
Don't have an account?
Rafael.Martins.Santos
How pass a value from outputfield to variable of controller?
Hi,
I'm trying to pass a value of a field OutputField to a variable of controller, but I can't.
I'm using outputField because I'm using inline editing tag.
What happens is:
When I edit the value, the record is not updated.
So I must get the new value that I'm inserting in this field (OutputField) and send to a variable on Controller,So I can make an update by this way.
Can someone help me?
Best Regards
Rafael
I'm trying to pass a value of a field OutputField to a variable of controller, but I can't.
I'm using outputField because I'm using inline editing tag.
What happens is:
When I edit the value, the record is not updated.
So I must get the new value that I'm inserting in this field (OutputField) and send to a variable on Controller,So I can make an update by this way.
Can someone help me?
Best Regards
Rafael
You can pass the value by using ActionFunction . Here is some code you can refer ...
This is a small page which contains one pickList field ie Type... when you will choose "Other" from that Field an section is rendred which contains only hello.. Controller class
Thanks for your help.
I will test your code and I let you know if it work.
Best Regards
Rafael