click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haim Schindler <>
Subject How to create simple anchor
Date Tue, 13 Apr 2010 16:05:30 GMT
*I need to dynamically create an html link that points to another page.
Is this the way to do it ?
protected ActionLink someLink;
someLink.setActionListener(new ActionListener() {
      public boolean onAction(Control source) {
           String path = getContext().getPagePath(SomePage.class);
           return true;

*the problem with this is that it uses "Redirect" so two calls are issues to
the server instead of one if I just generate the html link by myself.*

View raw message