ORBEON - Forms Runner - Size of Multiline Text Boxes

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

ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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: ORBEON - Forms Runner - Size of Multiline Text Boxes

Erik Bruchez
Administrator
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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: ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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




--
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: ORBEON - Forms Runner - Size of Multiline Text Boxes

Hank Ratzesberger-2

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
805-893-8042









--
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: ORBEON - Forms Runner - Size of Multiline Text Boxes

Erik Bruchez
Administrator
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
805-893-8042









--
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




--
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: ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
Yes, yes, yes,..... that worked.  thanks.!!

On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

Erik Bruchez
Administrator
Good! (By the way I meant "Try this", not "This this" ;)

-Erik

On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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: Re: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
the next thing my users will want is one set of text boxes 10lines
then another set in another section 15.   

It nevers ends......thanks for the help.

On Mon, Mar 7, 2011 at 8:43 PM, Erik Bruchez <[hidden email]> wrote:
Good! (By the way I meant "Try this", not "This this" ;)

-Erik


On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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




--
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: Re: Re: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

Erik Bruchez
Administrator
Then you need to put distinct classes on the xforms:textarea. E.g.:

<xforms:textarea class="foo" …>
<xforms:textarea class="bar" …>

textarea.foo, .foo textarea { height: 10em; line-height: 1em }
textarea.bar, .bar textarea { height: 15em; line-height: 1em }

-Erik

On Mon, Mar 7, 2011 at 5:47 PM, Dr. Kevin Hunt <[hidden email]> wrote:
the next thing my users will want is one set of text boxes 10lines
then another set in another section 15.   

It nevers ends......thanks for the help.


On Mon, Mar 7, 2011 at 8:43 PM, Erik Bruchez <[hidden email]> wrote:
Good! (By the way I meant "Try this", not "This this" ;)

-Erik


On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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




--
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




--
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: Re: Re: Re: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
I'll play with that and see if I can get it to work.

thanks.

On Wed, Mar 9, 2011 at 12:13 AM, Erik Bruchez <[hidden email]> wrote:
Then you need to put distinct classes on the xforms:textarea. E.g.:

<xforms:textarea class="foo" …>
<xforms:textarea class="bar" …>

textarea.foo, .foo textarea { height: 10em; line-height: 1em }
textarea.bar, .bar textarea { height: 15em; line-height: 1em }

-Erik

On Mon, Mar 7, 2011 at 5:47 PM, Dr. Kevin Hunt <[hidden email]> wrote:
the next thing my users will want is one set of text boxes 10lines
then another set in another section 15.   

It nevers ends......thanks for the help.


On Mon, Mar 7, 2011 at 8:43 PM, Erik Bruchez <[hidden email]> wrote:
Good! (By the way I meant "Try this", not "This this" ;)

-Erik


On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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




--
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




--
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




--
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: Re: Re: Re: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

khh7112
In reply to this post by Erik Bruchez
yep, got that to work also.  thanks again

On Wed, Mar 9, 2011 at 12:13 AM, Erik Bruchez <[hidden email]> wrote:
Then you need to put distinct classes on the xforms:textarea. E.g.:

<xforms:textarea class="foo" …>
<xforms:textarea class="bar" …>

textarea.foo, .foo textarea { height: 10em; line-height: 1em }
textarea.bar, .bar textarea { height: 15em; line-height: 1em }

-Erik

On Mon, Mar 7, 2011 at 5:47 PM, Dr. Kevin Hunt <[hidden email]> wrote:
the next thing my users will want is one set of text boxes 10lines
then another set in another section 15.   

It nevers ends......thanks for the help.


On Mon, Mar 7, 2011 at 8:43 PM, Erik Bruchez <[hidden email]> wrote:
Good! (By the way I meant "Try this", not "This this" ;)

-Erik


On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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




--
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




--
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




--
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: Re: Re: Re: Re: Re: ORBEON - Forms Runner - Size of Multiline Text Boxes

Erik Bruchez
Administrator
Excellent, thanks for sharing. -Erik

On Wed, Mar 9, 2011 at 4:53 PM, Dr. Kevin Hunt <[hidden email]> wrote:
yep, got that to work also.  thanks again


On Wed, Mar 9, 2011 at 12:13 AM, Erik Bruchez <[hidden email]> wrote:
Then you need to put distinct classes on the xforms:textarea. E.g.:

<xforms:textarea class="foo" …>
<xforms:textarea class="bar" …>

textarea.foo, .foo textarea { height: 10em; line-height: 1em }
textarea.bar, .bar textarea { height: 15em; line-height: 1em }

-Erik

On Mon, Mar 7, 2011 at 5:47 PM, Dr. Kevin Hunt <[hidden email]> wrote:
the next thing my users will want is one set of text boxes 10lines
then another set in another section 15.   

It nevers ends......thanks for the help.


On Mon, Mar 7, 2011 at 8:43 PM, Erik Bruchez <[hidden email]> wrote:
Good! (By the way I meant "Try this", not "This this" ;)

-Erik


On Mon, Mar 7, 2011 at 4:08 PM, Dr. Kevin Hunt <[hidden email]> wrote:
Yes, yes, yes,..... that worked.  thanks.!!


On Mon, Mar 7, 2011 at 5:16 PM, Erik Bruchez <[hidden email]> wrote:
This this (see line 20):


-Erik

On Fri, Mar 4, 2011 at 1:15 PM, Hank Ratzesberger <[hidden email]> wrote:

Hi Kevin,

I think it is meant that you can define or include CSS class styles and these will 
be applied to the created control

<style type="text/css">
.line10 { height: 5em; }
</style>

 <xforms:textarea class="line10" xmlns:xbl="http://www.w3.org/ns/xbl"

                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">

Let us know if that is it.  But sorry, I don't know how to get exactly 10 lines as 
you can with html.

--Hank

On Mar 3, 2011, at 9:51 AM, Dr. Kevin Hunt wrote:

I'm sorry, this is all new to me.  I read the document and it says edit the source to add class tags in my own style section of the form.  Below is a simple form that only has one multi-line text box, I named "multiline".  I still have no idea where/how to tell the multiline widget to be 10lines tall.

<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
            xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:pipeline="java:org.orbeon.oxf.processor.pipeline.PipelineFunctionLibrary"
            xmlns:p="http://www.orbeon.com/oxf/pipeline"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:odt="http://orbeon.org/oxf/xml/datatypes"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <xhtml:head>
        <xhtml:title>Aimple Text Box Size</xhtml:title>
        <xforms:model id="fr-form-model">

           
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <multiline/>
                        <control-3/>
                    </section-1>
                </form>
            </xforms:instance>

           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-3-bind" nodeset="control-3" name="control-3"/>
                    <xforms:bind id="multiline-bind" nodeset="multiline" name="multiline"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>test</application-name>
                    <form-name>test3</form-name>
                    <title xml:lang="en">Aimple Text Box Size</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>

           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>

           
           
            <xforms:instance id="fr-form-resources" xxforms:readonly="false">
                <resources>
                    <resource xml:lang="en">
                        <multiline>
                            <label>multiline</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </multiline>
                        <section-1>
                            <label>Simple Text Box</label>
                            <help/>
                        </section-1>
                        <control-3>
                            <label/>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-3>
                    </resource>
                </resources>
            </xforms:instance>

           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>

            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
            <xforms:instance id="test-instance" class="fr-service" xxforms:exclude-result-prefixes="#all">
                <body>&lt;name&gt;&lt;/name&gt;</body>
            </xforms:instance>
            <xforms:submission id="test-submission" class="fr-service"
                               ref="instance('fr-service-request-instance')"
                               resource="http://jarjar.trnswrks.com/test/test.jsp"
                               method="get"
                               serialization="application/x-www-form-urlencoded"
                               mediatype="application/x-www-form-urlencoded"
                               replace="instance"
                               instance="fr-service-response-instance"/>

        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="1">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:textarea xmlns:xbl="http://www.w3.org/ns/xbl"
                                                 xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
                                                 bind="multiline-bind"
                                                 id="multiline-control">
                                    <xforms:label ref="$form-resources/multiline/label"/>
                                    <xforms:hint ref="$form-resources/multiline/hint"/>
                                    <xforms:help ref="$form-resources/multiline/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:textarea>
                               
                            </xhtml:td>
                           
                        </xhtml:tr>
                        <xhtml:tr>
                            <xhtml:td xmlns:xbl="http://www.w3.org/ns/xbl"
                                      xmlns:fb="http://orbeon.org/oxf/xml/form-builder">
                                <xforms:trigger appearance="minimal" id="control-3-control" bind="control-3-bind">
                                    <xforms:label ref="$form-resources/control-3/label"/>
                                    <xforms:help ref="$form-resources/control-3/help"/>
                                    <xforms:hint ref="$form-resources/control-3/hint"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:trigger>
                            </xhtml:td>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>

On Thu, Mar 3, 2011 at 2:26 AM, Erik Bruchez <[hidden email]> wrote:
This is possible with CSS. See:


-Erik

On Tue, Mar 1, 2011 at 9:35 AM, Dr. Kevin Hunt <[hidden email]> wrote:
I have create a form in form-builder with several multiline text boxes. 

When the form is deployed, only three lines of the text is on the screen and the scroll bars have to be used to see the rest.
Is there a way to control the size of the multi-line text boxes?  I would like them to be at least 10lines


--
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




--
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



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

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
6707 Ellison Hall
University of California, Santa Barbara
<a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank"><a href="tel:805-893-8042" target="_blank">805-893-8042









--
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




--
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




--
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




--
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




--
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




--
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




--
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




--
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