Reply To: Compile time checks?

Splash Forums PrettyFaces Users Compile time checks? Reply To: Compile time checks?

#24794

Robert
Participant

Thanks for your input.

I guess I want to avoid copy & paste errors mostly… we have some URLs that use the same backing bean, like this:

@com.ocpsoft.pretty.faces.annotation.URLMappings(mappings = {
    @com.ocpsoft.pretty.faces.annotation.URLMapping(
        id = Node.MAPPING_RCPTS,
        pattern = Node.URL_PATTERN + "recipients/",
        viewId = Node.THE_PAGE),
    @com.ocpsoft.pretty.faces.annotation.URLMapping(
        id = Node.MAPPING_DELIVERED,
        pattern = Node.URL_PATTERN + "delivered/",
        viewId = Node.THE_PAGE),
    @com.ocpsoft.pretty.faces.annotation.URLMapping(
        id = Node.MAPPING_BOUNCED,
        pattern = Node.URL_PATTERN + "bounced/",
        viewId = Node.THE_PAGE)
})

My experience with Arquillian is limited (and really bad)… guess I can give it another try.

Robert