How can i access a widget inside a web block

How can i access a widget inside a web block

  
Hi All,
I am not able to access a widget which is inside a web block in a page which contains that webblock.

I Have a webpage,webblock and a component(input widget).

input widget is inside  webblock  and that webblock   is inside webpage

on save action of the webpage i am not able to access the input widget value.

does anyone came accross the same scenario?

Solution
That is because the input is not in the scope of the page. You can't access elements inside the webblock in the webpage. To access the input value, you can notify this to the page when it changes or the user submit it inside the webblock. 
Solution