Hi,

Just as an update the problem I am experiencing is similar to the one shown
in this thread, but
there is no resolution to it. Also, how can I emulate the choices available
for the population of
the textfield. In our application, the names matching the contacts is pulled
as the user is
typing. Once I have typed enough, it should dwindle down to one name that I
want to select.

It is just not working. I have even tried fiddling around with xpath now,
but to no avail.
Once again, I am already on htmlunit-2.2 in Build1716 but it still does not
work.

TIA
 Re: Re: richFaces Ajax + content not updated[image: Click to flag this
post] <javascript: void Nabble.setFlag(18362442);>

by Marc Guillemot  <http://www.nabble.com/user/UserProfile.jtp?user=1438> Jul
09, 2008; 07:04am :: Rate this Message:
<http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#>
<http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#><http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#><http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#><http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#><http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#>
<http://www.nabble.com/richFaces-Ajax-%2B-content-not-updated-td18341462.html#>
-
Use ratings to moderate (? <http://www.nabble.com/help/Answer.jtp?id=16>)

 Reply <http://www.nabble.com/forum/Reply.jtp?post=18362442> | Reply to
Author <http://www.nabble.com/user/SendEmail.jtp?type=pm&post=18362442> |
Print <http://www.nabble.com/forum/PrintPost.jtp?post=18362442> | View
Threaded <javascript: void Nabble.setView('newthreaded',18362442);> | Show
Only this 
Message<http://www.nabble.com/Re%3A-Re%3A-richFaces-Ajax-%2B-content-not-updated-p18362442.html>
 Hi,

I guess that it doesn't work with HtmlUnit-2.1 but it should work in a
near future, once HtmlUnit-2.2 is integrated in *WebTest*. Inded the
JSFUnit guys had the same issue with
http://jsfunit.demo.jboss.com/jboss-jsfunit-examples-richfaces/richfaces/support.jsf
and I've fixed for a few weeks.

Cheers,
Marc.

On Wed, Sep 10, 2008 at 11:33 AM, Soula, William <[EMAIL PROTECTED]>wrote:

>  Same problem again now the images are in a flickr account I created for
> this: http://www.flickr.com/photos/[EMAIL PROTECTED]/2845700355/ and
> http://www.flickr.com/photos/[EMAIL PROTECTED]/2846534450/
>
>  ------------------------------
> *From:* Soula, William
> *Sent:* Wednesday, September 10, 2008 1:22 PM
> *To:* '[email protected]'
> *Subject:* Re: [Webtest] Webtest and AJAX
>
>  Last attempt got filtered out for being too big.  I deleted some of the
> response below and am trying again.
>
>  ------------------------------
> *From:* Soula, William
> *Sent:* Wednesday, September 10, 2008 1:14 PM
> *To:* 'Harman Birdi'; '[email protected]'
> *Subject:* RE: [Webtest] Webtest and AJAX
>
>  I'm kinda busy, any help here list?
>
>  ------------------------------
> *From:* Harman Birdi [mailto:[EMAIL PROTECTED]
> *Sent:* Wednesday, September 10, 2008 12:33 PM
> *To:* Soula, William
> *Subject:* Re: [Webtest] Webtest and AJAX
>
>
> William - Could you please let me know in what situation you had to use
> XPath? For me, I have a input field which
> gets a dynamic dropdown values as I type (AJAX with XMLHttpRequest and
> XMLResponseText), which I can select.
> I can see with Firebug that the following is happening, but how do I get
> the value that I want to select for the
> input field.
>
> The place where it shows "Elma Axtell" is where I am typing and it
> retrieves all the possible values using Ajax
> dynamically. The XPath expression to the left shows the possible choices.
> How do I narrow it to the one I want
> to pick since there are no attributes there that I can use. You can see
> that in the HTML of the Firebug window.
> Once I select the value here, the hidden field associated with the input
> field gets the id of the selected value.
>
> I would really appreciate it if you could point me to the right direction.
> I have attached couple of snapshots of the
> application, so you know what I am referring to.
>
> Thanks,
> --Harman
>
> On Wed, Sep 10, 2008 at 10:05 AM, Soula, William <[EMAIL PROTECTED]>wrote:
>
>>  You can use xpather to find xpaths (it is a firefox extension) although
>> I generally don't like them as they are absolute xpaths instead of relative,
>> which is more robust.  I got most of my XPath knowledge from this site:
>> http://www.w3schools.com/xpath/default.asp  XPath is very powerful and
>> has gotten me out of a lot of situations.
>>
>
>

Reply via email to