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] -

RE: html:form windowstate

2008-12-16 Thread Evert Lammerts
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

Re: html:form windowstate

2008-12-16 Thread Nils-Helge Garli Hegvik
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

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 html:form, styleId Name attribute? if so, what is the solution for that? i use

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(html:form action='sth.do' styleId=+i); response.Write(html:text property=part value=+i); response.Write(html:submit/);

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 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
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.

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 html:form action=admin-console/engine-path/EditEnginePathAction and the corresponding mapping in the struts config is action path=/admin-console/engine-path/EditEnginePathAction

Re: html:form without writing a form in the resultant HTML

2006-11-10 Thread Wendy Smoak
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

RE: html:form without writing a form in the resultant HTML

2006-11-10 Thread Lance Semmens
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

Re: html:form problem

2006-09-21 Thread Chris Pratt
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/

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/ http://sis.enovar.com.br/

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

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

Re: html:form

2006-01-12 Thread Dave Newton
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

Re: html:form

2006-01-12 Thread Josh McDonald
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

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: html:form action=%= (String)request.getAttribute(action) % In an

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 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.

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, yes I

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

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

RE: html:form action

2005-03-17 Thread Mili Aggarwal, Noida
: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

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 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

RE: html:form complains of bean missing

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

RE: html:form complains of bean missing

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

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

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 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

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: 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

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=... - Newbie

2004-12-03 Thread Bill Siggelkow
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

Re: html:form action=... - Newbie

2004-12-03 Thread Wendy Smoak
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

RE: [BULK] - Re: html:form action=... - Newbie

2004-12-03 Thread Harrison Tsang
-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

Re: html:form : pre-populating fields from the Action java code

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

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 specific

Re: html:form : pre-populating fields from the Action java code

2004-10-22 Thread Luis Gervaso
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

Re: html:form and modules

2004-09-16 Thread Ricardo Gladwell
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

Re: html:form and modules

2004-09-16 Thread Yves Sy
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

Re: html:form and modules

2004-09-16 Thread Ricardo Gladwell
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

Re: html:form and modules

2004-09-16 Thread Yves Sy
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

Re: html:form and modules

2004-09-15 Thread Yves Sy
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

Re: html:form and modules

2004-09-15 Thread Hubert Rabago
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

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 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-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 briefly

RE: html:form

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

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

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: html:form action=principalEdit name=principalForm type=com.PrincipalForm table border=1 width=100% tr bgcolor=#EAEAE5 th align=right ID

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:   html:form action=principalEdit name=principalForm type=com.PrincipalForm  

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 getter for