Jahia Template Forum > Query Tags with...

0 (0 Good)
0 (0 Bad)

Query Tags with boolean

by  mesdocs »  2011/06/07 19:56

Hello,

Using query tags I want to select containers with a boolean property set to 'true'.
Unfortunately my query does not select any containers.

Here is my query :

[code:25xqciot]lt;query

  (mesdocs)

Number of messages  53
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  pap@commaro.com »  2011/06/07 19:56

Hi Mesdocs,

the query itself seems ok to me.

Could you please add the following lines to WEB-INF\etc\config\log4j.xml

[code:wvbwxxbf]
lt;category name=

Benjamin Papez (pap@commaro.com)

Number of messages  220
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  mesdocs »  2011/06/07 19:56

Benjamin,

Here is the console output

[code:3bc0p5az]2009-05-06 17#58;15

  (mesdocs)

Number of messages  53
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  pap@commaro.com »  2011/06/07 19:56

Hello Mesdocs,

are you sure you are using the equalTo tag and not the notEqualTo, because the minus in front of true is the notEqualTo behaviour?

You could also use Luke ([url=http#58;//www

Benjamin Papez (pap@commaro.com)

Number of messages  220
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  mesdocs »  2011/06/07 19:56

Benjamin,

You're right. I had change the query to test the notEqualTo tag but it did not give any result either.

Using Luke, I was able to browse the container and see the 'false' and 'true' values in the jahia.containerfield_my_templates_newscontainer_newshome field.

mesdocs.

  (mesdocs)

Number of messages  53
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  pap@commaro.com »  2011/06/07 19:56

Hi Mesdocs,

it may be a bug with something we already fixed as it perfectly works in my current development environment for the next release and there was some recent development in that area.

Are you using the Jahia 6 community edition or the early adopters release ?

Could you also please open the Documents tab in Luke and in Browse by term select the jahia.containerfield_my_templates_newscontainer_newshome field and then push the quot;First Term

Benjamin Papez (pap@commaro.com)

Number of messages  220
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  mesdocs »  2011/06/07 19:56

Benjamin,

I have reinstalled Jahia Community (r25203) and deployed my templates.
I don't have the problem anymore.

Modifications of instanciated containers seems not to be a good idea.

mesdocs.

  (mesdocs)

Number of messages  53
Registration date
0 (0 Good)
0 (0 Bad)

Re: Query Tags with boolean

by  mesdocs »  2011/06/07 19:56

Hi,

the problem appears after I have executed the index process.

Regards,

Mesdocs.

  (mesdocs)

Number of messages  53
Registration date
0 (0 Good)
0 (0 Bad)

Jahia Developer

by  Jahia »  2018/01/24 19:29

We are looking for a Jahia Developer on full time permanent basis for one of our clients who are based in New York City. I don't have a specific job description for your review but here are a few details as below:
 
Title: Jahia Developer
Duration: Full Time Permanent
Location: New York City, NY
Experienced professional with development on Jahia along with Spring & LifeRay.
Jahia
Number of messages  1
Not registered
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page