You can probably use the 'var' attribute of the portlet:actionURL tag
to store the url as a variable which you can reference by an
expression in the html:form tag. Take a look at the tag reference for
the portlet tags (PLT.22.2) in the JSR168 spec [1] for details.
Nils-H
[1] -
that submits to a
WindowState.MAXIMIZED state.
Thanks, Evert Lammerts
-Original Message-
From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com]
Sent: dinsdag 16 december 2008 13:07
To: Struts Users Mailing List
Subject: Re: html:form windowstate
You can probably use the 'var' attribute
16 december 2008 13:07
To: Struts Users Mailing List
Subject: Re: html:form windowstate
You can probably use the 'var' attribute of the portlet:actionURL tag
to store the url as a variable which you can reference by an
expression in the html:form tag. Take a look at the tag reference
Use the getElementById scripting method.
On 8/6/07, john lee [EMAIL PROTECTED] wrote:
I have two file, and try to test javascript, but javascript can not access
document.form.
Can one know why? inside html:form, styleId Name attribute? if so,
what is the solution for that?
i use
--- john lee [EMAIL PROTECTED] wrote:
possible for me to implement the following code?
%
for (i=1:i=10:i++)
{
response.Write(html:form action='sth.do'
styleId=+i);
response.Write(html:text property=part
value=+i);
response.Write(html:submit/);
what is S1 tags? i still use struts 1.3.8.
So, no possible to submit formay array?
tks
john
Dave Newton [EMAIL PROTECTED] wrote:
--- john lee wrote:
possible for me to implement the following code?
for (i=1:i {
response.Write( styleId=+i);
On 4/20/07, john lee [EMAIL PROTECTED] wrote:
what is S1 tags? i still use struts 1.3.8.
Struts 1.x. S2 would be Struts 2.x. So, with 1.3.8, you are still using S1.
So, no possible to submit formay array?
possible for me to implement the following code?
for (i=1:i {
David, tks for ur help.
actually, my goal is to have multiple submit button on same page, do same
thing, but carry different input value(different search result).
john
David Conrad [EMAIL PROTECTED] wrote:
On 4/20/07, john lee wrote:
what is S1 tags? i still use struts 1.3.8.
On 12/7/06, chuanjiang lo [EMAIL PROTECTED] wrote:
Hi all
i have this jsp page with a form
html:form action=admin-console/engine-path/EditEnginePathAction
and the corresponding mapping in the struts config is
action path=/admin-console/engine-path/EditEnginePathAction
On 11/10/06, Lance Semmens [EMAIL PROTECTED] wrote:
1. Can I use struts tags (eg html:select) without wrapping them in an
html:form (I'm pretty sure the answer is no).
2. Can I wrap my tags in html:form but somehow not output form to the
resultant HTML.
I was hoping for a render=false or
That worked a treat... thanks for the quick response.
I did a quick check with html:text / and html:checkbox / and the *hack*
seems to work there too.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 10 November 2006 17:08
To: Struts Users Mailing List
Subject: Re
Have you tried: html:form action=/example ...
(*Chris*)
On 9/21/06, Roberto C. Lima Jr. [EMAIL PROTECTED] wrote:
Hi, everyone.
I have an app that will be published at internet with apache + JBoss
Server.
So, it will be published on the address above:
http://sis.enovar.com.br/
It looks like you might be using modules...are you?
-adam
Roberto C. Lima Jr. wrote:
Hi, everyone.
I have an app that will be published at internet with apache + JBoss
Server.
So, it will be published on the address above:
http://sis.enovar.com.br/ http://sis.enovar.com.br/
I suspect this restriction is there to support the validator. XHTML
mandates the use of 'id' in place of 'name' in various situations.
That said, you can still predict what the 'id' value will be; in this
case, it will take the name of the FormBean associated with the form. So
your AJAX calls
Josh McDonald wrote:
styleId, reference the taglib docs:
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#form
Ah thanks I didn't see that.
Or to generate a name= that's not based on the name of the form
bean?
I'm not sure why you'd want to that.
So I can have two
Josh McDonald wrote:
Quick question, is it possible to make html:form generate an id= ?
styleId, reference the taglib docs:
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#form
Or to generate a name= that's not based on the name of the form bean?
I'm not sure why
styleId, reference the taglib docs:
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#form
Ah thanks I didn't see that.
Or to generate a name= that's not based on the name of the form
bean?
I'm not sure why you'd want to that.
So I can have two forms that use the same
Perry Jeung wrote:
I have a html:form tag with a dynamic action value that works in one version of
Struts and not in another.
I'm new to Tiles and I want to do the following in one of the reusable tiles
named report.jsp:
html:form action=%= (String)request.getAttribute(action) %
In an
On Saturday at 9:36am, DB=Don Brown [EMAIL PROTECTED] wrote:
DB Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an
DB id orname if xhtml mode is on. You are correct, the styleId is a
DB good workaround, especially if you use the commons-validator checked
DB out from trunk.
Don Brown wrote:
You probably enabled xhtml output rendering, which renders an id
attribute instead. Unfortunately, client-side validation in xhtml is
currently broken in Struts 1.2.7, so you can either checkout and build
commons-validator or wait until the next release.
Thanks Don, yes I
You probably enabled xhtml output rendering, which renders an id
attribute instead. Unfortunately, client-side validation in xhtml is
currently broken in Struts 1.2.7, so you can either checkout and build
commons-validator or wait until the next release.
Don
On 8/19/05, Morris Jones [EMAIL
xls is a predefined mime type for excel spread sheet. It may create a
problem.
while defining the extensions you need to map this to ActionServlet in
web.xml
-Original Message-
From: Mili Aggarwal, Noida [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 9:47 AM
To: Struts Users
:58 AM
To: 'Struts Users Mailing List'
Subject: RE: html:form action
xls is a predefined mime type for excel spread sheet. It may create a
problem.
while defining the extensions you need to map this to ActionServlet in
web.xml
-Original Message-
From: Mili Aggarwal, Noida [mailto:[EMAIL
Scott Purcell wrote:
Hello,
I have a login that I call and displays its initial presentation. I am using the html:form
action=login.do line for when I submit its values.
But I want to put in some default values into the initial presentation. So upon reading about
html:form it looks like I could
this, or be a litle more
precise that would really help me out.
I sincerely appreciate your time,
Scott
-Original Message-
From: Günther Wieser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 12:40 PM
To: 'Struts Users Mailing List'
Subject: RE: html:form complains of bean missing
hi
]
Sent: Wednesday, March 02, 2005 3:07 PM
To: Struts Users Mailing List
Subject: RE: html:form complains of bean missing
Hello Gunther,
I read last night about the tiles tempating functionality, so I have a
little better handle on it today. It actually is a nice way to create some
parts of my app
Gunther,
Is there a reason you didn't do this using a servlet filter instead of
a custom request processor? IMO, servlet filters are less intrusive,
support filtering for JSPs and static pages as well as Struts actions,
and its easier to selectively apply them using URL patterns.
Also, I
hi
if you want a single point where you can check if a user is logged in or
not, you can do something like the following:
create a class MyRequestProcessor extends TilesRequestProcessor (in this
case it is because i use tiles) and implement the process() method.
within this method check for the
Hi Scott,
If you choose to use the Struts html:form tag, you must declare the
corresponding definition in the form:beans section of the struts-config
file. That's the way the framework behaves as I've used it.
HTH,
-- Curtis
Scott Purcell wrote:
First off, as I am learning Struts I just wanted
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness [EMAIL PROTECTED] wrote:
Hi all,
I have a fairly simple form like so:
html:form action=/someProcess.do
html:text property=username /
/html:form
When the input fails validation and the user is sent back to the form
the action is
Did a little more digging around and found a bugzilla entry - fixed in
1.2.6 (beta)
http://issues.apache.org/bugzilla/show_bug.cgi?id=32283
--
Stephen
Kishore Senji wrote:
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness [EMAIL PROTECTED] wrote:
Hi all,
I have a fairly simple form like so:
The reason is that in classical HTML; forms are expected to accept
input. Struts stores the input data in an ActionForm; the traditional
approach for what you are doing would be to use a link and not a button.
-Bill Siggelkow
Jacques wrote:
Hi,
Here's what I want to achieve :
I have a form
From: Jacques [EMAIL PROTECTED]
When I try the application, and the failure condition is triggered, I get
the following error message :
2004-12-03 13:27:20 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
org.apache.jasper.JasperException: Cannot retrieve
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 11:31 AM
To: Struts Users Mailing List
Subject: [BULK] - Re: html:form action=... - Newbie
From: Jacques [EMAIL PROTECTED]
When I try the application, and the failure condition is triggered
Thanks. Yes, I can reference the bean name from every html:text or
other element inside of the html:form. But if there are lots of
fields, it would be nicer to only write the bean name once, in the
html:form tag.
Luis Gervaso wrote:
You can use 3 differents FlightBean and then populate the
I don't know if this is a cut-and-paste error but you are missing a ''
in your action mapping after ' parameter=method '
Carl F. Hall wrote:
Whenever I use html:form, I only get the name of the context as the action.
What would cause the action to not return correctly? See below for my
specific
You can use 3 differents FlightBean and then populate the *value
attribute* in each html:text/
When you click only one form submit is sent
Luis Gervaso
On Fri, 22 Oct 2004 15:28:16 +0900, Bill Keese
[EMAIL PROTECTED] wrote:
I have a question about pre-populating the fields of a form you
Hi,
Thanks for that, I will try to use the switch action to forward onto the
correct module actions. Just out of interest, why doesn't the html:form
tag have a module attribute?
Yves Sy wrote:
Try using SwitchAction
-Regards-
Yves
On Wed, 15 Sep 2004 23:46:16 +0100, Ricardo Gladwell
[EMAIL
I would guess its because its not really standard practice to submit a
form to a handler from another module. It's kind of a weird flow if
you ask me. Usually you'd submit to a handler in your own module and
THEN forward to wherever else using SwitchAction.
Anyway if the SwitchAction does not
Hi,
Perhaps I'm misunderstandig the use of modules: I have a default module
that handles basic webapp functionality (homepage forwarding, layout,
etc) and other modules handle additional functionality such as user
management (log in/out, registration, details modifications, etc) henc
the need
What I usually do is place the login functionality (and all
common/general functionalities for that matter) in the default
struts-config at the root context.
Now if I have a more specific module or section in my app, i create a
sub-context so that all action mappings for that particular submodule
Try using SwitchAction
-Regards-
Yves
On Wed, 15 Sep 2004 23:46:16 +0100, Ricardo Gladwell
[EMAIL PROTECTED] wrote:
Hi,
I'm experimenting with struts modules, but I've encountered a problem
whereby I have a struts html:form referencing an action in my
non-default module. Instead of
I don't think submitting a form to a separate module is allowed by the
Struts tags.
Actions are specific to each module. IIRC, You can define the same
path in different modules and they will be treated as different
mappings. You can even define forms with the same form name in
different modules
]
Sent: Monday, April 19, 2004 9:35 AM
To: Struts Users Mailing List
Subject: Re: html:form
wonderful..
i guess two submits are the culrpits here then...
then in my second form, how do i implement my fucntionality (wher i want to display a
table- but clicking on the left most element in the table must
2 forms i assumed you use 2 diffrent actions. It
wouldn't matter how many form you have as long as you
set the action in your struts-config correctly.
If you use 2 forms just imagine you have 2 diffrent
pages, how you deal with it ? so its supposed to be
same as you handle your multiform.
--- as
: as as [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 10:30 AM
To: Struts Users Mailing List
Subject: Re: html:form
Thanks for the reply. I am submitting both the forsm...so does only one submitted form
end up in the request?
Here is my code briefly
? Try that. My
feeling is that it isn't the fcat that you have *two* forms/beans that is the problem..
Regards,
Geeta
-Original Message-
From: as as [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 10:30 AM
To: Struts Users Mailing List
Subject: Re: html:form
Thanks for the reply. I
wonderful..
i guess two submits are the culrpits here then...
then in my second form, how do i implement my fucntionality (wher i want to display a
table- but clicking on the left most element in the table must take it to another
pageusing javascript
please advise..
Thanks!
Christian
Thanks for the reply. I am submitting both the forsm...so does only one submitted form
end up in the request?
Here is my code briefly:
html:form action=principalEdit name=principalForm type=com.PrincipalForm
table border=1 width=100%
tr bgcolor=#EAEAE5
th align=right
ID
On Sunday 18 April 2004 16:30, as as wrote:
Hi,
Thanks for the reply. I am submitting both the forsm...
Probably, but where?
so does only one submitted form end up in the request?
Yes.
Here is my code briefly:
html:form action=principalEdit name=principalForm
type=com.PrincipalForm
On Saturday 17 April 2004 05:13, as as wrote:
Hi
Has anyone implemented two html:form in a same jsp..
I wish to do this to implement two tables.each table displaying
values in a row, of a bean...
so there are two beans...
for some reason, it gives me error saying it cnat find getter for
51 matches
Mail list logo