If the user clicks the submit button, then configuration
tells where success URL to go.
But user has no chance to click the submit button,
because the form does not display at all.
And it is forwarded to success URL automatically!
On 1/1/06, Laurie Harper [EMAIL PROTECTED] wrote:
What do you
Hi all,
I want to forward to an external web site link http://
How do I do that where?
I have tried giving the absolute path in the path attribute, however, it
doesn't work...
Any ideas/suggestions ...?
Thanks Regards,
Meenakshi.
Hello,
I have 2 struts modules.
One for a list screen : proList
Other for the complete project module : pro
Both have separated struts config files.
Code samples :
---
struts module proList
---
action path=/proViewListViewRelay
Sandhya Lakshmi wrote:
Thanks, Wendy I was looking for the libraries which are in the
struts-el-1.3.0-dev.jar file.
Just as a point of distinction and to reiterate what Wendy said, those
aren't libraries; they're TLDs, which are descriptions _of_ the
libraries: Tag Library Descriptors.
Hi,
I am facing a problem. i am having a JSP page which acts as an
Acknowledgement screen to users. The users need to take the print out of
this screen. I am providing a print button. but what i want is to change the
header gif for printing(since it is taking too much space on the page and
the end
Hi
Use CSS with the media setting on your import of your stylesheet
(rel=stylesheet type=text/css media=print, screen).
and in your stylesheet define 2 blocks: @MEDIA print and @MEDIA screen where
you define your settings. For the stuff that you do not want to show on a
printout, add the
On 1/4/06, Meenakshi Singh [EMAIL PROTECTED] wrote:
I want to forward to an external web site link http://
How do I do that where?
I have tried giving the absolute path in the path attribute, however, it
doesn't work...
Any ideas/suggestions ...?
You can't *forward* to an external
I don't have a code sample handy right now, but, as compared to
creating any other dropdown, you would need to build the list of
languages by accessing the Message Resources from the Action class, so
as to build the list appropriate to the current language.
-- HTH, Ted.
http://www.husted.com/poe/
Hello again,
I found that the request data are still available into the second action.
I can get my parameter data from the request and not from the form
object into my execute method.
Instead of doing this in normal case :
ProListSelectionForm proListSelectionForm = (ProListSelectionForm)form;
The Action framework doesn't support browser detection
out-oif-the-box. But, you could check the HTTP request flags from the
Action to determine the browser, and then forward to another version
of the page that didn't use client-side validation or used custom
validation.
You might want to report
In a situation like this, the best thing is to create a new
application that contains just enough code to expose the error. Most
often, in creating the application to expose the error, you will find
the problem that is causing the error. If not, you will have a
concise example to post, so that
Try
* http://displaytag.sourceforge.net/11/
Also cool:
* http://struts.application-servers.com/
* http://struts-menu.sourceforge.net/
* http://www.rabago.net/struts/html2/
-- HTH, Ted.
http://www.husted.com/poe/
On 1/3/06, Raghuveer [EMAIL PROTECTED] wrote:
Is there Any possiability of
Usually, those are pages that used POST to submit data. The usual
technique is to redirect after making a POST, so that the data is not
resubmitted.
If that doesn't solve the problem, then you might want to look into a
wizard extension, like Struts Dialog
*
The strategy only allows one token at a time for the application,
because the token is always given the same name. I believe Shale is
using another strategy that gives the tokens different names for
different workflows. If the popups are using tokens too (because they
have forms?), then you would
Thanks Ted,
I already spent some hours on that issue. I just wanted to
test the automatic form-validation - I'm a newbe and I performed
the validation in the FormBean methode before.
I just tried with the required-argument in the validation.xml -
formset
form name=loginfb
field
Hi Rick,
Iam getting the following problem
[image: Error]The EAR file could be corrupt and/or incomplete.
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
while iam trying to deploy rr-struts-nested.war
from http://www.reumann.net/tech/struts-nested.jsp on
Hello again
Good news,
I finally found the bug.
If you use struts modules and you want to use form-bean declared into
one struts module to one other, you must redeclare the form-bean
header.
Finally it's not a Tiles problem but a scoped form-bean problem with
struts modules.
Thanks.
2006/1/4,
The method signature in the FieldChecks class for the validateRequired()
method doesn't match what you have defined in the validation-rules.xml.
You probably have a version of validation-rules.xml from an older version of
struts and need to drop in the validation-rules.xml file that is shipped
Saying it doesn't work in ie5 doesn't really help alot - I don't have a
copy of ie5, so if you could specify the issue then it would be helpful.
Also what version of 1) Struts and 2) Commons Validator are you using? Can
you try upgrading to Commons Validator 1.2.0 and see if the issue still
Srinivas Jadcharla wrote the following on 1/4/2006 9:58 AM:
Hi Rick,
Iam getting the following problem
[image: Error]The EAR file could be corrupt and/or incomplete.
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
while iam trying to deploy
Iam not trying to rebuild the application.I just wanted to download the .war
file and deploy it.Your previous lessons(from older site) worked fine when i
did that way.
On 1/4/06, Rick Reumann [EMAIL PROTECTED] wrote:
Srinivas Jadcharla wrote the following on 1/4/2006 9:58 AM:
Hi Rick,
Iam
input form is not an input form, it is an error form. Bad naming.
Michael.
On 1/4/06, PC Leung [EMAIL PROTECTED] wrote:
If the user clicks the submit button, then configuration
tells where success URL to go.
But user has no chance to click the submit button,
because the form does not display
Niall,
I do the same thing you say, except that, Iam storing them as
ActionErrors.GLOBAL_ERROR
This is what, I have in the validate method
if ((lastName == null) || (lastName.trim().length() == 0)) {
errors.add(ActionErrors.GLOBAL_ERROR, new ActionMessage(
Hi
Is it possible to supply some parameter as expression for property
getter in bean:write tag ? I'd like to write bean property supplying the
result of other bean property as the input parameter in my JSP page. If
it isn't, is there any way to do this?
Regards
--
Daniel Łaś [EMAIL
Hi,
Tile can combine couples of jsps into one html page, I'm wondering how to
set size for each jsp, can someone figure it out?
--
Thanks
John
Toroto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
John Woo wrote:
Tile can combine couples of jsps into one html page, I'm wondering how to
set size for each jsp, can someone figure it out?
Size of what?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
OK, you need to associate the message with the lastName property and not
ActionErrors.GLOBAL_ERROR, so something like...
if ((lastName == null) || (lastName.trim().length() == 0)) {
errors.add(lastName, new ActionMessage(
error.login.nolastname));
}
Niall
- Original Message
the size refers to the displaying size in the generated html.
like I have 3 jsps: header, content, footer. they join together into the
final html page.
now I want the header-page occupies 30%, while the content has 50% and the
rest for footer page.
John Woo wrote:
the size refers to the displaying size in the generated html.
like I have 3 jsps: header, content, footer. they join together into the
final html page.
now I want the header-page occupies 30%, while the content has 50% and the
rest for footer page.
Oh.
Tables or CSS?
So
Or perhaps, as mentioned earlier in this thread, having an applet to which
the server could push information should do the trick.
I would disagree on your conclusion that pull is *the* way to achieve your
'push alert' on http.
Some points on which you will base your decision maybe as follows:
Is it possible to supply some parameter as expression for
property getter in bean:write tag ? I'd like to write bean
property supplying the result of other bean property as the
input parameter in my JSP page. If it isn't, is there any way
to do this?
There are a couple of ways to do
the size refers to the displaying size in the generated html.
like I have 3 jsps: header, content, footer. they join together into the
final html page.
now I want the header-page occupies 30%, while the content has 50% and the
rest for footer page.
Oh.
Tables or CSS?
So either include
Thanks a lot Niall.
I does work..We were displaying our errors in the jsp with
logic:messagesPresent
bean:message key=messages.header /
html:messages id=error
bean:write name=error filter=false/
/html:messages
/logic:messagesPresent
And assumed that,
On Wed, January 4, 2006 1:03 pm, Raghu Kanchustambham said:
I would disagree on your conclusion that pull is *the* way to achieve your
'push alert' on http.
No, I didn't say *the* way, I said it probably was the best option, all
things considered :)
Some points on which you will base your
Frank W. Zammetti wrote the following on 1/4/2006 2:41 PM:
There's nothing more fun than a couple of architects arguing! :)
You forgot to add that comment to Friday's, You might be a geek if... post.
--
Rick
http://www.tech.reumann.net
Rick Reumann wrote:
Frank W. Zammetti wrote the following on 1/4/2006 2:41 PM:
There's nothing more fun than a couple of architects arguing! :)
You forgot to add that comment to Friday's, You might be a geek if...
post.
I'm still trying to parse the might bit... That implies a level of
I am using hidden fields and multipart forms in a jsp, and it seems
that the logic:present tag is not detecting the hidden field as being
present when the multipart form is submitted.
In MyJsp I have
logic:present parameter=myvar
Myvar is present
/logic:present
html:form
In struts-config
form-bean name=Form1 type=org.apache.struts.action.DynaActionForm
dynamic=true
form-property name=property1 type=java.lang.Integer/
form-property name=property2 type=java.lang.Integer/
form-property name=property3 type=java.lang.String/
/form-bean
fea jabi wrote the following on 1/4/2006 3:33 PM:
In the Action of PrepareForm2
Would like to create an ArrayList of Form1.
When you say an ArrayList OF Form1 do you really mean a List of
ActionForm objects (in your case a List of DynaActionForm objects)?
Typically you will never need to
yes, that's right.
have a table in my jsp which used form2.
form1 properties are a row in a table.
Would like to create a list of DynaActionform objects which would be the
rows of my table.
I hope I am clear this time.
From: Rick Reumann [EMAIL PROTECTED]
Reply-To: Struts Users Mailing
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
frameworks. (I couldn't keep up with all the Struts/JSF/Shale/WebWork
comments on the list a while a back.)
I'm actually quite happy with what Struts has
fea jabi wrote the following on 1/4/2006 3:52 PM:
yes, that's right.
have a table in my jsp which used form2.
form1 properties are a row in a table.
Would like to create a list of DynaActionform objects which would be the
rows of my table.
Ok, that's what I thought. You only need one Form
How do you get access to one managed bean from within another managed bean?
We have some business logic that depends on values in another managed.
Shawn
This email may contain confidential material.
If you were
On 1/4/06, Rick Reumann [EMAIL PROTECTED] wrote:
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
frameworks. (I couldn't keep up with all the Struts/JSF/Shale/WebWork
comments on the list a while a
On 1/4/06, Garner, Shawn [EMAIL PROTECTED] wrote:
How do you get access to one managed bean from within another managed
bean?
We have some business logic that depends on values in another managed.
If you're trying to gain access from a class that extends AbstractFacesBean
or
Yeah, that is what I was doing to try to get it but it occurred to me this
will probably not be the name of the jsp page.
Shawn
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Tuesday, December 27, 2005 11:42 PM
To: user@struts.apache.org
Subject:
Greetings all;
I have a Struts app (v1.27) and wish to add a user form whose ACTION is
a URL that is external to the application ( a remote servlet).
I want to provide a message sent confirmation page to the user, but
dont know how to do this with an external form submission. Is there a
way to
The easiest way imho is to submit to your proxy action, which submits
to external server, receives response and returns this response to
browser.
Michael.
On 1/4/06, Christopher Becker [EMAIL PROTECTED] wrote:
Greetings all;
I have a Struts app (v1.27) and wish to add a user form whose ACTION
On Tue, 2006-01-03 at 16:51 -0500, Michael P. Soulier wrote:
On 13/12/05 Max Cooper did say:
It sounds like your main challenge is that you have requests to a web
server that look like http://web.domain.com/foo/bar/me mapped to an app
deployed on an app server that you might access
I'm trying to figure out a good way to start migrating from struts to JSF
(w/o Shale at this point).
I've been thinking that it would be very handy if I could do something like
this:
action
path=/something
forward name=success path=#{someBean.someAction}/
On 1/4/06, David Bowers [EMAIL PROTECTED] wrote:
I'm trying to figure out a good way to start migrating from struts to JSF
(w/o Shale at this point).
I've been thinking that it would be very handy if I could do something
like
this:
action
path=/something
On 1/4/06, Laurie Harper [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
On 1/4/06, Garner, Shawn [EMAIL PROTECTED] wrote:
How do you get access to one managed bean from within another managed
bean?
We have some business logic that depends on values in another managed.
If you're
Unless I'm missing something big, the struts-faces library doesn't
address the concern I was talking about.
Struts-faces allows a jsp page that uses JSF components to post back
to a Struts Action, and it allows events
from JSF components to be handled by Struts actions (albeit very
awkwardly,
On 1/4/06, David Bowers [EMAIL PROTECTED] wrote:
Unless I'm missing something big, the struts-faces library doesn't
address the concern I was talking about.
Struts-faces allows a jsp page that uses JSF components to post back
to a Struts Action, and it allows events
from JSF components to be
Agreed Frank that Applets pose these security restrictions. I forgot to
mention that part of the story .. may be got lost in my previous long rant!
:)
Let me take a different route now and see what you think about it.
The problems that we have been discussing all this while is because HTTP is
Raghu Kanchustambham wrote:
One thing I am just wondering right now is, whether I need to really run
this alerting push communication over HTTP ? Why not I have the applet
open a connection to another plain-socket-listening-server (not the same
HTTP server) which keeps the connection 'alive' for
Hi,
I think I didn't explain the problem properly. We have developed a struts
based app, say, A. Now we have a client site X. Depending on some logic, we
need to go to the client site x from our application A. In the Client site
x, we have a link which should enable the login to our application
you need to create an adaptor at both side (I meant a block of codes), say
at PHP site side:
there is a set of PHP codes that will check tokens passed from struts
application session.
For example, when user login to your struts application, you assign an
paramter auth_id which is x, it
58 matches
Mail list logo