Help text for a button

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

Help text for a button

Taras Bahnyuk
I heed to display a help text for a button.

For some reason neither
<xforms:help> nor <xforms:hint> work for a <xforms:trigger>
Is there a way to display a help text, preferably an easy way.

Thanks,
Taras

--
The information contained in this communication and any attachments is confidential
and may be privileged, and is for the sole use of the intended recipient(s). Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please notify the sender immediately by replying to this
message and destroy all copies of this message and any attachments. ASML is neither
liable for the proper and complete transmission of the information contained in this
communication, nor for any delay in its receipt.





--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Help text for a button

Alexander Žaťko
Taras,

Are you sure? I have been using xforms:hint within xforms:trigger and  
it works. You might want to send your form for testing in sandbox.

A.

On Dec 20, 2006, at 6:06 PM, Taras Bahnyuk wrote:

> I heed to display a help text for a button.
>
> For some reason neither
> <xforms:help> nor <xforms:hint> work for a <xforms:trigger>
> Is there a way to display a help text, preferably an easy way.
>
> Thanks,
> Taras
>
> --
> The information contained in this communication and any attachments  
> is confidential
> and may be privileged, and is for the sole use of the intended  
> recipient(s). Any
> unauthorized review, use, disclosure or distribution is prohibited.  
> If you are not
> the intended recipient, please notify the sender immediately by  
> replying to this
> message and destroy all copies of this message and any attachments.  
> ASML is neither
> liable for the proper and complete transmission of the information  
> contained in this
> communication, nor for any delay in its receipt.
>
>
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Help text for a button

Tanya Gray (Oxford)
In reply to this post by Taras Bahnyuk
Hi Taras

one idea is to use an xforms:output element that references an element in your instance, e.g.

<xforms:model>
<xforms:instance ..
..
<element-name help='help text'/>
....

<xforms:output ref='element-name'>
<xforms:help ref='@help'/>
</xforms:element>





>>> [hidden email] 12/20/06 5:06 PM >>>
I heed to display a help text for a button.

For some reason neither
<xforms:help> nor <xforms:hint> work for a <xforms:trigger>
Is there a way to display a help text, preferably an easy way.

Thanks,
Taras

--
The information contained in this communication and any attachments is confidential
and may be privileged, and is for the sole use of the intended recipient(s). Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please notify the sender immediately by replying to this
message and destroy all copies of this message and any attachments. ASML is neither
liable for the proper and complete transmission of the information contained in this
communication, nor for any delay in its receipt.





--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Help text for a button

Taras Bahnyuk
In reply to this post by Alexander Žaťko

This is the shortest example I have:

<?xml version="1.0" encoding="UTF-8"?>
<html
xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <xforms:model id="main-model">
        <xforms:instance id="main-instance">
             <form xmlns=""> </form>
          </xforms:instance>
    </xforms:model>
</head>
<body>
   
<xforms:trigger xhtml:style="width: 320px">
        <xforms:help>Help</xforms:help>
        <xforms:hint>Hint</xforms:hint>
        <xforms:label>Submit</xforms:label>
        <xforms:action ev:event="DOMActivate"></xforms:action>
     </xforms:trigger>
</body>
</html>

This is what I get:

And this is what's produces in the xforms sandbox:

And this is correct.

So only my installation is not working...
Will have to find out why :-)


-----Original Message-----
From: Alexander Zatko [[hidden email]]
Sent: woensdag 20 december 2006 18:30
To: [hidden email]
Subject: Re: [ops-users] Help text for a button

Taras,

Are you sure? I have been using xforms:hint within xforms:trigger and 
it works. You might want to send your form for testing in sandbox.

A.

On Dec 20, 2006, at 6:06 PM, Taras Bahnyuk wrote:


> I heed to display a help text for a button.
>
> For some reason neither
> <xforms:help> nor <xforms:hint> work for a <xforms:trigger>
> Is there a way to display a help text, preferably an easy way.
>
> Thanks,
> Taras
>
> --
> The information contained in this communication and any attachments 
> is confidential
> and may be privileged, and is for the sole use of the intended 
> recipient(s). Any
> unauthorized review, use, disclosure or distribution is prohibited. 
> If you are not
> the intended recipient, please notify the sender immediately by 
> replying to this
> message and destroy all copies of this message and any attachments. 
> ASML is neither
> liable for the proper and complete transmission of the information 
> contained in this
> communication, nor for any delay in its receipt.
>
>
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: [hidden email]
> For general help: [hidden email]
> ObjectWeb mailing lists service home page: http://www.objectweb.org/
> wws



-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.
Reply | Threaded
Open this post in threaded view
|

RE: Help text for a button

Taras Bahnyuk
Please note that even in xforms sandbox there is no Hint displayed next to the submit button, only Help bubble.


From: Taras Bahnyuk [mailto:[hidden email]]
Sent: woensdag 20 december 2006 19:47
To: [hidden email]
Subject: RE: [ops-users] Help text for a button

This is the shortest example I have:

<?xml version="1.0" encoding="UTF-8"?>
<html
xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <xforms:model id="main-model">
        <xforms:instance id="main-instance">
             <form xmlns=""> </form>
          </xforms:instance>
    </xforms:model>
</head>
<body>
   
<xforms:trigger xhtml:style="width: 320px">
        <xforms:help>Help</xforms:help>
        <xforms:hint>Hint</xforms:hint>
        <xforms:label>Submit</xforms:label>
        <xforms:action ev:event="DOMActivate"></xforms:action>
     </xforms:trigger>
</body>
</html>

This is what I get:

And this is what's produces in the xforms sandbox:

And this is correct.

So only my installation is not working...
Will have to find out why :-)


-----Original Message-----
From: Alexander Zatko [[hidden email]]
Sent: woensdag 20 december 2006 18:30
To: [hidden email]
Subject: Re: [ops-users] Help text for a button

Taras,

Are you sure? I have been using xforms:hint within xforms:trigger and 
it works. You might want to send your form for testing in sandbox.

A.

On Dec 20, 2006, at 6:06 PM, Taras Bahnyuk wrote:


> I heed to display a help text for a button.
>
> For some reason neither
> <xforms:help> nor <xforms:hint> work for a <xforms:trigger>
> Is there a way to display a help text, preferably an easy way.
>
> Thanks,
> Taras
>
> --

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.
Reply | Threaded
Open this post in threaded view
|

Re: Help text for a button

Alexander Žaťko
I tested your code by running it in my local OPS and I see the hint as well as help messages (as tooltips) in these combinations of OS/browser:

Mac/Firefox 2.xx
Mac/Opera  9
Mac/Safari 2.04

Windows 2000 Pro/IE 6.0

Maybe it is something with the browser version you are using?

A.


On Dec 20, 2006, at 8:23 PM, Taras Bahnyuk wrote:

Please note that even in xforms sandbox there is no Hint displayed next to the submit button, only Help bubble.


From: Taras Bahnyuk [[hidden email]]
Sent: woensdag 20 december 2006 19:47
To: [hidden email]
Subject: RE: [ops-users] Help text for a button

This is the shortest example I have:

<?xml version="1.0" encoding="UTF-8"?>
<html
xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <xforms:model id="main-model">
        <xforms:instance id="main-instance">
             <form xmlns=""> </form>
          </xforms:instance>
    </xforms:model>
</head>
<body>
   
<xforms:trigger xhtml:style="width: 320px">
        <xforms:help>Help</xforms:help>
        <xforms:hint>Hint</xforms:hint>
        <xforms:label>Submit</xforms:label>
        <xforms:action ev:event="DOMActivate"></xforms:action>
     </xforms:trigger>
</body>
</html>

This is what I get:

<Outlook.jpg>

And this is what's produces in the xforms sandbox:

<Outlook.jpg>

And this is correct.

So only my installation is not working...
Will have to find out why :-)


-----Original Message-----
From: Alexander Zatko [[hidden email]]
Sent: woensdag 20 december 2006 18:30
To: [hidden email]
Subject: Re: [ops-users] Help text for a button

Taras,

Are you sure? I have been using xforms:hint within xforms:trigger and 
it works. You might want to send your form for testing in sandbox.

A.

On Dec 20, 2006, at 6:06 PM, Taras Bahnyuk wrote:


> I heed to display a help text for a button.
>
> For some reason neither
> <xforms:help> nor <xforms:hint> work for a <xforms:trigger>
> Is there a way to display a help text, preferably an easy way.
>
> Thanks,
> Taras
>
> --

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Help text for a button

Erik Bruchez
Administrator
Same here, it seems to work, with the online sandbox as well as with the
latest CVS sandbox.

Taras, I don't think you are saying what version of Orbeon Forms you are
using. Is it recent?

-Erik

Alexander Zatko wrote:

> I tested your code by running it in my local OPS and I see the hint as
> well as help messages (as tooltips) in these combinations of OS/browser:
>
> Mac/Firefox 2.xx
> Mac/Opera  9
> Mac/Safari 2.04
>
> Windows 2000 Pro/IE 6.0
>
> Maybe it is something with the browser version you are using?
>
> A.
>
>
> On Dec 20, 2006, at 8:23 PM, Taras Bahnyuk wrote:
>
>> Please note that even in xforms sandbox there is no Hint displayed
>> next to the submit button, only Help bubble.
>>
>> ------------------------------------------------------------------------
>> *From:* Taras Bahnyuk [mailto:[hidden email]]
>> *Sent:* woensdag 20 december 2006 19:47
>> *To:* [hidden email] <mailto:[hidden email]>
>> *Subject:* RE: [ops-users] Help text for a button
>>
>> This is the shortest example I have:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <html xsl:version="2.0"
>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> xmlns:xforms="http://www.w3.org/2002/xforms"
>> xmlns:xhtml="http://www.w3.org/1999/xhtml"
>> xmlns:ev="http://www.w3.org/2001/xml-events"
>> xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>>     <xforms:model id="main-model">
>>         <xforms:instance id="main-instance">
>>              <form xmlns=""> </form>
>>           </xforms:instance>
>>     </xforms:model>
>> </head>
>> <body>
>>     <xforms:trigger xhtml:style="width: 320px">
>>         <xforms:help>Help</xforms:help>
>>         <xforms:hint>Hint</xforms:hint>
>>         <xforms:label>Submit</xforms:label>
>>         <xforms:action ev:event="DOMActivate"></xforms:action>
>>      </xforms:trigger>
>> </body>
>> </html>
>>
>> This is what I get:
>>
>> <Outlook.jpg>
>>
>> And this is what's produces in the xforms sandbox:
>>
>> <Outlook.jpg>
>>
>> And this is correct.
>>
>> So only my installation is not working...
>> Will have to find out why :-)
>>
>>
>> -----Original Message-----
>> From: Alexander Zatko [mailto:[hidden email]]
>> Sent: woensdag 20 december 2006 18:30
>> To: [hidden email] <mailto:[hidden email]>
>> Subject: Re: [ops-users] Help text for a button
>>
>> Taras,
>>
>> Are you sure? I have been using xforms:hint within xforms:trigger and
>> it works. You might want to send your form for testing in sandbox.
>>
>> A.
>>
>> On Dec 20, 2006, at 6:06 PM, Taras Bahnyuk wrote:
>>
>> > I heed to display a help text for a button.
>> >
>> > For some reason neither
>> > <xforms:help> nor <xforms:hint> work for a <xforms:trigger>
>> > Is there a way to display a help text, preferably an easy way.
>> >
>> > Thanks,
>> > Taras
>> >
>> > --
>>
>>
>> -- The information contained in this communication and any attachments
>> is confidential and may be privileged, and is for the sole use of the
>> intended recipient(s). Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the intended recipient,
>> please notify the sender immediately by replying to this message and
>> destroy all copies of this message and any attachments. ASML is
>> neither liable for the proper and complete transmission of the
>> information contained in this communication, nor for any delay in its
>> receipt.
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws