Forum

HomeHomeCoreCoreSamples and oth...Samples and oth...Very Basic OWS Module Example - with commentsVery Basic OWS Module Example - with comments
Previous
 
Next
New Post
7/12/2008 8:30 AM
 

OK, here is a very simple module that shows master list, detail view and editing in a single OWS module for the users table. It simply shows the power of OWS within a single module and functionally allows you to view edit and change the first and last names of users in your portal.

It shows use of multiple query templates, multiple HTML form templates, all with AJAX interaction

it has examples of error checking and how to manage errors in your queries and actions

It is fully commented to explain what is going on in the actions along with some other basic instruction

It assumes you know how to add an OWS module to a page, link it to a OWS configuration, open the OWS Administration IDE, and import the attached module configuration.

DOWNLOAD

New Post
7/13/2008 10:59 PM
 

Thanks again for your time and effort on this.

At first I had quite a few questions but I dug through the manual and found many of the answers. But I still have a few.  Mainly in the [Save,Q] section where you look for the admin email, send an email, and notify.

First question is since you set global variables of @firstname, @lastname, etc. in the onload section why couldn't you just use these global variables in the email instead of redeclaring local variables (var1, var2, etc.)??

I have always understood a Format tag as a way to format something. In this section you use a format tag to look up the admin id and email. Why use a format tag when you are not formating anything??  Is the answer here simply because that's where the R2I guys decided to put the SQLFIND function??

I understood the Assignment <action> as a way to set the value of a local variable.  You use it in several places to send a message to the user??

Last would be your [amessage,action] comment in the header of the grid view. I don't understand this one.

Thanks again for your help.

Greg

New Post
7/19/2008 11:37 AM
 

Hi folks! I'm new at this. I have installed OWS, gone into Administration, and and imported and published this sample. As I understand it, shouldn't the examp[le be available as a module in the standard list? I don't see it, though if I go back int OWS Administration I can see and edit it.

I se references to a "manual" in the forums. Where can I find it? I don't see it anywhere in the Downoads area.

TIA

 

New Post
7/20/2008 6:51 AM
 

Keep in mind we're all pretty new at this too.

 

You might find some doc here: http://beta.openwebstudio.com/community/wiki.aspx but I'm not sure it's complete yet.

Aside from that, if you can see the module in the Administration program, then you should be able to go to any OWS module on a page, go to the Module's settings and in the OWS settings, select this new module. Even if if appear in like it is set in the drop down list already, click Update to make sure the setting takes.

New Post
10/14/2008 11:53 AM
 

Hey Paul!

Long time no see! Neat little demo! I'm logged in as host. I'm not seeing behaviors that appear to be coded. Going to users I see the option to return to the "Main Menu", but going to roles I don't. Under users it says no users in current selection. Under roles it says No users in current portal.

It seems like the main menu option is coded in both cases as Query Template->Header [0] Template. I do have a test user and a test role and that user is assigned to that role. I don't see any list of roles or users either.

Mike Yearwood

Previous
 
Next
HomeHomeCoreCoreSamples and oth...Samples and oth...Very Basic OWS Module Example - with commentsVery Basic OWS Module Example - with comments


 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share