html editor does not accept empty SPANs [message #159122] |
Mon, 06 February 2006 06:42  |
Eclipse User |
|
|
|
Originally posted by: rpiterman.gmx.net
Hi,
The html editor currently does not accept empty SPAN elements.
So,
If you write:
<div>
<span jwcid="..."/>
</ <-- here it will autocomplete close the SPAN instead of the DIV.
when editing tapestry templates this is really annoying.
Is there anything I can do to "convince" the html editor to accept the
empty SPANs?
Cheers,
Ron
|
|
|
|
|
Re: html editor does not accept empty SPANs [message #159366 is a reply to message #159304] |
Tue, 07 February 2006 08:23   |
Eclipse User |
|
|
|
Originally posted by: rpiterman.gmx.net
yes, i do use it for editing tapestry templates, but even without
tapestry, there could be situations where one uses empty spans for
layout (like defining background image and min size aso) -
also, I can not imagine why eclipse should not simply understand the />
at the end of the span - its empty basta ! :)
writing </span> instead of /> is a solution but not a pleasing one.
thaxn,
Ron
David Williams wrote:
> On Mon, 06 Feb 2006 06:42:59 -0500, Ron <rpiterman@gmx.net> wrote:
>
>>
>> Is there anything I can do to "convince" the html editor to accept the
>> empty SPANs?
>>
>
> No. It's driven by the DTD definition of SPAN, which I believe, if I
> remember how to
> read these, it is not omissable.
>
> <!ELEMENT SPAN - - (%inline;)*
>
> I am curious ... if there's nothing to "span", what good is the span tag?
>
> I assume that's related to "tapestry templates"? (pardon my ignorance, but
> what are those?)
>
>
>
>
|
|
|
|
Re: html editor does not accept empty SPANs [message #159378 is a reply to message #159318] |
Tue, 07 February 2006 08:24  |
Eclipse User |
|
|
|
Originally posted by: rpiterman.gmx.net
Andy Pahne wrote:
>
>
> Yes, it's Tapestry related. You recognize this by the jwcid attribute.
>
> You could always write:
> <span jwcid=""></span>
>
> Or you could use Spindle for Tapestry development with Eclipse.
i use tapestry 4.0 :(
>
> Andy
>
>
> David Williams schrieb:
>
>> On Mon, 06 Feb 2006 06:42:59 -0500, Ron <rpiterman@gmx.net> wrote:
>>
>>>
>>> Is there anything I can do to "convince" the html editor to accept the
>>> empty SPANs?
>>>
>>
>> No. It's driven by the DTD definition of SPAN, which I believe, if I
>> remember how to
>> read these, it is not omissable.
>>
>> <!ELEMENT SPAN - - (%inline;)*
>>
>> I am curious ... if there's nothing to "span", what good is the span tag?
>>
>> I assume that's related to "tapestry templates"? (pardon my ignorance,
>> but
>> what are those?)
>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04726 seconds