Git Product home page Git Product logo

Comments (4)

akudev avatar akudev commented on August 15, 2024

Hi Tobias,

the missing bracket is being addressed now.

Deep-linking works: https://openui5.hana.ondemand.com/#docs/guide/91f0c3ee6f4d1014b6dd926db0e91070.html
(note the hash)
This is the URL when you click on the tree in the left. There might be places where you get direct links without hash, these are caused by the fact that the documentation is created in a separate system which is not aware of this app, sorry.

The auto-suggest thing does not really look like a feature... :-)
Keeping the ticket open for this issue.

Regards
Andreas

from openui5.

tobiaswerner avatar tobiaswerner commented on August 15, 2024

Hi Andreas,

in other words: deep-linking works for the tree (respectively the URL constructed by the tree) but not from the documentations main frame where all relevant information is placed in.
Personally I can live with that. It's just a bit annoying...

Thanks for addressing the typo and auto-suggest.

Best regards,
tobias

from openui5.

hschaefer123 avatar hschaefer123 commented on August 15, 2024

Make you can also add a comment That Custom Data is not working for html views. I started with a html view to figure out, that writeToDom is not supported for html views. This took my some hours of working. That was the reason Why i switched in that Case to XML view. Since we implemented component preload for nodejs, xmlviews are not Really preloadable like js views, but i like the MVC approach of xml views (better Concept of abbreviation from code and design). Maybe there will be a Way of preloading XML views like component preload.

So If you add more Info in Custom Data and writeToDom this maybe will help,others to Save Time.

from openui5.

akudev avatar akudev commented on August 15, 2024

Hi,

well, our preload mechanism does also cover XMLViews, but it's the undocumented, Maven-based one. Not sure whether the grunt-based build will initially allow it, but it is on the radar, so let's keep this ticket for the original issue, which is fixed.

And regarding the CustomData with HTMLViews: the respective documentation part seems to be missing from the official documentation, it should read like attached below.

But writeToDom IS supported in HTMLViews, you just do it the same way as is documented for XMLViews:
http://jsbin.com/openui5-htmlview-with-customdata-writetodom/1/edit?html,output

I'll add this to the documentation, but expect some delay, as what WE write is rewritten by docu developers.

Regards
Andreas

USAGE IN HTMLVIEWS

In HTMLViews , CustomData objects could be added to any control or element with a specific HTML attribute. The syntax looks like this: data-custom-data:my-key="myValue". A custom data attribute begins with data-custom-data: and is followed by the name of the key. The dashes converts the following character into an upper case character. The value can be either a string or a binding expression:

from openui5.

Related Issues (20)

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.