Portlet and focus

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Portlet and focus

cgoguyer
Hello,

I set a focus to my first element of my portlet, but it doesn't work.
Is there some issues about this ?

Thx

--
Christophe


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Portlet and focus

Alessandro Vernet
Administrator
Christophe,

On Mon, Aug 4, 2008 at 2:26 AM, Christophe <[hidden email]> wrote:
> I set a focus to my first element of my portlet, but it doesn't work.
> Is there some issues about this ?

What is the symptom of of it "not working"? What did you expect, and
what happened instead? Do you have an error (on screen, in the logs)?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Portlet and focus

cgoguyer
The symptom is that my control just don't have the focus.
I use : <xforms:setfocus ev:event="xforms-ready" control="requester-control"/>
I have no error in the orbeon log and I have no focus on my control.

If I launch my view in a servlet instead of a portlet it works.
The problem is only in the portlet.

--
Christophe


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Portlet and focus

Alessandro Vernet
Administrator
On Tue, Aug 5, 2008 at 3:19 AM, Christophe <[hidden email]> wrote:
> The symptom is that my control just don't have the focus.
> I use : <xforms:setfocus ev:event="xforms-ready"
> control="requester-control"/>
> I have no error in the orbeon log and I have no focus on my control.
>
> If I launch my view in a servlet instead of a portlet it works.
> The problem is only in the portlet.

I see. You  might what to debug the JavaScript code and see what is
happening there. The setFocus() function in xforms.js should be
called, and if you have a this problem happening in your environment,
you might be able to see what is happening.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws