The html for a textbox that becomes an InputBox when it's clicked is:
<span alt="fakefield_24" title=""
id="aspect_vireo_admin_View_field_committee-email" class="fakeField ds-
text-field committee-email editable">9</span>

However, when I click on that box and type in a new value, this is the
UI Module that's generated:

UrlLink(uid: "DegreeInfo", clocator: [tag: "a", text: "Degree Info",
class: "view-onclick-swap-tab [div_degree-info]"])


The UI modules that I created and that are working are:

public void defineModule() {
                ui.Form(uid: "DegreeInformationForm", clocator: [tag: "form",
method: "post", action: "${postAction}", class: "ds-interactive-div
view-form", id: "aspect_vireo_admin_View_div_view-form"]) {

                        TextBox(uid: "committee_email", clocator: [tag: "span", 
class:
"committee-email", id: "aspect_vireo_admin_View_field_committee-
email"])

                        //<span alt="fakefield_24" title=""
id="aspect_vireo_admin_View_field_committee-email" class="fakeField ds-
text-field committee-email editable">9</span>
...
}

//Since ajax changes the html when a list is clicked, this module is
required to represent clickable lists once they've been clicked.
                //  For more information, see:
http://groups.google.com/group/tellurium-users/browse_thread/thread/994b889df6140bc1/5529f3dd9607fbec#5529f3dd9607fbec
                //
                ui.Form(uid: "DegreeInformationClickedForm", clocator: [tag: 
"form",
method: "post", action: "${postAction}", class: "ds-interactive-div
view-form", id: "aspect_vireo_admin_View_div_view-form"]) {


                        InputBox(uid: "committee_emailClicked", clocator: [tag: 
"input",
id: "aspect_vireo_admin_View_field_committee-email", type: "text"],
respond: ["click", "change", "blur"])
                }


I searched through the page source and this element does exist: <a
href="?page=degreeInfo" class="view-onclick-swap-tab [div_degree-
info]">Degree Info</a>

but it's the tab that's active, not the element that I clicked on to
change the value. Any ideas?

Jade

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to