Subscribe

Question: Component and TagComponent and id

  1. 2003-09-17 16:42:21 PDT
    Just trying to understand the different between;

    Component::getServerId() and TagComponent::getClientId().

    Presumably the will end up dealing with the same value from a template e.g.

    <list:list id="myList" />

    $list->getServerId() == 'myList';
    $list->getClientId() == 'myList';

    Is that correct. Wondering if you could explain a bit more.
  2. 2003-09-19 14:37:20 PDT
    The ClientId is probably not used anywhere. It is intended to be used when generating JavaScript that refers to a specific tag. It always corresponds to the id attribute.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.