<div>That's great, I'll try that, thank you!<br> </div>
<div><br> </div>
<div><span class="gmail_quote">On 1/31/08, <b class="gmail_sendername">P T Withington</b> <<a href="mailto:ptw@pobox.com">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">with lazy replication you can specify `axis` and `spacing` in the<br>datapath. Try:<br><br><datapath ... replication="lazy" axis="x" /><br>
<br>On 2008-01-31, at 07:25 EST, Fernando Germano wrote:<br><br>> Ok, I understand, so..., but then, how can I tie it to the layout?,<br>> it not<br>> complicated, I just need to have the images in an horizontal line<br>
> with some<br>> spacing between them...<br>><br>> I was looking at the flickr example, seems to do something similar<br>> to what I<br>> need but I does not use lazy replication, my biggest recordset could<br>
> have<br>> around 1000 items, and I believe that a flickr search could have<br>> around that<br>> number...<br>><br>><br>> On 1/31/08, P T Withington <<a href="mailto:ptw@pobox.com">ptw@pobox.com</a>> wrote:<br>
>><br>>> 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<br>>> to<br>>> load just enough data. This is an area for improvement: there<br>
>> 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 href="mailto:fgermano@gmail.com">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"<br>>>>> 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 href="mailto:henry.minsky@gmail.com">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<br>>>>>> 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 href="mailto:fgermano@gmail.com">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 href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br>>>>>><br>>>>><br>>>>><br>>>><br>>>><br>>>><br>>>> --<br>
>>> Henry Minsky<br>>>> Software Architect<br>>>> <a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br>>><br>>><br><br></blockquote></div><br>