• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to pass a parameter to value in logic:lessThan

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to pass a parameter to value in logic:lessThan?
i.e. logic:lessThan will use a variable (not a constant) in value.
I tried the following code but it does not work at run time : the logic:lessThan test always fail.
jsp:
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't start a new topic when you have a previous topic open. It will waste peoples' time and duplicate any effort in this topic.
I will lock the other topic.
As for your question, the documentation says:

The constant value to which the variable, specified by other attribute(s) of this tag, will be compared


so it sounds like the value attribute must be a "constant".
reply
    Bookmark Topic Watch Topic
  • New Topic