GithubHelp home page GithubHelp logo

adobe-marketing-cloud / aem-authoring-dialog-fields-customization Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 14.0 60 KB

Sample for customizing field dialogs in AEM Touch-optimized UI

License: Apache License 2.0

JavaScript 79.52% CSS 16.30% Java 4.17%

aem-authoring-dialog-fields-customization's People

Contributors

martinischeery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aem-authoring-dialog-fields-customization's Issues

First colorpicker widget doesn't show up when clicking on it

Authoring dialog errors and doesn't allow the event handlers to work

Hi,

I am writing a custom component with event handlers (Touch UI - Using AEM 6.2. ) for dialog fields using the example provided. Whenever I launch the dialog on any component, I am getting the error - "coralui2.js:12588 Uncaught TypeError: Cannot read property 'selectedIndex' of undefined" and I believe this stops the events are getting registered or triggered.

Error is appearing when the below highlighted line of code runs -
getValue: function () {
if (this.options.multiple) { // multiple returns array
return this._tagListWidget.getValues();
} else if (this.options.type === 'static') { // static
return this._nativeSelect[0][this._nativeSelect[0].selectedIndex].value;
} else if (this.options.type === 'dynamic') {
return this._valueInput.val();
}

  return null;
},

We don't see this error when loading the page and this highlighted line of code runs fine. We have this error on all component dialog boxes and on all local instance and on our test instance.

Please can you advice if you have encountered this issue before and guide us to the right direction?

Does this still compile?

Not sure if this still support anymore. I am having tons of error when I try to compile it? Can a maintainer confirm this should still compile?

Dependency issue

FYI for others who are about to use this project.

Following repository [1] doesn't have mentioned dependency. Project doesn't compile. Removing this dependency seems to be having no issues with project compilation.
[1] http://repo.adobe.com/nexus/content/groups/public/

Also there seems to be some issue with maven version as well. Worth going though [2]. Comment from Marcel Kottmann worked for me. My local maven version is 3.3.1
[2] https://stackoverflow.com/questions/29848324/maven-error-java-lang-noclassdeffounderror-org-slf4j-helpers-markerignoringba

@martinischeery : consider making changes if required.

<dependency>
  <groupId>com.adobe.granite</groupId>
  <artifactId>com.adobe.granite.ui.clientlibs</artifactId>
  <version>1.0.4</version>
  <scope>provided</scope>
</dependency>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.