Hi some question abount the unknown handler:
The unknown handler gots injected looking at the code - but where do i
configure my own one which should be used - can't find the right place?
thx
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe
Hi.
I am migrating a module from struts1.0 to struts2.1.2.
I am facing problem while using scriptlet [ %=jsp_variable_name% ] in
struts2 tags.
Is there any way I can use scriptlet in struts2 tags.??
regards,
Rajil Davda
Here are some resources that can be helpful:
http://struts.apache.org/2.0.12/docs/tutorials.html
http://struts.apache.org/2.0.12/docs/jsp.html
http://struts.apache.org/2.0.12/docs/tag-syntax.html
http://struts.apache.org/2.0.12/docs/ognl.html
Nils-H
On Fri, Nov 21, 2008 at 1:25 PM, Rajil [EMAIL
Hi. I need to programmatically create an PortletURL to include in an email.
Trying to use the PortletHelper to build the URL does not help because it does
fail with this exception:
RenderRequest cannot be obtained in event phase
RenderRequest request = PortletActionContext.getRenderRequest();
You can't. It's a limitation of the portlet spec. URLs can only be
created (in a portable manner) through the RenderResponse (or
MimeResponse in the 2.0 spec) interface which is only available in the
render phase. I'm not even sure that it's guaranteed that the
generated url would be static
Hi.
I am looking to encrypt my application URL displayed in Clients Browser.
My application is ready so I can't change each page and encrypt each link.
Is there any solution on server-side to encrypt URL query-string parameters
that applies to all links in my application.
e.g. my
Yes, I would handle this outside the portlet. As you say, it's not
than uncommon, and it should be easily solved using a servlet.
Nils-H
On Fri, Nov 21, 2008 at 2:07 PM, Torsten Krah
[EMAIL PROTECTED] wrote:
Am Friday 21 November 2008 13:57:26 schrieben Sie:
You can't. It's a limitation of the
Am Friday 21 November 2008 13:57:26 schrieben Sie:
You can't. It's a limitation of the portlet spec.
Ok. Lets take this scenario:
User fill out some registration form (portlet) and want to receive a optin
email with a activation link.
How would this be done with portlets (spec v1)? Is it not
Hi.
I need to display around 50,000 records in a page.
I need grid for that, that have paging, sorting etc. functionality. Where I
can display some of records at a time and if required (on next click) I
retrieve next page records and display to the use.
Can anybody suggest better
There are several tag libraries and components that can handle this.
Personally, I have used displaytag [1] earlier for this requirement.
You could also try google: http://www.google.com/search?q=struts2+paging
Nils-H
[1] - http://displaytag.sourceforge.net/
On Fri, Nov 21, 2008 at 2:32 PM,
Am Freitag, 21. November 2008 14:16:31 schrieb Nils-Helge Garli Hegvik:
Yes, I would handle this outside the portlet. As you say, it's not
than uncommon, and it should be easily solved using a servlet.
I used buildResourceUrl on PortletUrlHelper to generate my servlet urls
handled by
Yhea, I noticed a JIRA issue for that. However, it should be possible
to construct the urls by hand.
Nils-H
On Fri, Nov 21, 2008 at 3:14 PM, Torsten Krah
[EMAIL PROTECTED] wrote:
Am Freitag, 21. November 2008 14:16:31 schrieb Nils-Helge Garli Hegvik:
Yes, I would handle this outside the
Dear Dave,
I don't understand. That is exactly what I get when page is generated. I
omited some plain html code.
--
Milan
newton.dave wrote:
I don't think that came through properly; perhaps try pastebin or similar.
Dave
--- On Thu, 11/20/08, Milan Milanovic [EMAIL PROTECTED]
I managed to call fillReport with open Connection object, but I just get an
empty report page?! If I try to pass Connection object as dataSource in JR
result, then I get that exception that Connection is null and I see report
contents but with null values ?
--
Milan
newton.dave wrote:
---
div id=menu /myApp/index.jsp Main
nbsp; |nbsp;
/myApp/j_acegi_logout Logout /div
Is your menu not implemented yet?
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
From: Milan Milanovic [EMAIL PROTECTED]
Subject: Re: Form submitted twice (no AJAX!)
To:
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
I managed to call fillReport with open Connection object,
but I just get an empty report page?! If I try to pass Connection object
as dataSource in JR result, then I get that exception that Connection is
null and I see report
Check here:
http://struts.apache.org/2.0.6/docs/how-do-we-upload-files.html
Specifically the struts.multipart.maxSize property.
-Original Message-
From: ryan webb [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 4:53 PM
To: Struts Users Mailing List
Subject: Re: Struts 2:
There is no menu code, just those two links.
Milan
newton.dave wrote:
div id=menu /myApp/index.jsp Main
nbsp; |nbsp;
/myApp/j_acegi_logout Logout /div
Is your menu not implemented yet?
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
From: Milan Milanovic [EMAIL
Hi Dave,
I found what is the problem. Query that JR report run returned no rows, so
it show it like empty. I added connection param to the JR result and now it
works perfectly :-)! If connection is found, dataSource is not used.
Great job, thanks!
--
Milan
newton.dave wrote:
--- On Fri,
Good Afternoon Milan
forgive the mid-thread interruption but
Dave is talking about the theme setting for struts head tag set to simple or
ajax as in
ww:head theme=ajax/
so if you specified attribute theme=simple you will reference
$classpath/template/simple/head.ftl
or if you specified
Those aren't links. They're text. That's why I asked if everything came through
okay.
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
From: Milan Milanovic [EMAIL PROTECTED]
Subject: Re: Form submitted twice (no AJAX!)
To: user@struts.apache.org
Date: Friday, November 21,
--- On Fri, 11/21/08, Milan Milanovic wrote:
I found what is the problem. Query that JR report run returned no rows,
so it show it like empty.
[OT] There's a JR parameter for that, btw, so if it's a report with no data
elements it'll still print out something.
I added connection param to the
HI all. i found strange issue with my struts application.
I have a jsp page like below test.jsp
script language=JavaScript src=../js/jquery.js
type=text/javascript/script
script language=JavaScript src=../js/jquery-ui-1.6rc2.js
type=text/javascript/script
script language=JavaScript
--- On Fri, 11/21/08, Casinova wrote:
script language=JavaScript src=../js/jquery.js [...]
In general using relative paths like this can produce unexpected results once
you start including the contents of JSP pages from frameworks, doing things
like assuming the path is relative to the URL of
Yes, you are right. They are not copied well. This is exact code:
div id=menu /myApp/index.jsp Main nbsp; |nbsp; /myApp/j_acegi_logout
Logout /div
But this has no implication on form submiting ? It is not part of the form.
I don't have AJAX code on the page except datetimepickers.
--
Milan
Hello,
I get the 404 on all the struts/dojo js and css files not found.
I have following filter mapping in web.xml
filter-mapping
filter-namestruts2/filter-name
url-pattern/*/url-pattern
/filter-mapping
When I changed it to
filter-mapping
The point is that I didn't (and still don't) believe the text is being rendered
appropriately, which is why I said try using pastebin or a similar service.
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
Yes, you are right. They are not copied well. This is exact code:
div
Dave,
actually my form isn't submitted twice :-(. I found now what was the
problem. I set one multiple option select in jsp like this:
s:select label=Users list=users listKey=id listValue=name
name=users.id emptyOption=false
value=%{users.{id}}
Dave,
newton.dave wrote:
I added connection param to the JR result and now it works perfectly
:-)! If connection is found, dataSource is not used.
Glad to hear it. If you want, you could create a patch and a JIRA and I'll
apply it to the JR result and finish some of my earlier work on
--- On Fri, 11/21/08, Milan Milanovic wrote:
O.K. Where can I do this ?
On the S2 JIRA at: https://issues.apache.org/struts/secure/Dashboard.jspa
(I think)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Dave,
I put the fix: https://issues.apache.org/struts/browse/WW-2884
https://issues.apache.org/struts/browse/WW-2884 .
Please check it if I did it correctly.
--
Milan
newton.dave wrote:
--- On Fri, 11/21/08, Milan Milanovic wrote:
O.K. Where can I do this ?
On the S2 JIRA at:
A patch file would be better, but I can do it this way too.
--- On Fri, 11/21/08, Milan Milanovic [EMAIL PROTECTED] wrote:
From: Milan Milanovic [EMAIL PROTECTED]
Subject: Re: JasperReports Plugin datasource
To: user@struts.apache.org
Date: Friday, November 21, 2008, 11:49 AM
Dave,
I
Hi, I want to know which rows in my table (s:iterator) are dirty.
Is there any way to know (beside looking manually in the parameter map and
loading again db state + looking at old/new values before saving) which rows
have changed?
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
--- On Fri, 11/21/08, Torsten Krah wrote:
Hi, I want to know which rows in my table (s:iterator) are dirty.
Is there any way to know (beside looking manually in the parameter map
and loading again db state + looking at old/new values before
saving) which rows have changed?
I don't see how
Hi,
we are currently evaluating to migrate a Struts1 J2EE-Application to Struts2
and discovered something which might be a major problem or might not, which is
what I am trying to find out:
In section J2EE.4.2.1 the J2EE specifications (1.3, 1.4 and 5.0 at least)
states:
Servlet filters and
Torsten Krah wrote:
Hi, I want to know which rows in my table (s:iterator) are dirty.
Is there any way to know (beside looking manually in the parameter map and
loading again db state + looking at old/new values before saving) which rows
have changed?
You can include previous values in
Thanks for your suggestion..
u tried that but getting jquery null or not a object error.
i have project in IDE like
ProjectName
-webpages
js
jquery.js
JSloader_1.js
and right now i m giving absolute
--- On Fri, 11/21/08, Casinova wrote:
u tried that but getting jquery null or not a object error.
[...]
and right now i m giving absolute path like
script language=JavaScript
src=http://localhost:8084/ProjectName/js/jquery.js;
type=text/javascript
is that fine?
Apparently not.
Sorry to say you but not getting what to type in src=
Please can u brief me..
Thanks a lot
newton.dave wrote:
--- On Fri, 11/21/08, Casinova wrote:
u tried that but getting jquery null or not a object error.
[...]
and right now i m giving absolute path like
script
O.K. Good. One more thing, it is maybe good to add SUBREPORT_DIR JR param as
a JR result param too, or to use directory location to say that subreport is
located in the same dir.
--
Milan
newton.dave wrote:
A patch file would be better, but I can do it this way too.
--- On Fri,
I solved with two lists..it is not so elegant solution, but there is
obviously no better solution.
--
Milan
Milan Milanovic wrote:
Dave,
actually my form isn't submitted twice :-(. I found now what was the
problem. I set one multiple option select in jsp like this:
s:select
Use either JSTL's c:url... tag, S1's equivalent, or S2's equivalent. I don't
remember what version of Struts you're using.
Dave
--- On Fri, 11/21/08, Casinova [EMAIL PROTECTED] wrote:
From: Casinova [EMAIL PROTECTED]
Subject: Re: Loading and Calling Java Script in Struts
To:
Rabin Aryal raryal at netlert.com writes:
Hello,
I get the 404 on all the struts/dojo js and css files not found.
Hi,
this looks like you are using 2.0.12 and ran into a bug that sneaked into this
release: See https://issues.apache.org/struts/browse/WW-2849
This is fixed meanwhile,
thanks for suggestion
i have struts 1.2.9
i have included jstl 1.1 and now i am using like
[EMAIL PROTECTED] uri=http://java.sun.com/jsp/jstl/core; prefix=c%
paths are
script language=JavaScript src=c:url value=../js/jquery.js//
script language=JavaScript src=c:url
You might be better off with something like this:
script language=JavaScript
src=${pageContext.request.contextPath}/js/jquery.js/
script language=JavaScript
src=${pageContext.request.contextPath}/js/jquery-ui-1.6rc2.js/
script language=JavaScript
Gerhard,
Thanks for the reply. I am using 2.0.11.
Rabin
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Gerhard Große
Sent: Friday, November 21, 2008 3:35 PM
To: user@struts.apache.org
Subject: Re: Dojo 404 and
Rabin Aryal raryal at netlert.com writes:
Hello,
I need to set a variable that is specific to the object id I'm working
with. I tried something like this:
s:set name=something_%{obj.id} value='test'/
and then later in the page:
s:property value=#something_%{obj.id} /
but didn't get anything. Is there a different way to do this?
--
Frank
Hey All,
I've tried searching but either I dont' know what to search for, or it
simply hasn't been asked yet.
I have a textfield
s:textfield required=true label=My Field name=myObject.name
Works fine until the string gets returned with something like the following:
${dont.evaluate}
I want
Respected All,
In Struts1X,
html:options having attributes property and labelproperty those are having
list data type.
Example:
html:select name=securityType
html:options name=labelValueBean property=value
labelName=labelValueBean labelProperty=label//html:select
But Struts2
Hi,
I m struck with an issue with custom tag. And its kind of important for my
project completion.
I wrote a custom tag in S2 and of course related ftl file. It is just like
wrapper around a select box and few other controls. And I need to populate
the select box according to the attribute
can anybody give me detailed configuration to increase size of file upload in
struts 2.0.11.2
please help me
--
View this message in context:
http://www.nabble.com/About-incresing-file-upload-size-in-Struts-2-tp20633816p20633816.html
Sent from the Struts - User mailing list archive at
Hi All,
Is there any way to customise or our own lable in
s:radio lable=Do you Want to proceed list=yesorno name=yesornoList/
when I use in my jsp
Its dispalyed as
Do You Wantt to Proceed : Yes No( Radio Button)
If you observer there is colon after Do you want to Proceed ,I want to have
52 matches
Mail list logo