Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » html editor does not accept empty SPANs
html editor does not accept empty SPANs [message #159122] Mon, 06 February 2006 06:42 Go to next message
Eclipse UserFriend
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 #159304 is a reply to message #159122] Tue, 07 February 2006 00:46 Go to previous messageGo to next message
Eclipse UserFriend
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 #159318 is a reply to message #159304] Tue, 07 February 2006 05:23 Go to previous messageGo to next message
Eclipse UserFriend
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.

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?)
>
>
>
>
Re: html editor does not accept empty SPANs [message #159366 is a reply to message #159304] Tue, 07 February 2006 08:23 Go to previous messageGo to next message
Eclipse UserFriend
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 #159373 is a reply to message #159304] Tue, 07 February 2006 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rpiterman.gmx.net

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

take a look at http://jakarta.apache.org/tapestry most people keep
coming back...


>
>
>
>
Re: html editor does not accept empty SPANs [message #159378 is a reply to message #159318] Tue, 07 February 2006 08:24 Go to previous message
Eclipse UserFriend
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?)
>>
>>
>>
>>
Previous Topic:Turn off validation for a folder?
Next Topic:JBoss 4 serverdef in 1.0.1 !
Goto Forum:
  


Current Time: Sun Mar 16 00:01:07 EDT 2025

Powered by FUDForum. Page generated in 0.04726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top