[jboss-user] [JBoss Seam] - Custom Validator? How?

2007-11-30 Thread dparanhos
I could not make my custom validator work. It has an attribute and the 
attribute is always being null when the validate method is being called. Am I 
missing something?


My faces-config.xml

  | validator
  |   validator-idLevelValidator/validator-id
  |   
validator-classbr.gov.exercito.silog.validator.LevelValidator/validator-class
  |   property
  | property-nameminimum/property-name
  | property-classjava.math.BigDecimal/property-class
  |   /property
  | /validator

My facelet-taglib is:

  | tag
  |   tag-namelevelValidator/tag-name
  |   validator
  |  validator-idLevelValidator/validator-id
  |   /validator
  | /tag

My xhtml code is:

  | h:inputText id=nbMaxLevel 
  |   value=#{levelHome.instance.nbMaxLevel}
  |   size=20 maxlength=13
  | fpf:levelValidator limit=5/
  | /h:inputText
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109454#4109454

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109454
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - jstl forTokens - Is it possible?

2007-10-25 Thread dparanhos
I am trying to use the forTokens jstl tag but I'm getting the folowing error:

c:forTokens Tag Library supports namespace: http://java.sun.com/jstl/core, 
but no tag was defined for name: forTokens


If I use the forEach tag in the same place it works but I need to use the 
forTokens tag because my data is a comma separated list in String format.

My code is:

c:forTokens items=#{valueItems} delims=, var=value
  |h:outputText value=#{value} styleClass=texto /
  | /c:forTokens

Any idea of what is happening?

I am using Seam 2.0.0 CR2

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098969#4098969

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jstl forTokens - Is it possible?

2007-10-25 Thread dparanhos
Anybody?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099040#4099040

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jstl forTokens - Is it possible?

2007-10-25 Thread dparanhos
Sorry for the bumping...

I am using facelets

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099052#4099052

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user