Re: html:form windowstate

2008-12-16 Thread Nils-Helge Garli Hegvik
m: 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 of the portlet:actionURL tag > to store the url as a variable which yo

RE: html:form windowstate

2008-12-16 Thread Evert Lammerts
eate a form tag 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 th

Re: html:form windowstate

2008-12-16 Thread Nils-Helge Garli Hegvik
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] - http://jcp.org/abou

Re: html:form styleId name attribute javascript issue

2007-08-06 Thread Paul Benedict
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 , styleId <> Name attribute? if so, > what is the solution for that? > > i use st

Re: html:form array submit, capture inside ActionFrom question

2007-04-20 Thread john lee
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. S

Re: html:form array submit, capture inside ActionFrom question

2007-04-20 Thread David Conrad
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>

Re: html:form array submit, capture inside ActionFrom question

2007-04-20 Thread john lee
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); >

Re: html:form array submit, capture inside ActionFrom question

2007-04-20 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > possible for me to implement the following code? > <% > for (i=1:i<=10:i++) > { >response.Write(" styleId="+i); >response.Write(" value="+i); >response.Write(""); >response.Write(""); >} > %> >

Re: html:form action mapping

2006-12-07 Thread chuanjiang lo
On 12/7/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: Hi all i have this jsp page with a form and the corresponding mapping in the struts config is When i view the source code of the jsp it shows Why is the action mapping to my context path? Appreciate an

Re: html:form problem

2006-09-21 Thread Adam Gordon
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/ B

Re: html:form problem

2006-09-21 Thread Chris Pratt
Have you tried: (*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/ But t

Re: html:form / styleId in xhtml mode

2006-08-08 Thread Laurie Harper
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

Re: html:form dynamic action value

2005-12-12 Thread Laurie Harper
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: " > In an experiment, I took the struts-example webapp from the Struts 1.

Re: html:form not generating name="" attribute

2005-08-22 Thread Haroon Rafique
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" or"name" 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 fro

Re: html:form not generating name="" attribute

2005-08-20 Thread Don Brown
Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an "id" or"name" if xhtml mode is on. You are correct, the styleId is a good workaround, especially if you use the commons-validator checked out from trunk. Don On 8/20/05, Morris Jones <[EMAIL PROTECTED]> wrote: > Don Brown wrote

Re: html:form not generating name="" attribute

2005-08-20 Thread Morris Jones
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, ye

Re: html:form not generating name="" attribute

2005-08-19 Thread Don Brown
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 PR

RE: html:form action

2005-03-17 Thread Mili Aggarwal, Noida
delete it from your computer. -Original Message- From: Rajaneesh [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 9: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. whil

RE: html:form action

2005-03-17 Thread Rajaneesh
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 Maili

Re: html:form question

2005-03-11 Thread Erik Weber
Scott Purcell wrote: Hello, I have a login that I call and displays its initial presentation. I am using the line for when I submit its values. But I want to put in some default values into the initial presentation. So upon reading about it looks like I could use the following: I think the na

Re: html:form complains of bean missing

2005-03-02 Thread Bill Siggelkow
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 notice

RE: html:form complains of bean missing

2005-03-02 Thread Günther Wieser
her Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 3:07 PM To: Struts Users Mailing List Subject: RE: html:form complains of bean missing Hello Gunth

RE: html:form complains of bean missing

2005-03-02 Thread Scott Purcell
dling 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 compl

Re: html:form complains of bean missing

2005-03-01 Thread Curtis Taylor
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 t

RE: html:form complains of bean missing

2005-03-01 Thread Günther Wieser
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

Re: html:form action getting altered after validation

2005-01-27 Thread Stephen Souness
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:

Re: html:form action getting altered after validation

2005-01-27 Thread Kishore Senji
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a fairly simple form like so: > > > > > > When the input fails validation and the user is sent back to the form > the action is changed to "//someProcess.do" - is this familiar to > anyone?

RE: html:form doesn't return action

2004-10-25 Thread Carl F. Hall
Bill Siggelkow Sent: Monday, October 25, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: Re: html:form doesn't return action 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.

Re: html:form doesn't return action

2004-10-25 Thread Bill Siggelkow
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 specif

RE: html:form

2004-04-20 Thread Mathew, Manoj
] 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

Re: html:form

2004-04-19 Thread as as
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 Bol

RE: html:form

2004-04-19 Thread as as
s work? 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 t

RE: html:form

2004-04-19 Thread Geeta Ramani
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 br

Re: html:form

2004-04-19 Thread JavaSoft
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

Re: html:form

2004-04-18 Thread Christian Bollmeyer
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:   > type="com.PrincipalForm" >   >   >     >       ID #: >     >     >    

Re: html:form

2004-04-18 Thread as as
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: ID #: " property="last" /> Christian Bollmeyer <[EMA

Re: html:form

2004-04-17 Thread Christian Bollmeyer
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 ge