Dave Newton <newton <at> pingsite.com> writes:

> I've never put a parameter in a form's action attribute--why would you 
> want to do that? Wouldn't it be much cleaner to use a hidden form field 
> with the appropriate parameter name?
> 
> So your original example would be (minus whatever silly syntax mistakes 
> because I'm groggy):
> 
> <html:form action="createDictionaryEntity">
>   <html:hidden property="dictionary"/>
>   <!-- ... -->
> </html:form>
> 
> and whatever loads the form puts the appropriate dictionaryId value into 
> the ActionForm?

I wish to pass the dictionary variable using GET - make it visible in the URL. 

Secondly, this action (createDictionaryEntity) can be accessed both from form 
and from link (using <a href="...">). I wish to have one, clear method of 
passing parameters to it. Of course, I can at first check the request and 
secondly the form (or inversely) but it is not, in my opinion, elegant 
solution. 
I thing it is not compulsory.

Best regards,
Konrad Billewicz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to