• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Facelet Behaviour

 
Ranch Hand
Posts: 47
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got the Problem, it was the comments!;)
 
Saloon Keeper
Posts: 24295
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 383
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic