Author: alexoree
Date: Mon Feb 10 04:01:46 2014
New Revision: 1566499

URL: http://svn.apache.org/r1566499
Log:
JUDDI-812 added tooltips for all find qualifiers

Modified:
    
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
    
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
    juddi/trunk/juddi-gui/src/main/webapp/search.jsp

Modified: 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties?rev=1566499&r1=1566498&r2=1566499&view=diff
==============================================================================
--- 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
 (original)
+++ 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web.properties
 Mon Feb 10 04:01:46 2014
@@ -409,3 +409,25 @@ errors.subscription.alertcriteriainvalid
 errors.subscription.relatedbiz=Related Business is not supported for single 
item subscriptions.
 pages.bindingeditor.title=Binding Editor
 actions.delete.binding=Binding deleted successfully.
+andAllKeys=This changes the behavior for identifierBag to AND keys rather than 
OR them. This is already the default for categoryBag and tModelBag.
+approximateMatch=Wildcard searches, use _ for single character matches, % for 
multiple character matches.
+binarySort=This qualifier allows for greater speed in sorting. It causes a 
binary sort by name, as represented in Unicode codepoints.
+bindingSubset=This is used in the find_business API or the find_service API 
and is used only in conjunction with a categoryBag argument. It causes the 
component of the search that involves categorization to use only the 
categoryBag elements from contained bindingTemplate elements within the 
registered data and ignores any entries found in the categoryBag which are not 
direct descendent elements of registered businessEntity elements or 
businessService elements.
+caseInsensitiveMatch=Signifies that the matching behavior for name, keyValue 
and keyName (where applicable) should be performed without regard to case.
+caseInsensitiveSort=Signifies that the result set should be sorted without 
regard to case. This overrides the default case sensitive sorting behavior (Not 
supported by jUDDI).
+caseSensitiveMatch=Signifies that the matching behavior for name, keyValue and 
keyName (where applicable) should be performed with regard to case. This is the 
default behavior.
+caseSensitiveSort=Signifies that the result set should be sorted with regard 
to case. This is the default behavior.
+combineCategoryBags=This may only be used in the find_business and 
find_service calls. In the case of find_business, this qualifier makes the 
categoryBag entries for the full businessEntity element behave as though all 
categoryBag elements found at the businessEntity level and in all contained or 
referenced businessService elements and bindingTemplate elements were combined.
+diacriticInsensitiveMatch=Signifies that matching behavior for name, keyValue 
and keyName (where applicable) should be performed without regard to 
diacritics. Support for this findQualifier by nodes is optional.
+UTS-10=This is used to cause sorting of results based on the Unicode Collation 
Algorithm on elements normalized according to Unicode Normalization Form C.
+suppressProjectedServices=Signifies that service projections MUST NOT be 
returned by the find_service or find_business APIs with which this 
findQualifier is associated. This findQualifier is automatically enabled by 
default whenever find_service is used without a businessKey.
+sortByDateDesc=Causes the result set returned by a find_xx or get_xx inquiry 
call to be sorted based on the most recent date when each entity, or any 
entities they contain, were last updated, in descending chronological order 
(most recently changed are returned first.
+sortByDateAsc=Causes the result set returned by a find_xx or get_xx inquiry 
call to be sorted based on the most recent date when each entity, or any 
entities they contain, were last updated, in ascending chronological order 
(oldest are returned first).
+sortByNameDesc=Causes the result set returned by a find_xx or get_xx inquiry 
call to be sorted on the name field in descending order.
+sortByNameAsc=Causes the result set returned by a find_xx or get_xx inquiry 
APIs to be sorted on the name field in ascending order.
+serviceSubset=This is used only with the find_business API and is used only in 
conjunction with a categoryBag argument. 
+orLikeKeys=When a bag container (i.e. categoryBag or identifierBag) contains 
multiple keyedReference elements, any keyedReference filters that come from the 
same namespace (e.g. have the same tModelKey value) are OR\u2019d together 
rather than AND\u2019d. 
+orAllKeys=This changes the behavior for tModelBag and categoryBag to OR the 
keys within a bag, rather than to AND them.
+signaturePresent=This is used with any find_xx API to restrict the result set 
to entities which either contain an XML Digital Signature element, or are 
contained in an entity which contains one.
+exactMatch=Signifies that only entries with names, keyValues and keyNames 
(where applicable) that exactly match the name argument passed in, after 
normalization, will be returned.
+diacriticSensitiveMatch=Signifies that the matching behavior for name, 
keyValue and keyName (where applicable) should be performed with regard to 
diacritics. This is the default behavior.

Modified: 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties?rev=1566499&r1=1566498&r2=1566499&view=diff
==============================================================================
--- 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
 (original)
+++ 
juddi/trunk/juddi-gui/src/main/resources/org/apache/juddi/webconsole/resources/web_es.properties
 Mon Feb 10 04:01:46 2014
@@ -412,3 +412,25 @@ errors.subscription.alertcriteriainvalid
 errors.subscription.relatedbiz=Empresas relacionadas no se admite para las 
suscripciones de un solo art\u00edculo.
 pages.bindingeditor.title=Encuadernaci\u00f3n Editor
 actions.delete.binding=Encuadernaci\u00f3n eliminado correctamente.
+andAllKeys=Act\u00faa sobre el comportamiento de identifierBag a AND claves en 
lugar de OR ellos. Esto ya es el predeterminado para categoryBag y tModelBag.
+approximateMatch=Las b\u00fasquedas con comodines, use _ de los partidos de un 
solo car\u00e1cter, car\u00e1cter% para varias coincidencias.
+binarySort=Este calificador permite una mayor velocidad en la 
clasificaci\u00f3n. Causa una ordenaci\u00f3n binario por su nombre, como se 
representa en los puntos de c\u00f3digo Unicode.
+bindingSubset=Esto se utiliza en la API de find_business o la API find_service 
y s\u00f3lo se utiliza en conjunci\u00f3n con un argumento categoryBag. Hace 
que el componente de la b\u00fasqueda que implica la categorizaci\u00f3n de 
utilizar s\u00f3lo los elementos categoryBag de elementos bindingTemplate 
contenidas dentro de los datos registrados y pasa por alto los registros 
encontrados en el categoryBag que no constituyen elementos descendientes 
directos de los elementos BusinessEntity registradas o elementos 
BusinessService.
+caseInsensitiveMatch=Significa que el comportamiento de la coincidencia de 
nombre, keyValue y keyName (en su caso) debe ser realizada sin tener en cuenta 
el caso.
+caseInsensitiveSort=Significa que el conjunto de resultados se debe ordenar, 
sin relaci\u00f3n con el caso. Esto reemplaza el comportamiento de 
ordenaci\u00f3n sensible caso por defecto (no admitida en jUDDI).
+caseSensitiveMatch=Significa que el comportamiento de la coincidencia de 
nombre, keyValue y keyName (en su caso) se debe realizar en relaci\u00f3n con 
el caso. Este es el comportamiento predeterminado.
+caseSensitiveSort=Significa que el conjunto de resultados se debe ordenar con 
respecto al caso. Este es el comportamiento predeterminado.
+combineCategoryBags=Esto s\u00f3lo se puede utilizar en los find_business y 
find_service llamadas. En el caso de find_business, este calificador hace que 
las entradas categoryBag para el elemento businessEntity completo se comportan 
como si se combinaron todos los elementos categoryBag que se encuentran en el 
nivel businessEntity y en todos los elementos BusinessService contenidos o 
referidos y elementos bindingTemplate.
+diacriticInsensitiveMatch=Significa que la adecuaci\u00f3n de la conducta para 
el nombre, keyValue y keyName (en su caso) se deben realizar sin tener en 
cuenta los signos diacr\u00edticos. El apoyo a esta findQualifier por los nodos 
es opcional.
+UTS-10=Esto se utiliza para hacer que la clasificaci\u00f3n de los resultados 
sobre la base del Algoritmo de clasificaci\u00f3n de Unicode en elementos 
normalizados de acuerdo con el formulario de normalizaci\u00f3n Unicode C.
+suppressProjectedServices=Significa que las proyecciones de servicios, no 
deber\u00e1n ser devueltos por el find_service o APIs find_business al que 
est\u00e1 asociado este findQualifier. Esta findQualifier se habilita 
autom\u00e1ticamente de forma predeterminada siempre find_service se utiliza 
sin businessKey.
+sortByDateDesc=Hace que el conjunto de resultados devuelto por una llamada de 
consulta o find_xx get_xx que ser resuelto sobre la base de la fecha m\u00e1s 
reciente en que cada entidad o las entidades que contienen, corresponden al 
a\u00f1o, en orden cronol\u00f3gico descendente (la \u00faltima vez cambiado se 
devuelven primero.
+sortByDateAsc=Hace que el conjunto de resultados devuelto por una llamada de 
consulta o find_xx get_xx que ser resuelto sobre la base de la fecha m\u00e1s 
reciente en que cada entidad o las entidades que contienen, corresponden al 
a\u00f1o, en orden cronol\u00f3gico ascendente (el m\u00e1s antiguo se 
devuelven primero).
+sortByNameDesc=Hace que el conjunto de resultados devuelto por una llamada de 
consulta o find_xx get_xx que ser resuelto en el campo de nombre en orden 
descendente.
+sortByNameAsc=Hace que el conjunto de resultados devuelto por un find_xx o las 
API de consulta get_xx que ser resuelto en el campo de nombre en orden 
ascendente.
+serviceSubset=Esto s\u00f3lo se utiliza con la API find_business y s\u00f3lo 
se utiliza en conjunci\u00f3n con un argumento categoryBag.
+orLikeKeys=Cuando un recipiente de bolsa (es decir categoryBag o 
identifierBag) contiene varios elementos keyedReference, cualquier filtro 
keyedReference que provienen del mismo espacio de nombres (por ejemplo, tienen 
el mismo valor tModelKey) se OR'd juntos en lugar de AND'd.
+orAllKeys=Esto cambia el comportamiento de tModelBag y categoryBag a OR las 
llaves dentro de una bolsa, en lugar de a ellos y yo.
+signaturePresent=Se utiliza con cualquier API find_xx para restringir el 
conjunto de resultados a las entidades que, o bien contienen un elemento XML 
Digital Signature, o contenidos en una entidad que contiene una.
+exactMatch=Significa que s\u00f3lo las entradas con nombres, keyValues 
\u200b\u200by nombres de clave (en su caso) que coincide exactamente con el 
nombre del argumento que se pasa en, despu\u00e9s de la normalizaci\u00f3n, se 
devolver\u00e1n.
+diacriticSensitiveMatch=Significa que el comportamiento de la coincidencia de 
nombre, keyValue y keyName (en su caso) se debe realizar con respecto a los 
signos diacr\u00edticos. Este es el comportamiento predeterminado.

Modified: juddi/trunk/juddi-gui/src/main/webapp/search.jsp
URL: 
http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/search.jsp?rev=1566499&r1=1566498&r2=1566499&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/search.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/search.jsp Mon Feb 10 04:01:46 2014
@@ -11,214 +11,353 @@
 <%@include file="header-top.jsp" %>
 <div class="container">
 
-    <!-- Main hero unit for a primary marketing message or call to action -->
-    <div class="well" >
-        <h1><%= ResourceLoader.GetResource(session, "navbar.search")%> </h1>
-    </div>
-
-    <!-- Example row of columns -->
-    <div class="row">
-        <div class="span12" >
-
-
-            <%
-                UddiHub x = UddiHub.getInstance(application, 
request.getSession());
-
-            %>
-            <div class="accordion" id="accordion2">
-                <div class="accordion-group">
-                    <div class="accordion-heading">
-                        <a class="accordion-toggle" data-toggle="collapse" 
data-parent="#accordion2" href="#collapseOne">
-                            <b><%= ResourceLoader.GetResource(session, 
"navbar.search")%> !</b>
-                        </a>
+     <!-- Main hero unit for a primary marketing message or call to action -->
+     <div class="well" >
+          <h1><%= ResourceLoader.GetResource(session, "navbar.search")%> </h1>
+     </div>
+
+     <!-- Example row of columns -->
+     <div class="row">
+          <div class="span12" >
+
+
+               <%
+                    UddiHub x = UddiHub.getInstance(application, 
request.getSession());
+
+               %>
+               <div class="accordion" id="accordion2">
+                    <div class="accordion-group">
+                         <div class="accordion-heading">
+                              <a class="accordion-toggle" 
data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+                                   <b><%= ResourceLoader.GetResource(session, 
"navbar.search")%> !</b>
+                              </a>
+                         </div>
+                         <div id="collapseOne" class="accordion-body collapse 
in">
+                              <div class="accordion-inner">
+                                   <%= ResourceLoader.GetResource(session, 
"search.wrylf")%><Br>
+                                   <div class="btn-group" id="searchfor" 
data-toggle="buttons-radio">
+                                        <button type="button" class="btn 
active" value="business"><%= ResourceLoader.GetResource(session, 
"items.business")%></button>
+                                        <!--<button type="button" class="btn " 
>Related Business</button>-->
+                                        <button type="button" class="btn " 
value="service"><%= ResourceLoader.GetResource(session, 
"items.service")%></button>
+                                        <button type="button" class="btn " 
value="bindingTemplate"><%= ResourceLoader.GetResource(session, 
"items.bindingtemplate")%></button>
+                                        <button type="button" class="btn " 
value="tModel"><%= ResourceLoader.GetResource(session, 
"items.tmodel")%></button>
+                                   </div><br><Br>
+                                   <%= ResourceLoader.GetResource(session, 
"search.criteria")%><br>
+                                   <div class="btn-group" id="searchcriteria" 
data-toggle="buttons-radio">
+                                        <button type="button" class="btn 
active" value="name"><%= ResourceLoader.GetResource(session, 
"search.criteria.byname")%></button>
+                                        <button type="button" class="btn " 
value="category"><%= ResourceLoader.GetResource(session, 
"search.criteria.bycategory")%></button>
+                                        <button type="button" class="btn " 
value="key"><%= ResourceLoader.GetResource(session, 
"search.criteria.bykey")%></button>
+                                        <button type="button" class="btn " 
value="tmodel"><%= ResourceLoader.GetResource(session, 
"search.criteria.bytmodel")%></button>
+                                   </div><br>
+                                   <%=ResourceLoader.GetResource(session, 
"items.findqualifiers")%><br>
+
+                                   <div style=" float:left; padding: 2px">
+
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.AND_ALL_KEYS%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
id="<%=UDDIConstants.AND_ALL_KEYS%>" name="<%=UDDIConstants.AND_ALL_KEYS%>" 
value="<%=UDDIConstants.AND_ALL_KEYS%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.AND_ALL_KEYS))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.AND_ALL_KEYS%></a></div>
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.APPROXIMATE_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
id="<%=UDDIConstants.APPROXIMATE_MATCH%>" 
name="<%=UDDIConstants.APPROXIMATE_MATCH%>" 
value="<%=UDDIConstants.APPROXIMATE_MATCH%>" checked="checked"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.APPROXIMATE_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.APPROXIMATE_MATCH%></a></div>
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.BINARY_SORT%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
id="<%=UDDIConstants.BINARY_SORT%>" name="<%=UDDIConstants.BINARY_SORT%>" 
value="<%=UDDIConstants.BINARY_SORT%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.BINARY_SORT))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.BINARY_SORT%></a></div>
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.BINDING_SUBSET%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
id="<%=UDDIConstants.BINDING_SUBSET%>" name="<%=UDDIConstants.BINDING_SUBSET%>" 
value="<%=UDDIConstants.BINDING_SUBSET%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.BINDING_SUBSET))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.BINDING_SUBSET%></a></div>
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
id="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>" 
name="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>" 
value="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>"  checked="checked"> <a 
href="#" data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.CASE_INSENSITIVE_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.CASE_INSENSITIVE_MATCH%></a></div>
+                                   </div>
+                                   <div style=" float:left; padding: 2px">
+                                        <div ><div class="hide warning" 
id="<%=UDDIConstants.CASE_INSENSITIVE_SORT%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.CASE_INSENSITIVE_SORT%>" 
value="<%=UDDIConstants.CASE_INSENSITIVE_SORT%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.CASE_INSENSITIVE_SORT))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.CASE_INSENSITIVE_SORT%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.CASE_SENSITIVE_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.CASE_SENSITIVE_MATCH%>" 
value="<%=UDDIConstants.CASE_SENSITIVE_MATCH%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.CASE_SENSITIVE_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.CASE_SENSITIVE_MATCH%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.CASE_SENSITIVE_SORT%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.CASE_SENSITIVE_SORT%>" 
value="<%=UDDIConstants.CASE_SENSITIVE_SORT%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.CASE_SENSITIVE_SORT))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.CASE_SENSITIVE_SORT%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.COMBINE_CATEGORY_BAGS%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.COMBINE_CATEGORY_BAGS%>" 
value="<%=UDDIConstants.COMBINE_CATEGORY_BAGS%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.COMBINE_CATEGORY_BAGS))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.COMBINE_CATEGORY_BAGS%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%>" 
value="<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.DIACRITIC_INSENSITIVE_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%></a></div>
+                                   </div>
+                                   <div style=" float:left; padding: 2px">
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%>" 
value="<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.DIACRITIC_SENSITIVE_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.EXACT_MATCH%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.EXACT_MATCH%>" value="<%=UDDIConstants.EXACT_MATCH%>"> 
<a href="#" data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.EXACT_MATCH))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.EXACT_MATCH%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.OR_ALL_KEYS%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.OR_ALL_KEYS%>" value="<%=UDDIConstants.OR_ALL_KEYS%>"> 
<a href="#" data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.OR_ALL_KEYS))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.OR_ALL_KEYS%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.OR_LIKE_KEYS%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.OR_LIKE_KEYS%>" value="<%=UDDIConstants.OR_LIKE_KEYS%>"> 
<a href="#" data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.OR_LIKE_KEYS))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.OR_LIKE_KEYS%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SERVICE_SUBSET%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SERVICE_SUBSET%>" 
value="<%=UDDIConstants.SERVICE_SUBSET%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SERVICE_SUBSET))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SERVICE_SUBSET%></a></div>
+                                   </div>
+                                   <div style=" float:left; padding: 2px">
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SIGNATURE_PRESENT%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SIGNATURE_PRESENT%>" 
value="<%=UDDIConstants.SIGNATURE_PRESENT%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SIGNATURE_PRESENT))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SIGNATURE_PRESENT%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SORT_BY_DATE_ASC%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_DATE_ASC%>" 
value="<%=UDDIConstants.SORT_BY_DATE_ASC%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SORT_BY_DATE_ASC))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SORT_BY_DATE_ASC%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SORT_BY_DATE_DESC%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_DATE_DESC%>" 
value="<%=UDDIConstants.SORT_BY_DATE_DESC%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SORT_BY_DATE_DESC))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SORT_BY_DATE_DESC%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SORT_BY_NAME_ASC%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_NAME_ASC%>" 
value="<%=UDDIConstants.SORT_BY_NAME_ASC%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SORT_BY_NAME_ASC))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SORT_BY_NAME_ASC%></a></div>
+                                        <div ><div class="hide warning"  
id="<%=UDDIConstants.SORT_BY_NAME_DESC%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_NAME_DESC%>" 
value="<%=UDDIConstants.SORT_BY_NAME_DESC%>"> <a href="#" data-toggle="tooltip" 
title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SORT_BY_NAME_DESC))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SORT_BY_NAME_DESC%></a></div>
+                                   </div>
+                                   <div style=" float:left; padding: 2px">
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%>w"><i 
class="icon-warning-sign"></i></div><input type="checkbox" 
name="<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%>" 
value="<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%>"> <a href="#" 
data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.SUPPRESS_PROJECTED_SERVICES))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%></a></div>
+                                        <div ><div  class="hide warning" 
id="<%=UDDIConstants.UTS_10%>w"><i class="icon-warning-sign"></i></div><input 
type="checkbox" name="<%=UDDIConstants.UTS_10%>" 
value="<%=UDDIConstants.UTS_10%>"> <a href="#" data-toggle="tooltip" title="" 
data-original-title="<%=StringEscapeUtils.escapeHtml(ResourceLoader.GetResource(session,
 UDDIConstants.UTS_10))%>" class="mytooltip" 
data-container="body"><%=UDDIConstants.UTS_10%></a></div>
+                                   </div>
+                                   <Br>
+                                   <br><br><br>
+                                   <div>
+                                        <br><Br>
+                                        <input type="text" placeholder="Type 
something…" id="searchcontent">
+                                        <input type="text" 
placeholder="Language" id="lang"><br>
+                                        <%= 
ResourceLoader.GetResource(session, "search.tip")%>
+                                        <br>
+                                        <a href="javascript:search();" 
class="btn btn-primary btn-large"><%= ResourceLoader.GetResource(session, 
"navbar.search")%> </a>
+                                   </div>
+                              </div>
+                         </div>
                     </div>
-                    <div id="collapseOne" class="accordion-body collapse in">
-                        <div class="accordion-inner">
-                            <%= ResourceLoader.GetResource(session, 
"search.wrylf")%><Br>
-                            <div class="btn-group" id="searchfor" 
data-toggle="buttons-radio">
-                                <button type="button" class="btn active" 
value="business"><%= ResourceLoader.GetResource(session, 
"items.business")%></button>
-                                <!--<button type="button" class="btn " 
>Related Business</button>-->
-                                <button type="button" class="btn " 
value="service"><%= ResourceLoader.GetResource(session, 
"items.service")%></button>
-                                <button type="button" class="btn " 
value="bindingTemplate"><%= ResourceLoader.GetResource(session, 
"items.bindingtemplate")%></button>
-                                <button type="button" class="btn " 
value="tModel"><%= ResourceLoader.GetResource(session, 
"items.tmodel")%></button>
-                                <% 
-                                //if (x.IsJuddiRegistry()) {
-                              
-                                //<button type="button" class="btn " ><%= 
ResourceLoader.GetResource(session, "items.publisher")% ></button>
-
-                                //}
-                                %>
-                            </div><br><Br>
-                            <%= ResourceLoader.GetResource(session, 
"search.criteria")%><br>
-                            <div class="btn-group" id="searchcriteria" 
data-toggle="buttons-radio">
-                                <button type="button" class="btn active" 
value="name"><%= ResourceLoader.GetResource(session, 
"search.criteria.byname")%></button>
-                                <button type="button" class="btn " 
value="category"><%= ResourceLoader.GetResource(session, 
"search.criteria.bycategory")%></button>
-                                <button type="button" class="btn " 
value="key"><%= ResourceLoader.GetResource(session, 
"search.criteria.bykey")%></button>
-                                <button type="button" class="btn " 
value="tmodel"><%= ResourceLoader.GetResource(session, 
"search.criteria.bytmodel")%></button>
-                            </div><br>
-                            <%=ResourceLoader.GetResource(session, 
"items.findqualifiers")%><br>
-
-                            <div style=" float:left; padding: 2px">
-
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.AND_ALL_KEYS%>" value="<%=UDDIConstants.AND_ALL_KEYS%>"> 
<%=UDDIConstants.AND_ALL_KEYS%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.APPROXIMATE_MATCH%>" 
value="<%=UDDIConstants.APPROXIMATE_MATCH%>" checked="checked"> 
<%=UDDIConstants.APPROXIMATE_MATCH%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.BINARY_SORT%>" value="<%=UDDIConstants.BINARY_SORT%>"> 
<%=UDDIConstants.BINARY_SORT%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.BINDING_SUBSET%>" 
value="<%=UDDIConstants.BINDING_SUBSET%>"> 
<%=UDDIConstants.BINDING_SUBSET%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>" 
value="<%=UDDIConstants.CASE_INSENSITIVE_MATCH%>"  checked="checked"> 
<%=UDDIConstants.CASE_INSENSITIVE_MATCH%></div>
-                            </div>
-                            <div style=" float:left; padding: 2px">
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.CASE_INSENSITIVE_SORT%>" 
value="<%=UDDIConstants.CASE_INSENSITIVE_SORT%>"> 
<%=UDDIConstants.CASE_INSENSITIVE_SORT%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.CASE_SENSITIVE_MATCH%>" 
value="<%=UDDIConstants.CASE_SENSITIVE_MATCH%>"> 
<%=UDDIConstants.CASE_SENSITIVE_MATCH%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.CASE_SENSITIVE_SORT%>" 
value="<%=UDDIConstants.CASE_SENSITIVE_SORT%>"> 
<%=UDDIConstants.CASE_SENSITIVE_SORT%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.COMBINE_CATEGORY_BAGS%>" 
value="<%=UDDIConstants.COMBINE_CATEGORY_BAGS%>"> 
<%=UDDIConstants.COMBINE_CATEGORY_BAGS%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%>" 
value="<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%>"> 
<%=UDDIConstants.DIACRITIC_INSENSITIVE_MATCH%></div>
-                            </div>
-                            <div style=" float:left; padding: 2px">
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%>" 
value="<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%>"> 
<%=UDDIConstants.DIACRITIC_SENSITIVE_MATCH%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.EXACT_MATCH%>" value="<%=UDDIConstants.EXACT_MATCH%>"> 
<%=UDDIConstants.EXACT_MATCH%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.OR_ALL_KEYS%>" value="<%=UDDIConstants.OR_ALL_KEYS%>"> 
<%=UDDIConstants.OR_ALL_KEYS%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.OR_LIKE_KEYS%>" value="<%=UDDIConstants.OR_LIKE_KEYS%>"> 
<%=UDDIConstants.OR_LIKE_KEYS%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SERVICE_SUBSET%>" 
value="<%=UDDIConstants.SERVICE_SUBSET%>"> 
<%=UDDIConstants.SERVICE_SUBSET%></div>
-                            </div>
-                            <div style=" float:left; padding: 2px">
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SIGNATURE_PRESENT%>" 
value="<%=UDDIConstants.SIGNATURE_PRESENT%>"> 
<%=UDDIConstants.SIGNATURE_PRESENT%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_DATE_ASC%>" 
value="<%=UDDIConstants.SORT_BY_DATE_ASC%>"> 
<%=UDDIConstants.SORT_BY_DATE_ASC%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_DATE_DESC%>" 
value="<%=UDDIConstants.SORT_BY_DATE_DESC%>"> 
<%=UDDIConstants.SORT_BY_DATE_DESC%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_NAME_ASC%>" 
value="<%=UDDIConstants.SORT_BY_NAME_ASC%>"> 
<%=UDDIConstants.SORT_BY_NAME_ASC%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SORT_BY_NAME_DESC%>" 
value="<%=UDDIConstants.SORT_BY_NAME_DESC%>"> 
<%=UDDIConstants.SORT_BY_NAME_DESC%></div>
-                            </div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%>" 
value="<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%>"> 
<%=UDDIConstants.SUPPRESS_PROJECTED_SERVICES%></div>
-                            <div ><input type="checkbox" 
name="<%=UDDIConstants.UTS_10%>" value="<%=UDDIConstants.UTS_10%>"> 
<%=UDDIConstants.UTS_10%></div>
-
-                            <Br>
-                            <br>
-                            <div>
-                                <br><Br>
-                                <input type="text" placeholder="Type 
something…" id="searchcontent">
-                                <input type="text" placeholder="Language" 
id="lang"><br>
-                                <%= ResourceLoader.GetResource(session, 
"search.tip")%>
-                                <br>
-                                <a href="javascript:search();" class="btn 
btn-primary btn-large"><%= ResourceLoader.GetResource(session, 
"navbar.search")%> </a>
-                            </div>
-                        </div>
+                    <div class="accordion-group">
+                         <div class="accordion-heading">
+                              <a class="accordion-toggle" 
data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+                                   <%= ResourceLoader.GetResource(session, 
"search.results")%>
+                              </a>
+                         </div>
+                         <div id="collapseTwo" class="accordion-body collapse">
+                              <div class="accordion-inner" id="resultdivs">
+                                   <%= ResourceLoader.GetResource(session, 
"search.searchfirst")%>
+                              </div>
+                         </div>
                     </div>
-                </div>
-                <div class="accordion-group">
-                    <div class="accordion-heading">
-                        <a class="accordion-toggle" data-toggle="collapse" 
data-parent="#accordion2" href="#collapseTwo">
-                             <%= ResourceLoader.GetResource(session, 
"search.results")%>
-                        </a>
-                    </div>
-                    <div id="collapseTwo" class="accordion-body collapse">
-                        <div class="accordion-inner" id="resultdivs">
-                             <%= ResourceLoader.GetResource(session, 
"search.searchfirst")%>
-                        </div>
-                    </div>
-                </div>
-            </div>
+               </div>
 
-        </div>
-    </div>
-    <script type="text/javascript">
-        var offset=0;
-        var maxrecords=20;
-        function search()
-        {
-         /*   
-            $.each($('input:checkbox'), function(index,item){
-                var itemname = item.name;
-                if (item.checked)
-                {
-                    fqs+=itemname+",";
-                }
-            });
-           */ 
-            //var fqs = $('input:checkbox').length ? $('input:checked').val() 
: '';
-            //alert (fqs);
-            var selection = $("#searchcriteria > button.btn.active").val();
-            //alert(selection);
-                                    
-            //var findqualifier = $("#findqualifier").val();
-            //alert(findqualifier);
-            var searchfor = $("#searchfor  > button.btn.active").val();
-            //alert(searchfor);
-            var searchcontent = $("#searchcontent").val();
-            //alert(searchcontent );
-            var url='ajax/search.jsp';
-            
-            $("#collapseTwo").collapse("show");
-            $("#collapseOne").collapse("hide");
-            
-            var postbackdata = new Array();
-           
-            postbackdata.push({
-                name:"selection", 
-                value: selection
-            });
-            
-            postbackdata.push({
-                name:"searchcontent", 
-                value: searchcontent
-            });
-            
-            postbackdata.push({
-                name:"lang", 
-                value: $("#lang").val()
-            });
-            
-            
-            $.each($('input:checkbox'), function(index,item){
+          </div>
+     </div>
+     <script type="text/javascript">
+
+          $(document).ready(function() {
+               $(':checkbox').click(function() {
+                    checkForIllegalCombos();
+                    return true;
+               });
+               $('.mytooltip').tooltip();
+          });
+
+          function checkForIllegalCombos() {
+               var selected = new Array();
+               $('.warning').hide();
+
+               $(':checkbox').each(function(key, value) {
+                    if (value.checked)
+                    {
+                         //alert(value.value);
+                         selected.push(value.value);
+                    }
+               });
+
+               var andAllKeys = indexOf.call(selected, "andAllKeys");
+               var orAllKeys = indexOf.call(selected, "orAllKeys");
+               var orLikeKeys = indexOf.call(selected, "orLikeKeys");
+
+               var sortByNameAsc = indexOf.call(selected, "sortByNameAsc");
+               var sortByNameDesc = indexOf.call(selected, "sortByNameDesc");
+
+               var sortByDateAsc = indexOf.call(selected, "sortByDateAsc");
+               var sortByDateDesc = indexOf.call(selected, "sortByDateDesc");
+
+               var combineCategoryBags = indexOf.call(selected, 
"combineCategoryBags");
+               var serviceSubset = indexOf.call(selected, "serviceSubset");
+               var bindingSubset = indexOf.call(selected, "bindingSubset");
+
+               var exactMatch = indexOf.call(selected, "exactMatch");
+               var approximateMatch = indexOf.call(selected, 
"approximateMatch");
+
+               //and exact
+               var caseInsensitiveMatch = indexOf.call(selected, 
"caseInsensitiveMatch");
+
+               var binarySort = indexOf.call(selected, "binarySort");
+               var uts10 = indexOf.call(selected, "UTS-10");
+
+               var diacriticSensitiveMatch = indexOf.call(selected, 
"diacriticSensitiveMatch");
+               var diacriticInsensitiveMatch = indexOf.call(selected, 
"diacriticInsensitiveMatch");
+
+               //exactMatch and diacriticInsensitiveMatch are mutually 
exclusive
+               
+               //  caseSensitiveSort and caseInsensitiveSort are mutually 
exclusive
+               var caseSensitiveSort = indexOf.call(selected, 
"caseSensitiveSort");
+               var caseInsensitiveSort = indexOf.call(selected, 
"caseInsensitiveSort");
+
+               //caseSensitiveMatch and caseInsensitiveMatch are mutually 
exclusive
+               var caseSensitiveMatch = indexOf.call(selected, 
"caseSensitiveMatch");
+               
+               if ((andAllKeys >= 0 && (orAllKeys >=0 || orLikeKeys  >=0)) ||
+                       ((andAllKeys >= 0 || orAllKeys >=0) && orLikeKeys  >=0) 
|| 
+                       ((andAllKeys >= 0 ||  orLikeKeys >=0) && orAllKeys  
>=0) )
+               {
+                    $("#andAllKeysw").show();
+                    $("#orAllKeysw").show();
+                    $("#orLikeKeysw").show();
+               }
+               if (sortByNameDesc >= 0 && sortByNameAsc >=0)
+               {
+                    $("#sortByNameAscw").show();
+                    $("#sortByNameDescw").show();
+               }
+               if (sortByDateAsc >= 0 && sortByDateDesc >=0)
+               {
+                    $("#sortByDateAscw").show();
+                    $("#sortByDateDescw").show();
+               }
+               if (exactMatch >= 0 && approximateMatch >=0)
+               {
+                    $("#exactMatchw").show();
+                    $("#approximateMatchw").show();
+               }
+               if (exactMatch >= 0 && caseInsensitiveMatch >=0)
+               {
+                    $("#exactMatchw").show();
+                    $("#caseInsensitiveMatchw").show();
+               }
+               
+               if (binarySort >= 0 && uts10 >=0)
+               {
+                    $("#binarySortw").show();
+                    $("#UTS-10w").show();
+               }
+               if (diacriticSensitiveMatch >= 0 && diacriticInsensitiveMatch 
>=0)
+               {
+                    $("#diacriticSensitiveMatchw").show();
+                    $("#diacriticInsensitiveMatchw").show();
+               }
+               if (exactMatch >= 0 && diacriticInsensitiveMatch >=0)
+               {
+                    $("#exactMatchw").show();
+                    $("#diacriticInsensitiveMatchw").show();
+               }
+               if (caseSensitiveMatch >= 0 && caseInsensitiveMatch >=0)
+               {
+                    $("#caseSensitiveMatchw").show();
+                    $("#caseInsensitiveMatchw").show();
+               }
+               if (caseSensitiveSort >= 0 && caseInsensitiveSort >=0)
+               {
+                    $("#caseSensitiveSortw").show();
+                    $("#caseInsensitiveSortw").show();
+               }
+               
+               if ((combineCategoryBags >= 0 && (serviceSubset >=0 || 
bindingSubset  >=0)) ||
+                       ((combineCategoryBags >= 0 || serviceSubset >=0) && 
bindingSubset  >=0) || 
+                       ((combineCategoryBags >= 0 ||  serviceSubset >=0) && 
bindingSubset  >=0) )
+               {
+                    $("#combineCategoryBagsw").show();
+                    $("#serviceSubsetw").show();
+                    $("#bindingSubsetw").show();
+               }
+               
+               return false;
+          }
+
+          //src = 
http://stackoverflow.com/questions/1181575/javascript-determine-whether-an-array-contains-a-value
+          var indexOf = function(needle) {
+               if (typeof Array.prototype.indexOf === 'function') {
+                    indexOf = Array.prototype.indexOf;
+               } else {
+                    indexOf = function(needle) {
+                         var i = -1, index = -1;
+
+                         for (i = 0; i < this.length; i++) {
+                              if (this[i] === needle) {
+                                   index = i;
+                                   break;
+                              }
+                         }
+
+                         return index;
+                    };
+               }
+
+               return indexOf.call(this, needle);
+          };
+
+          var offset = 0;
+          var maxrecords = 20;
+          function search()
+          {
+               /*   
+                $.each($('input:checkbox'), function(index,item){
                 var itemname = item.name;
                 if (item.checked)
                 {
-                    postbackdata.push({
-                        name:"findqualifier", 
-                        value: itemname
-                    });
+                fqs+=itemname+",";
                 }
-            });
-            
-            
-            postbackdata.push({
-                name:"searchfor", 
-                value: searchfor
-            });
-            
-            postbackdata.push({
-                name:"nonce", 
-                value: $("#nonce").val()
-            });
-            
-            var request=   $.ajax({
-                url: url,
-                type:"POST",
-                //  dataType: "html", 
-                cache: false, 
-                //  processData: false,f
-                data: postbackdata
-            });
-                
-                
-            request.done(function(msg) {
-                window.console && console.log('postback done '  + url);        
        
-        
-                $("#resultdivs").html(msg);
-                
-        
-            });
-
-            request.fail(function(jqXHR, textStatus) {
-                window.console && console.log('postback failed ' + url);       
                         
-                $("#resultdivs").html(jqXHR.responseText  + textStatus);
-                //$(".alert").alert();
-                
-        
-            });
-                                    
-        }
-                                
-    </script>
-    
-    <%@include file="tmodelChooser.jsp" %>
-    
-    <%@include file="header-bottom.jsp" %>
\ No newline at end of file
+                });
+                */
+               //var fqs = $('input:checkbox').length ? 
$('input:checked').val() : '';
+               //alert (fqs);
+               var selection = $("#searchcriteria > button.btn.active").val();
+               //alert(selection);
+
+               //var findqualifier = $("#findqualifier").val();
+               //alert(findqualifier);
+               var searchfor = $("#searchfor  > button.btn.active").val();
+               //alert(searchfor);
+               var searchcontent = $("#searchcontent").val();
+               //alert(searchcontent );
+               var url = 'ajax/search.jsp';
+
+               $("#collapseTwo").collapse("show");
+               $("#collapseOne").collapse("hide");
+
+               var postbackdata = new Array();
+
+               postbackdata.push({
+                    name: "selection",
+                    value: selection
+               });
+
+               postbackdata.push({
+                    name: "searchcontent",
+                    value: searchcontent
+               });
+
+               postbackdata.push({
+                    name: "lang",
+                    value: $("#lang").val()
+               });
+
+
+               $.each($('input:checkbox'), function(index, item) {
+                    var itemname = item.name;
+                    if (item.checked)
+                    {
+                         postbackdata.push({
+                              name: "findqualifier",
+                              value: itemname
+                         });
+                    }
+               });
+
+
+               postbackdata.push({
+                    name: "searchfor",
+                    value: searchfor
+               });
+
+               postbackdata.push({
+                    name: "nonce",
+                    value: $("#nonce").val()
+               });
+
+               var request = $.ajax({
+                    url: url,
+                    type: "POST",
+                    //  dataType: "html", 
+                    cache: false,
+                    //  processData: false,f
+                    data: postbackdata
+               });
+
+
+               request.done(function(msg) {
+                    window.console && console.log('postback done ' + url);
+
+                    $("#resultdivs").html(msg);
+
+
+               });
+
+               request.fail(function(jqXHR, textStatus) {
+                    window.console && console.log('postback failed ' + url);
+                    $("#resultdivs").html(jqXHR.responseText + textStatus);
+                    //$(".alert").alert();
+
+
+               });
+
+          }
+
+     </script>
+
+     <%@include file="tmodelChooser.jsp" %>
+
+     <%@include file="header-bottom.jsp" %>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to