[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3766) Validation of id attribues in JSP and XHTML for JSF components.

arne anka (JIRA) jira-events at lists.jboss.org
Sat Feb 7 13:00:54 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12451663#action_12451663 ] 

arne anka commented on JBIDE-3766:
----------------------------------

i am not sure. we are on the same page, but ...

> Afaik, the Run as... on the server actually ask if you really want to do that if there are errors in the project. That is very useful to track down issues while developing.

yes, indeed.

> Just because the validator report issues I do not see the reason why we should prevent you from deploying the application to the server ?

well, that's my problem -- the validator does not warn. there are no error marks or the likes.
whatever it validates (i mostly of it existence by the little progressbar bottom left saying something about the validator running), it does not warn about either java errors nor errors in xhtml/jsp. everything is nice and shiny and next thing i know jboss throws long exceptions.
i implicitly assumed, it was something the validator did not check at all, but from your answers i think it should, but doesn't for some reason.

> About Duplicate id's then that is something the validator could do similar to https://jira.jboss.org/jira/browse/JBIDE-1480

i don't think, they are related. 
the tools know about the pages in the project and their relationships, i assume. so before deploying already a check could be done of the same kind jboss does -- and which makes jboss throw its exceptions.
that said: i don't know about the internals of validating and from a developer's point of view it might be the same issue ...

> Validation of id attribues in JSP and XHTML for JSF components.
> ---------------------------------------------------------------
>
>                 Key: JBIDE-3766
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3766
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 3.0.0.GA
>            Reporter: arne anka
>            Assignee: Alexey Kazakov
>             Fix For: 3.1.0
>
>
> tools should check for several things before or upon depolyment.
> for instance i had today several cases of duplicate ids in xhtml -- errors of this kind should be detected by tools already, not by the server, triggering a new fix-deploy-circle which is not that fast ...
> i see that mostly with duplicate ids, incomplete el expressions und stuff like that, which the validator should detect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list