Unwanted label

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

Unwanted label

StephR
I have fighting about this for a while and I think that I have finally found the problem :

In my xform, I have the following :

<xforms:output ref="date" /> / <xforms:output ref="contributors" />

Example : Friday November 23, 2007 / Mac Gyver

The problem, is that I think that the latest build of orbeon adds labels for error handling, no ? Because if I check the source code on my client web browser :

 ... Friday November 23, 2007 <label class="xforms-alert-inactive xforms-alert" for="xforms-element-43·1"></label> /

You see that my date ends... a label starts, closes, and the the "/" comes. The problem is that I have a big blank space now between the two! (See attached image).

Is there anyway to remove the space? CSS styling?

Reply | Threaded
Open this post in threaded view
|

Re: Unwanted label

StephR
Sorry for the several posts... there was a problem with the image.
Reply | Threaded
Open this post in threaded view
|

Re: Unwanted label

StephR
In reply to this post by StephR
Well I have a solution to it... but I don't know if is it really elegant :

.viewNews .xforms-alert {
  display: none;
}

in my css file... viewNews is only a parent class.

What do you think ?

StephR a écrit :
I have fighting about this for a while and I think that I have finally found
the problem :

In my xform, I have the following :

<xforms:output ref="date" /> / <xforms:output ref="contributors" />

Example : Friday November 23, 2007 / Mac Gyver

The problem, is that I think that the latest build of orbeon adds labels for
error handling, no ? Because if I check the source code on my client web
browser : 

Friday November 23, 2007 <label class="xforms-alert-inactive xforms-alert"
for="xforms-element-43·1"></label> / 
  


--
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: Unwanted label

Erik Bruchez
Administrator
Yes you can do this to completely hide the alert.

-Erik

Stephane Ruchet wrote:

> Well I have a solution to it... but I don't know if is it really elegant :
>
> .viewNews .xforms-alert {
>   display: none;
> }
>
> in my css file... viewNews is only a parent class.
>
> What do you think ?
>
> StephR a écrit :
>> I have fighting about this for a while and I think that I have finally found
>> the problem :
>>
>> In my xform, I have the following :
>>
>> <xforms:output ref="date" /> / <xforms:output ref="contributors" />
>>
>> Example : Friday November 23, 2007 / Mac Gyver
>>
>> The problem, is that I think that the latest build of orbeon adds labels for
>> error handling, no ? Because if I check the source code on my client web
>> browser :
>>
>> Friday November 23, 2007 <label class="xforms-alert-inactive xforms-alert"
>> for="xforms-element-43·1"></label> /
>>  

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