i need to display tooltip in upload button in ops3.5.1

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

i need to display tooltip in upload button in ops3.5.1

Laxmi Narayana-3
Hi,
 
 i am using ops3.5.1. I need to display tooltip for upload button if the url size is morethan30 charcters only.
how it is in xforms plz help me.
my upload code is like this .
    <xforms:upload ref="instance('main-instance')/file">
                <xforms:filename ref="@filename">asdasd</xforms:filename>
               <xforms:mediatype ref="@mediatype"/>
                <xxforms:size ref="@size"/>
           </xforms:upload>
   
          thanks and regards,
Laxminarayana 
       
  


--
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: i need to display tooltip in upload button in ops3.5.1

Alessandro Vernet
Administrator
Laxminarayana,

On Sat, Mar 15, 2008 at 12:43 AM, Laxmi Narayana <[hidden email]> wrote:
>  i am using ops3.5.1. I need to display tooltip for upload button if the url
> size is morethan30 charcters only.
> how it is in xforms plz help me.
> my upload code is like this .
>     <xforms:upload ref="instance('main-instance')/file">
>                 <xforms:filename ref="@filename">asdasd</xforms:filename>
>                 <xforms:mediatype ref="@mediatype"/>
>                 <xxforms:size ref="@size"/>
>            </xforms:upload>

You means: if the file name has more than 30 character; right? You can
do this with an <xforms:bind constraint="30 >
string-length(instance('main-instance')/file/@filename)"/> and have an
<xforms:alert> on the upload control telling users what the problem
is. But maybe it would be even better to provide a way for users to
rename the file after it has been uploaded. Other users will have to
rename the file locally and upload it again.

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


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