<span class="gmail_quote"></span>
<div>Ok, I understand, so..., but then, how can I tie it to the layout?, it not complicated, I just need to have the images in an horizontal line with some spacing between them...</div>
<div> </div>
<div>I was looking at the flickr example, seems to do something similar to what I need but I does not use lazy replication, my biggest recordset could have around 1000 items, and I believe that a flickr search could have around that number...</div>
<div><span class="e" id="q_117cfcf5af0b7582_1">
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 1/31/08, <b class="gmail_sendername">P T Withington</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ptw@pobox.com" target="_blank">ptw@pobox.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Correct. The lazy manager has to be more intimately tied to the<br>layout because it needs to compute how many items will fit in order to<br>
load just enough data. This is an area for improvement: there should<br>be a general protocol between replication and layout, but for now<br>there is not.<br><br>On 2008-01-30, at 22:25 EST, Henry Minsky wrote:<br><br>> I seem to recall that the lazy replication manager assigns it's own<br>
> layout, ignoring any pre-existing one but you can assign an axis<br>> and a spacing attribute.<br>><br>><br>><br>> On Wed, Jan 30, 2008 at 8:13 PM, Fernando Germano<br>> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:fgermano@gmail.com" target="_blank">fgermano@gmail.com</a>> wrote:<br>
>> Ok, adding a width and a height to the image solved the problem of<br>>> images<br>>> not being displayed, but there are still a couple of things that I<br>>> quite<br>>> don't understand, this works...<br>
>><br>>> <view clip="true" width="540" height="90" id="contenido"><br>>> <view id="listado" layout="axis:x"><br>
>> <image width="90" height="90"><br>>> <datapath xpath="s:/items[1]/item/imgurl/<br>>> text()" /><br>>> </image><br>
>> </view><br>>> </view><br>>><br>>> But, If I add replication="lazy" to the datapath definition things<br>>> no longer<br>>> works, two things happens:<br>
>><br>>> * If I keep the image then I only see one (I believe I'm seeing<br>>> something<br>>> similar to the width and height issue).<br>>> * If I use a text then I see a list of the items but they don't<br>
>> seem to<br>>> respect any layout option, the just appear one below the other.<br>>><br>>><br>>> Thank you!<br>>><br>>><br>>><br>>> On Jan 30, 2008 12:30 AM, Henry Minsky <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:henry.minsky@gmail.com" target="_blank">henry.minsky@gmail.com</a>><br>
>> wrote:<br>>>> I don't know what the warning is trying to indicate.<br>>>><br>>>> Is the data appearing? You may need to set the height explicitly, I<br>>>> think there may be a bug in the replication manager updating<br>
>>> the view height automatically, so your images might be clipped.<br>>>><br>>>><br>>>><br>>>><br>>>><br>>>><br>>>> On Jan 29, 2008 9:59 PM, Fernando Germano <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:fgermano@gmail.com" target="_blank">fgermano@gmail.com</a>><br>
>>> wrote:<br>>>>> I need to work with some large dataset, an XML having links to<br>>>>> images<br>>> that I<br>>>>> must show, basically a gallery like many around there, so I want<br>
>>>> to do<br>>> some<br>>>>> paging and of course lazy replication, so, the basic code looks<br>>>>> like<br>>> this:<br>>>>><br>>>>> <view clip="true" width="540" id="cont"><br>
>>>> <view id="list"><br>>>>> <simplelayout axis="x"/><br>>>>> <image><br>>>>> <datapath<br>
>> xpath="s:/items[1]/item/img_url/text()"<br>>>>> replication="lazy"/><br>>>>> </image><br>>>>> </view><br>>>>> </view><br>
>>>><br>>>>> But when I try this I get the following error:<br>>>>><br>>>>> INFO: __LZprocessOperator: p is null in Datapath for image<br>>>>><br>>>>><br>
>>>> What am I missing?<br>>>>><br>>>>> Thank you!!<br>>>>><br>>>><br>>>><br>>>><br>>>> --<br>>>> Henry Minsky<br>>>> Software Architect<br>
>>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br>>>><br>>><br>>><br>><br>><br>><br>
> --<br>> Henry Minsky<br>> Software Architect<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a><br><br></blockquote>
</div><br></span></div>