在SIGHT AEM中使用Navigation API

时间:2016-07-15 01:00:41

标签: aem sightly

我正在尝试使用导航API。

点击链接:navigation component using sightly

我正在获取页面列表,但$ {item.type}对我不起作用,这就是为什么我无法应用正确的DOM结构(组件的html)。 有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:1)

如果查看javadocssystemctl restart docker 会返回<?php $servername = "localhost"; $username = "root"; $password = ""; $conn = mysql_connect ($servername , $username , $password) or die("unable to connect to host"); $sql = mysql_select_db ('vcet',$conn) or die("unable to connect to database"); //code to insert into db...change the ussername and eamil to the respective fields in the form.... $user_info = "INSERT INTO studentinfo (user_name, roll_number,user_batch,user_from,user_year, user_level,F_name,m_name, g_name,mob_number,addressline1, addressline2, city, pmob_number, land_number, cutoff, dept, medium, locality, intrest, scholar, income, user_caste, user_admit, user_stay) VALUES ('$_POST[user_name]', '$_POST[roll_number]','$_POST[user_batch]','$_POST[user_from]','$_POST[user_year]', '$_POST[user_level]','$_POST[F_name]','$_POST[m_name]','$_POST[g_name]','$_POST[mob_number]','$_POST[addressline1]', '$_POST[addressline2]','$_POST[city]','$_POST[pmob_number]','$_POST[land_number]','$_POST[cutoff]','$_POST[dept]', '$_POST[medium]','$_POST[locality]','$_POST[intrest]','$_POST[scholar]','$_POST[income]', '$_POST[user_caste]','$_POST[user_admit]','$_POST[user_stay]',)"; if (!mysql_query($user_info, $conn)) { die('Error: ' . mysql_error()); } echo "Your information was added to the database."; mysql_close($conn); ?> ,因此该方法会返回navigation.getIterator()的迭代器 -

Navigation.Element

表情看起来很像 -

Navigation.Element