Hi! I am quite new to tapestry (been using tap 4 for about six months) and
> tacos (.. shorter :)  and am having quite strange problems getting the
> FisheyeList to work.
>
> I think I'm doing everything right. Obviously I'm not, but when I downloade=
> d
> latest tacos sources from sf cvs, I could find no reference of a FisheyeLis=
> t
> at all.
>
> This probably means that it has gotten removed, but I just have to ask if
> that's really the case (in which case you maybe should remove the page at
> the website)
>
> Of course the best thing would be to add it again ! :)
>
> For what it's worth, here's my info;
>
> An exception has occurred.
>
> You may continue by *restarting
> <http://localhost:8080/arty/restart.svc>*the session.
>
>  org.apache.hivemind.Applicatio
nRuntimeException  Can not end most recent
> element because the stack of active elements is empty.  Stack Trace:
>
>    - org.apache.tapestry.markup.MarkupWriterImpl.end(
>    MarkupWriterImpl.java:236)
>    - net.sf.tacos.ajax.components.FisheyeList.renderComponent(
>    FisheyeList.java:105)
>    - $FisheyeList_50.renderComponent($FisheyeList_50.java)
>    - org.apache.tapestry.AbstractComponent.render (AbstractComponent.java:61=
> 7)
>
>    - org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:9=
> 2)
>
>    - org.apache.tapestry.AbstractComponent.render(AbstractComponent.java :61=
> 7)
>
>    - org.apache.tapestry.AbstractComponent.renderBody(
>    AbstractComponent.java:434)
>    - org.apache.tapestry.components.RenderBody.renderComponent(
>    RenderBody.java :44)
>    - $RenderBody_10.renderComponent($RenderBody_10.java)
>    - org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:61=
> 7)
>
>    - org.apache.tapestry.AbstractComponent.renderBody (
>    AbstractComponent.java:434)
>    - org.apache.tapestry.html.Body.renderComponent(Body.java:129)
>    - $Body_3.renderComponent($Body_3.java)
>    - org.apache.tapestry.AbstractComponent.render (AbstractComponent.java:61=
> 7)
>
>    - org.apache.tapestry.AbstractComponent.renderBody(
>    AbstractComponent.java:434)
>    - org.apache.tapestry.html.Shell.renderComponent(Shell.java:114)
>    - $Shell_2.renderComponent($Shell_2.java)
>
> .. etc..
>
> And the html;
>
> <div id=3D"explorer">
>   <h3>Bilder</h3>
>   <div jwcid=3D"@tacos:FisheyeList" source=3D"ognl:picturelist"
> value=3D"ognl:currItem">
>     <div jwcid=3D"@Any" id=3D"ognl:currItem" class=3D"listItem"
> dojoType=3D"FisheyeListItem">
>        <a href="" happen');" >
>          <img jwcid=3D"image" width=3D"34" height=3D"18"/>
>        </a>
>     </div>
>   </div>
> </div>
>
>
> and the jwc;
>
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <!DOCTYPE component-specification
>         PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0
> //EN"
>         "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd ">
> <!-- generated by Spindle, http://spindle.sourceforge.net -->
> <component-specification class=3D" component.PictureRow" allow-body=3D"yes"
> allow-informal-parameters=3D"yes">
>     <parameter name=3D"picturelist" required=3D"yes"/>
>
>     <property name=3D"currItem" />
>
>      <component id=3D"image" type=3D"Any">
>        <binding name=3D"src" value=3D"ognl:currentUrl"/>
>    </component>
>
> </component-specification>
>
>
> and the java;
>
>
>     public abstract List getPicturelist();
>     public abstract void setPicturelist(List li);
>
>     public abstract Set getSelectedItems();
>     public abstract void setSelectedItems(Set selectedItems);
>
>     public abstract StoredPicture getCurrentItem();
>
>     public String getCurrentUrl()
>     {
>         StoredPicture sp =3D getCurrentItem();
>         Integer id =3D sp.getID();
>         return "/arty/app?service=3Dimage&imageid=3D"+id+".jpeg";
>     }
>
> Thanks for any help.
> Cheers,
> PS

Reply via email to