<s:form action="myAction/#p" >
...
Kibo wrote:
>
> Hi konference
>
> I use Struts 2.0. I need submit form with anchor. I know that stuts tag
> form dont support atribute anchor, but how do I do it?
>
> describe:
> I have long form. I have two su
Hi konference
I use Struts 2.0. I need submit form with anchor. I know that stuts tag form
dont support atribute anchor, but how do I do it?
describe:
I have long form. I have two submit buttons inside.
First button has label "Save" and save values from form. It work correct.
Sec
Hi,
I am with a problem on fileupload. When the form is submited with
theme="ajax", the class action is executed correctly,
but the return is a [Object HTMLDocument]. When the form is submited
when theme="simple", it functions perfectly.
Anybody already it passed to this problem?
Sorry for m
Musachy --
I agree. It's just so frustrating when you have to fool around to get a
feature in S2 to work. I am a Java Architect currently involved in a
teaching engagement. Who would I contact to see about writing a Struts2
book? I see this as a venture that might be worthwhile.
Scott
On 3
I have heard that some books are on their way, but I don't know more than
that. The wiki has a lot of information, you just have to browse around a
little bit, and ask here when you don't find something :)
regards
musachy
On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Don't get me wr
blems like you're presently
facing.
Regards,
Paul
_
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [mailto:[EMAIL PROTECTED]
Sent: Thu, 08 Mar 2007 12:39:50 -0500
Subject: Re: AJAX Theme / submit form to new page?
Don't get me wrong -- I think S2 is a giant step forward af
Don't get me wrong -- I think S2 is a giant step forward after having used
S1 for years. However, the hodge podge of limited "and simple" examples
and no available courses or books, makes learning the framework quite a
challenge. Do you know if anyone has a book in the works? Do you know of
an
I'm not sure that I follow. This link:
http://struts.apache.org/2.x/docs/ajax-tags.html
has been posted here many times, there is a link to it int the
documentation:
http://struts.apache.org/2.x/docs/guides.html
and the showcase has several examples. Could it be more confusing? oh yeah.
If you
Could this be any more confusing? Unless someone documents all the
idiosyncracies, folks are going to give up on Struts2 and adopt RoR! I have
read all the docs/wikis on the S2 site and even poured over the showcase
code. I worked three evenings this week trying to figure out how to
incorporate
Am Donnerstag, 8. März 2007 schrieb Piero Sartini:
> But my form tag contains theme="ajax" because of the validation. is it
> right to make the submit button theme="css_xhtml" to avoid the ajax-submit?
it needs to be "xhtml" theme on the submit button.
not very elegant in my oppinion - but it work
Yes
musachy
On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
But my form tag contains theme="ajax" because of the validation. is it
right
to make the submit button theme="css_xhtml" to avoid the ajax-submit?
Am Donnerstag, 8. März 2007 schrieb Musachy Barroso:
> Just use the regular submi
But my form tag contains theme="ajax" because of the validation. is it right
to make the submit button theme="css_xhtml" to avoid the ajax-submit?
Am Donnerstag, 8. März 2007 schrieb Musachy Barroso:
> Just use the regular submit tag. (no theme="ajax").
>
> musachy
>
> On 3/8/07, Piero Sartini <
Just use the regular submit tag. (no theme="ajax").
musachy
On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
I am using the ajax theme mainly because of the validator and some
features
like tabbed pane etc.
But if I submit a form, I want to submit that form and go to the result of
the
acti
I am using the ajax theme mainly because of the validator and some features
like tabbed pane etc.
But if I submit a form, I want to submit that form and go to the result of the
action - not load it into a div. the result gets decorated again, and I do
not want to force the users into activating
fea jabi wrote:
Want to submit the form when user clicks on a link before entering
Action class.
How to do this?
Thanks.
If I understand you right, you could use JavaScript:
function onClickLink()
{
document.myForm.submit();
}
<%-- Associated with myForm --%>
<%-- ... --%>
Link
Want to submit the form when user clicks on a link before entering Action
class.
How to do this?
Thanks.
_
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
---
I like the tag due to the ability to have markup inside the
button, except that it is no use because IE doesn't follow the standard.
You can use
with fancy html in here like
bold for example
which makes nice buttons with mark-up and stuff.
You can have several of these type="submit" bu
erties of the object. When
user selects a property and clicks the Add Property button, I call
checkProp() to check if it already added to the object. If yes, I
alert user and don't submit form; if no, I call form.submit(). I
found that submitAction="" if the form is submitted this
ct. When user
selects a property and clicks the Add Property button, I call
checkProp() to check if it already added to the object. If yes, I
alert user and don't submit form; if no, I call form.submit(). I
found that submitAction="" if the form is submitted this way. I
tried
This is my real problem. I have a single selection dropdown menu
which contains the allowed properties of the object. When user
selects a property and clicks the Add Property button, I call
checkProp() to check if it already added to the object. If yes, I
alert user and don't submit form; if
is is my real problem. I have a single selection dropdown menu
which contains the allowed properties of the object. When user
selects a property and clicks the Add Property button, I call
checkProp() to check if it already added to the object. If yes, I
alert user and don't submit form;
to
check if it already added to the object. If yes, I alert user and
don't submit form; if no, I call form.submit(). I found that
submitAction="" if the form is submitted this way. I tried to do
form.submitAction.value = "Add Property" before submit(), but that
didn
When user selects a property and clicks the Add Property button, I call
checkProp() to check if it already added to the object. If yes, I alert user and don't submit form;
if no, I call form.submit(). I found that submitAction="" if the form is submitted this
way. I tried t
1. At most one submit element is submitted in a form.
2. If you submit form without activating a particular submit element,
a form may be submitted with no submit elements sent to server.
3. If you do default submit, some browsers send submit element which
was defined first.
3. I don't know
Nope, setting href won't submit a form. In fact, I'm almost completely
certain it results in a GET, not a POST
Frank
Dave Newton wrote:
Catherine wrote:
function show(url) {
window.location.href = url
}
Does setting the href of the window's location actually submit a form?
What happ
Catherine wrote:
function show(url) {
window.location.href = url
}
Does setting the href of the window's location actually submit a form?
What happens if you actually call submit on the form?
Dave
-
To unsubscribe, e
Hi,
I defined a variable in my ActionForm as "submitAction". And I have serveral
buttons in my form as below.
This works and I get submitAction="Save".
function show(url) {
window.location.href = url
}
This also works since
Jeff,
The target is to define functional buttons because the staff used to such
combinations. There are not sumbit buttons in my application. It is
controlled by images. In whole it is necessary to create windows
interface which is usual with control buttons ( CTRL+S-save, CRTL-C -
copy, CTRL-F fi
Thanks for the information!
Glen
Jeff Beal wrote:
Mnemonics are onlly non-standard because most people don't use them!
Our application uses them all over the place, and our users love us
for it. W3C accessibility guidelines strongly recommend heavy usage
of mnemonics, also.
That said, the s
Mnemonics are onlly non-standard because most people don't use them!
Our application uses them all over the place, and our users love us
for it. W3C accessibility guidelines strongly recommend heavy usage
of mnemonics, also.
That said, the standard modifier key for mnemonics is Alt, not Ctrl,
an
Still, mnemonics are non-standard for web applications, no? This
doesn't seem right.
Glen
Niall Pemberton escribió:
The short and not v.helpful response is you can't submit - its
just a JSP tag that renders a HTML element and has nothing to do with
the submit process.
Some of the Struts ta
How can I submit html:form by pressing CTRL+S ?
--
regards,
Sergey mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sergey try
"javascript:testKeyCode(evt)" onclick = "javascript:testKeyCode(evt)" />
The short and not v.helpful response is you can't submit - its
just a JSP tag that renders a HTML element and has nothing to do with
the submit process.
Some of the Struts tags have the "accesskey" attribute which defines a key
that can be used with the accelerator key (usually ALT) to invoke a
PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:28
To: user@struts.apache.org
Subject: RE: using html link to submit form and params
The href="javascript:document.{Form Name}.submit();" will allow me to submit
the form but how would I send the request parameter through which t
al Message-
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:23
To: 'Struts Users Mailing List'
Subject: RE: using html link to submit form and params
Get rid of the forward, I tend to use just HTML tags for this, but it should
work if you lop off the forward,
to submit form and params
Would I use the href tag in addition to using the forward tag within the
link?
-Original Message-
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:16
To: 'Struts Users Mailing List'
Subject: RE: using html link to s
Would I use the href tag in addition to using the forward tag within the
link?
-Original Message-
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:16
To: 'Struts Users Mailing List'
Subject: RE: using html link to submit form and params
If set
D] [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:12
To: user@struts.apache.org
Subject: using html link to submit form and params
I have a search page which allows the user to perform multiple actions. i.e
The user can select a returned row and then he can edit or delete via a
link.
However if
I have a search page which allows the user to perform multiple actions. i.e
The user can select a returned row and then he can edit or delete via a link.
However if I use the following link tag in my jsp:
This is encompassed within a form tag.
The struts config has the following:
and:
immediately by return e-mail and delete it from your computer.
-Original Message-
From: Gaet [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 10:48 PM
To: Struts Users Mailing List
Subject: Re: Return key pressed and default submit form
Nobody knows about this simple question
t should disable the functionality (assuming that button
doesn't get focus at some point):
Hope that helps,
Glenn
-Original Message-
From: Gaet [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 9:18 AM
To: Struts Users Mailing List
Subject: Re: Return key pressed and default submit
Google is your friend :)
http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html
> -Original Message-
> From: Gaet [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 17, 2005 10:18 AM
> To: Struts Users Mailing List
> Subject: Re: Return key pressed and defa
Nobody knows about this simple question?
TIA
- Original Message -
From: "Gaet" <[EMAIL PROTECTED]>
To: "Mailing List Struts"
Sent: Thursday, March 17, 2005 9:03 AM
Subject: Return key pressed and default submit form
Hi,
I a have a page with a form and when
Hi,
I a have a page with a form and when I click the return button of my keyboard
it submits the first button of my form...
how to change the default button or disable the return key action?
Thanks
I am a Struts newbie, and I have made great strides with the book:
"Jarkarta Struts for Dummies" by Mike Robinson and Ellen Finklestein.
They have an application called MusicListCollection and I have been
using that to help me figure out Struts.
One of the pages is called musiclist.jsp, this is a
- 243 ]
[EMAIL PROTECTED]
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 5:42 PM
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE - How to submit form and display results in popup
window with no browser decorations.
Thanks Anirudh
g List'
Subject: RE: NEWBIE - How to submit form and display results in popup window
with no browser decorations.
You could use a javascript function to achieve this..
function Help(document,val) {
window.open('Action.do&_contextId='+val,'win','toolbar=no,location=n
--Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 5:16 PM
To: 'Struts Users Mailing List'
Subject: NEWBIE - How to submit form and display results in popup window
with no browser decorations.
Folks,
>From browsing the list archive I can s
Folks,
>From browsing the list archive I can see that this sort of questions gets
asked frequently. I looked at the solutions but none seem, to fit my case:
I am trying to implement a popup window context-sensitive help system for a
struts app.
My solution so far is to have a help button in it
-Yves-
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 14, 2004 2:03 PM
> To: Struts Users Mailing List
> Subject: RE: submit form question
>
> Yes, its a difficult one this.
>
> (Afaik) Your only hope is onBeforeUnload(), but
code so I cant remember all the other
options I looked at at the time, so maybe there is a better way to achieve
it?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 14 May 2004 13:44
To: Struts Users Mailing List
Subject: submit form question
Hi experts
Hi experts,
How
to submit the form when the user closes the browser window, before closing
the browser window i want to submit the form.
Which _javascript_ event should i use.
i tried using onBeforeUnload(), the problem is that this event gets fired
even when the user goes to
another pag
transparently switch from a post to a get without needing to change that
code in your action. :-)
-Original Message-
From: Shyamal Shah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:29
To: [EMAIL PROTECTED]
Subject: Using GET method to submit form in Struts
Can I submit form using
Can I submit form using GET method? I want to do following:
http://mywebsite.com/actionmapping.do?serviceid=M12221
My question is, if I set action type as GET and then submit it, how will my
action class read the serviceid value?
Thanks
55 matches
Mail list logo