This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am dealing with a doubt that i can not find an answer in the forums.
I have two different pages , and to go to each of them i am using two tab.
Each page consists in one form with a few input texts fields and present the results in a table.Each form is something like this.
That means that both page go to be validated through a ActionForm.
Until now i think that everything go by the book.
My problem is related with the tab links, i implemented them by the following manner:
If you see i am using the same action that i use in the form "page1" , the only difference is that i am passing in the GET the attribute tabId=1.
But in the logs i am able to see that the actionForm is not executed server side, it goes directly to the action object, why this happen ?
Is because i am not using post method? or is because none of the form fields are being sent,because i am not using the form?
And even in the action object i am not able to get from the request scope the attribute "tabId" that i sent in the GET request when i click in the tab.
What i am trying to do is : When i click on any tab i do not want that any validation happens because i am not clicking in any form field,i just want to go to the request page?So i am sending the tabId to inform the actionForm that this request happens when i clicked in a tab , so it should not validate anything.
Can anyone help me ?