Web Screen: allow refactoring of a single screen widget (and its children) into a webblock

By Pedro Gonçalves on 8 Sep 2011
It would be really cool if Service Studio could allow refactoring of a single screen widget and its children into a webblock. Call it a new Intelliwarp feature ;)

You can find examples of this in Eclipse and (i think) MS Visual Studio regarding code lines: refactoring immediately creates a new method with the required parameters. I wish this could be implemented in OutSystems web screens as well.
Rebecca Hall14 Sep 2011
If I need to move a web screen to a web block I use the "Paste As" feature and paste the web screen as a web block.
Pedro Gonçalves14 Sep 2011
Hi Rebecca,

I didn't know about that! :) Thanks!

Nevertheless, I still find this idea necessary when you want to make up a webblock out of a set of widgets (one selected + its children).

It would really help the change of existing applications - fast!

Thanks and welcome for the reply,
You'll need to Copy Paste as WebBlock... and remove what you don't need. Service Studio can't go deep enough into understanding what parts of logic need to be moved into the webblock and which need to remain in the parent screen without incurring in the risk of breaking your logic... :(