For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 4 voices, and was last updated 19 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
Tony HerstellParticipantWith MyElipse 4.1 and tapestry..
I get various errors when geting my code formatted for me using the Cleanup Document or Format tools:
1. in a <SPAN> tag (heavilly used for adding in tapestry contols) I OFTEN get a “)” added…
e.g. <SPAN jwcid=”@Conditional” condition=”ognl:organisationSimpleTreeModel != null”)>
[Note the odd “)” bracket added by the formatter]2. The SPANs do confuse the formatter and marks various errors where it expects tags that are not there…
3. Consecutive <SPAN> are put on one line which makes it unreadable.
Note: 2. may be related to 1.
Note: Adding in the <SPAN> tags where I need to may even break the HTML rules.
Note: The Spindle plugin may be involved somewhere along the line.I can send a typical html page is required.
January 31, 2006 at 3:32 pm #245787
Riyad KallaMemberPlease send us an example page that exhibits the problem to support@genuitec.com ATTN Riyad with a link to this post, I’ll verify it and file it ASAP.
January 31, 2006 at 11:52 pm #245807
Tony HerstellParticipantThis is why I pay for this product.
Great service guys.
Email on the way.February 1, 2006 at 8:05 am #245815
Riyad KallaMemberGot it and replied (wasn’t able to reproduce it).
February 4, 2006 at 6:14 pm #246102
glongmanMember@balanceofpower wrote:
With MyElipse 4.1 and tapestry..
I get various errors when geting my code formatted for me using the Cleanup Document or Format tools:
1. in a <SPAN> tag (heavilly used for adding in tapestry contols) I OFTEN get a “)” added…
e.g. <SPAN jwcid=”@Conditional” condition=”ognl:organisationSimpleTreeModel != null”)>
[Note the odd “)” bracket added by the formatter]2. The SPANs do confuse the formatter and marks various errors where it expects tags that are not there…
3. Consecutive <SPAN> are put on one line which makes it unreadable.
Note: 2. may be related to 1.
Note: Adding in the <SPAN> tags where I need to may even break the HTML rules.
Note: The Spindle plugin may be involved somewhere along the line.I can send a typical html page is required.
Sounds like a cleanup/formt tool outside of Spindle. The Spindle formatter is not capable of ‘adding’ anything to the file.
Geoff
February 6, 2006 at 8:55 pm #246196
Tony HerstellParticipantI seem to have lost the other problems since I rebooted (user error possibly)…
This error still perisists however.
3. Consecutive <SPAN> are put on one line which makes it unreadable.
Are you sure you cannot reproduce this?
February 7, 2006 at 8:51 am #246218
Riyad KallaMemberbalanceofpower,
The spans on multiple lines is intentional, I can reproduce that, but not the mangling of the code.The formatter is fairly simply right now, it tries to put each open tag on it’s own line. We have enhancement requests already to allow adjustment of these settings but at this time there isn’t any adjustments available.
June 17, 2006 at 3:57 pm #253575
hdupreMember@support-rkalla wrote:
balanceofpower,
The spans on multiple lines is intentional, I can reproduce that, but not the mangling of the code.The formatter is fairly simply right now, it tries to put each open tag on it’s own line. We have enhancement requests already to allow adjustment of these settings but at this time there isn’t any adjustments available.
Another issue with the formatter is that tapestry requires its tags to be closed…
for instance
<input jwcid=”@TextField” type=”text” name=”subject” size=”45″ maxlength=”60″ value=”” />the formatter replaces the /> at the end with > so after formatting, the tag becomes invalid for tapestry.
Any chance to fix that?
Henri.
June 18, 2006 at 1:02 am #253577
Riyad KallaMemberHenri,
Can you post a small example file so I can test it with our internal dev build to make sure it isn’t doing this? It should NOT do that, the formatter should just format. If you are using the “Cleanup Document”, that might explain why it’s actually changing content. -
AuthorPosts