Try this:
http://wiki.apache.org/struts/StrutsWidgets#head-d413131b40091e2337eb036c8a7ce9e43f428aec
On Tue, Sep 23, 2008 at 7:47 AM, cpanon <[EMAIL PROTECTED]> wrote:
> now the error is when I submit on a very simple form with the code below it
> states:
>
> No getter method available for proper
On 7/11/07, red phoenix <[EMAIL PROTECTED]> wrote:
I want to use
but when I run this jsp file,http://localhost:8080/a.jsp,it raise
error,it shows it can't find a1.do and a2.do,but when I write follows in IE,
http://localhost:8080/a1.do, it can show right result.
I am puzzled with it.I wan
How do I know? This is your application, you should know better how
you manage its state.
On 6/26/07, semaj <[EMAIL PROTECTED]> wrote:
How can I check the current app state? Could you direct me to some resources?
Thanks,
semaj
-
solve this problem in struts 1.3.8? Don't you think nobody
have face this issue? If yes, then they have not solve the problem??
Michael Jouravlev wrote:
>
> No, it will not. Unless you defined the form in Rollover scope ;-)
> http://wiki.apache.org/struts/RolloverScope
>
>
items to go to other pages without completing the wizard operation.
Will the easy wizard remove the form from session?
Thank you,
semaj
Michael Jouravlev wrote:
>
> Try this: http://downloads.sourceforge.net/struts/dialogs-samples-2.0.war
> I am sorry the online demos are not working at t
Try this: http://downloads.sourceforge.net/struts/dialogs-samples-2.0.war
I am sorry the online demos are not working at this moment. When you
start this demo app, select "New User Signup Wizard" link on that
start page, then check out the wizard. Notice, that the URL does not
change after you sub
On 6/21/07, Simon Pink <[EMAIL PROTECTED]> wrote:
...
What I want to do is, rather than send the id in the
value field, send the actual bean.
...
You cannot send a Java object from a browser.
-
To unsubscribe, e-mail: [EMAIL P
On 5/7/07, jalal udeen <[EMAIL PROTECTED]> wrote:
hi all
can any one explain me how to disable both back button
and refresh button
This is browser-dependent and does not relate to Struts.
-
To unsubscribe,
On 5/7/07, john lee <[EMAIL PROTECTED]> wrote:
Anyone help for the following?
inside jsp, i try to do the following, but cause error, what is the solution?
tks in advance
<% String pid="%> <%"%>
but give the error
String literal is not properly closed by double-quote.
john
<% St
On 5/6/07, zuban <[EMAIL PROTECTED]> wrote:
Laurie Harper wrote:
>
> zuban wrote:
>> It is working if I type manualy ExampleSubmit.do?method=delete
>> (The delete-method in the action-class ist calling)
>>
>> It is also working with this submit-button:
>>
>>
>> But why doesn't work > onclick="t
On 3/26/07, Ashuin Sharma Chamorro <[EMAIL PROTECTED]> wrote:
Is it possible to use a DispatchAction but that some of the submit buttons
display the same name, but they redirect to different methods?
Use EventActionDispatcher or EventDispatchAction.
http://wiki.apache.org/struts/EventActionDis
On 3/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Pierre,
> I am trying to implement a flood control mechanism to prevent robots
> requesting pages after pages at an "inhuman" rate.
I know you've gotten lots of feedback already, but there's a
super-simple way to do this: put a marker i
Another blog, another comment:
http://www.oreillynet.com/onjava/blog/2007/02/apache_struts_2_ga_release.html#comment-506880
"struts2 missed the boat. It has a nice "vintage" feeling to it, and
it may be able to ride the marketing clout that goes with the name,
but the technology feels like a "bla
From servlet engine point of view, jsessionid is not a query
parameter, you can verify that by calling getParameter or
getParameterMap on request object, jsessionid is not there.
To my mind, the simplest thing one can do is to get rid of jsessionid
parameter. To do this you need to have cookies
On 2/28/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I'm not sure what your proposing is bad per se... let's ask it this way:
how else could you accomplish this without manually instantiating the
form, because I agree, that's the one part that doesn't smell great to
me either.
One way to do
On 2/28/07, Maya menon <[EMAIL PROTECTED]> wrote:
Also, my colleague asked me this question when I talked to him about a "timed AJAX
event". Why cant we simply refresh the jsp page ? Why should we use AJAX ? so, whats
the real advantage of using an AJAX timed event to a normal JSP/HTML refres
On 2/28/07, Chaudhary, Harsh <[EMAIL PROTECTED]> wrote:
I have page1.jsp which has a form which calls Page1Action which forwards
to page2.jsp. Also, session scoped Page1Form and Page2Form.
In Page1Action, I do:
Page2Form frm = new Page2Form();
frm.setSomeVariable("Some Value");
Then read this
On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking at implementing a struts wizard flow (of about 12 pages)
into my struts-1.2.9 application. The struts dialogue project seems
to be along the lines of what I need (pattern-wise).
I have some extra quirements such as:
1. A p
I have no idea, but does it work without Javascript assigned to the button?
On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote:
Hi,
I realise this is probably not a struts problem and I feel a bit silly posting
this question but here goes:
I'm using html:button with EventDispatchAction but
On 2/23/07, Pierre Thibaudeau <[EMAIL PROTECTED]> wrote:
[using Struts 1.3.5]
I have a fairly complex search form which (once its content is checked
as valid and unambiguous) should *redirect* to a results action that
outputs a results.jsp page.
The primary reason for *redirecting* is that I wa
execute() method is called for any action including DispatchAction.
DispatchAction.execute() calls your event handles, but you can
override it if you want.
I suggest using EventDispatchAction instead of DispatchAction. Also,
if you want to extend your own MyAncestor you can use EventDispatcher
cl
It is "http://java.sun.com/jsp/jstl/core";, not
"|http://java.sun.com/jsp/jstl/core|". Verify the URI in the TLD file.
On 2/12/07, puchacz <[EMAIL PROTECTED]> wrote:
I am using Tomcat 5.0 and jstl-1.1.1.jar and standard-1.1.1.jar.
so it seems that everything should be fine..., but isn't... :(
Out of the two options outlined by Laurie the first is the proper one
;-) The second option works for sequence of pages, but not for a
wizard. A wizard is a single stateful object with multiple views
depending on wizard state. A page sequence is just sequence of web
resources/pages not necessarily
I uploaded a working example of rollover scope for Struts 1.x, see
wiki for some docs and for the sample app itself:
http://wiki.apache.org/struts/RolloverScope
M.J.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
On 2/2/07, Givler, Eric <[EMAIL PROTECTED]> wrote:
MJ>If you don't use Javascript, how do you supply id of an item to edit?
Right now, it's a hyperlink.
The previous Model 1 based version of the application used a button, and then it cycled through all
the rows (it had a rowcount as a hidden v
On 2/2/07, Givler, Eric <[EMAIL PROTECTED]> wrote:
I have a multi-record display grid and I want the user to be able to click a
button to Edit a record. Since the page also handles Loading the records, and
navigation to two other places, I was using the EventDispatchAction.
I tried mapping: e
On 1/5/07, Information Guzzler <[EMAIL PROTECTED]> wrote:
Hi,
Is there a way to use ActionRedirect(Struts 1.2.7 & later) with POST
parameters and not GET.
No. Currently Struts 1.x is able either to forward (in-server) or to
redirect (through browser) a request based on "redirect" flag. Settin
On 11/29/06, Yujun Liang <[EMAIL PROTECTED]> wrote:
To solve the action chaining problem, I wrote a subclass of
RequestProcessor. In the subclass, override some templates method. In the
last method of process(), I set a flag in request, and I check for this flag
in some methods and if the flag is
On 11/28/06, Tarek Nabil <[EMAIL PROTECTED]> wrote:
Hi,
One of the problems with Struts was that if you had a page that requires
some setup and this page submits to an Action, then you would not be
able to set validate to true on that action because if validation
problems occur then Struts will
Check out struts-cookbook-1.3.5.war example app, it contains custom
chain-config.xml with entries relevant to Tiles. Below are portions
from this file:
=== cut here ===
...
...
...
...
...
=== cut here ===
On 10/17/06, Mikolaj Rydzewski <[EMAIL
You use the same form in both actions, and you chain them without a
redirect, so the request parameters are applied to your form again
when you forward to PrepareAction.
Struts repopulates your form with request parameters, so if the
parameter is mentioned in the request and it is emply, Struts w
On 9/19/06, Givler, Eric <[EMAIL PROTECTED]> wrote:
On this page: http://wiki.apache.org/struts/ActionErrorsAndActionMessages
Any of the URLs at the bottom do not appear to work.
Thanks. Fixed.
-
To unsubscribe, e-mail: [EMAIL
Do you see the action with path
"/GroupRulesManager/Global/returnToPrev"? Me neither. I see one with
the path "/GroupRulesManager/returnToPrev" instead.
I have no idea why it worked before.
On 9/18/06, Swaminathan Subramanian <[EMAIL PROTECTED]> wrote:
Hello!
I am working on upgrading a Struts
On 9/15/06, Alexis MAILLOT <[EMAIL PROTECTED]> wrote:
I'm sending a rediction (with HttpServletResponse.sendRedirect or with a new
ActionForward) : everything works fine except the http return code which is
500 (instead of 200 or 302)...
The application is runing under Websphere Application Serve
Disabled input elements of an HTML form are not submitted. Use HTTP
sniffer to see what is submitted and what not.
On 9/14/06, Dean, Michael <[EMAIL PROTECTED]> wrote:
Interesting problem...
I have a submit button which includes a property = "method" with
value="Save"...the enclosing form is
On 9/10/06, David Grundberg <[EMAIL PROTECTED]> wrote:
Daniel Chacón Sánchez skrev:
> I understand all that, but It not have to happen, fot me its a bug,
> because
> the action don´t have to be call twice, no matter that the property of
> the
> td was wrong
>
Use instead of .
When you ask the
From: http://www.raizlabs.com/blog/2006/08/explorations-in-firefox-ui.html
"There are several problems with URL's/URI's and several ideas to
address these problems.
* URL's get too long making it difficult to copy/paste
* URL's get used to pass form data (that users don't usually need or underst
Of course you can.
On 9/7/06, Marcello Savino <[EMAIL PROTECTED]> wrote:
In a struts jsp files can I have more form with different action defined
?
I mean something like that
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-
On 9/6/06, Vaylee Mckenzie-Daniels (VA) <[EMAIL PROTECTED]> wrote:
> I am struggling to find resources on how to enable the validation
> only when submit is selected. Validation should not be done when
> cancel is selected.
If you use JSP for the view part of your app, then use
to render Ca
On 9/6/06, Martin Kindler <[EMAIL PROTECTED]> wrote:
Hi Artem,
this is an interesting question.
Some years ago I was involved in the design of a system which used a XML and
XSLT to translate the content to various output formats (not only
XML-based). It was an elegant solution but also a hard wa
On 9/5/06, Help My PC! <[EMAIL PROTECTED]> wrote:
Hi,
In struts, I have an action Act1 that forwards to a display page Page1.
On that page there is a submit button whose action act2 forwards to
display page Page2.
I need to modify Page1 in such a way that I add an additional submit
button whos
On 6/13/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Hi,
Please suggest how can I specify which value(s) to be displayed as
selected by default in html:select tag, when specified through
collection attribute.
http://wiki.apache.org/struts/StrutsWidgets
-
On 8/30/06, Anthony N. Frasso <[EMAIL PROTECTED]> wrote:
I don't have the form bean
until I get to the JSP page, so there's no way to
initialize it.
Struts being a classic Model 2 framework requires all requests to go
through an action. Well, this is not a strict requirement just a
standard pra
This creates a checkbox for each customer in a
collection of customers. It supposedly creates the
following html:
John Doe
Peter Smith
What I don't understand is how it determines that John
Doe should have his checkbox checked, but not Peter
Smith.
Do you have any ideas?
Tha
Have fun:
http://www.indeed.com/jobtrends?q=web+struts%2C+web+webwork%2C+web+jsf%2C+web+php%2C+web+coldfusion
http://www.google.com/trends?q=java+struts%2C+webwork%2C+coldfusion%2C+php&ctab=0&geo=all&date=all
On 8/28/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Any stats for PHP or CF?
M-
On 8/28/06, Anthony N. Frasso <[EMAIL PROTECTED]> wrote:
Hello all, and thanks for your help in advance.
I have a relatively simple JSP that I'm trying to
present. I have a bean that is accessible as an
attribute in the request, as well as a form bean for
the form on this page. As an example,
Escaping the quotation symbols inside the string usually helps.
On 8/28/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
I am trying to use html:link to "fix" a URL so that it has the context
path on it, but when the value of the page parameter requires quotes
inside it (to specify a string value t
Without a slightest attempt to start another flamefest ;-) such
statistics and job listings were the reason why I suggested to give
different names to Struts 1 and Struts 2 codebases. Say if in a year
you see "Struts" in a job posting, what Struts is that?
Dan, check out Stripes as an alternative
On 8/28/06, Daniel Larsson <[EMAIL PROTECTED]> wrote:
I can't find a way to set the 'id' attribute of input controls using the
html taglib. Am I missing something, or is this not possible? The 'id'
tag doesn't seem to get set at all.
For example, for :
http://struts.apache.org/1.x/struts-taglib
On 8/25/06, vinicius <[EMAIL PROTECTED]> wrote:
I know how to save a bean in the session context, doinh this:
request.getSession().setAttribute("beanName",Object);
But i don't find how I save a bean in the Aplicattion or page context!!
Could someone help me??
Google surely can help to
On 8/23/06, Raghuveer <[EMAIL PROTECTED]> wrote:
When does ActionDispatcher action to be used?
org.apache.struts.actions.ActionDispatcher
http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ActionDispatcher.html
On 8/23/06, mosho <[EMAIL PROTECTED]> wrote:
I am assuming it is calling unspecified() because it is not able to find
the key name {submitText}
Instead of assuming you can verify it. If you are using Firefox,
LiveHTTPHeaders is invaluable plugin for HTTP traffic sniffing.
On 8/7/06, Vijay Gupta <[EMAIL PROTECTED]> wrote:
Hi All,
I would really appriciate your help in this:
I am trying to JSP:include 2 actions and having the problem that the
request never comes back from 1st include and that stops further
excutuion of the JSP trying to include.
I guess the reason
On 7/20/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
FormDef support nested beans, and nested collections of beans. If you
had a nested Address object, your form would look like:
In your example Address is nested within ActionForm, right? What if I
have an object like Person having Address
On 8/2/06, Wbyeats <[EMAIL PROTECTED]> wrote:
Hi guys,
I have this problem: I'm using websphere 4, wth JDK 1.3 and J2EE 1.2, and
struts.
I have set an action that after doing some coding would forward
(redirect=false) to a jsp. In the browser url I correctly see the .do url.
If in that page I
http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html#ID-36113835
On 8/1/06, Monkeyden <[EMAIL PROTECTED]> wrote:
Caroline (or Jen?)
All I can say is "Wow!" document.getElementById() only works in IE, not
FF. Your response is an arduous elaboration of my document.forms[0] and
document.forms
On 7/31/06, temp temp <[EMAIL PROTECTED]> wrote:
How to read the following code ?
boolean vIsForm = vWorkTypeId.equals(IFormflowWorkTypeIds.FORM);
String vWorkForwardName = MessageFormat.format("work={0}", new Object[]
{vWorkAlias});
String vForwardName = (aActionMapping.fin
No one owns wiki :) I just wanted to structure it so most valuable and
stuff could be included into the next version of the User's Guide. On
another hand, since AjaxTags are not part of Struts (yet?), then maybe
you are right and the better place for this page is in Articles and
How-Tos.
Please,
Tag's "class" attribute conflicts with java.lang.Object.getClass(),
therefore it was renamed to styleClass along with styleID. These names
are aligned with HTML "style" attribute.
ID is a CSS selector, its other use like in the DOM tree is entirely
up to a developer.
There were opinions that jav
removeAttribute(Globals.ERROR_KEY);
}
}
}
Looking at the method's name, I might think of:
* Bean cache
* Cache scope
On 7/22/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
Shale calls this a dialog. I prefer that name. The reason is, obviously, is a
continuous dialog across m
FlashScope is a feature of such frameworks like Tapestry or Stripes.
Behind the scenes, it uses session object and automatically retains
objects for the duration of this request and the subsequent request.
This scope object works best when redirect-after-post pattern is
utilized.
Struts has a rud
On 7/22/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Hi BaTien,
You may want to have a look at this Wiki page as well:
http://wiki.apache.org/struts/AjaxStruts
I presume your using Struts as your overall framework since you posted
to this list :) This page has some links and info to get y
On 7/21/06, Duong BaTien <[EMAIL PROTECTED]> wrote:
I remember somewhere on this list an announcement of Web Parts in the
sourceforg.net (collection of various web components such as Filter,
logging, etc). Do someone has a link?
This one:
http://www.microsoft.com/sharepoint/server/downloads/we
On 7/21/06, temp temp <[EMAIL PROTECTED]> wrote:
If I get this ob ject from request parameter I cannot cast it to integer
because I get compilation error stating that cannot cast a String to integer
in this case do I have to create a new Integer every time ?
Well, d'oh!
--
Thanks, now I got it. How could I not see the difference before? ;-)
On 7/21/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
(inline)
> -Original Message-
> From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 20, 2006 6:16 PM
> To: Struts Users Mail
On 7/21/06, Vaneet Sharma <[EMAIL PROTECTED]> wrote:
Hii frnds
If i want to show a form in edit mode, and suppose my form has a drop
dowm box say country drop down box ,
In this drop down i want to show all the countries and also the counrty
tht was previoulsy selected by the user as selected
On 7/20/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Jakub Milkiewicz ha scritto:
> I really like Refirect after post patterny by Jouravlev where author
> promotes saving submitted data in temporary storage (for example session)
> and then use redirect to output action adding some kind of iden
On 7/20/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
(was: Is there any direct link between model and view in struts..)
On 7/20/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Another library,
> FormDef, can build a dynaform based on properties of nested business
> object
Hey
This is a valid technique. I want to comment on the user experience
aspect of it.
Say, that "/application.do" displays a form that a user has to fill
out. He makes a mistake and you have to redisplay the form by calling
"/application.do". Will the query paramter be the same? If not, then
"/applic
On 7/20/06, sunil.prabhu <[EMAIL PROTECTED]> wrote:
Hi ,
Is there any direct link between model and view in struts Architecture?
If you are asking about something like automatically building input
forms or output pages based on business object's properties, then no,
Struts framework does n
On 7/19/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
Michael Jouravlev wrote:
> On 7/19/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
>> My text field and the link are defined inside a HTML
>> form
>
>> When I submit the form, the browser address bar shows
my code again. I tried to pass the
> value
> entered in a textfield:
>
>
>
>
> to a link this way:
>
> var="ascFirstName">
> value="${searchFirstName}" />
>
>
>
> and in my action class, I have
>
> String firstName = r
On 7/19/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
My text field and the link are defined inside a HTML
form
...
When I submit the form, the browser address bar shows
searchFirstName=
a blank is sent.
You should start from here. Why does the browser send an emply
parameter? View HTML page s
/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
I am not talking about submit a JSP, perform some
action, and return a JSP.
I submit the textfield, and I used System.out.println
in my action class to write out the value submitted.
I got a blank. Therefore, something must go wrong.
--- M
On 7/19/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
I must have done someting wrong.
I tried to pass the value entered in a textfield:
to a link this way:
and in my action class, I have
String firstName = request.getParameter(
"searchFirstName" );
I tried to print out the firstName, I
sissippi John Hurt <[EMAIL PROTECTED]> wrote:
But what if my jsp page that I want to display the DAO info is a read only
page ie. doesn't have an element on it? Would I still populate
the ActionForm and use it to display or would I just pass a regular POJO to
jsp and use or jsp or sc
On 7/18/06, mosho <[EMAIL PROTECTED]> wrote:
Hi all,
I am struts 1.1.
My requirement is to have links which will call one action and each link
will have unique identifier to get data.
For example, something lilke this:
home.do?action=link1
action parameter will keep changing. How can I do this?
On 7/18/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
Hi,
I know ActionForm can be used to transfer html-form-input-fields to the
Action class. But what about the other way around? Can it be used to say get
a DAO object and transfer its properties to the ActionForm, which when the
request
On 7/18/06, A. Lotfi <[EMAIL PROTECTED]> wrote:
How to put an image in a button
thank you
In 2006 you should use a regular submit button and render it whatever
you like using CSS.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
On 7/18/06, billintx <[EMAIL PROTECTED]> wrote:
I'd like to do something like this:
Each template would require a different ActionForm?
Depends on your design. Generally, no.
Should I create and put the ActionForm in the request manually?
As you like.
Should I chain this w
http://displaytag.sourceforge.net/11/tut_basic.html
On 7/18/06, A. Lotfi <[EMAIL PROTECTED]> wrote:
In the Acion I fill a vector with dynaForm(s)
for(.) {
vecInboxMessages.addElement(dynaForm);
}
session.setAttribute("inboxList" , vecInboxMessages);
On 7/17/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
Is 1.3.5 beta or alpha?
Neither. The grade will be assigned after voting in about a week. See
dev list for details. 1.3.5 is the fifth build since 1.3.0 and is
being expected to make a GA grade. At least that is the intention of
those who are pu
On 7/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
Wandering around the wiki, I ran across
* http://wiki.apache.org/struts/StrutsHaiku
and
* http://wiki.apache.org/struts/StrutsLimerick
I was really tempted to remove these pages ;-))) (The power to remove
a page should be granted only to s
On 7/14/06, priyadarsh kankipati <[EMAIL PROTECTED]> wrote:
Thanks Krishna for your suggestion. Can you please elaborate on your suggestion?
Thanks Robert for your suggestion.
But I think this will not work as can't change the value of the "disabled"
attribute till the page loads.
My requ
On 7/14/06, Yanroy <[EMAIL PROTECTED]> wrote:
I'm glad you confirmed for me that the Servlet version has little or nothing
to do with the struts version... I was beginning to suspect this. There
should be a wiki page somewhere that demystifies all this... Things I'd like
to be able to find (all
On 7/13/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 7/13/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Say I want to redirectto to a same action that has been posted to from
> a browser. I don't have a hardcoded action name that I want to call. I
> n
Say I want to redirectto to a same action that has been posted to from
a browser. I don't have a hardcoded action name that I want to call. I
need to obtain this name (with context and such) from the request.
What do I do?
I can get request.getRequestURI(), request.getRequestURL(),
request.getCon
On 7/13/06, Akshay Ahooja <[EMAIL PROTECTED]> wrote:
I tried using
1. While Struts html:form tag will properly parse out the query
parameter out of "action" attribute, it is not a recommended way to
pass data from a submitted form. You might want to use a hidden field
instead (unless you use GE
If your action is a rendering action you do not need to redirect. If
your action is a submit action then you need to redirect to rendering
action that in turn forwards to JSP.
See some info here (work in progress):
http://wiki.apache.org/struts/StrutsManualActionClasses
On 7/13/06, Pankaj Gupta
Here is my own opinion, which cannot be considered an "official" or a
"best" practice, but nevertheless:
[ Approach 1 ]
You use one action class to display the page (render phase) and to
process input (submit phase). In this case I suggest not to use
"input" property entirely, and not to use auto
On 7/5/06, Adam Gordon <[EMAIL PROTECTED]> wrote:
Can anyone point me to a working example of how to render an array of String
objects as a list box in a JSP such that the contents of the list box can
come from a property set on the request and not the bean mapped to the
struts Action?
It seems
You cannot include one JSP tag into another JSP tag.
On 7/4/06, Spin <[EMAIL PROTECTED]> wrote:
Hello,
I want to use the bridge together with the jsp:
<%@ taglib
uri="http://portals.apache.org/bridges/struts/tags-portlet-html";
prefix="html"%>
This line is only for practice,
On 7/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
draegoon Z wrote:
> Sounds great so far, but I think I lost you on the first part.
> Let's work through a simple problem...
>
> Let's say I have in my struts-config:
>
>
>
>
>
> scope="request" type="com.draegoonZ.action.MyAction">
>
This is a helpful advice, I always use "name" explicitly. But in this
case this is not it. According to FormTag.java source code:
=== cut here ===
// Look up the form bean definition
FormBeanConfig formBeanConfig =
moduleConfig.findFormBeanConfig(mapping.getName());
ers.do"
--Caroline
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Make sure that you have refer to a form bean in the
> "selectUsers"
> action mapping.
>
> On 6/29/06, Caroline Jen <[EMAIL PROTECTED]>
> wrote:
> > Ed, your suggestion makes s
Make sure that you have refer to a form bean in the "selectUsers"
action mapping.
On 6/29/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
Ed, your suggestion makes sense.
I have created a second form on the page by adding
before the
and change the to
followed by
. The second form is defined in
ine Jen <[EMAIL PROTECTED]> wrote:
I was thinking to use the attributes: paramId,
paramName, paramProperty in my tag. But I do not know how to
pass more than one set of them.
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> I can think of those:
>
> 1) Use Javascript in link
See here for example: http://www.irt.org/script/155.htm
On 6/27/06, José María Tristán <[EMAIL PROTECTED]> wrote:
Hello:
I use validation of side of client. i have a function on javascript
that is
launch when the user submit the form. This function can to call the
validation functions o
I can think of those:
1) Use Javascript in link's "onclick" event to collect form data.
2) Use regular submit button, use CSS to display it as a link.
On 6/27/06, Caroline Jen <[EMAIL PROTECTED]> wrote:
I am working on a JSP written in JSTL and html-el
tags. The JSP is displayed fine.
This JS
There is no compiler in Struts framework. It is possible to use JSP
compiler, its exact usage depends on container.
On 6/26/06, Bob Carpenter <[EMAIL PROTECTED]> wrote:
Thanks for confirming it's not possible. I didn't think so; but wanted to
make sure before I wrote my own HTML generator. For t
1 - 100 of 992 matches
Mail list logo