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 using multiboxes inside a logic:iterate and it is working fine. What I am wondering now is if it is possible to pass URL variables using check boxes. I explain myself:
In my application, I share a song with a friend. When I want to share it, I access to a web page where all my friends are listed with multiboxes. There, I can select the friends I want to share the song with. The problem is that I would like to send the name of the friend and the name of the song as a URL variable to the FrowardAction. Before using multiboxes, I clicked in the name of the friend to share the song, which was a link. Obviously this way I could just share my song with one friend each time. I did it this way:
the variable sharecontentparams was carrying all the information and in the link URL I could see ....name=NameOfTheSong&friend=NameOfTheFriend.However, using multiboxes I cannot do that. I tried this:
But in the ForwardAction I get a String called sharecontentparams when I do the request.getParameters() and not the parameters friend and name.