hi

I am trying to use wicketstuff-scriptaculous-1.3 latest snapshot but it's not working. I have simply included the jar in my app. Do I need to do anything else to install scriptaculous support ?

Maris



public class ColumnLinkPanel extends Panel
{

   public ColumnLinkPanel(String id, final IModel model)
   {
       super(id);
Image icon = new Image("detailsIcon",new ResourceReference(ColumnLinkPanel.class,"doc.png"));
       AjaxLink ajaxLink = new AjaxLink("detailsLink")
       {
           @Override
           public void onClick(AjaxRequestTarget target)
           {
ResultDetailsPanel newPanel = new ResultDetailsPanel("resultDetailsPanel",model); findParent(MainPage.class).get("resultDetailsPanel").replaceWith(newPanel.setOutputMarkupId(true));
               target.addComponent(newPanel);
target.appendJavascript(new Effect.Highlight(this).toJavascript());
           }
       };
add(ajaxLink.add(icon));
   }
}




*INFO: *
<?xml
............................................
</tr> </table> </div>]]></component><evaluate><![CDATA[new Effect.Highlight('detailsLink11', {}
);
]]></evaluate></ajax-response>

*ERROR: *Exception evaluating javascript: ReferenceError: Effect is not defined

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to