Home
INFOLAB RXM WEB PORTAL
Contents
1. Subroutine to call to process the submitted Values The Subroutine that is called also returns the next Page Key to serve i e if the previous Values did not Validate satisfactorily the next Page might be an error Page if they were OK the next Page may be something entirely different And now we may consider a complete though small Portal Services example In the OPERATIONS Manual we had a look at the Portal Control Parameters Have another look at it Revision 3 1 June 05 2006 Page 3 of 10 PE B MFA ENTERPRISE SERVER Infolab RXM Portal Application Development DEFINE PORTAL CONTROL PARAMETERS Portal Control Parameters Startup Call Default Call POrtal default JV Logging On There are 2 Subroutine Calls specified The Startup Call is used whenever a new Session Connection occurs and it returns a result that tells INFOLAB xm which Page to serve In our example this routine does the following subroutine portal startup nexpage x nexpage main x return Very simple In this example we merely pass INFOLAB xm the Key of the 1 Page to serve to a new Connection although we could do a whole lot more if we wanted to The 2 Subroutine on our Portal Control Parameters is the Default call This Routine is called whenever a User Page is submitted without the navigator name to indicate which Page is going to process the Values that have been submitted or if the Page
2. content Microsoft FrontPage 4 0 gt lt meta name ProgId content FrontPage Editor Document gt lt title gt Welcome to INFOLABrxm lt title gt lt head gt lt body bgcolor FFFFFF link 000000 vlink 000000 alink 000000 gt lt div align center gt lt center gt lt table border 0 width 700 bgcolor FFFFFF gt lt tr gt lt td gt lt font face Verdana size 2 color 0000FF gt Welcome to INFOLABrxm the non persistent Portal to be used with your INFOLAB Enterprise Server lt font gt lt td gt lt tr gt lt tr gt lt td gt amp nbsp lt td gt lt tr gt lt tr gt lt td gt lt font face Verdana size 1 gt This page is served purely for demonstration purposes and allows you to use your IES Logon Code to see whether it works lt font gt lt td gt lt tr gt lt tr gt lt td gt amp nbsp lt td gt lt tr gt lt tr gt lt td gt lt div align center gt lt table border 0 gt lt tr gt Revision 3 1 June 05 2006 Page 5 of 10 J JE AAR ENTERPRISE SERVER Infolab RXM Portal Application Development lt td gt lt form method POST gt lt p gt lt font face Verdana gt UserCode lt font gt lt webbot bot Validation B Value Required TRUE I Minimum Length 2 I Maximum Length 12 gt lt input type text name T1 size 20 maxlength 12 gt lt p gt lt p gt lt font face Verdana gt Password lt font gt lt webbot bot Validation B Val
3. dealing with specific instructions local to your installation Revision 3 1 June 05 2006 Page 10 of 10
4. HTML Our page definition looks like this Revision 3 1 June 05 2006 Page 6 of 10 _ PE B JFL ENTERPRISE SERVER Infolab RXM Portal Application Development FF Acts Wenger FF Bun meee Sabres o n In the above picture note the following Our Page Key Main The processing for this Page takes place in the Infolab Datamart Auto Navigate is on This Means IES will before serving your HTML include a value navigator main in the HTML so that when the Page is submitted this value will be present and INFOLAB xm will know that it should return to Page Main to find the Subroutine to call for processing the Submitted Values Blank When Submitted is also on Users tend to keep clicking a Submit when they do not get an immediate response not realizing that this causes the Page to be submitted again and again When you allow IES to do so it will include Java Script with your Page HTML before serving the Page that causes the Screen to Blank as soon as Submit is clicked the 1 time The User then cannot keep clicking the Submit Button We have not included any Tags to Replace with Values for this Page because there are no default values for User Code and Password Since we have no Default Values we have not specified a Tags Call which would normally have the task to determine what the Default Values should be before IES replaces Tags in the HT
5. J JE AAR ENTERPRISE SERVER Infolab RXM Portal Application Development INFOLAB RXM WEB PORTAL DEVELOPMENT Before you read this Document you should have seen the OVERVIEW Purpose of this Manual The purpose of this User Manual is to provide you with an easy entrance example of how to design Portal Application Services with INFOLAB and IES Once you get going you may study more technical detail and examples on the FAQS Pages at www infolab cc Development Example When you design Portal Services there are marked differences in the design flow as compared with standard Application Design Methods The Internet was not invented for Application Services but as things developed we now Strive to use it for that as well and guess what it is here to stay Nevertheless things are different The huge advantage that we have with the Internet and Browser connections is that the Client Connection needs no special software installed other than the Browser The downside is that the Client Connection has only the Browser and lacks the structural strengths and advantages of traditional Application Client Software In the illustration below we glean the logical communications flow of a Portal Connection The Browser sends a Request to the Web Server 1 which in turn passes it to an Application Server 2 unless the Request relates only to static HTML pages of course The Application Server processes the request 3 perhaps apply
6. Key is invalid or whenever any of your Routines return a nex page key that is not valid In our example it looks like this subroutine portal default nexpage x nexpage defpage x return Once again our Default Call simply returns a Page Key in this case a Default page that displays an appropriate message However you may perform any amount of logic here process the Values that have been submitted interrogate the SID Session ID etc Now that we have the minimum requirements for control purposes we can have a look at Page Key main which is our startup Page and consider what happens with it When the Page is served it may look like this Revision 3 1 June 05 2006 Page 4 of 10 _ om JJF ARR ENTERPRISE SERVER Infolab RXM Portal Application Development Welcome to INFOLABrxm the non persistent Portal to be used with your INFOLAB Enterprise Server This page is served purely for demonstration purposes and allows you to use your IES Logon Code to see whether it works UserCode Password INFEO CaB The page includes a graphic as well as 2 Input Fields the 2 being a Password Field where input is masked And of course there is a SUBMIT Button The HTML for this page looks like this lt html gt lt head gt lt meta http equiv Content Language content en us gt lt meta http equiv Content Type content text html charset windows 1252 gt lt meta name GENERATOR
7. ML with the supplied Values from the Tags Subroutine Call and before serving the Page We have specified wnpp main as the Subroutine responsible for handling post Submit logic i e when the User Clicks Submit and the results include navigator main i e our Page and which logic is automatically included for us because we chose Auto Navigate ON Our Subroutine wnpp main looks like this subroutine wnpp main nexpage x equate z to char 13 nexpage main feedback Revision 3 1 June 05 2006 Page 7 of 10 J JE AAR ENTERPRISE SERVER Infolab RXM Portal Application Development which parameters did we get params call wnp get params params mes The following Data was Submitted z mes mes Zz locate t1 params 1 yeah then mes mes UserCode params lt 2 yeah gt z end else mes mes UserCode NULL z end locate t2 params 1 yeah then mes mes Password params lt 2 yeah gt z end else mes mes Password NULL z end idx 1 call wnp put storage idx mes kK return One of the tasks of this Subroutine is to advise what the next Page Key will be and we can see that we set this variable main feedback The next task is to process the Values and validate them if necessary In this case we are merely going to serve a Feedback Page that shows you what was captured and submitted In order to know which values were submitted we use the stan
8. dard call wnp get params When you are in the IES Program Writing options you may view PORTAL CODE for examples of the standard Routines available to you Our Parameter list should include values for the following names SID Navigator T1 T2 also the Buttons but this is irrelevant now When you look at the code for this Subroutine consider that the Parameters are delivered to you as a dynamic array where Attribute 1 includes a Multi Vaued List of Variable Names and Attribute 2 has the corresponding Values Therefore if params lt 1 3 gt T1 which is the UserCode Field you should be able to see this in the HTML code higher up then whatever the User captured for this Field if at all can be found at params lt 2 3 gt Simple as that The final action we need to note in the Subroutine is the call we make before concluding i e wnp put storage We have 10 storage areas each of which can accommodate a dynamic array and each of which has life between receiving a Submit and until serving the next Page Therefore when our Subroutine releases control it returns to IES with the value of the next Page Key IES will perform some logic and then before it serves the next Page in this case main feedback it may call a Tags Subroutine to determine default Values for the new Page it is about to serve Storage then is the method whereby you can pass Values from the Previous Page to the Next In o
9. f this Simply that INFOLAB xm will protect the Replacement Value from having it s format changed by the Browser which under other circumstances may do unpredictable things when displaying the value depending on the host Browser Screen size and other factors It is our intention for this value to display like this Revision 3 1 June 05 2006 Page 9 of 10 J JENAR ENTERPRISE SERVER Infolab RXM Portal Application Development UserCode what_was_captured Password what_was_captured If we do not protect formatting it may come out like this UserCode what_was_captured Password what_was_captured And below is what our Page actually serves back Thank You for submitting the Form Here are the results The following Data was Submitted UserCode dm Password dataman This then concludes the example of how to define INFOLAB Portal Services Please submit any Questions you may have to rxm infolab cc that we may include these with FAQS www infolab cc Note INFOLAB xm reserves only the following two names which you may not use for any other purpose in your Pages Service do not use Navigator use with HyperLinks or include with Pages when you did not choose auto navigate Infolab 2006 This Documentation is copyrighted by Infolab Pty Ltd www infolab cc All rights are reserved Licensed INFOLAB Users are granted permission for internal use ONLY to reproduce the Documentation and to include amendments
10. in your design and yet transparently takes care of connections protocol flow and conversions and shields you from the complexities so commonly encountered with creating and managing Portal Services a Transparent merging with your native Website is easy Your Corporate Headers may go here You may have a Any link to INFOLABrxm services as opposed to normal Web Page Services will frame on the produce a response back to the originating frame left if you like INFOLABrxm And there could be another frame here INFOLaB Note The link for INFOLAB m in our example is encoded as http www infolab cc 9465 infolabrxm request Note To use the Secure Server the above link may look like this https www infolab cc 8843 infolabrxm request In the page illustrated above it is clear that INFOLAB Portal services may be offered either on it s own or embedded within your usual Website An INFOLAB xm page may either occupy the entire Browser page or be processed within a Revision 3 1 June 05 2006 Page 2 of 10 PE B JFL ENTERPRISE SERVER Infolab RXM Portal Application Development defined Frame leaving the other Site Links intact If INFOLAB m is clicked in this example it produces another Page that occupies the same frame Any selection of links in any of the other frames will produce non INFOLAB ym i e standard Website results e g static web as opposed to Applicat
11. ing Business Rules translates the results to HTML 4 and passes it back to the Web Server 5 who in turn delivers it to the Browser Client 6 I I Web Server BROWSER INFOLABrxm Enterprise Server a INFOLAB a ALG In a traditional model we might expect the Client Software to talk to the Application Software more directly The Web Server in our illustration above is able to understand the international standard language of the Internet i e HTML but it is not great at applying Business Rules and other logic and it is totally useless for managing Data Storage which is why we need the Application Server behind it Also because the Browser will only understand Internet Speak e g HTML we have to deliver all interaction from the Application Server in this format which is not nearly as useful or strong as Client Software that we would Revision 3 1 June 05 2006 Page 1 of 10 J JENAR ENTERPRISE SERVER Infolab RXM Portal Application Development otherwise use for Application Services For example one issue that we have to overcome in our design is the fact that a User can normally backtrack with a Browser i e click the BACK button and resend a Page that is 3 Pages behind what has been done in the meantime The INFOLAB xm solution With INFOLAB xm we have designed an Application Model for Portal Services i e non persistent Browser Connections that allows you considerable freedom
12. ion Services The Page illustrated above should be seen only as an example i e there are no constraints as to how you design or do the layout for such Pages Hint Your Website may be hosted with a Service Provider and yet your INFOLAB xm Portal Services may be hosted by your D3 Server in another part of the world not connected to your Service Provider i e simply connected to the Internet And still these 2 may be merged as shown above Hint Standard Web Services talk on port 80 INFOLAB can do the same but can also be set to listen on a different port b INFOLAB m Page Objects provide an easy yet powerful design flow to provide any required Portal Services Each Page object has a unique Key of your choice sees The system inks Oe transparently to x teers ae the specified wT Pope ener es Datamart before F neca executing your site Prrgraro Projects and Functions faecion Daer Input logic are specified for Catr Poy grouping purposes Fi Aste Navigate G mart when enaid z revo Page tut Uoaye Tags Cal Defers Ser eg Page Sfroses Cal To Process Seted PORE Rain ETEL Steaks ete i A Page Object provides the link for INFOLAB xm to call your subroutine for Tag replacement with runtime Values and once a Page is submitted by the User the Page Key indicator passed via the Navigator name again provides the necessary link to determine which
13. ther words when processing main you use wnp put storage to preserve the values and when the Tags Call is executed on main feedback you can retrieve these values with wnp get storage Let s have a look Revision 3 1 June 05 2006 Page 8 of 10 jJ OLAaB ENTERPRISE SERVER Infolab RXM Portal Application Development Define Pages 1 Page Key URS eegctateles Tos Auto Navigate M Blank when Submitted Tags to Replace Preserve Formatting Tags Call Before Serving Page wnpp mainfeedback tags Subroutine Call To Proc HTML Status Above we see that for the Page main feedback which will be served next we have specified a Tags call wnpp mainfeedback tags and the code looks like this subroutine wnpp mainfeedback tags vals x vals idx 1 call wnp get storage idx vals ok return Since we have already pre formatted the Data we wish to display on the Feedback form before storing it we can now simply retrieve these values and pass it back as the Replacement Data Hint There is no limit to the number of Tags you may use and there is no limit to the Values that a Tag may be replaced with i e a Tag can be replaced with more HTML Code including pre formatted Tables etc Now notice again on the specification of the main feedback page that we have specified for Y tagi that formatting should be preserved What is the meaning o
14. ue Required TRUE I Minimum Length 3 I Maximum Length 12 gt lt input type password name T2 size 20 maxlength 12 gt lt p gt lt p gt amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp 7 amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp n bsp amp nbsp amp nbsp amp nbsp amp nbsp lt input type submit value Submit name B1 gt lt input type reset value Reset name B2 gt lt p gt lt form gt lt p gt amp nbsp lt td gt lt tr gt lt table gt lt div gt lt td gt lt tr gt lt tr gt lt td gt amp nbsp lt td gt lt tr gt lt tr gt lt td gt lt div align right gt lt table border 0 gt lt tr gt lt td gt lt img border 0 src pics logo jpg width 306 height 46 gt lt td gt lt tr gt lt table gt lt div gt lt td gt lt tr gt lt table gt lt center gt lt div gt lt body gt lt html gt Actually if you are not an HTML fundi it doesn t matter all that much because you may use any HTML Editor to generate the Page Layout In this example we used Microsoft s FrontPage 4 0 You are free to code your own HTML or use the HTML Generator Editor of your choice Once you have done the page simply view the HTML equivalent with your chosen tool copy the HTML Code and paste it into the IES Window for
Download Pdf Manuals
Related Search
Related Contents
NEC ST-P42C1 flat panel floorstand Peavey SP 112M User's Manual 取扱説明書 Timex T5K729 heart rate monitor Instruction Manual for the OID Application Avant-propos et Guide pédagogique - Michel Delord Cooltek Coolcube Maxi ダウンロード(282KB) Copyright © All rights reserved.
Failed to retrieve file