Smart file component(html5smartfile) not working

votefavorite
I have been working on developing a custom extjs console to enable author drop an asset usinghtml5smartfile component. But somehow, the html5smartfile component is not working the way it should. The Area where an author can drop an asset is not displaying. The same is working fine if i am creating a CQ5 dialog. But in my case where i have created a window it's not working.
i have declared my smartfile component like this :-
var assetLinkDropField = { xtype: 'html5smartfile', fieldLabel: 'Asset Link', ddAccept: 'video/.*',ddGroups: 'media', fileReferenceParameter: './linkUrl', name: './linkUrl', allowUpload: false, allowFileNameEditing: false, allowFileReference: true, transferFileName: false };
but this is rendering like this:-
i have tried a lot, after working for 8-10 hours, i found out that the CQ5 dialog updates the view for the component but in case of my window, i have to update it myself. Thus, with a slight manipulation, i just succeeded in displaying the drag area by by tweaking the declaration like this:-
var assetLinkDropField = { xtype: 'html5smartfile', fieldLabel: 'Asset Link', ddAccept: 'video/.*',ddGroups: 'media', fileReferenceParameter: './linkUrl', name: './linkUrl', allowUpload: false, allowFileNameEditing: false, allowFileReference: true, transferFileName: false, listeners: { afterlayout: function () { this.updateView(); } } }
so now the panel looks like:-
but still the Drag and Drop is not working. My Window declaration is like this:-
win = new CQ.Ext.Window({ height          : 750, width           : 700, layout          : 'anchor', // animateTarget   : btn.el, closeAction     : 'close', // Prevent destruction on Close id              : 'manageLinkWindow', title           : '<b>Multi Link Widget Dialog</b>', frame           : true, draggable       : false,modal           : false, //Mask entire page constrain       : true, buttonAlign     : 'center', items : [assetLinkDropField] }); }
Can anyone please look into this issue. I am stuck here for 3 days. Thanks in Advance.

add a slider component to the main (loading) swf's library.

Similar Messages

  • Uploading Files Using InputFile Component -- Sometimes not working

    Hello,
    This is the 2nd time I make a post about it!
    Because I have more than 1 application using upload, and everything is correct! But it doesn't work as it should!
    You can check the original post here: Uploading Files Using InputFile Component - Sometimes not working
    I need a solution please!
    The only thing we can conclude is that it could be a bug from oracle !!! (???) But I talked with other people and they say that it works fine for them.
    There is one important thing: when we put a form to "Uses Upload = true" it seems that the page doesn't work very normal. For exemple: if you use a table in a form that uses upload the table get's "crazy".
    Thanks,
    JP

    I have now access to METALINK!
    I can find some problems and patches about inputFile but not mine! I will check better later!
    I think the problem is caused because of my framework!

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • Hyperlink to file in JSP not working

    I have a JSP page where I am providing a hyperlink to a file on the C: drive as follows
    Try this
    Nothing happens when I click this hyperlink.
    When I scroll over the hyperlink I see the correct path "file:///C:/ReqImport/data.txt" in the status bar and when paste this path in my address bar, it does open up the file.
    Any ideas why this file hyperlink does not work on this JSP page.
    Thanks

    Hmm, you're right, I just tried it and it doesn't appear to work. It looks like a security thing: If the original page is on my hard drive, links to other files on my hard drive work. But when the original page is on a web server, links to files on my hard drive don't appear to work.
    Do you realize that such a link is referring to a file on the C: drive of the client, the user, not the C: drive of the server? I'm not sure what you're up to, but for most applications such a link is pretty much useless, as you normally have no way of knowing what files the user has on his C: drive.

  • Include file in jsp not working

    Hi ,
    I have an include file statement in my jsp file which is not working. Not getting any error message either only the page is displayed without the jsp file included.
    My include code looks like this :
    <%@ include file ="Includes/hello.jsp" %>Also i tried including an html file or an image in the same place neither of the two displayed.
    <!--#include virtual="includes/footer.html" -->
    My jsp file is hosted on IIS

    nb123 wrote:My jsp file is hosted on IIS
    Hi ,
    I have an include file statement in my jsp file which is not working. Not getting any error message either only the page is displayed without the jsp file included.
    My include code looks like this :
    <%@ include file ="Includes/hello.jsp" %>Also i tried including an html file or an image in the same place neither of the two displayed.
    <!--#include virtual="includes/footer.html" -->
    My jsp file is hosted on IIS
    Check the path you've specified. It may well be;
    <%@include file="hello.jsp" %>or
    <%@include file="/Includes/hello.jsp" %>

  • File conversion is not working

    File conversion is not working.

    Using online services and it simply times out. I login and upload the file
    I want converted and it takes 5 mins or longer and then simply says the
    file conversion failed.
    I got one file to work, but it took like 12 tries.
    Very annoying and it's impossible to call and get a tech person to help.
    On Tuesday, February 11, 2014, PECourtejoie <[email protected]

  • File sharing is not working from pc to imac os x 10.9.2

    file sharing is not working from pc to imac os x 10.9.2

    Hello there Karen,
    It sounds like you are having to power cycle your modem to get internet back every single day. We can start by troubleshooting your Airport Express to help isolate the issue. I would first perform a Soft Reset, then test the issue again. If needed as a last resort I would then perform a Hard Reset:
    Soft reset
    Connect the device to power and wait for it to complete its start up process. To learn more about the start up process, please see All about Wi-Fi base station Status Lights (LED).
    Press and hold the reset button with a pen, pencil, or straightened paperclip for 1 full second, then release it. The light (LED) will begin flashing amber, indicating that the device is in soft reset mode.
    From the AirPort menu bar item, choose the network created by the device (the network name does not change).
    Open AirPort Utility from Applications > Utilities.
    Select the base station, then click Edit (The Edit window will indicate that the base station is in Soft Reset mode).
    Move through the tabs to make changes to your passwords or other settings as needed, and click Update and Continue as required
    Quit AirPort Utility.
    Hard reset
    Press and hold the reset button with a pen, pencil, or straightened paperclip until you see the status light (LED) start to flash amber rapidly, which should occur after about five seconds.
    Release the button and the device will reset.
    Wait about a minute for the base station to finish restarting, then open AirPort Utility from Applications > Utilities.
    Select the base station from Other Wi-Fi Devices, then click Edit.
    Select the Other Options button.
    Select "Restore previous settings" and click Next until you get to the final window.
    AirPort Utility will indicate that Setup is complete. Click Done.
    Quit AirPort Utility.
    Resetting an AirPort base station FAQ
    http://support.apple.com/kb/ht3728
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • File manager still not working w 10.7.3combo

    Since installing lion (I started with 10.7.2) file manager is not working. Yes, I can force uit it and than it does but it is still very annoying and time consumin to do it 2-4 times a day. I was hoping that 10.7.3 will solv it. Than installed based on advice I received hee 10.7.3 compbo but the problem is still there.
    Do you know or have you run accross a thread that explains how to solve it?
    Advanced thats to anyone who can help
    Ruvy

    What is "file manager?"  Is that a piece of third-party software, or are you referring to the Finder?  If it's third-party software, you'll need to contact the developer for an update or fix.  If the Finder is not working (how is it not working?), then you could try some of the tips in Understanding upgrade nightmares.
    (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)

  • New Smart Playlist Keyboard Shortcut Not Working

    Using iTunes 7.5/Leopard 10.5.1
    The shortcut for creating a new smart playlist (optcmdN) is not working. However, I can use the keyboard shortcuts for creating a new folder or a new playlist. Any of you have the same problem?
    Thanks!

    OK...this might be too simple to possibly be the answer...but is the number lock key down on your keyboard?
    EDIT: Well... no, that can't be it...or the new folder and new playlist keys wouldn't work either. Have you downloaded any widgets or third-party apps recently?
    Message was edited by: Diane Wordsmith

  • The Open URL or File function is not working when I publish as a exe?

    The Open URL or File function is not working when I publish as a exe.  I have tried putting the exe in the same location as the files with no luck.  How do I get the buttons to function properly with a exe file.

    Have you set the Publish folder as a trusted location in Flash Global Security?
    If not, please read this post:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-flash-global -security
    It may explain your issue.

  • My HP photo smart  C6280 printer does not work with CS6.  Any Help?

    My HP photo smart  C6280 printer does not work with CS6.  Any Help?

    How does it "not work"?
    What OS version are you using?

  • @import in css file in adf not working

    I created a new css support.css in same folder structure in which first css(base.css) and i use @import in base.css to import rules from support.css in base.css and apply css in a component but this functionality not working. please tell me correct rule to import css file in adf
    base.css code--
    @import url("support.css");
    /**ADFFaces_Skin_File / DO NOT REMOVE**/
    @namespace af "http://xmlns.oracle.com/adf/faces/rich";
    @namespace dvt "http://xmlns.oracle.com/dss/adf/faces";
    and support.css code
    .testCss{
    color :red;
    i want to use testCss in our application

    Hi,
    the information that is missing in your question is "what release of Oracle JDeveloper" we are talking about. If you look at the new feature list for JDeveloper 11.1.2 then you see that @import is supported in that release (previously this has been filed as bug 10066954 that is fixed in the 11.1.2 release)
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html
    Frank

  • Hp smart web printing does not work on firefox. HP says this is not their problem and to contact Mozilla. Is there a plug in available?

    I just bought a new hp printer. the software has a feature called HP web smart printing. The feature works on explorer but not on Firefox. HP says this is not their problem and suggested I contact Mozilla. Is an add on available and if not will one be made available.
    I am using v. 3.6.13. and the printer is HP Officejet 4500.

    HP smart web printing is an application that only works with IE. In spite of what HP have told you, if they want their application to work with Firefox they will need to make a version for Firefox. It is not down to Mozilla to make a version of the HP software for Firefox.

  • Bursting control file for Printer not working in WINDOWS ENVIRONMENT

    Hi,
    We are trying to print xml publisher report output (PDF) using bursting control file. Is not wokring.
    We are using ebs (R12.1.1) on Windows environment.
    Any pre-requisite setup (ie. cups config) should be done before printing using control file. Please guide me i am not having knowledge in printer setup and printer part..
    Thanks in advance
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Hussein,
    Yes, I am able to print seed concurrent report (o/p -text) to that printer (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    When i do the same for xml publisher publisher report to the same printer , its not working using bursting control file.
    I too made the test in xml publisher report without bursting control file , there i faced another new issue. Let me explain
    1. We are using RDF as data source . here o/p :-" XML "
    2. We are using RTF as layout. In template definition, i chose the default o/p type as :- "HTML"
    3. When i submit the request, i choose the printer which is working fine for printing seeded report. (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    4. My printer getting prints HTML tag, instead of desired o/p. I wondered after seeing the printout.
    5. I cross checked by clicking view output, its showing me the exact html output as per RTF layout.
    Dont know wat happening ??? Help me out.
    i did the same for changing default output type in template definition to RTF,PDF.. its printing source code of the output type instead of printing output.
    Thanks & Regards,
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for