This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Facelet Behaviour  RSS feed

 
Florian Jedamzik
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!;)
 
Tim Holloway
Bartender
Posts: 18548
61
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! :)
 
Randy Maddocks
Ranch Hand
Posts: 114
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!