Hi Riyad,

here is a simple example:

<bean:size name="userList" id="userListSize"/>

<logic:greaterThan name="userListSize" value="20">

</logic:graterThan>

BTW, you are doing a very good job on MyEclipseIDE Team!

Henrique Viecili
  ----- Original Message ----- 
  From: Riyad Kalla 
  To: Struts Users Mailing List 
  Sent: Saturday, June 05, 2004 9:15 PM
  Subject: Taglib: how do you call a method like java.util.List.size() from the 
property of a tag?


  I'm trying to do something like:
  <logic:greaterThan name="userList" property="size" value="20">
      <!-- Display paging controls -->
  </logic:greaterThan>


  but I'm obviously getting an exception on size because it doesn't follow 
  JB naming conventions. How do I call this method? Do I NEED to use EL 
  for this?

  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to