Seperating UI and data

I’m about to construct a new Coldfusion application and
I want do use an object orientated approach.
But I don’t know how I should do this.
I have read the article written by David Friedel. Building an
object oriented user interface with Coldfusion MX
http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html
He tells about the principles but not the actual development
I have created a cfc library containing data retrievers.
These cfc’s should provide my UI with the necessary data.
Now I’m about to construct the User interface (UI) but
I don’t know how I should combine the user interface with the
data.
I plan to split the UI in small function (Widget) just like
in the article. Maybe I will have a grid showing some employees The
UI part I would then insert into either a cfm or cfc.
If I put it into a cfm and use CFINCLUDE to use it I
can’t pass the data query to it.
But then if I put into a cfc and use CFINVOKE I can pass the
data to it. But then the cfc will fail because it uses the CFGRID
and I don’t intent to insert a CFFORM into each cfc.
How do you do this?

I’m about to construct a new Coldfusion application and
I want do use an object orientated approach.
But I don’t know how I should do this.
I have read the article written by David Friedel. Building an
object oriented user interface with Coldfusion MX
http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html
He tells about the principles but not the actual development
I have created a cfc library containing data retrievers.
These cfc’s should provide my UI with the necessary data.
Now I’m about to construct the User interface (UI) but
I don’t know how I should combine the user interface with the
data.
I plan to split the UI in small function (Widget) just like
in the article. Maybe I will have a grid showing some employees The
UI part I would then insert into either a cfm or cfc.
If I put it into a cfm and use CFINCLUDE to use it I
can’t pass the data query to it.
But then if I put into a cfc and use CFINVOKE I can pass the
data to it. But then the cfc will fail because it uses the CFGRID
and I don’t intent to insert a CFFORM into each cfc.
How do you do this?

Similar Messages

  • Seperating time and date from time stamp

    Hai,
          Can somebody tell me how time and date are seperated from a time stamp with format  like 12/01/2006 1:21:36
    I want 12/01/2006 in one object and 1:21:36 in another object.
    Also as BW takes only format YYYYMMDD, does having 12/01/2006 make any difference? If yes then how can I convert this?
    Thank you.

    Hi Visu,
    For converting date check these:
    Re: Date Conversion in Flat File
    Bye
    Dinesh

  • Seperating management and data networks.

    Hello all
    Our network has developed over the years to a point where I have 4 seperate networks at each branch. Secure Data, Management, Vendor and VOIP.
    Secure Data is used for uers to access the mainframe and do daily tasks including the internet
    Management is used for access to routers switches and UPs's etc.
    Vendor is used for unmanaged (by us) devices like ATM's and other systems provided by vendors.
    VOIP is fo VOIP.
    Each are seperate VLANS on the cisco 2811 trunked to the switch
    What method  of seperating these networks do other companies use? IOS firewall or access lists, or am I missing something?
    All of the Cisco IOS firewall stuff seems to be focussed on outside to indise, while access lists get super conplicated when i try to design them
    There are all kinds of cross zone requirements, like PCs in Data to VOIP etc?
    My company is a bank holding company so I am talking about bank branches, and we have 24 of them.
    Looking forward to your responses.
    Ashley

    Ashley
    You would probably have got a response if you had posted in the correct forum ie. this is nothing really to do with VPN. The firewalling or more likely the LAN Switching/Routing forums would have been a better choice. So that is probably why you didn't get a response because we do try to help
    That said, the general answer to your question is it really does depend on how secure your requirements are. So a number of options -
    1) use a dedicated firewall and route the vlans off that
    2) use a router and ZBF or CBAC for each subinterface
    3) use standard acls to limit the traffic between vlans
    I have seen all the above used. If you have strict security requirements then firewalling each vlan is an option but it does get complicated. For most companies L3 acls on the vlan interfaces are usually enough.
    So looking at each vlan you have -
    1) management vlan. You would definitely want to restrict which IPs can access this vlan. Hopefully you have a set of defined IPs (which you may need to make static in DHCP) that can access the devices. You should also obviously be running SSH if supported to connect to devices
    2) data vlan - what are you trying to do here. Stop the data vlan from accessing other vlans or stop other vlans accessing the data vlan. This and the VOIP vlan are probably the most open, simply because that is where the users reside.
    So do you have specfic requirements for these vlans in terms of your company policy.
    3) VOIP - see 2)
    4) Vendors - this is the trickies one of the lot and can give so many headaches. It's very difficult to give vendors the access they need without then allowing them to see other parts of the network. A lot of this comes down to how much you trust your vendors. Obviously you would want to make sure that they cannot leave the vlan they are on.
    Don't forget that as far as internal security is concerned firewalling/L3 acls is only one part of it and as you have said it can become very complex. Equally important is locking down the user desktop so they cannot modify settings etc, implementing L2 security features on devices eg. port security/DAI/STP bpduguard etc and use 802.1x authentication for access to the network.
    Overall most networks i have come across rely on L3 acls internally to filter inter-vlan traffic + L2 security features. If there are any vlans critical to the business then they have been firewalled but firewalling every is a big adminstrative overhead.
    With some routers/switches there is now also the option of vrf-lite which allows you to create multiple virtual routers on the same box. The good thing about this is that each has it's own routing table so unless you allow routes to be leaked between vrfs the 2 routing tables cannot see each other.
    Hope some of this has helped. Any further questions please ask.
    Jon

  • EMIEsitelist and EMIEuserlist hidden directories and dat-files

    2014-04-05
    Cross-posted from
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-security/erniesitelist-and-ernieuserlist/00407bd2-e349-423c-a8e5-cb6127840ea5
    Original Post dated April 21, 2014
    EmieSiteList and EmieUserList
    Microsoft Security - Privacy Concerns
    I found two unknown directories on my PC in my user profile.  I have, so far, been unable to identify what put them there, which process owns them, and when I delete them (using Admin escalated privileges) they come back after a few minutes or immediately
    after reboot.
         c:\users\USERNAME\appdata\local\EmieSitelist\container.dat
         c:\users\USERNAME\appdata\local\EmieUserlist\container.dat
         C:\Users\USERNAME\AppData\LocalLow\EmieSiteList\container.dat
         C:\Users\USERNAME\AppData\LocalLow\EmieUserlist\container.dat
    It was time, anyway, so I wiped the drive using factory low-level overwriting and performed a clean install of Windows 8.1 Pro using a freshly downloaded ISO from Microsoft; one with an ESD distribution, written to a new just out-of-the-bedamned-hardshell-plastic
    flashdrive..
    I just completed the clean install, in this sequence:
    Boot to flashdrive and let Windows create partitions then install.  Reboot.  Check AppData; no folders found.
    Activate.  Check AppData; no folders found.
    Run first Update; install everything except Bing Bar and Desktop.    Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Add Feature Windows Media Center.  Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Run Updates a second time.  Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Remove MS C++ v12 x86 and x64 installed during Update.    Check AppData; no folders found.  Reboot.  Check AppData; no folders found.
    Download from MSDN (http://msdn.microsoft.com/en-us/vstudio/default) Redistributables MS C++ x86 and x64, 2005, 2008, 2010, and 2012.4 versions, and install in sequence.  Check AppData
    after each install; no folders found.  Reboot after each install and check AppData; no folders found.
    Run Updates a third time.  Response was No Updates Available.  Check AppData; no folders found.
    Reboot.  Check AppData; all four sub-directories are now present.
    These sub-directories and dat-files are not, so far, present in the AppData\Roaming directory.
    There is nothing except Microsoft Windows 8.1 Pro WMC and the 10 MS C++ packages installed; and MS Silverlight and AMD (videocard) Catalyst Control Center on the machine.  Windows Defender is present but is installed as part of Windows 8 and 8.1;
    and its' updates are provided via the MS Update process.  All - repeat ALL of these items are provided by Microsoft.
    My questions are:  What are the Emie directories for; what program created them, and what does the various container.dat files "contain"?  And . . . if not absolutely necessary, How do I get rid of them and keep them from coming back?
    First attempt at Solution:
    Permissions are Full for System, USERNAME, and group Administrators.  The USERNAME is the Owner, and Effective Permissions for each of the 3 is Full.
    Open Command Prompt (Admin)
    C:\Windows\system32>cd\
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieSiteList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieSiteList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieUserList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\Local\EmieUserList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieUserList\container.dat
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieUserList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieSiteList
    C:\>attrib -r -h +s C:\Users\USERNAME\AppData\LocalLow\EmieSiteList\container.dat
    C:\>
    BOTH Files and Directories are no longer Hidden.  The Directories still show that the files within are READ-Only, but checking the actual file shows that it is no longer R-O.
    I then deleted each of the 4 directories and  closed Windows (File) Explorer.
    After less than 3 minutes reading pages on the internet (at Microsoft's Ask Windows Community), I opened Windows Explorer to check and found that the sub-directories had re-created themselves in both the Local and LocalLow directories.
    The container.dat files were back in the Local sub-dir and after another few minutes, also back in the LocalLow sub-dir.
    Both the sub-directories and the container.dat files are once again Super-Hidden.
    Analysis using Windows utilities and SysInternals and NirSoft tools have not identified which object or process or service owns these objects.
    ADDED:  My system is a home system, not connected to any work domain via VPN or otherwise.  WHY is the Windows Update Team not spending time to implement condition-and-error-checking to ensure that unneeded updates, services, and changes are not made
    without the system owner/operator permission?  Further, WHY is this particular issue so hard to find info about; what is being kept from customers and why?

    Dear sir Shovel Driver,
       About:  EMIEsitelist  and  EMIEuserlist
    .., hidden directories and dat-files
    Internet Explorer 11 (on Windows 7 and Windows 8.1) provides increased performance, improved security, and support for the modern technologies like HTML5 and CSS3 that power today’s Web sites and services. By adding better backward compatibility with
    Enterprise Mode, Internet Explorer 11 now helps customers stay up to date with the latest browser—and facilitates using the latest software, services, and devices.
    IE11 Enterprise Mode can be set in the Group Policy Console, or by adding a
    Registry setting:
    REGISTRY:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main]
    "EnterpriseMode"="Disable"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]
    Or a edit a Group Policy setting, which you can find under:
    [Windows-Key]+[R]->[Run]->Type here:
       gpedit.msc
    Press [Enter], with an UAC Warning:
    Do you want to allow the following program to make changes on this computer:
    gpedit.msc ?
    Select/Press: Yes
    Go to in the Left pane of the GPedti.msc Window:
      Computer Configuration
      Administrative Templates
      Windows Components
      Internet Explorer
    Change / Add at right list, down under:
      "Use the Enterprise Mode IE website list"
    Set this option to - whatever you need;  Disabled,
    Enabled (Default is: Not Configured)
    When Enabled, you need to add a list with Web-Sites, Domains or Web-Pages.
    This policy setting lets you specify where to find the list of websites you want opened using Enterprise Mode IE, instead of Standard mode, because of compatibility issues. Users can't edit this list.
    If you enable this policy setting, Internet Explorer downloads the website list from your location
      (HKCU or HKLM\Software\policies\Microsoft\Internet Explorer\Main\EnterpriseMode),
    opening all listed websites using Enterprise Mode IE, Web-Sites are seperated by a sign: "
    If you disable or don't configure this policy setting, Internet Explorer opens all websites using Standards mode.
    Now to
    properly close and conclude this
    mystery:
    EMIEsitelist and EMIEuserlist
    .., are hidden directories and dat-files
    Thses directories and dat files are used to store data for the IE11
    EnterpriseMode.
    It is not a: Virus, neither it is a Trojan, Hoax, KeyLogger or anything else bad.
    TECHNET Sources:
     Turn on Enterprise Mode and Use a Site List (Deploy):
     http://technet.microsoft.com/en-us/ie/dn262703.aspx
     What is Enterprise Mode?:
     http://technet.microsoft.com/library/dn640687.aspx
    If you find this usefull, please Vote at the button
    "I Find This Usefull"
    Thank you! ;)
    Best regards, MPVS
    MP|VS

  • How to export app +underlying schema(and data)

    Hi
    I am trying to export my application and its underlying tables to a new system .
    I want to know if it can be done together and not seperately..(export app and then export each table)
    Is there away to package the app and its underlying repository?
    Thanks

    No....
    You will have to do them seperately as there is no logical connection between the application and the tables.
    Your application just has the access to use those tables and does not "own" any of them.
    a) Oracle database tables/ application tables
    You can export the entire schema and all the objects and data in that schema using the export and import utilities.
    All these objects are owned by the schema (eg. emp under scott) and hence are related logically.
    b) Oracle apex metadata tables.
    All the information about apex objects is stored as metadata in database tables (FLOWS_0300 is a schema).
    So, if you install Oracle apex on a new machine, all these repository tables will be created.
    When you create applications / objects, these tables will have metadata for those applications.
    Hope this helps,
    Rajesh.

  • DSO - What key fields and data fields in dso

    Hi experts,
    I need to create a dso in between the cube and 2 data sources(2lis_11_vaitm, 2lis_12_vcscl) to stage the data. My question is: what key fields and data fields to choose for the dso? is there a standard dso to copy? please explain in detail the model to set up, whether to connect both the ds's to dso and then to cube or one ds to dso and the other to the cube. more details will help.

    Check this for standard DSO:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/fcdc387f34384f94c3227baf3837a8/content.htm
    Thanks...
    Shambhu

  • Reading MS Project column names and data on the fly from a selected View

    Hi guys,
    I have several views on my project file (MSPROJECT 2010) and I want to build a macro so that;
    1. User can select any view ( Views can have diffrent columns and the user may add new columns as well)
    2. User runs the Macro and all the coulmns along with the tasks displayed in the view will be written to a excel file. ( I don't want to build several macro's for each view, I'm thinking of a common method which would work for any selected view)
    The problem I'm facing is that how will i read the column names and data for a particular view on the fly without hard coding them inside the vba code ?
    The solution needs to work on a master schedule as well.
    Appreciate your feedback.

    Just to get you started the following code writes the field name and data for the active task to the Immediate window.
    Sub CopyData()
    Dim fld As TableField
    For Each fld In ActiveProject.TaskTables(ActiveProject.CurrentTable).TableFields
    If fld.Field >= 0 Then
    Debug.Print Application.FieldConstantToFieldName(fld.Field), ActiveCell.Task.GetField(fld.Field)
    End If
    Next fld
    End Sub
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Pdf portfolio source file name and date in file details

    Is it possible to import the source file name and extension as well as the source file created date in the portfolio file details?  Need to document source to portfolio in working with 3rd parties that will only have the original source.  Need to document what was converted into pdf as not all files in a directory will successfully convert to pdf.  Sometimes need to convert 100's of files.  Manual entry is inefficient.  the file names and modified dates are displayed on the Combine Files dialog.  is there a way to capture the detail on that page?

    I don't need the detail of when the pdf was added to the portfolio.  I
    need know which dwg or jpg or word file was converted and the original
    created date of that file for control of information.
    That is impossible; sorry. For some *very specific* types of conversion to PDF the pdfx:SourceModified XMP tag will be set to show the last-modification date of the source file (for example DOCX files converted using MS Word), but there will never be a human-readable record of the source filename or its creation date unless you have manually added them as document XMP properties after conversion (this is what the "Custom Properties" dialog is for). To embed source data automatically would raise no end of privacy and security problems for customers, who most certainly do NOT want their recipients seeing details of internal documents.
    Without writing a plugin there's no access to the internal workflow of the Combine Files dialog, so you cannot use a script to read the names and dates of the files *before* conversion and store them automatically in the new PDF Portfolio's Fields array.

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • Diff B/w ABAP Dictionary and Data Dictionary

    What is the difference between ABAP Dictionary and Data Dictionary........

    Hi,
    Both are the same.
    Please check this online document perhaps it may help.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
    Regards,
    Ferry Lianto

  • ICloud sync and data usage

    After upgrading my ATT iPhone 4 to iOS5, I thought I would try out iCloud. I read somewhere, that it only syncs when it is connected to a powersource, and maybe I read that wrong, but I interpret it to mean when I am connected to either a power outlet or my computer using the cable. In otherwords, it wouldn't sync while I was out and about, away from my wireless home network, using the 3G network.
    Is this not correct?
    Because 2 days ago I racked up 80 MB of my data plan (not iCloud storage) while I slept at home, where I have a wireless network. I found this out by getting a text warning from ATT the next day, that I was close to using up my alloted 200MB data usage. I checked out my account online, and sure enough the 80MB transferred in the middle of the night. I didn't notice the "documents and data" setting was turned on so it looks like my apps updated while my phone was in sleep mode. Is there anything else it could be? I have everything iCloud turned off now and wondering if there is something I should know about to avoid wasting my data usage?

    elko wrote:
    After upgrading my ATT iPhone 4 to iOS5, I thought I would try out iCloud. I read somewhere, that it only syncs when it is connected to a powersource, and maybe I read that wrong, but I interpret it to mean when I am connected to either a power outlet or my computer using the cable. In otherwords, it wouldn't sync while I was out and about, away from my wireless home network, using the 3G network.
    Is this not correct?
    Because 2 days ago I racked up 80 MB of my data plan (not iCloud storage) while I slept at home, where I have a wireless network. I found this out by getting a text warning from ATT the next day, that I was close to using up my alloted 200MB data usage. I checked out my account online, and sure enough the 80MB transferred in the middle of the night. I didn't notice the "documents and data" setting was turned on so it looks like my apps updated while my phone was in sleep mode. Is there anything else it could be? I have everything iCloud turned off now and wondering if there is something I should know about to avoid wasting my data usage?
    I think possibly you are thinking about wireless sync of iTunes. That can be set to happen when you connect to a charger etc, but that is not the same thing as you are descrbing with iCloud.

  • Loading MS Access Table and Data into Oracle

    Hi,
    I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
    Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
    I have Oracle 10g database and its clients.
    Thanks in advance,
    Rajeev.

    You can use Oracle migration workbench
    Loading MS Access Table and Data into Oracle
    It´s very easy to use and good to import
    regards,
    Felipe

  • Question regarding roaming and data usage

    I am currently out of my main country of service, and as such I have a question regarding roaming and data usage.
    I am told that the airplane mode is sufficient from keeping the phone off from roaming, but does this apply to any background data usage for applications and such?
    If the phone is in airplane mode, are all use of the phone including wifi and application use through the wifi outside of all extra charges from roaming?

    Ann154 wrote:
    If you are getting charged to use the wifi, then it is possible.  Otherwise no
    Just to elaborate here, Ann154 is referring to access charges for wifi, which is nothing to do with Verizon, so if you are using it in a plane, hotel, an internet cafe etc that charges for Wifi rather than being free .   Verizon does not charge you (or indeed know about!) wifi usage, or any other usage that is not on their cellular network (such as using a foreign SIM for example in global phones)  So these charges, if any, will not show up on the verizon bill app.  Having it in airplane mode prevents all cellular data traffic so you should be fine

  • Infoset Join condition on Key feilds and data fields

    Hi Guys,
    I have a requirement to biuld the Info set with join conditon on two DSO's  the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
    The two info objects are                
                           0AC_DOC_NO
                           0ITEM_NUM
    These two info objects are defined as  data fields in DSO :   0LIV_DS1   Invocie verificaion
                                                            key fields in DSO:    0FIAP_0o3 FI AP Line Item
    Please suggest me is it possible to define join the condtion on the data fields and key feilds.
    Thanks
    Best regards
    SG

    Hi
    yes you can create join, you will get any issue in reporting level.
    example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
    In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
    Creation of join is dependent on fields common in your source objects.
    check out the below document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM

Maybe you are looking for