Auto-expanding textareas/input fields and DnD

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

Auto-expanding textareas/input fields and DnD

Stephanie Hall (TT)

Hi,

 

I know it is possible to do this with Chiba, but does Orbeon support auto-expanding textareas and input fields?  I know it can be done via Javascript, but if there was something built in that did it automatically, it would be great.

 

Also, is there an ETC for the Drag n’ Drop functionality (using xxforms:dnd="true")? 

 

Thanks,

Stephanie



--
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: Auto-expanding textareas/input fields and DnD

Alessandro  Vernet
Administrator
Stephanie,

On Mon, Nov 2, 2009 at 7:50 AM, Stephanie Hall (TT)
<[hidden email]> wrote:
> I know it is possible to do this with Chiba, but does Orbeon support
> auto-expanding textareas and input fields?  I know it can be done via
> Javascript, but if there was something built in that did it automatically,
> it would be great.

It works slightly differently than what you describe, but you can add
appearance="xxforms:autosize" on a <xforms:textarea>, and the textarea
will automatically expand vertically as you type more text into it.

> Also, is there an ETC for the Drag n’ Drop functionality (using
> xxforms:dnd="true")?

We are not working actively on this feature, so no ETC at this point.
But there is already quite a bit of work that went into this, and we
not necessarily that far from having something that can used, at least
in some simple cases. I think we'll need someone to help us with this
if we want to make some real progress in the short term, either by
sponsoring our work (through a development support plan), or by
contributing code. If you feel like digging into the code, let us
know, and we'll try to help.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: Auto-expanding textareas/input fields and DnD

Stephanie Hall (TT)
Hi Alex,

Is there a way to make the textarea expand horizontally, rather than vertically?

Thanks,
Stephanie

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: Monday, November 09, 2009 8:46 PM
To: [hidden email]
Subject: [ops-users] Re: Auto-expanding textareas/input fields and DnD

Stephanie,

On Mon, Nov 2, 2009 at 7:50 AM, Stephanie Hall (TT) <[hidden email]> wrote:
> I know it is possible to do this with Chiba, but does Orbeon support
> auto-expanding textareas and input fields?  I know it can be done via
> Javascript, but if there was something built in that did it
> automatically, it would be great.

It works slightly differently than what you describe, but you can add appearance="xxforms:autosize" on a <xforms:textarea>, and the textarea will automatically expand vertically as you type more text into it.

> Also, is there an ETC for the Drag n' Drop functionality (using
> xxforms:dnd="true")?

We are not working actively on this feature, so no ETC at this point.
But there is already quite a bit of work that went into this, and we not necessarily that far from having something that can used, at least in some simple cases. I think we'll need someone to help us with this if we want to make some real progress in the short term, either by sponsoring our work (through a development support plan), or by contributing code. If you feel like digging into the code, let us know, and we'll try to help.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My 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: Re: Auto-expanding textareas/input fields and DnD

Alessandro  Vernet
Administrator
Stephanie,

On Thu, Nov 12, 2009 at 1:18 PM, Stephanie Hall (TT)
<[hidden email]> wrote:
> Is there a way to make the textarea expand horizontally, rather than vertically?

Not out-of-the-box. This could be implemented though (typically in an
XBL component).

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: Re: Auto-expanding textareas/input fields and DnD

Stephanie Hall (TT)
Do you think you could please give me an example of how I would do this
with an XBL component in separate deployment?  Otherwise I will just try
to do it via Javascript.

Thanks,
Stephanie

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: Thursday, November 12, 2009 7:37 PM
To: [hidden email]
Subject: [ops-users] Re: RE: Re: Auto-expanding textareas/input fields
and DnD

Stephanie,

On Thu, Nov 12, 2009 at 1:18 PM, Stephanie Hall (TT)
<[hidden email]> wrote:
> Is there a way to make the textarea expand horizontally, rather than
vertically?

Not out-of-the-box. This could be implemented though (typically in an
XBL component).

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog:
http://www.orbeon.com/blog/ My 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: Re: RE: Re: Auto-expanding textareas/input fields and DnD

Alessandro  Vernet
Administrator
Stephanie,

On Fri, Nov 13, 2009 at 8:05 AM, Stephanie Hall (TT)
<[hidden email]> wrote:
> Do you think you could please give me an example of how I would do this
> with an XBL component in separate deployment?  Otherwise I will just try
> to do it via Javascript.

You can read about XBL here:

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components-guide

And the existing components can be a good source of inspiration. There are in:

http://github.com/orbeon/orbeon-forms/tree/master/src/resources-packaged/xbl/orbeon/

And of course, let us know if you have any question!

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet