Sorry If I was late the code of this component is for html part:


<span jwcid="@Insert" value='ognl:"dojo.byId(\"" + focusComponentId + "\").focus();"'/>

while the jwc is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE component-specification PUBLIC
  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<component-specification class="org.apache.tapestry.BaseComponent" allow-body="no" allow-informal-parameters="no">
    <description>Focuses a component by its id</description>
    <parameter name="focusComponentId" required="yes"/>
</component-specification>

I know that this is a very simple implementation, but it does it's dirty job ;-)

Regards,
kiuma

On 3/31/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
It certainly wouldn't be much of a stretch to add in a postAjaxResponse() method to ResponseBuilder. (since it already has the pre part)


On 3/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hmm...
See the ProgressBarExample.html and .page files.
They use updateObject a lot...

From Leonardo Quijano Vincenzi < [EMAIL PROTECTED]>:

> The focus is ready and working great. It's just the selenium test that's
> not working. Since _javascript_ has no known "focused" property (AFAIK), I
> created one by using the onfocus and onblur events and binding them with
> dojo. For the initial page load, they work great, but in the ajax
> request they don't get executed (they're in the page and are not
> Tapestry scripts). What I need is a way to execute arbitrary _javascript_
> after the ajax request (in Bug82.html).
>
> But the "focusElement" is working great.
>
> --
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
>
>
> Andreas Andreou wrote:
> > What exactly you want to do?
> > Which file are you talking about?
> >
> > Leonardo Quijano Vincenzi wrote:
> >
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>


--




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel



--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind.   http://opennotion.com

Reply via email to