In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, the editor will share with you the relevant knowledge points about how to make the app free template in Android. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look.
Templates are usually predefined (search page, TAGS page, login page) or related to specific data (such as columns, documents, topics, advertisements). If you need a free page that does not rely on specific data, you can use the app template. When developing APP applications for mobile phones, you can also use app templates. You can also access app templates through ajax to achieve portal-like functionality.
Controller:com.jspxcms.core.web.fore.AppController.app ().
Access address: / app?template= {template}. The template parameter is required. For example, http://localhost:8080/app?template=abc. (addresses in version 7. 0 and older need to be suffixed with .jspx, such as http://localhost:8080/app.jspx?template=abc)
Template rule: app_ {template} .html. Parse the template corresponding to the template parameter in the request. For example, / template/1/default/app_abc.html.
Universal default objects such as ctx, global and site can be used in the template, and the required data can be obtained through tags.
You can also pass parameters (such as / app?template= {template} & infoId= {infoId}) in the URL address, such as / app?template=abc&infoId=12. Parameter values (such as ${Param.infoId!}) can be obtained through Param in the template, and specific data can be obtained with tags. Such as:
[@ Info idled Param.infoID] ${info.title} ${info.text} [/ @ Info]
To return json data, you can call the tag in the template to construct json format data. Such as:
[[@ InfoList nodeId=Param.nodeId! Infos] [# list infos as info] {"title": "${info.title?js_string}", "url": "${info.url?js_string}"} [# if info_has_next], [/ # if] [/ # list] [/ @ InfoList]] these are all the contents of the article "how to make app Free template in Android". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.