I think you're getting the exception cause the AjaxDirectLink doesn't
have a
listener parameter.

Regarding floating panes, you either use @FloatingPane or the popup
parameter.

This page uses both approaches but they don't relate to each other.
https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/tacos-demo/src/context/WEB-INF/ajax/FloatingPaneExample.html
https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/tacos-demo/src/context/WEB-INF/ajax/FloatingPaneExample.page



Anna Vo wrote:
> I am unable to find an example of this, so any pointers in the right
> direction would be great. 
>
> Basically, I created a FloatingPane that contains another component and
> it displays fine when I load the page. 
>
> <div jwcid="@tacos:FloatingPane"
>               id="styleTagPanel"
>               title="Style Tags"
>               toggle="explode"
>               style="width: 200px; height: 100px; position: absolute;
> display:              none;">
>       <styleTags jwcid="[EMAIL PROTECTED]"
> model="ognl:styleListModel" />
> </div>
>
> However, now I would like to add a link to the page that pops up this
> FloatingPane instead of displaying it when the page renders.
>
> So far my link looks like this, but all I keep getting is a
> java.lang.Throwable: AjaxException, see user info when I click on the
> link.
>
> <a jwcid="@tacos:AjaxDirectLink" 
>       id="popupStyle" 
>       popup="literal:{
>       title:'Style Tags', 
>       widgetId:'styleTagPanel', 
>       style:'width: 200px; height: 100px; position: absolute;
> display:none;'}">
> <span key="ViewStyleTags" /></a>
>
>
>  
> Anna 
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to