I have a whole form with a lot of components including a p:tab
When I click on p:commandButton id=c1 to submit the whole form content:
- I need to validate the whole form required messages but I do need to ignore the p:tab required messages fields.
- If I click on p:commandButton id=c2 inside the p:tab, I need to validate only the required messages fields inside the p:tab.
What is the best solution for this ? Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…