This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Problem with h:panelGroup  RSS feed

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using IBM implementation of jsf.
When I nest the h:input tag inside the h:panelGroup which is nested inside h:form tag, I get a compile time error that h:input should be inside h:form tag. Is there a way of getting it to work? I want to throw a h:panelGroup tag inside h:inputText for implemnenting ajax style validation.

<h:form>
<h:panelGroup>
<h:inputText id="test" value="#{myBean.value}"/>
</h:panelGroup>
</h:form>
Any help will be appreciated.
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi vaithee

This doesn't make any sense. I Am not using IBM's jsf, but am doing this all the time. To my mind h:form renders a normal html form element.

h:panelGroup renders a <span> element

and h:inputText renders a normal <input type="text" element.

That most definately possible in html, so why not in IBM's JSF.

There must be something else wrong. Unless IBM have done something horribly wierd.

Can you send the actual compile time error here. Are you getting the error in your IDE only, or when you navigate to the page in the browser??

cheers
Darryl
 
vaithee sub
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Darryl,
You are right. It is just the rad that is giving error. When I actually publish it to server (with error), it seems to running fine without eny runtime errors. Thanks for the clarification.
 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No probs vaithee

I also use IBM products so I know about the joys.... ;-)

cheers
Darryl
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!