Need suggestion to achieve this functionality

Hi,
I was looking at cfgrid and cftree functionality. Is it possible to incorporate cftree within cfgrid. if I can create a tree like structure in cfgrid. I am looking for something like below: The hyphens would be replaced by checkboxes...
- Folders
   - subdfolder1
      - subsubfolder1
      - subsubfolder2
  - subfolder2
     - subsubfolder1
     - subsubfolder2
- Folder2
  - etc...
I am looking for something rich looking solution. It would be great if you can give some suggestion on these

Grid and Tree are alternative ways of representing data in two dimensions. One is a table, the other, well, a tree.
The addition of checkboxes is also superfluous, because a cfgrid or cftree enables you to make a selection.  However, there's nothing stopping you from putting 2 or more trees in a form.
Here is an example I borrowed from the Adobe Livedocs on cftree . The cfdocexamples datasource is pre-installed in Coldfusion, so you can run it directly.
<cfquery name="getCourses" datasource="cfdocexamples">
    SELECT d.dept_name, c.course_id, c.CorName, c.CorLevel, c.corName ||' ( ' ||c.corLevel ||' )' AS corLabel
    FROM CourseList c, Departments d
    WHERE d.Dept_ID = c.Dept_ID
    ORDER BY d.dept_Name, c.corName, c.corLevel
</cfquery>
<cfform name="studentForm" format="flash" width="400" height="450">
    <cfformgroup type="vertical">   
    <cftree name="courseTree1">
        <cfinput type="checkbox" name="chkbx1">
        <cftreeitem 
            query="getCourses" 
            value="dept_name,Course_id" 
            display="dept_name,CorLabel" queryasroot="NO" expand="yes,no">
    </cftree>
    <cftree name="courseTree2">
        <cfinput type="checkbox" name="chkbx2">
        <cftreeitem 
            query="getCourses" 
            value="dept_name,course_id" 
            display="dept_name,corName" queryasroot="NO" expand="yes,no">
    </cftree>    
    </cfformgroup>
</cfform>

Similar Messages

  • How to achieve this functionality

    Hi
    I have one.jsp. In this one.jsp fille i included two.jsp,three.jsp,four.jsp.
    When ever i sent request to one.jsp file in the out put i wnat to populate two.jsp,three.jsp immediately and four.jsp file should disply parts by parts....(like if our net connectio is very slow at that time the page will be opend part by part).. How can i achieve this functionality....................
    can anybody help...........

    If you've included the other JSPs on the server (with JSP include directives or actions) then everything will inline and this won't be possible.
    The only way, I can think of to do this would be to build your page with iframes or to build it with a series of AJAX calls. With either approach the initial page would be drawn first, then the browser would start making calls to fill in the various sections.
    Each section would be a separate request.

  • Need suggestions on implementing copy functionality

    Hello Everyone,
    Jdeveloper: 11.1.2.1
    I have a requirement of implementing "copy order" functionality in one of our applications, where we have a search screen as a landing page where it will fetch all list of existing orders in the search results upon user search. Now we need to put a button there and when user selects any order from the search results and click "copy" button, it should copy all fields of that existing record from VO to a new record blank record other than order order_id (where it will be populated using a db_sequence). I am looking for way to copy entire row into vo instead of looping through all all attributes. Also this has around 10 child vos (like order lines, supplier list etc) which also needs to be copied.
    Can someone suggest a better way to achieve this.
    Regards,
    Ravi Nuka.

    Thanks for the response Timo,
    In my case, there are list of secondary suppliers for the existing order in one of the tab (master form and child vos as tab in my case). so I want to copy the supplier list as well from existing order.
    To explain more, in my use case(master detail screen), there will be an order lets say order#1001, it will have list of line items (individual items) in tab#1, list of suppliers of those items in tab#2, taxes in tab#3 etc. Now if anyone want to create another order similar to this, they want to copy this order so that most of the data can be used and unwanted data is removed/modified.
    Regarding the method which you told in your earlier post about copy record, can you please elaborate a little more so that I can try that approach.
    Regards,
    Ravi Nuka.

  • Need Suggestions to Create this Effect

    Using Premiere Elements 12 on Mac, I want to create the effect of a wallpaper showing ballet dancer images, then having them appear to "dance" where they first appear. I have not been able to figure out how to insert active gifs to do this. Would welcome suggestions. Thanks!

    SpockNard
    This is the short version for now.
    Have you given any thought to capturing freeze frames from your video and going from still to video when you want the dancers to animate?
    Not sure if this is the type of thing that you are after but please check out my PE: Perspective Effects blog post
    http://www.atr935.blogspot.com/2013/08/pe-perspective-effects_4.html
    especially the second example demo'ing Bird Flying Out In Picture Frame.
    More later.
    ATR

  • Need help on achieving this effect for a Photo Wall

    I was wondering if anyone could point me in the right direction on achieving the effect of the photo wall in the site listed below? I think I understand that each of the "tv" screens is it's own individual video file, so I understand that part, but the part I am really stumped on is how it randomizes the video files to different locations and continues to do so. Is  there a link, component, or anything that someone could point me to? Thank you in advance for your helpful information.
    Here is the link:
    http://abcweb.it/
    Kenny

    It is unlikely any of those are video files, though there may be a simple movieclip that acts as a preloader giving the effect of a static tv screen.  It appears to just be something randomly loading images into a pattern of containers, which can be achieved by shuffling an array that holds the image file names.  There is a non-random element in the placement of the text, where each word changes between only two positions.
    As for tutorials regarding the panels, you should search Google using terms like "AS3 3D wall" and see if anyone has prepared one for it.

  • How to Achieve This Functionality in BizTalk ?

    Hello,
    Project Details
    Data Base Name : Employee
    Table name        :  CityMaster
    Fields                 :  CityId (PK,Numeric(18,0)), CityName(Navarchar(50)).
    Now i have to generate the xml of this file at particular Location using Biz-talk 2010.
    By configure receive port and send port in admin console using orchestration.
    So any one have step by step guidance then reply me.
    Thanks Regards
    Hardik Ramwani

    Hello,
    I have follow all the steps. Application created & started Successfully, But Output file not generated. While I show in event log i found following error.
    Is their any problem in configuration problem ?  I think about the "BIZTALKWIN7\sa" this is not a valid 
    My SQl Instance is : biztalkwin7/SQLEXPRESS
    user ID : sa   -  Password : XXXXXXX
    =========================================================================================================
    The Messaging Engine failed to add a receive location "Receive Location2" with URL "mssql://biztalkwin7/SQLEXPRESS/Employee?InboundId=ID1" to the adapter "WCF-SQL". Reason: "Microsoft.ServiceModel.Channels.Common.ConnectionException: Cannot open database "Employee"
    requested by the login. The login failed.
    Login failed for user 'BIZTALKWIN7\sa'. ---> System.Data.SqlClient.SqlException: Cannot open database "Employee" requested by the login. The login failed.
    Login failed for user 'BIZTALKWIN7\sa'.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection()
       --- End of inner exception stack trace ---
       at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection()
       at Microsoft.Adapters.Sql.ASDKConnection.Open(TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(Guid clientId, TimeSpan timeout)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnectionHandler[TConnectionHandler](Guid clientId, TimeSpan timeout, MetadataLookup metadataLookup, String& connectionId)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)".
    What will be reason this error show in Event Log.
    Thanks Regards
    Hardik Ramwani 

  • When I try to "Share" selected photos from iPhoto, my Air 2 hangs (the app hangs, not the entire device). Any suggestions to make this functionality work?, iPhoto hangs instead of sharing photos

    I select photos in iPhoto. I touch the "Share" icon. Then iPhoto hangs. The app is unresponsive to touch. I must fully close the app to get it to respond to my touch again. However, I cannot share these 10 photos, and it's driving me crazy.
    Plus, this website would not display anything I typed in this post, until I touched the "Boldface" icon. Go figure.

    Upgrade to v9.4.1 or
    Trash the HP Plug in from /Library/Application Support/iPhoto
    There are two libraries where this plugin might be
    HD/ Library
    and
    HD/Users/Your Name / Library
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)

  • How do I achieve this functionality?

    I wanted to make a portfolio site for my directing work & I have 0 coding experience. I used Muse in beta & enjoyed it, I wanna get a muse CC account but I would like to know if this is even possible beforehand.
    https://vimeo.com/71075177
    I made this animation in after effects very quickly to a show a web developer I was talking to what I was thinking, he then said it would cost 2000 dollars. I imagine I could get it pretty close on my own for a lot less.
    In a perfect world it would be a page that scrolls horizontally in a seemingly infinite loop when you scroll with a trackpad but would also have a hover on the right and left side that could jump to the image link that takes you to the corresponding video embed page. I am willing to settle for only a horizontal scroll that fakes an infinite loop or just a hover feature that shoots to the anchors horizontally.
    How can either of these be done?

    I am having requirement like
    i will scan the doucument and i will store the scanned document in the oracle database 10g.
    i will display this document in the oracle forms 11.1.12 .
    I want to display these (images) scanned pages in forms.
    (while displaying i want to display more than one page on forms at a time).
    if this can't be done by using forms is there any way i can do this.
    help me regarding this as early as possible.

  • Need Suggestions for iMac Replacement

    Hello Community, I would truly appreciate any suggestions and feedback you may have on our iMac replacement dilemma.  We currently have an early (January 2006) 20” Intel Core Duo Mac, OSX 10.6.8 with a 250 GB HD that has served us well these last 9 years, however as more applications are written for more memory, 64 vs. 32 bits, videos and pics, the Mac has become a bit wonky and it’s becoming difficult to update iPhone and IPad info, so it’s time for replacement.  I have reviewed the new iMacs and MacBooks and am unsure which system is best for us.  Here’s our situation:
    We want the system to work effectively as long as possible.  Another 9 years would be nice.  This will require more memory and drive storage in anticipation of bigger future technological changes.  For example, storing movies on the hard drive wasn’t a “thing” when we bought our Mac.  We are quickly filling our HD up with videos, music and pictures.  Using iCloud for storage is not very feasible because of the following:
    We live in the country and do/will not have access to high-speed internet through land-based cables.  We recently cancelled HughesNet Satellite when AT&T upgraded the 4G LTE equipment on the closest cell tower to our home.  Our only internet access is now through an AT&T hotspot.  It has worked well with iPhone software updates and movie downloads, but I don’t know how well it will work with a very large OSX download.
    Because of our internet access situation a MacBook with a docking station and monitor seems like a good way to go since OSX is no longer available on CDs and Apple allows owners to take their MacBooks into the store to download the OSX updates.  The down side appears to be dual vs. quad core processors and memory size.  I also have an iPad and iPhone, so I have no need to travel with a laptop. Cost is always a fact in these decisions.
    The iMacs are wonderful, and have plenty of options.  Do we need quad-core vs. dual core?  And, what options do I have to upgrade the OSX software if AT&T becomes cantankerous?
    Community, what are your thoughts on our situation?  Which Mac system do we need?

    I didn't find any string functions to do this.Transalate() is not helpful here.
    How can i achieve this functionality.Have you tried concat() function...wherein you could say concat('string here', getVariableData('varName', 'partname', 'xpathLocation'))
    e.g.
         <copy>
              <from expression="concat('Failure',
                   bpws:getVariableData('userFault','userFault','/ns3:UserBpelFaultMessage/ns3:userCode'))"/>
              <to variable="Reply_userFault_OutVar"
                   part="faultReturn"
                   query="/ns10:outputDataType/ns10:EventLog/ns10:Event/ns10:result"/>
         </copy>
    Makes sense?
    regards
    Joy

  • I have an iphone6. I am unsure whether to go from 8.1.3 operating system and switch to  ICloud Drive or not?  Has anyone done this?  Is it awesome?  I need to be able to access my resume from phone. I think this will help me achieve this.am i right?

    I have an iphone6. I am unsure whether to go from 8.1.3 operating system and switch to  ICloud Drive or not?  Has anyone done this?  Is it awesome?  I need to be able to access my resume from phone. I think this will help me achieve this?  Am i right?  Is there any body out there right now that could help me?  I'm thinking about going from 8.1.3 to I guess yosemite?  Or is that for Mac computers?  I don't understand the language entirely on the help page.   Anyone's straight forward and easy stepped advice would be much appreciated.  I'm so frustrated and I need a job so badly!  Drowning in debt.  Any help appreciated!
    Thanks,
    A

    You're a Windows user, correct? If so, read here:
    http://support.apple.com/kb/DL1455

  • We recently updated to Lion, prior to this update we could plug in our Sony Mini DV camera using the appropriate firewire and the iMovie would recognize the camera. This function no longer works after the update to Lion. Any suggestions?

    We recently updated to Lion, prior to this update we could plug in our Sony Mini DV camera using the appropriate firewire and the iMovie would recognize the camera. This function no longer works after the update to Lion. Any suggestions?

    Zap the PRAM and Reset the SMC, then try again.

  • How to create a function with dynamic sql or any better way to achieve this?

            Hello,
            I have created below SQL query which works fine however when scalar function created ,it
            throws an error "Only functions and extended stored procedures can be executed from within a
            function.". In below code First cursor reads all client database names and second cursor
            reads client locations.
                      DECLARE @clientLocation nvarchar(100),@locationClientPath nvarchar(Max);
                      DECLARE @ItemID int;
                      SET @locationClientPath = char(0);
                      SET @ItemID = 67480;
       --building dynamic sql to replace database name at runtime
             DECLARE @strSQL nvarchar(Max);
             DECLARE @DatabaseName nvarchar(100);
             DECLARE @localClientPath nvarchar(MAX) ;
                      Declare databaselist_cursor Cursor for select [DBName] from [DataBase].[dbo].
                      [tblOrganization] 
                      OPEN databaselist_cursor
                      FETCH NEXT FROM databaselist_cursor INTO @DatabaseName
                      WHILE @@FETCH_STATUS = 0
                      BEGIN       
       PRINT 'Processing DATABASE: ' + @DatabaseName;
        SET @strSQL = 'DECLARE organizationlist_cursor CURSOR
        FOR SELECT '+ @DatabaseName +'.[dbo].[usGetLocationPathByRID]
                                   ([LocationRID]) 
        FROM '+ @DatabaseName +'.[dbo].[tblItemLocationDetailOrg] where
                                   ItemId = '+ cast(@ItemID as nvarchar(20))  ;
         EXEC sp_executesql @strSQL;
        -- Open the cursor
        OPEN organizationlist_cursor
        SET @localClientPath = '';
        -- go through each Location path and return the 
         FETCH NEXT FROM organizationlist_cursor into @clientLocation
         WHILE @@FETCH_STATUS = 0
          BEGIN
           SELECT @localClientPath =  @clientLocation; 
           SELECT @locationClientPath =
    @locationClientPath + @clientLocation + ','
           FETCH NEXT FROM organizationlist_cursor INTO
    @clientLocation
          END
           PRINT 'current databse client location'+  @localClientPath;
         -- Close the Cursor
         CLOSE organizationlist_cursor;
         DEALLOCATE organizationlist_cursor;
         FETCH NEXT FROM databaselist_cursor INTO @DatabaseName
                    END
                    CLOSE databaselist_cursor;
                    DEALLOCATE databaselist_cursor;
                    -- Trim the last comma from the string
                   SELECT @locationClientPath = SUBSTRING(@locationClientPath,1,LEN(@locationClientPath)-  1);
                     PRINT @locationClientPath;
            I would like to create above query in function so that return value would be used in 
            another query select statement and I am using SQL 2005.
            I would like to know if there is a way to make this work as a function or any better way
            to  achieve this?
            Thanks,

    This very simple: We cannot use dynamic SQL from used-defined functions written in T-SQL. This is because you are not permitted do anything in a UDF that could change the database state (as the UDF may be invoked as part of a query). Since you can
    do anything from dynamic SQL, including updates, it is obvious why dynamic SQL is not permitted as per the microsoft..
    In SQL 2005 and later, we could implement your function as a CLR function. Recall that all data access from the CLR is dynamic SQL. (here you are safe-guarded, so that if you perform an update operation from your function, you will get caught.) A word of warning
    though: data access from scalar UDFs can often give performance problems and its not recommended too..
    Raju Rasagounder Sr MSSQL DBA
          Hi Raju,
           Can you help me writing CLR for my above function? I am newbie to SQL CLR programming.
           Thanks in advance!
           Satya
              

  • Javascript application this function has been disabled. need to enable it so i can clear my history

    javascript application this function has been disabled, I need to enable it to clear history

    A likely cause of the first issue is that you are first closing all Firefox windows and then close the Firefox application.
    Some have reported that closing Firefox (Firefox > Quit) while the browser window is still open works for them.
    *Bug 845681 - Closing all windows and quitting Firefox afterwards leads to about:sessionrestore to be shown on next startup
    For the second issue try this:
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • In Linux, my firefox uses the /etc/firefox profile for all users, now I need ONE user only to start with their own profile, I'm struggling to achieve this, please help!

    In Linux, my firefox uses the /etc/firefox profile for all users, now I need ONE user only to start with their own profile, I'm struggling to achieve this, please help!

    .Jake. wrote:
    I forgot to say that the hard drive has not been used yet...
    So you have no backup of your data at all?
    Pete

  • I need to edit sections of several songs into a single track on a CD for a dressage test. Any ideas what software I need to get to achieve this?

    I need to edit sections of several songs into a single track on a CD for a dressage test. Any ideas what software I need to get to achieve this?

    Audacity 1.2.5 is an audio editor in which you can assemble and edit your recordings: it's free. I don't think it would burn CDs - you would have to reimport the finished recording into iTunes and burn from there.
    Amadeus Lite is $24.99 in the Mac App Store and is in my opinion a better product: it can burn your audio CD directly.
    If this is a one-off job you might as well use Audacity: if you are planning on doing this sort of thing at all often you would probably be better off either with Amadeus Lite or Amadeus Pro ($59.99) though this latter may well be over-specified for you as it includes multi-track editing.

Maybe you are looking for