Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Target Click 0.21

      Description

      Add a PageLink control

      ---------------------------------------

      From Stephens "click hacks" email:

      6. Link control

      I'm not a fan of the ActionLink idiom. I understand the whole listener thing
      is type-safe and all that, and both Tapestry and Click make it "okay", but
      having a user be on "Employees", and click "Employee Sue", the browser hits
      "/employees.htm", but then behind the scenes, our listener forwards/serves
      out "/employee.htm" while the user's browser says "/employees.htm", just
      seems, well, odd. So, instead we've developed a fairly type-safe way of
      doing links, but making the decision about where the user should go at
      render time instead of next-click listener time.

      The basic idiom is:

      Link l = new Link("ClientLink", "name", ClientPage.class);
      l.addParameter(this.client);
      l.toString()
      ->
      <a id="clientPage_client5" href="/client.htm?client=5">theClientsName</a>

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Stephen Haberman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development