I'm trying to make my own Object Page for Smart template using UI5.
I tried using extensions, but it injects my custom view to existing objectpage,
but i want to add my own custom object page.
using smart template for sap.suite.ui.generic.template.ListReport.
The help states that you can completely replace the object page with your own by specifying your own custom component. You would then be free to code it up however you like.
See here: https://sapui5.ap1.hana.ondemand.com/#/topic/7e6e86984e6846bb8cfdfd3efb4d3e4b
Related
I am used to work with the pagemanager to create pages:
pageManager.create(parentPath, name, template, title, false);
This works with normal templates stored in /apps. Since Adobe recommends to use editable templates (stored in /conf), the above approach does not work: It creates the page but without the template attached to the node. Is it a bug or is there another approach how to create pages based on editable templates?
That was a stupid one, sorry for asking. Resolution: Read-rights must be given for /conf.
For a Web Service framework I am currently working on I'd like to add the possibility to test the generic Json services based on their metadata. It should be possible to dynamically build a view to let users test available Web Services. Is there a provision or some supported way to generate views dynamically in Play? if not and supposing that I simply make a template and generate it on the fly, how can this view be injected into the application at runtime?
I will be happy to see documentation/examples/pointers that could help develop such solution ...
I am assuming that you want to create a scala.html and use it on somewhere by taking the html created, is that?
If you create a scala template myView.scala.html then on MyController you can call views.html.myView.render().body(); Then you would have the html created by the template.
Template Documentation
I'm trying to add an attribute to the form tag of a cq5 form. I noticed that the output is generated using
FormsHelper.startForm(slingRequest, new JspSlingHttpServletResponseWrapper(pageContext));
I was curious how I can either:
alter the request so that the formHelper prints the form w/ the attributes I need
Hook into the actual print out to include the attributes I need.
Any help or direction would be good.
note:
I've already checkout out the javadoc for formshelper, done some searching via goolgle, and dev.day.com including the dev.day.com doc on developing forms.
thank you
API doesn't allow you to add any attributes to this tag. You can only specify desired CSS classes adding css property to the form component. Of course, you can also create component sling filter and response wrapper to rewrite created form, but it seems to be an overkill. I think better solution is using JS to add attributes client-side.
I am new in CQ5 and I would like seek help on how will I be able to add a new custom console in my CQ instance. If you guys can give me a walkthrough or a reference which I can use. I'm trying to search for answers but I failed to get one.
You can customize the login and welcome screens by copying the relevant code in /libs/cq/core/content, /libs/cq/core/components, /libs/wcm, etc. to the corresponding /apps node(s), just the same way you would customize an ordinary content-handling component. Some references in the CQ5 docs:
http://dev.day.com/docs/en/cq/current/deploying/configuring_cq.html#Removing%20CQ%20Sign%20Out%20Links
http://dev.day.com/docs/en/cq/current/developing/customize_siteadmin.html
I would like to make a plugin that lets you use the google fonts. But I want the user to be able to choose from all fonts available. To do this I cannot use a static xml manifest for the menu but I need to create a updated list of the fonts in real time.
So how can I modify the plugin parameters programmatically? Is it also possible to use javascript to add some behavior to the menus for some ajax work?
Thanks
You need to create a custom element and add it to the plugin's xml file.
The following doc will let you know how to add custom element to a form.
You just need to change it according to your needs.
http://docs.joomla.org/Adding_a_multiple_item_select_list_parameter_type
This doc is just for example, you should be able to use this exact code, for example, you need not worry about saving the params. Joomla automatically saves the params of any plugin.