-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
We have an important entity in our database, which we want crawlers to find. These database entities are basically displayed on the first page of our application.
So, to enable crawling, I used something like this in the zk.xml as suggested by zk gurus -
<system-config> <crawlable>true</crawlable> </system-config>
The contents of the DB entity, is basically embedded in a ListItem, and hence we a number of these entities grouped in a Listbox.
Now, when I view the page source of the applications page, I don't see the contents of the ListItems, which is very important.
Interesting thing is that I have other Listbox as well on the page, which I can see in the source code of the page, but the contents of the Listbox are static, I mean hardcoded, and don't come from the database.
One other difference is that, the entity Listbox is situated in other zul file, and is included at run time in the parent zul. Code snippet follows -
<borderlayout> <west> <div> // This div contains a Listbox having Listitems, which are hard coded and I can see the contents in the view page source. </div> </west> <center id="searchCenter" flex="true" sclass="bordercolor" style="border-left:none"> <div id="parentDiv" width="100%" height="100%" align="left" vflex="true" style="overflow:auto; position:relative;"> // This is where, at run time, a component is created (from a separate zul), having Listbox and Listitems, which contains the DB items, and those items don't appear in the source code of the page. </div> </center> </borderlayout> </window> </window> </zk>
Hope the explanation is clear.
I have tested for several situation ,
something like to include other zul , set model in composer .
but seems crawable work correctly , could you provide some reproduceable example for it ?
Asked: 2010-10-11 07:53:44 +0800
Seen: 213 times
Last updated: Oct 11 '10