Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Facelet Behaviour  RSS feed

 
Ranch Hand
Posts: 47
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi;)

I encountered a Problem with my Facelet (at least I think it is). As I am
a JSF Newbie I don't know ow to solve it.

See my view (Name: JSF) in the Attachments.

It's generated by this Facelet:




Why is the Table under the "General" Section not displayed as is the "Bank Account" Section?

Do my Comments interfere?

Kind regards;)
Florian
JSF.PNG
[Thumbnail for JSF.PNG]
 
Florian Jedamzik
Ranch Hand
Posts: 47
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the Problem, it was the comments!;)
 
Bartender
Posts: 19458
88
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I couldn't figure out what you meant about the comments. Our message formatter had scrolled them outside of my display area.

Yes, XML comments can throw you off, because they get treated just like a regular tag would be for resource allocation purposes.

There's a directive you can put in the web.xml file telling JSF to ignore the comments, although I do not remember what it is.

I LIKE lots of comments in my JSF! :)
 
Rancher
Posts: 286
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Florian,



Forgive me for responding so late, but did you intend to have the for attribute in the above h:message tag point to a component named a_target_amount? I ask because the h:inputText component above that is named a_tagetAmount, so of course this message will not be invoked if validation fails on that specific inputText component.

Cheers,

Randy
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!