I seem to recall that the lazy replication manager assigns it's own
layout, ignoring any pre-existing one but you can assign an axis
and a spacing attribute.



On Wed, Jan 30, 2008 at 8:13 PM, Fernando Germano <[EMAIL PROTECTED]> wrote:
> Ok, adding a width and a height to the image solved the problem of images
> not being displayed, but there are still a couple of things that I quite
> don't understand, this works...
>
>             <view  clip="true" width="540" height="90" id="contenido">
>                  <view id="listado" layout="axis:x">
>                     <image width="90" height="90">
>                         <datapath xpath="s:/items[1]/item/imgurl/text()" />
>                      </image>
>                 </view>
>             </view>
>
> But, If I add replication="lazy" to the datapath definition things no longer
> works, two things happens:
>
> * If I keep the image then I only see one (I believe I'm seeing something
> similar to the width and height issue).
> * If I use a text then I see a list of the items but they don't seem to
> respect any layout option, the just appear one below the other.
>
>
> Thank you!
>
>
>
> On Jan 30, 2008 12:30 AM, Henry Minsky <[EMAIL PROTECTED]> wrote:
> > I don't know what the warning is trying to indicate.
> >
> > Is the data appearing? You may need to set the height explicitly, I
> > think there may be a bug in the replication manager updating
> > the view height automatically, so your images might be clipped.
> >
> >
> >
> >
> >
> >
> > On Jan 29, 2008 9:59 PM, Fernando Germano <[EMAIL PROTECTED]> wrote:
> > > I need to work with some large dataset, an XML having links to images
> that I
> > > must show, basically a gallery like many around there, so I want to do
> some
> > > paging and of course lazy replication, so, the basic code looks like
> this:
> > >
> > >             <view clip="true" width="540" id="cont">
> > >                 <view id="list">
> > >                     <simplelayout axis="x"/>
> > >                     <image>
> > >                          <datapath
> xpath="s:/items[1]/item/img_url/text()"
> > > replication="lazy"/>
> > >                     </image>
> > >                  </view>
> > >             </view>
> > >
> > > But when I try this I get the following error:
> > >
> > > INFO: __LZprocessOperator: p is null in Datapath for image
> > >
> > >
> > > What am I missing?
> > >
> > > Thank you!!
> > >
> >
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > [EMAIL PROTECTED]
> >
>
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to