Asthana, Rahul schrieb:
We are thinking of designing a unit test plan for our struts based application.
We have found in past that Junits for struts action are cumbersome to write and
difficult to maintain.Any other suggestions? Winrunner?
Try:
http://strutstestcase.sourceforge.net/
Page has got a drop down box, with pre defined set of elements. User
should be able to select one among them, or else he can enter his own
option, which would be added to the drop down.
-Original Message-
From: Madhav Bhargava [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 12
Unfortunately that would still cause traffic to the server, which is
probably fine for an Intranet App, but wouldn't be too friendly if you have
dial-up internet users.
(*Chris*)
On 10/26/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 10/26/06, fea jabi <[EMAIL PROTECTED]> wrote:
> Is it possi
Correct on all accounts :)
Don
On 10/26/06, Mark Menard <[EMAIL PROTECTED]> wrote:
On 10/26/06 5:06 PM, "Jim Reynolds" <[EMAIL PROTECTED]> wrote:
> From reading about Struts2, I can see that it is a marriage of Struts
> 1.x and WebWork. Now WebWork actually consisted of 2 frameworks from
> my
On 10/26/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
From reading about Struts2, I can see that it is a marriage of Struts
1.x and WebWork.
It's a marriage of the communities, but the codebase is the technical
equivalent of WebWork 2.3.
We've added a few new features, like wildcards and plugin
Niall Pemberton wrote:
On 10/23/06, maya <[EMAIL PROTECTED]> wrote:
am fairly new to struts, so not sure you can do this...
I was wondering if it's possible for a tile to detect what page is
calling it.. I have corp logo in header tile; header tile is called by
all pgs, but I would like the c
On 10/26/06, fea jabi <[EMAIL PROTECTED]> wrote:
Is it possible in struts to disable the functionality of the enter key which
would usually execute the first submit button in the page. Can we do this at
form level?
If so how to do this?
http://www.google.com/search?q=struts+enter+submit
I us
On 10/26/06 5:06 PM, "Jim Reynolds" <[EMAIL PROTECTED]> wrote:
> From reading about Struts2, I can see that it is a marriage of Struts
> 1.x and WebWork. Now WebWork actually consisted of 2 frameworks from
> my understanding. WebWork framework for Web and underneath that was
> XWork framework. Als
To generate a blank line I've used
HTH,
-ed
On 10/26/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
You can't specify a newline character in XML. XML specifically normalizes
all whitespace out of the data. If you need to handle data that contains
specific formatting, you need to apply that forma
on submit or submitTag override the onClick property and or setup your own JS
function to handle the onClick event
Anyone else?
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are n
You might want to check out jWebUnit (http://jwebunit.sourceforge.net/).
(*Chris*)
On 10/26/06, Asthana, Rahul <[EMAIL PROTECTED]> wrote:
We are thinking of designing a unit test plan for our struts based
application. We have found in past that Junits for struts action are
cumbersome to write
We are thinking of designing a unit test plan for our struts based application.
We have found in past that Junits for struts action are cumbersome to write and
difficult to maintain.Any other suggestions? Winrunner?
Hi,
I'm usign struts 1.2 and I want to use validator framework for and
action that makes the CRUD operations for a bean, I want to know if its
possible to have 2 or more input forms for this action, that's beacuse I
want to personalise the HTML code of each input form but the form fields
are
You can't specify a newline character in XML. XML specifically normalizes
all whitespace out of the data. If you need to handle data that contains
specific formatting, you need to apply that formatting yourself, either
using a technique like HTML (inserting elements in the XML) or using
somethi
It's definitely not something that Struts can do, but you can do that using
a JavaScript onkeypress handler that returns false if window.event.keyCode== 13.
(*Chris*)
On 10/26/06, fea jabi <[EMAIL PROTECTED]> wrote:
Is it possible in struts to disable the functionality of the enter key
which
w
Hello,
From reading about Struts2, I can see that it is a marriage of Struts
1.x and WebWork. Now WebWork actually consisted of 2 frameworks from
my understanding. WebWork framework for Web and underneath that was
XWork framework. Also, WebWork in 2.2 I believe was starting to use
Spring IOC fo
CR LF
-or-
#0D #0A
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have received
this communication in error and tha
Is it possible in struts to disable the functionality of the enter key which
would usually execute the first submit button in the page. Can we do this at
form level?
If so how to do this?
Thanks.
_
Add a Yahoo! contact to Windows
Post the exact requirement.
On 10/27/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
It's not possible in straight HTML. There are some DHTML tricks that
combine text boxes with select boxes, but most that I've seen are ugly and
unworkable. If you find a good solution to the problem, please post i
It's not possible in straight HTML. There are some DHTML tricks that
combine text boxes with select boxes, but most that I've seen are ugly and
unworkable. If you find a good solution to the problem, please post it
here.
(*Chris*)
On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi
On Oct 26, 2006, at 12:51 PM, Vernon wrote:
I need the Tiles library from my other Spring
application. To my
knowledge, now the Tiles is separated from the Struts.
The Tiles 2 project is an effort to separate Tiles from Struts.
Tiles 1.x is still part of the Struts 1.x framework. I assume
You can also try using the xml new line character "
" (possibly with the
carriage return too if you need it- "
").
I like this better than \n as the & and ; really set off that you are using
a special character.
Retain this document in your official grant file.
"/>
BAL
You may need to use single or back quotes within the quotes for the newline .
Something like "'\n'" or "...`\n`...". But I am not sure since I am
myself a newbie with struts.
-Original Message-
From: temp temp [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 10:53 AM
I tried that it did not work .
Regards
Miro
Li <[EMAIL PROTECTED]> wrote: try the following
Wish it works
On 10/27/06, temp temp wrote:
>
> Here is my xml could you tell me how to put new line char?.
>
> Here is my xml
>
>
>
>
>
>
> Li wrote: have you trie
try the following
Wish it works
On 10/27/06, temp temp <[EMAIL PROTECTED]> wrote:
Here is my xml could you tell me how to put new line char?.
Here is my xml
Li <[EMAIL PROTECTED]> wrote: have you tried "\n"? it should work
On 10/27/06, temp temp wrote:
>
>
Here is my xml could you tell me how to put new line char?.
Here is my xml
Li <[EMAIL PROTECTED]> wrote: have you tried "\n"? it should work
On 10/27/06, temp temp wrote:
>
> I have some text in xml file which I will show in a text area to
> edit .
I need the Tiles library from my other Spring
application. To my
knowledge, now the Tiles is separated from the Struts.
On the Tiles home
site, I can't see any lead to the download. The Tiles
without Struts
link points to the same web page of Tiles with Struts.
Can someone tell me where to down
have you tried "\n"? it should work
On 10/27/06, temp temp <[EMAIL PROTECTED]> wrote:
I have some text in xml file which I will show in a text area to
edit . I don't know how to specify a new line char in xml. Currently I am
using tag instead of a new line char .Using works in jsp
I have some text in xml file which I will show in a text area to edit .
I dont know how to specify a new line char in xml. Currently I am using
tag instead of a new line char .Using works in jsp
but a text area displays them as which would confuse user .So I
need to put
Another option would be using JavaScript and an onclick handler on the
delete button to update a single contactID hidden field before form
submission.
(*Chris*)
On 10/26/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]>
wrote:
Hi,
I've discovered the answer, although it may n
Ummm... If you don't call there won't be any client side
validation code inserted, so there won't be any client side validation
performed, IIRC.
(*Chris*)
On 10/26/06, zeta <[EMAIL PROTECTED]> wrote:
Ok, sorry. If I use DynaValidationActionForm instead of DynaValidationForm
for creating my f
Hi
I would like to formally announce that ``JAVAWUG'' (Java Web User Group)
is holding the Twenty Third Birds-of-Feather at the
Skills Matter's London Office on Wednesday, 15th Novemeber 2006 from
18:30.
+-+--+
| TWO QUESTIONS | Open
Probably worth trying to steps found in from
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13:
Quote:
3.3 Commons Validator 1.3.0
Struts 1.3 now depends on [WWW] Commons Validator version 1.3.0 (previous
was version 1.1.4) - remember to upgrade the Validator jar.
*
Validator 1
OK so how about copying/pasting one of the actual messages and the
associated action mapping from your struts-config.xml
Niall
On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
This warning message is coming for all the pages. Whever I try to access
the page this message is getting pr
This warning message is coming for all the pages. Whever I try to access
the page this message is getting printed.
It is getting thrown from validatorResources class. I am reffering to
Validator plugin in strutsconfig file, but not using struts validation
in all the pages. Only in few pages I m
If you're not using client side validation then its not related to that bug.
What class is producing this message (you should be able to tell from
the actual log message - or change your logging config so that it is
displayed)?
A similar warning is also produced by the ValidatorResources class
no one can help me here??
On Thu, 2006-10-26 at 12:03 +0100, Kimus Linuxus wrote:
> Hi,
>
> I'm using the xslt resut type and I cant use xsl:include, xsl:import, or
> document()!
>
> I have a main,xsl file that includes another xsl in the same directory.
> And gives me the following error:
>
>
I m not using struts validator framework for client side validation.
It was known issue in struts 1.2.9, but in was fixed in struts 1.3.5. I
have upgraded to 1.3.5 but still I m seeing this issue.
-Original Message-
From: Strachan, Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, October
Thanks Levan, It is working fine now. I am not seeing error message
after making necessary changes as said by you.
Regards,
Vinodh
-Original Message-
From: Levan Dvalishvili [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 1:55 AM
To: 'Struts Users Mailing List'
Subject: RE: S
Hi all,
I have requirement where in I want drop down box to be editable. Is this
possible using struts html tag lib.
Please let me know how to go about making drop down box editable.
Regards,
Vinodh
The information contained in this electronic message and any attachments to
this messag
Thanks, I solved this using:
request.getAttribute("javax.servlet.forward.servlet_path");
apetrelli wrote:
>
> JCO ha scritto:
>> Hello,
>>
>> I want to know the current Action through the request.getRequestURI(),
>> but
>> I'm using Tiles and I get:
>>
>> /jguiri/jsp/layouts/layoutDetalle.jsp
On 10/26/06, Balwinder <[EMAIL PROTECTED]> wrote:
Puneet Lakhina wrote:
> I am writing something on a JSP page using bean write. But its escaping
> HTML. i.e suppose I have a bean named msgs with the value
> "Message"
> (without the quotes)
>
> I get the literal string Message on my JSP Page. i
JCO ha scritto:
Hello,
I want to know the current Action through the request.getRequestURI(), but
I'm using Tiles and I get:
/jguiri/jsp/layouts/layoutDetalle.jsp (layoutDetalle.jsp is my Tiles
layout, not the real URI)
Where are you calling request.getRequestURI()?
-
Puneet Lakhina wrote:
I am writing something on a JSP page using bean write. But its escaping
HTML. i.e suppose I have a bean named msgs with the value
"Message"
(without the quotes)
I get the literal string Message on my JSP Page. i.e it escapes
HTML. which means the generated HTML is Me
The simplest thing is to expose the vproperty through the Action
class, and the tag will find it there automatically. That way the tag
doesn't need to know anything about scopes.
So, on the Action place a property that obtains the value from
application scope. The MailReader application does this
I am writing something on a JSP page using bean write. But its escaping
HTML. i.e suppose I have a bean named msgs with the value "Message"
(without the quotes)
I get the literal string Message on my JSP Page. i.e it escapes
HTML. which means the generated HTML is Message>
I dont want that
Greg Reddin ha scritto:
We've had some discussions on the dev list about restructuring the
tags in Tiles 2. The problem is that the tag means
multiple things. In some cases it means "insert this definition here"
(like your example above).
Chris, see also this JIRA issue:
http://issues.apa
Hi,
I'm using the xslt resut type and I cant use xsl:include, xsl:import, or
document()!
I have a main,xsl file that includes another xsl in the same directory.
And gives me the following error:
ERROR: '/home/share/software/develop/eclipse/variables.xsl (No such
file or directory)'
FATAL ERROR:
Hi,
I've discovered the answer, although it may not be the most elegant.
Rather than having one form, have one form per row. This is achieved
by placing the tags inside the ones, then the
tag will contain the correct value when the button is pressed.
Thanks
Not the humongous "all" distriubtion, but the library JARs and
applications can be had here:
* https://sourceforge.net/project/showfiles.php?group_id=49385&package_id=209277
-Ted.
On 10/25/06, Matthew J. Vincent <[EMAIL PROTECTED]> wrote:
Is there someplace else where i can download this?
Tha
Chris Pratt ha scritto:
Is it possible to add elements to a list started by a "super" tile
definition? In other words, is something like this doable?
For the moment you can't, but what you're asking seems to be a new
feature that could be helpful.
I opened an issue for Tiles 2 for this:
http
The ASF infrastructure is undergoing a migration, and we've had to
unexpectedly replace a critical machine, which has left some services
temporarily unavailable. While the infrastructure issues are being
worked out, the Struts 2.0.1 library JARs and application WARs are now
available on Sourceforg
Ok, sorry. If I use DynaValidationActionForm instead of DynaValidationForm
for creating my forms, what should I do in order to disable form validation
in both sides: client (javascript) and server? I know how to bypass server
validation (using validate=false in the action tag) but I haven't been a
Give to the hyperlink a button appereance , don't know other way to do this
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.27
A: 'Struts Users Mailing List'
Ogget
Thanks for this - unfortunately I'm required to use a button, not a
hyperlink. Is it possible?
Regards,
Jim
Jim Gallagher,
New BACS Team,
Domestic Payments,
Payments, Security & Fraud,
Royal Bank of Scotland,
Parkgate B
Hi,
I'm using the xslt resut type and I cant use includes (or imports)??
I have a main,xsl file that includes another xsl in the same directory.
And gives me the following error:
ERROR: '/home/share/software/develop/eclipse/variables.xsl (No such
file or directory)'
FATAL ERROR: 'Could not com
Sorry i forgot something in my code
">Delete
HIH
Ciao, marcello
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.02
A: 'user@struts.apache.org'
Oggetto: Issue: using logic:iterate to display r
Use a url instead:
Somethin like that:
HIH
Ciao, marcello
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.02
A: 'user@struts.apache.org'
Oggetto: Issue: using logic:iterate to display rows an
Hello,
I'm developing a struts (1.2) application and wanted to add some administration
tasks. One that I'd like to have is the possibility to reload MessageResources.
I already defined my own MessageResourcesFactory and PropertyMessageResources
but I can't figure out how to implement the reload
Thank you, it works fine.
Is it fundamentally correct and usually used in struts dev ?
Regards,
Jean-Marie.
-Message d'origine-
De : Puneet Lakhina [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 26 octobre 2006 11:10
À : Struts Users Mailing List
Objet : Re: RE : Re: several html forms
On
Hi
Apologies if this is a simple issue, but it's driving me insane.
In my web app (using Struts 1.1 on Java 1.4 & Websphere) I have a jsp that
is using logic:iterate to display a sequence of records.
On each row I have a "Delete" button, which should cause the object that row
represents to be d
Hello,
I want to know the current Action through the request.getRequestURI(), but
I'm using Tiles and I get:
/jguiri/jsp/layouts/layoutDetalle.jsp (layoutDetalle.jsp is my Tiles
layout, not the real URI)
but really the URL I see is:
http://localhost:8080/jguiri/aplicaciones.do?op=Detalle&id=2
On 10/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Thank you for your reply.
In fact, I have several forms with same name; Each form is generated by
the iterate close.
I would like to that to avoid to post all data in the formbean.
This thing should have no problem fundamentally, as lo
hi mallik,
you can save some messages in action so that they can be accessed from jsp
ActionMessages errorMsgs = new ActionMessages();
errorMsgs.add("messageId", new
ActionMessage("message.Inserted_successfully"));
saveErrors(request, errorMsgs);
in jsp,
- Original Message -
From: "Mal
HI friends
i want to send some message from action class to view. that is like
"Inserted successfully", after inserting data to database.
how can i do this?
help me please...
ur's
Mallik
--
View this message in context:
http://www.nabble.com/ActionMessages-in-Struts--tf2512442.html#a70066
Thank you for your reply.
In fact, I have several forms with same name; Each form is generated by the
iterate close.
I would like to that to avoid to post all data in the formbean.
Regards,
Jean-Marie.
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Laurie Harper
66 matches
Mail list logo