Does this mean there is a bug in 2.1.16?
Von: Martin Gainty [mailto:mgai...@hotmail.com]
Gesendet: Mittwoch, 22. April 2009 15:19
An: Leeb Juergen, TD-311
Betreff: RE: s:url, s:param and german umlauts
https://issues.apache.org/struts/browse/WW-3095
Vielen Danke,
Martin
_
Hi !
Can you help me with my design . I am using strurts 2 right now with spring jpa
hibernate. I am currently having problem with my application
I getting error when I tried inserting data into my registration. The error say
something about detached object. Well the thinks is. I have injected m
It's just a sample pages...
2009/4/22 Dave Newton
> http://displaytag.sourceforge.net/1.2/tut_externalSortAndPage.html
>
> It pays to really spend some time looking over existing documentation; it's
> often quicker than waiting for someone on a list or forum to answer.
>
> Dave
>
>
> Bhaarat Sha
http://displaytag.sourceforge.net/1.2/tut_externalSortAndPage.html
It pays to really spend some time looking over existing documentation;
it's often quicker than waiting for someone on a list or forum to answer.
Dave
Bhaarat Sharma wrote:
jim,
I found this example
http://displaytag.homeip.
Have a look at the external sorting and pagination page[1] on the
DisplayTag site. Also, take a look at the PaginatedList interface[2].
It takes a little bit to get your head around it.
If you get stuck, the displaytag lists are pretty good at helping with
the common issues.
Andy.
[1] ht
jim,
I found this example
http://displaytag.homeip.net/displaytag-examples-1.2/example-paging.jsp?d-49653-p=1
it says "Ok, you have made a query that returns you back a list of 120
elements, but you don't want to show the user all 120 items at once, you
want to allow them to page through the res
hi,
I am trying to validate the fields of a JSP using the XML validation.
I have a file ContactAction-validation.xml that holds the controls to be made.
It fails, the validation does not occur.
Is there any known bug using Struts 2.0.14 with Websphere 6.1 ?
Because it works with JBoss 5, so i a
I found this within thirty seconds of clicking Dave's link:
http://displaytag.sourceforge.net/1.2/tut_sources.html
Note that the contents of this page are actually fairly freakin' horrible
and should not be done on a grownup application. But the instructions are
right there and easy to find.
jk
I wanted to use it for the purpose so that when I click NEXT or 2nd page
then again I go to the DB to fetch next set of 50 records.
but didnt see any examples of that sort
On Wed, Apr 22, 2009 at 4:13 PM, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> someone has experience with this tag
Stefano Tranquillini wrote:
someone has experience with this tag?
i don't really understand how it works.
What issues are you having? There are a number of tutorials and examples
on the site:
http://displaytag.sourceforge.net/1.2/tut_basic.html
Dave
-
someone has experience with this tag?
i don't really understand how it works.
On Tue, Apr 21, 2009 at 18:39, Chris Pratt wrote:
> I'd suggest looking into DisplayTag (http://displaytag.sourceforge.net/)
> (*Chris*)
>
> On Tue, Apr 21, 2009 at 4:58 AM, Bhaarat Sharma
> wrote:
>
> > Are there
I downloaded the latest version of the struts 1.x serie (1.3.10) and wanted
to test the most simple exmaple proposed stuts-blank-1.3.10.war.
For that purpose I put the preceding war file in $TOMCAT_HOME/webapps and
called $TOMCAT_HOME/bin/startup.bat...Tomcat starts
When I call the corresponding u
Hi Nils,
I haven't tried the Struts 2 sample, but I plan to. The Oracle Portal
version is 10.1.4.2.0
Thanks,
Steve
On Sat, 18 Apr 2009 07:32:15 -0400, Nils-Helge Garli Hegvik
wrote:
Have you tried deploying the Struts 2 sample app and see if it's the
same problem there? And which versi
i've explicitly passed the name of the action to take into the page,
in similar situations. my form has
or, i've used the session, so the form tag looks like
" >
YMMV.
--
Mitch Gorman
mgor...@shadowtv.com
(215) 764-6310
Skype: mitch.shadowtv.com
-
Why not write another interceptor and place it early in your stack?
Disabling all GET requests seems a bit overzealous though, GET is used
by so much more than form submission. I would say to inherit from
MethodFilterInterceptor and then perform whatever logic you want to
perform when you see a no
Is there any way to prevent struts 2 from processing GET parameters? I have
my application to only use POST forms, so the values are not visible in the
URL, is there a way to have struts not call setters for the
http://host/myapp/delete_person?id=12345, and only set it for the action if
it's submi
Good news! I resolved this issue.
Even though it was NOT a struts problem, I still wanted to post back to this
forum the issue and resolution.
It was being caused by a uportal (2.5.x, 2.6.x) & pluto 1.0.1 bug.
I found the following uportal patch UP-1816 "Objects attached to a
PortletSession
OK, I took a smart pill, and put the following in my action:
JasperCompileManager.compileReportToFile(
this.getServletContext().getRealPath("/jasper/scrounger_report.jrxml"),
this.getServletContext().getRealPath("/jasper/scrounger_report.jasper"));
I'm logging that location with log4j, and wi
Hello,
I have a problem with the struts tags s:url and s:param.
I want to provide a link within me JSP. Therefore I use the s:url and s:param.
i.e.
The value of Title can include german umlauts, like ü. i.e
title="Füller"
In this case I get the following url in the html-source:
http:
Abstract the HashMap behind another class that has a getTotal(Item
key) method, and do the math in there (return item.prize * quantity).
Doing any math in the JSP feels dirty.
On 22 Apr 2009, at 13:16, Stefano Tranquillini wrote:
Because the items are stored in hashmap item
contains the
p
Because the items are stored in hashmap item contains the
prize.
so, to know the total for each item i've to multplay item.prize with
quantity.
no more else.
On Wed, Apr 22, 2009 at 14:01, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> but i've only to display in a jsp the results, wh
Stefano Tranquillini wrote:
but i've only to display in a jsp the results, when i use that value i
compute it by the ejb.
Then why are you re-computing it in the JSP?
The point is only that floating-point math is inaccurate. If you don't
care, or are controlling the results of the math someho
but i've only to display in a jsp the results, when i use that value i
compute it by the ejb.
On Tue, Apr 21, 2009 at 22:51, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> The right solution is to calculate and insert in a new bean the elements
>> and
>> its total value?
>>
>
> That's *a*
Hello,
In my logs, I have this message :
Unable to find text for key 'xxx' in ResourceBundles for locale 'fr'
So I add some logs into org.apache.struts2.components.i18n and
com.opensymphony.xwork2.util.LocalizedTextUtil to have more details.
It seems that the ValueStack of a thread 'A' is change
Hello Sunil,
It is not pretty but you can:
Object o = list.get(0);
if (o instanceof Child) {
((Child)(o)).childMethod();
} else if (o instanceof Parent) {
((Parent)(o)).parentMethod();
}
Or you can have a Enum in the parent that will store the type and in
that case you can just swi
I have a form in my web application that can be accessd from different
places (Namespaces) in the web app.
It looks something like this
/Admin/EditSchedule.action
/MySchedules/NewSchedule.action
/Create/NewSchedule.action
/Create/EditSchedule.action
The are subtle differences in how the data is
Hi Gustavo,
Thank you for your reply.
My problem is that, I have different subclasses of the Class Question. and
since the form is dynamic, there is no way for me to know which Question
objects are going to come through...
I thought the only way is to have an interceptor or i just read about typ
I guess the problem IS the fact that the type on elements in the list
not being the correct type.
public class Parent {
private String parent = "parent";
public String getParent() {
return parent;
}
public void setParent(String parent) {
this.parent = parent;
}
My subject line may not be close to the problem I will go straight into
code so i can explain my problem clearly...
I have an action class which looks like this:
Please note, I have left out all the getter and setter methods
public class TestAction extends ActionSupport {pri
Hi Satya,
in our project we have a base action with methods to read/write session
attributes:
ServletActionContext.getRequest().getSession.getAttribute(name)
ServletActionContext.getRequest().getSession.setAttribute(name, object)
This may help.
Regards,
Anastasios.
-Ursprüngliche Nachri
30 matches
Mail list logo