[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7122) booking22 & booking22-test example has 3 error markers in html
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Thu Sep 30 10:14:41 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Snjezana Peco resolved JBIDE-7122.
----------------------------------
Fix Version/s: 3.2.0.Beta2
Resolution: Done
> booking22 & booking22-test example has 3 error markers in html
> --------------------------------------------------------------
>
> Key: JBIDE-7122
> URL: https://jira.jboss.org/browse/JBIDE-7122
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: project-examples
> Affects Versions: 3.2.0.M2
> Reporter: Vitali Yemialyanchyk
> Assignee: Snjezana Peco
> Priority: Minor
> Fix For: 3.2.0.Beta2
>
>
> introExp.html: The element type "INPUT" must be terminated by the matching end-tag "</INPUT>".
> workspaceExp.html: The element type "INPUT" must be terminated by the matching end-tag "</INPUT>".
> mainExp.html: Multiple annotations found at this line:
> - The entity name must immediately follow the '&' in the entity reference.
> - Invalid character used in text string ( @Stateful @Name("hotelSearch") @Scope(ScopeType.SESSION)
> @LoggedIn public class HotelSearchingAction implements HotelSearching { @PersistenceContext private EntityManager
> em; private String searchString; private int pageSize = 10; private int page; @DataModel private List<Hotel> hotels; public
> void find() { page = 0; queryHotels(); } public void nextPage() { page++; queryHotels(); } private void queryHotels()
> { hotels = em.createQuery("select h from Hotel h where lower(h.name) " + "like #{pattern} or lower(h.city) like #{pattern} "
> + "or lower(h.zip) like #{pattern} or " + "lower(h.address) like #{pattern}") .setMaxResults(pageSize) .setFirstResult( page *
> pageSize ) .getResultList(); } public boolean isNextPageAvailable() { return hotels!=null && hotels.size()==pageSize; }
> public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize = pageSize; } @Factory
> (value="pattern", scope=ScopeType.EVENT) public String getSearchPattern() { return searchString==null ? "%" : '%' +
> searchString.toLowerCase().replace('*', '%') + '%'; } public String getSearchString() { return searchString; } public void
> setSearchString(String searchString) { this.searchString = searchString; } @Remove public void destroy() {} }).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list