JamesBranam's Blog

Tuesday Jul 29, 2008

Adding a New Data Provider

Hi all,

There's a neat little feature that has been around for a long time: the Add New Provider dialog box. I've even heard a few users complain about it, saying it was big and clunky, and that it got it the way. In fact, this dialog box is your friend. It gives you powers over RowSets you create in your project. It appears whenever you drag a new data provider to the SessionBean1 node (when one already exists there). It gives you the following option:

  • Use the RowSet that already exists in your project.
  • Create a new RowSet for your web page
  • Create a new RowSet for RequestBean1
  • Create a new RowSet for SessionBean1 with an updated name like "RowSet1"
  • Create a new RowSet for ApplicationBean1
I find this to be a handy little tool. However, if you don't like it, you can always switch it off in the Advanced Options dialog box. To get there from the main menu, just choose Tools > Options > Miscellaneous > Visual Web (Mac users, substitute Preferences for Tools). Once there, deselect Check for Duplicate Rowsets. That's all there is to it.

Cheers!

--James

Comments:

Post a Comment:
Comments are closed for this entry.

Calendar

Feeds

Search

Links

Navigation

Referrers