• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Whats wrong with <H:FORM> Tag

 
Greenhorn
Posts: 14
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
I recently migrated my project to jsf 1.2 from jsf 1.1.

everything seems to be fine except the <h:form> tag.

i m getting a tag ~com.sun.faces.saveStateFieldMarker~ on every page having <h:form> tag.

If my page has N number of other JSF components, they are getting rendered absolutely fine.

but the page containing the form tag is having this problem.

not sure what could be the reason?

your help will be appreciated.

 
Ranch Hand
Posts: 121
Mac Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does your form tag has "id" attribute specified?
 
Abzee AntiPro
Greenhorn
Posts: 14
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My form tag had a id attribute with it. Even if we miss one, JSF makes sure its generated before rendering it.
However the issue has been resolved now.

I was using a JspTilesViewHandler class for handling the views and that class was a bit outdated.
I had to rewrite the writeState() method under it.

this method is called before the FORM is closed.

Thanks,
Abid
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Abzee,
Can you please post the printstack of the errors/exception you are getting in your console?

Thanks,
Amrit Pandey
 
Abzee AntiPro
Greenhorn
Posts: 14
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was not getting any error on console. Neither in application logs.
everything was running fine except that small bug on UI
 
Amrit pandey
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of bug can you please explain so that we can figure out where the problem can be?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic