use <a4j:form prependedId="false"> instead of <h:form>
hi, thanks for your reply
unfortunately it didn't help
I still want my form to have an id and to style the element using #fornID #elementID but as soon as I have a form id the element gets formID:elementID as an id and my css doesn't work.
any other ideas?
This is not my first Seam Project. I have also worked with an older version of Seam and I didn't have this problem.
If i understand correctly all you want to do is styling your inputfield right? If so, just assign a styleclass and dont use the id for that.
There are several reasons why jsf is concatenating ids, one of it is the component model where you can create a form and use it in different containers, even on the same page. Jsf does not allow duplicate ids because mapping would be near to impossible.
thanks for your suggestion and explanation