[Opensource] Submitting forms with text links instead of butt
ons?
DComeau at xenos.com
DComeau at xenos.com
Thu Apr 24 21:12:44 PDT 2003
Cool thanks Kris, does this somehow submit the form? So all of my Html
fields will get sent too?
Dave
-----Original Message-----
From: Thompson, Kris [mailto:kris.thompson at seurat.com]
Sent: Thursday, April 24, 2003 2:26 PM
To: opensource at jcorporate.com
Subject: RE: [Opensource] Submitting forms with text links instead of
buttons?
Yup they exist. Try ExpressoLinkParamsTag
<expresso:ExpressoLinkParamsTag href="/Login.do" name="Login" >
Login</expresso:ExpressoLinkParamsTag>
Java code...
Transition login= new Transition();
login.setName("Login");
login.addParam("controller",
"com.cohomefinder.controller.LoginController");
login.addParam("state", "promptLogin");
login.addParam("username", "Major Taylor"
response.add(login);
This code is in CVS HEAD.
Kris
-----Original Message-----
From: DComeau at xenos.com [mailto:DComeau at xenos.com]
Sent: Thursday, April 24, 2003 9:08 AM
To: opensource at jcorporate.com
Subject: [Opensource] Submitting forms with text links instead of buttons?
Hi all,
I'm tweaking the look and feel of my first Expresso app, and I've got
several areas that are inconsitent when it comes to how I show transitions.
Some times it's useful to just show text links ( <a href>'s ) and other
times I've had to show a button so I can submit form data.
But what would be nice would be to replace some of the buttons with text
links. This would help me standarize the look and feel a bit more and it
would save me time by not having to create image buttons for those
transitions to make them fit in better.
So what I'm wondering is, has anyone on the list created a custom tag or
other process of doing this? I'm thinking with a bit of Javascript and a
few cups of liquid Espresso, I should be able to creatively accomplish this.
;)
Any tips?
Cheers,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030425/9b979774/attachment-0002.htm
More information about the Opensource
mailing list