dynamically traverse editor form for security?

2011-07-10 Thread Elhanan
hi.. is it possible to use the EditorVisitor to get access to the editor's widgets (textbox,date, etc..) and enable or disable according to security values i will set from the server? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: dynamically traverse editor form for security?

2011-07-10 Thread Thomas Broyer
Yes and no, but in most cases, no. EditorVisitor gives you access to the Editors, and all base editor widgets in GWT implement IsEditor, not Editor. That is, with the EditorVisitor you'll get a ValueBoxEditorString, not the TextBox. -- You received this message because you are subscribed to

Re: dynamically traverse editor form for security?

2011-07-10 Thread Elhanan Maayan
is there another way to reflective recursive search in a form? it's just occured to me, that won't solve my problem with buttons and things that are not editors. it would the developer would have would have somehow annotated the element of the widget with something and i would have to create a