Thursday, December 30, 2010

Hiding a view criteria Item from af:query

Define a Binding for the af:query and in its setter method write this code

Where TopicVO1Iterator is the ViewObject,findByTitleCriteria is the VC and ABSTRACT_SUMMARY is the ColumnName attr for the VC.

    public void setRichQuery(RichQuery richQuery) {
this.richQuery = richQuery;
DCIteratorBinding iter = ADFUtil.getDCIteratorBinding("TopicVO1Iterator");
ViewObjectImpl voimpl = (ViewObjectImpl)iter.getViewObject();
ViewCriteria vc = voimpl.getViewCriteriaManager().getViewCriteria("findByTitleCriteria");
while(vc.hasNext()){
ViewCriteriaRow vcr = (ViewCriteriaRow)vc.next();
if (vcr != null) {
ViewCriteriaItem[] vcis = vcr.getCriteriaItemArray();
for (ViewCriteriaItem vci : vcis) {
if(vci != null && "ABSTRACT_SUMMARY".equals(vci.getColumnName()))
vci.setProperty(ViewCriteriaItemHints.CRITERIA_RENDERED_MODE,
ViewCriteriaItemHints.CRITERIA_RENDERED_MODE_NEVER);
}
}
}
}

69 comments:

Jordi said...

Why are you doing this programatically instead of doing it in the View Criteria's popup wizzard?

Anonymous said...

generic xanax alprazolam 0 5mg efeitos colaterais - xanax g3719

Anonymous said...

buy tramadol online tramadol kidney - tramadol hcl 40 mg

Anonymous said...

buy tramadol online generic tramadol 100mg - tramadol 50 mg buzz

Anonymous said...

xanax online is xanax 1 mg strong - buy xanax online no prescription mastercard

Anonymous said...

buy tramadol online tramadol hcl overdose symptoms - tramadol for dogs for pain

Anonymous said...

generic xanax xanax 2mg no prescription - xanax withdrawal support group

Anonymous said...

buy cheap xanax buy xanax online prescription - pictures generic 2mg xanax

Anonymous said...

cheap alprazolam xanax 1mg street value - how long do the effects of xanax .5mg last

Anonymous said...

tramadol 100 mg tramadol hcl interactions - illegal buy tramadol online usa

Anonymous said...

buy tramadol online tramadol and ultram recovery room - order tramadol cod next day delivery

Anonymous said...

xanax online cheap cheap xanax - buy generic xanax no prescription

Anonymous said...

generic xanax generic xanax s 900 - xanax dosage for children

Anonymous said...

buy carisoprodol carisoprodol 350 mg tab mutual - carisoprodol from usa

Anonymous said...

buy tramadol overnight delivery tramadol hcl acetaminophen par - tramadol hcl 37.5-3

Anonymous said...

purchase xanax xanax drug generic - does xanax show up drug test

Anonymous said...

buy cheap tramadol tramadol buy 180 - tramadol 50 mg hcl narcotic

Anonymous said...

xanax online xanax 2 mg for sleep - xanax doses

Anonymous said...

buy carisoprodol carisoprodol side effects liver - carisoprodol for sale online

Anonymous said...

xanax online xanax drug interactions side effects - best way to buy xanax online

Anonymous said...

buy xanax online overnight natural drug xanax - xanax drug test dot

Anonymous said...

buy carisoprodol soma carisoprodol tablets - carisoprodol 350mg

Anonymous said...

xanax online xanax dosage guide - buy xanax legally

Anonymous said...

tramadol no prescription tramadol 50 mg for dogs - is tramadol/ultram an opiate

Anonymous said...

carisoprodol 350 mg carisoprodol 350 mg drug interactions - what does carisoprodol 350 mg do

Anonymous said...

buy cialis online cialis price new zealand - cialis from usa online pharmacy

Anonymous said...

buy tramadol online where to buy tramadol cod - tramadol dosage 25mg

Anonymous said...

buying xanax online no prescription xanax drug long system - .5 xanax and alcohol

Anonymous said...

xanax online xanax withdrawal fatigue - xanax no prescription overnight delivery

Anonymous said...

where can i order xanax online quotes on xanax - fake xanax bars g3722

Anonymous said...

buy cialis online cipla cialis reviews - cialis online argentina

Anonymous said...

cialis online cialis+online drugstore - cheap cialis levitra

Anonymous said...

xanax online buy alprazolam online mastercard - pass saliva drug test xanax

Anonymous said...

xanax online buy xanax online prescription - what is xanax used for

Anonymous said...

cialis online cialis online from us - buy cialis 20mg online

Anonymous said...

buy tramadol tramadol hcl 50 mg high - tramadol bioavailability

Anonymous said...

buy tramadol online no prescription cheap kandungan tramadol hcl - tramadol for dogs constipation

Anonymous said...

http://landvoicelearning.com/#23561 ultram tramadol 50 mg side effects - tramadol 100mg retardtabletten

Anonymous said...

buy tramadol tramadol online cod - tramadol hcl no prescription

Anonymous said...

learn how to buy tramdadol tramadol 50mg max dosage - buy tramadol online overnight shipping

Anonymous said...

http://blog.dawn.com/dblog/buy/#about-us tramadol hydrochloride - tramadol 50 mg common side effects

Anonymous said...

buy tramadol online tramadol rxlist - tramadol hcl 50 mg

Anonymous said...

buy tramadol online can you buy tramadol online in the usa - tramadol dosage greyhounds

Anonymous said...

buy tramadol online 400 mg tramadol high - can i buy tramadol online

Anonymous said...

buy tramadol tramadol 50mg for dogs side effects - tramadol 200mg dose

Anonymous said...

http://landvoicelearning.com/#30896 can i take 100 mg of tramadol - tramadol hcl 50 mg weight loss

Anonymous said...

buy tramadol online buy tramadol from usa - tramadol quick release

Anonymous said...

tramadol online where to order tramadol online - buy tramadol er

Anonymous said...

http://buytramadolonlinecool.com/#91646 symptoms of tramadol addiction - buy tramadol egypt

Anonymous said...

buy tramadol buy tramadol online from usa - buy tramadol usa next day delivery

Anonymous said...

http://buytramadolonlinecool.com/#51726 tramadol overdose how much is fatal - buy tramadol online dogs

Anonymous said...

buy tramadol buy generic tramadol no prescription - online-viagra-tramadol

Anonymous said...

ways to buy ativan online ativan side effects how long do they last - ativan dosage cats

Anonymous said...

ativan cost ativan 59 r - does ativan and xanax show up the same on a urine test

Anonymous said...

order ativan online ativan vs. xanax differences - ativan 241

Anonymous said...

Me and ozzy fucked more challenging, trying to
show to my god! FUCK YES!' prior to cumming inside my warm pussy. were still fucking

Here is my website; hcg injections
my site - hcg injections

Anonymous said...

buy xanax online xanax high tolerance - side effects xanax xr 2mg

Anonymous said...

xanax 2mg generic xanax looks like - xanax online stores

Anonymous said...

buy xanax online overnight delivery buy xanax online no prescription mastercard - xanax mg get high

Anonymous said...

Grеаt blog! Ӏs your theme custοm mаԁе
or ԁіd you dοwnload it frоm
somеwhеrе? A theme liκe yours with a fеw simple tweekѕ woulԁ
гeally make my blog shine. Ρleaѕe let mе know where you got your dеsign.

Τhankѕ a lot

My wеblog :: Search results for "http:rollespill.err.no"

Anonymous said...

Yοu arе sо іnteresting!
I dоn't believe I'vе truly геаd through a singlе thing like this bеfore.

So great to find somеonе ωith genuine thoughtѕ on thіs ѕubject.
Really.. thanks for ѕtarting this up. This web site іs one
thing that is nеeded оn thе ωeb, sоmeone with a bit of originality!


Also visit my webpаge ... hcg diet weight loss - www.free-links-articles-directory.com
Also see my website: 1

Anonymous said...

buy tramadol online tramadol for dogs or humans - tramadol contraindications

Anonymous said...

buy tramadol online ultram 50 mg oral tablet - buy tramadol online from usa

Anonymous said...

buy tramadol online dosage of tramadol 50mg - i took 7 tramadol

Anonymous said...

buy xanax online xanax side effects rash - generic xanax rating

Anonymous said...

Thе ωгitе-up fеatures pгoven
hеlpful tο mе. It’s quite infοrmative and you are obviously ѵerу κnoωledgeablе in this area.
Υou gеt popρed my own facе in orԁer
to ԁіfferеnt opinion of this subject mаtter along with intгiguіng, notable and strong ωritten content.


my blog post: phentermine
Here is my blog - phentermine

Anonymous said...

I рау а quick visit day-tо-day a fеw web ѕіteѕ and information
ѕites tо reаd content, hоwever this
webpage gіves feature baѕed artiсleѕ.


my web page: hcg weight loss injections

Anonymous said...

buy generic tramadol online order tramadol online without prescription - tramadol overnight shipping

Anonymous said...

Yοur own pοst hаs ρrovеn benefіcial to me peгѕonallу.
It’s veгy helρful and yοu're simply naturally extremely experienced in this region. You get opened my personal eyes to be able to varying opinion of this particular subject matter together with intriguing, notable and solid content material.

Also visit my web site :: Buy ADIPEX