Hello experts,
please suggest how to use confirmation dialog box in web application.
i want to use this box in my application, where i list multiple files in JSP
page.
if i want to delete any file then first i want to show confirmation dialog
like "are u sure to delete?" with yes or no option. if
Please see:
https://issues.apache.org/struts/browse/STR-1981
Paul
On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED]>
wrote:
>
> I've tried to modify the execute method of TilesPreProcessor from
>
> ...
> if(uri == null)
> {
> log.debug("no uri computed, so pass t
The path doesn't seem to matter - if I use /foo/*, I get the same issue. It
seems to be related to struts.enable.SlashesInActionNames since I have to
set it to false in order to get /foo/action.action to work.
Matt
Musachy Barroso wrote:
>
> I didn't "know" about it, but kind of expected it, a
I didn't "know" about it, but kind of expected it, as "struts" is used
to map to the resources inside the jar file, so is probably getting
confused and building wrong paths. (should be fixable anyway :) )
musachy
On 8/21/07, mraible <[EMAIL PROTECTED]> wrote:
>
> Namespaces don't seem to work whe
Namespaces don't seem to work when my filter-mapping has a path like the
following:
struts
/struts/*
However, they seem to work fine when my url-pattern is /* or *.action. Is
this a known issue?
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/Nam
This works if I use the fully-qualified class name for
ServletMappingConstants. In the framework's current EL, it's possible to do
MAPPING.STATIC, so I'm trying to create a similar short syntax with Struts 2
for easier migration.
Thanks,
Matt
Musachy Barroso wrote:
>
> try :
>
> @[EMAIL PROT
try :
@[EMAIL PROTECTED]
musachy
On 8/21/07, mraible <[EMAIL PROTECTED]> wrote:
>
> I have the following interface that I'm trying to read variables from:
>
> public interface ServletMappingConstants
> {
> String SECURE_PREFIX = "secure/";
>
> String STATIC = "static";
> ...
> }
>
> If my Ac
I have the following interface that I'm trying to read variables from:
public interface ServletMappingConstants
{
String SECURE_PREFIX = "secure/";
String STATIC = "static";
...
}
If my Action implements this interface, I can refer to these strings with
the OGNL expression "@[EMAIL PROTECTE
I was having the same problem. What I did ? Autocompleter ? NO THANKS. i used
DWR.
Herrera
rrecoba wrote:
>
> Please, this problem is making me crazy, I really need to solve this
> problem. Please HELP !!
> I´ve tryied a lot of things and nothing works..
>
> Thanks.
>
>
> rrecoba wrote:
Resending...
On 8/20/07, j alex <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Just checking one more time if someone has an answer to my below email. We
> decided to go with XML validation, and as i understand it, we cannot have
> validation files based on action methods, but can only name it by action
>
I've tried to modify the execute method of TilesPreProcessor from
...
if(uri == null)
{
log.debug("no uri computed, so pass to next command");
return false;
}
if(controller != null)
{
log.trace("Execute controller: " + con
I'll have to investigate this.
On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED]>
wrote:
>
> The question is that I don't need to forward to a JSP. The controller
> takes the HttpServletResponse and writes in it, and that is the response
> to the user. Before that I put the image as an attri
The question is that I don't need to forward to a JSP. The controller
takes the HttpServletResponse and writes in it, and that is the response
to the user. Before that I put the image as an attribute in the request,
and in a JSP template I recovered it form the request, and wrote it, but
the tomcat
Please, this problem is making me crazy, I really need to solve this problem.
Please HELP !!
I´ve tryied a lot of things and nothing works..
Thanks.
rrecoba wrote:
>
> Hi, I need to set an initial value and key for an autocompleter. How can
> id do this? I can set the initial value, but can´t
I don't understand why you haven't provided a path attribute on the
definition. Definitions need to resolve to a resource. I don't see a JSP
listed.
On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED]>
wrote:
>
> I'm using Struts 1.3.9, with Tiles. I've one action that calls to a
> definition
I see you are not using modules. That's good. Your problem is caused by not
providing different aliases for the 3 MessageResources. Use the name
attribute to fix this. One is the default, the other should have names.
On 8/21/07, temp temp <[EMAIL PROTECTED]> wrote:
>
> I have several struts-c
I am not aware of anything like that. But it sounds like a good enhancement
request in JIRA :)
On 8/21/07, nfuser <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I have an application that gathers rates from the user. There are up on
> 500
> rates to collect. These rates will be inputed into text fields al
Why are you using modules? You could just have one module with multiple
configuration files.
On 8/20/07, temp temp <[EMAIL PROTECTED]> wrote:
>
> My application has several modules (several struts-config files
> )and each module has its own application.resources files.
> How to handle m
Hi all,
I added more error message here : "converter is null for property
CreateIfNull_persons. Mapping size: 0", hope that somebody can hep me out,
thanks.
--
View this message in context:
http://www.nabble.com/Setting-error-in-conversion-showcase%3A-Populate-into-the-Struts-action-class-a-Li
I'm using Struts 1.3.9, with Tiles. I've one action that calls to a
definition
struts-config.xml
riles-def..xml
In the PortfolioValGraphController I have this code
response.setHeader("Content-Disposition", "inline");
I have several struts-config-xml files .I mapped them in my web.xml.
Each struts-config has its own application-resources.
Action servlet mapping in web.xml
action
org.apache.struts.action.ActionServlet
Hi all,
I tried to use the function "Populate into the Struts action class a List of
java Object " in my project-
Struts 2 showcase -> Conversion -> Populate into the Struts action class a
List of Person.java Object , but I got the setting error as follows:
ERROR [ParametersInterceptor] Paramete
John,
The problem is not very clear from your email . Are you losing the dropdown
items when the JSP reloads after submit ?
The list of items in the dropdown must reside in a separate bean, and the
item you select from it should be in another bean attribute -- i'm assuming
you've taken care of th
Hi,
I'm facing the same problems as:
http://www.nabble.com/Refreshing-div-after-a-session-timeout-tf3918532.html#a1127
http://www.nabble.com/-S2inner-div%2C-session-timeout-and-login-page-tf2930534.html#a8193302
http://www.nabble.com/Handling-redirect-to-Login-page-on-session-timeout-for-
Hello,
I'm facing difficulties with freemarker tags, when I try to include one
inside the other.
the JSP :
<[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %>
<[EMAIL PROTECTED] uri="/WEB-INF/tag_test.tld" prefix="test" %>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
Index
I'm using an autocompleter w/o ajax:
The HTML generated is:
España
Portugal
Francia
Alemania
Holanda
Estados Unidos
If I submit the form containing the autocompleter, the fields posted values are:
stay.teacher.countryName: Francia
stay.teacher.countryNameKey: (
Hi.
I have been trying to use Sitegraph for quite sometime now with no
luck. I there any application with demonstrates its use.
I tried the Action given below. It generates an image but only the
JSP's and the Actions there are no links between them..
The other problem I had was that Sitegraph
I think it is fixed on trunk(future 2.1), you could download an
snapshot and give it a try.
musachy
On 8/21/07, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote:
> Hi Musachy,
>
> Is the issue with tabbedpanel (default tab requested twice) resolved
> in the latest version?
>
> Also, where can I
action2
${myVarContainingTheValue}
stringHardCoded
Sawan <[EMAIL PROTECTED]>
21/08/2007 14:23
Veuillez répondre à
"Struts Users Mailing List"
A
user@struts.apache.org
cc
Objet
Re: RE Action within Action result
Thanks mlenev
Following JSP scriplet is working fine
<%
float totalPaymentAmount = 0.0f;
List compItems = null;
compItems = costDistForm.getCompleteItems();
Iterator it = compItems.iterator();
while (it.hasNext())
{
ItemCostRowForm row = (ItemCostRowForm)it.next();
float payAmountSort = row.getPayme
I just found out this wonderful attribute "redirect" in the forward element
!
Thank you all.
debussy007 wrote:
>
> Hello all,
>
> I am quite beginner and need some help with the flow of my application.
>
> When a user click on the Back Button from a specific page, the last
> request is cal
This is the link to the file that I used
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/tree.ftl?view=markup&pathrev=528866
All I did was
1. added this file to a template/ajax folder in my app
2. modified the function treeNodeSelected in treeExampl
Thanks mleneveut,
Its working for simple action calling, But I have a request variable in my
URL and if I simply redirect to the specified action then I lost the
variable.
E.G..
I have following URL
http://localhost:8080/Action1.action?Argument=Sawan
Now if simply call the action then I got...
Hello all,
I am quite beginner and need some help with the flow of my application.
When a user click on the Back Button from a specific page, the last request
is called again,
How can I avoid this behaviour ?
See below for the concrete situation where this is a problem for me :
I have a first
No problem. I took the latest version from svn (it had the description with
the topic notification fixed) and still doesn't fire any event because I
tested it with an alert function. I also created the path /template/ajax and
put the tree.ftl file in there. What's wrong with it ?
Manu Mahajan-2
Sorry about the link that came in because I copy pasted text from the
web page and thunderbird copied the hyperlink as well. Please ignore the
link. I assume you have got the correct tree.ftl file.
Please note that the parameter passed to the javascript callback
function will not be the "nodeI
It worked !!! Thanks, Toni, thanks a lot.
It was the locale, as I'm using an us_EN machine.
Toni Lyytikäinen <[EMAIL PROTECTED]> wrote: I don't remember having any similar
problems with the Finnish locale which
is nearly the same as the Swedish one. The cause of the problem is probably
that t
That worked perfect, thanks.
On 8/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> you can specify a form to be sumitted when the div refreshes, using formId.
>
> musachy
>
> On 8/17/07, Richard Sayre <[EMAIL PROTECTED]> wrote:
> > I have my div refreshing when an 'editQuestion' topic is publis
Hi,
I have an application that gathers rates from the user. There are up on 500
rates to collect. These rates will be inputed into text fields all on one
jsp page.
Is it possible to create a collection of input text fields similar to the
html:multibox that will gather the rates entered into the te
I did download the tree.ftl file from the file attachement but still doesn't
work. The link you gave me is not an actual file but a diff file which I
don't know how to use it. :(
Manu Mahajan-2 wrote:
>
> Hi
>
> Try this. Create a directory template/ajax in your application and copy
> the fil
Hi
Try this. Create a directory template/ajax in your application and copy
the file tree.ftl from this page
https://issues.apache.org/struts/browse/WW-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
You can search for this string
"/struts/struts2/trunk/plugins/dojo/src/
I don't remember having any similar problems with the Finnish locale which
is nearly the same as the Swedish one. The cause of the problem is probably
that the parameters are in wrong encoding (UTF-8 most probably). Since you
are using ISO-8859-1, check that the browser in the form page is actually
Is there a workaround in order for this to work ?
function treeNodeSelected(nodeId) {
dojo.byId("id_group").value = nodeId;
};
dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");
Thank y
Hello all,
is there anyone who can give me some light on this problem? I need this very
urgently. Hope you'll be kind enough to response quickly.
~ Arif
"Md. Ariful Islam" <[EMAIL PROTECTED]> wrote: Hello all,
I am using struts 2 to develop a web-application. I'm having problem when I
sub
Hi Musachy,
Is the issue with tabbedpanel (default tab requested twice) resolved
in the latest version?
Also, where can I find a roadmap for version 2.1?
Thanks in advance.
Alvaro.
On 8/21/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> The ajax tags are just becoming stable using Dojo 0.4.2,
Hi Folks,
I am using Struts 2.0.6 to create a web application on the
Spring/Hibernate stack. Validations in my application are done with
xwork 2.0.1 validators and I have a query in this regard which I hope
one of you can help me out with.
Domain objects in my application are created in 3 ways:-
yeah,but it doesn't hurt much if we develop in a LAN.
just leave the tomcat to do those jobs(use only tomcat as a server or
configure the apache to tell
Apache server to route these jobs to Tomcat) during the development-time ,
we could only use these extracted files when deploy application to end
Hi,
I have a JSP which has a drop down selection box which I populate using an
arraylist of string objects present in the formbean. How do I get this
arraylist of string objects back into the formbean when an action is submitted?
Regards,
John.
CAUTION - Disclaimer *
Did u try
*request.getUserPrincipal().getName();*
On 8/20/07, balak31 <[EMAIL PROTECTED]> wrote:
>
>
> Hi ,
>
> I am newbie to Struts2. I have the following issue while configuring the
> container managed security in Struts2 with Websphere Application Server
> 6.1.
> ..Need urgent assistance Plea
Delete
function delete(id) {
if(confirm('sure ?')) {
document.forms[0].bucket.value = id;
document.forms[0].action =
deletebucketaction.action;
document.forms[0].submit();
} else {
Hello,
I want to implement Delete functionality in my Struts web application with
confirmation dialog box and did not find any solution for this yet. Please
suggest me for any solution.
Thanks
sawan
--
View this message in context:
http://www.nabble.com/web-application-with-confirmation-dialog
What you accidentally did is one of the performance improvement
recommendations on the wiki:
http://struts.apache.org/2.x/docs/performance-tuning.html
Apache is faster than the FilterDispatcher at serving the static files.
They're included in the jar for deployment convenience.
If you extract the
hello,
i want to use confirm dialog box in my application, but i faces some
problem.
so please let me know how i can do my work
"
" onclick="confirm('sure to delete')" >Delete "
i have done this , it will show confimdialog box and if i click on ok or
cancel then deletebucket action is cal
hello,
i want to use confirm dialog box in my application, but i faces some
problem.
so please let me know how i can do my work
" onclick="confirm('sure to delete')" >Delete
i have done this , it will show confimdialog box and if i click on ok or
cancel then deletebucket action is called
Hello all,
I am using struts 2 to develop a web-application. I'm having problem when I
submit a form having any Swedish character (like ö, å or ä) in a testbox, it
becomes '?' in the action class. In the begining of the jsp file, I have the
code below:
http://www.w3.org/TR/xhtml1/DTD/xhtml1
55 matches
Mail list logo