Ah, sorry, I think I misunderstood
As they say in the uPortal forum, this is probably due to the older
version of uPortal returning all session attributes regardless of
scope. When this was fixed, you need to specify the correct scope to
retrieve application scoped attributes, but they are sti
Does it work if you access the session "raw" (get the session and do
session.getAttribute("studentId", PortletSession.APPLICATION_SCOPE)?
Have you tried deploying to a different portlet container such as
jboss portal or just plain pluto? I assume that the resources you're
sharing session between ar
Hi
Any workaround on validation of struts2 to work using java1.6 ?
Seems to work using java 1.5..
version : struts2-core-2.0.11.2
Getting Error 500 in page
java.lang.ExceptionInInitializerError
at
com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorF
Hi
Any workaround on validation of struts2 to work using java1.6 ?
Seems to work using java 1.5..
version : struts2-core-2.0.11.2
Getting Error 500 in page
java.lang.ExceptionInInitializerError
at
com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser
Hi,
I have an application in struts2.0 . I want a servlet in it to cater to a
specific HTTP request. How can I make sure that the request to servlet
does not go through struts.xml as it searches for the action class with
the same name.
thanks,
Kavita
**
I thought the "project owner" read this mailing list?
On Wed, Jul 22, 2009 at 1:20 PM, Dave Newton wrote:
> Sam Wun wrote:
>>
>> For example, where is the source code for collections.do?
>> Here is the link for the example demo, but there is no source code.
>>
>> http://struts.improve-technologies
Sam Wun wrote:
For example, where is the source code for collections.do?
Here is the link for the example demo, but there is no source code.
http://struts.improve-technologies.com/struts-layout/examples/collections.do?reqCode=view
Have you tried contacting the project owner?
Dave
On Tuesday 21 July 2009 03:40:55 am taltun wrote:
> Hi,
>
> When uploading an image using file upload calling this code:
>
> InputStream stream = new BufferedInputStream(new FileInputStream(file));
>
> It seems like the webapplication try to access the filesystem temporary to
> create the file usin
For example, where is the source code for collections.do?
Here is the link for the example demo, but there is no source code.
http://struts.improve-technologies.com/struts-layout/examples/collections.do?reqCode=view
Thanks
Sam
On Wed, Jul 22, 2009 at 12:18 PM, Sam Wun wrote:
> Just downloaded the
Just downloaded the source.
but there are only *.jsp files there:
# pwd
/usr/struts-layout/struts-layout-1.3/doc/example
# cd example/
./ images/ logon3.html
registration3.html subscription2.html
../ logon.html registrati
hi Norris,
i have here a portlet archetype that has spring integration:
http://edwin.quita.googlepages.com/portlet-archetype.zip
http://edwin.quita.googlepages.com/service-archetype.zip
http://edwin.quita.googlepages.com/Maven2HowTo.doc
you can use the project pom files as reference.
HTH,
/kits
Hi,
We got a struts 2.0.6 portlet application with uPortal 2.5.3 ( inside
Pluto 1.0.x) with no issues and running fine.
Now we deployed the same struts 2.0.6 application in uPortal 3.1.1 (inside
pluto 1.1.7) and found following issue.
in our action classes we had the following, where session
Martin Gainty wrote:
post the complete contents of struts-config.xml
event timing is crucial specifically you'll need your Ajax control to detect
ON_COMPLETE
a fairly comprehensive example of handling ON_COMPLETE at
http://struts.apache.org/2.0.14/docs/ajax-validation.html
any objections to
>
> In your code below, where you say // and then execute proxy again, are you
> missing some stepls where you need to supply some parameters to the
> action?
>
Yes, that wasn't actual code, just the steps I was considering.
-In any case it's good to know the limitations of the example. You are
ri
On Today at 2:02pm, DC=>Dimitrios Christodoulakis wrote:
DC> [..snip..]
DC>
DC> The CONFIG_LOCATIONS is used to initialize the servletContext which in
DC> turn is used to initialize the applicationContext, right? So, I am not
DC> sure where is the correct place to add the web.xml file, or how
post the complete contents of struts-config.xml
event timing is crucial specifically you'll need your Ajax control to detect
ON_COMPLETE
a fairly comprehensive example of handling ON_COMPLETE at
http://struts.apache.org/2.0.14/docs/ajax-validation.html
any objections to using new version strut
Thanks Dale --
Now that might be the better question! It appears we have not been
consistent in a few corporate plug-ins between using the VS or OVS, and
those places referencing OVS stopped working in 2.1.7 when xwork relocated
the OVS.
Peace,
Scott
DNewfield wrote:
>
> stanlick wrote:
>>
I have used this testing code to a certain extend, and seems to work
fine. So I am interested in making it work against a complete test
case scenario.
So, when trying to load a child entity after the parent is retrieved,
I get a LazyInitializationException Error. Sure enough, when the
system tries
Hi guys,
I have a checkbox
in an iterator.
However after the validation fail.
The value of the varible "test" in the valuestack became "true, ",
then after servral fail submit the value of the the varible "test" in
the valuestack became "true,
true,true,true,true,true..". Any Sugges
stanlick wrote:
I am experimenting with struts 2.1.7 and apparently xwork 2.1.4 has moved
OgnlValueStack from package com.opensymphony.xwork2.util to
com.opensymphony.xwork2.ognl! Was this some cruel joke?
Why do you need to reference OgnlValueStack? The more generic
ValueStack is in com.ope
hm..I think it was there all the time.
musachy
On Tue, Jul 21, 2009 at 10:03 AM, stanlick wrote:
>
> I am experimenting with struts 2.1.7 and apparently xwork 2.1.4 has moved
> OgnlValueStack from package com.opensymphony.xwork2.util to
> com.opensymphony.xwork2.ognl! Was this some cruel joke?
>
Hi Martin
Yes, I did in the line defining both the initial action to bring up the form
and the action tasked with processing the Ajax call. Also I put in the Ajax
processing action specific setSeeMe("fromAjaxAction") and set that in both the
request and the session objects. Still nothing but w
I am experimenting with struts 2.1.7 and apparently xwork 2.1.4 has moved
OgnlValueStack from package com.opensymphony.xwork2.util to
com.opensymphony.xwork2.ognl! Was this some cruel joke?
Peace,
Scott
--
View this message in context:
http://www.nabble.com/Who-moved-OgnlValueStack--tp24591681
I have a Struts2-portlet application that works. The correct action is
executed, but I get a NPE when I try to access my spring-injected beans. The
logs do show that the spring beans were constructed correctly. I do have the
struts2-spring-plugin included.
Norris Shelton
Software Engineer
Hi, guys
I am studying struts2 source code.
I am wondering how struts2 get those parameters from a submitted
webform. So I traced the program from filterdispatch.class into
DefaultActionMapper.class(). I found a method
public void handleSpecialParameters(HttpServletRequest request,
ActionMapping
Hi Dave,
Thanks for your reply. It makes perfect sense.
I should revisit my action classes and do some refactoring
Thanks,
ST
newton.dave wrote:
>
>
> Personally I tend to use multiple actions, mostly to avoid having
> unnecessary action properties. For me it's easier to deal with ma
hi every one,
how to clear the "html:file " element value?
form is not submitting, until the "html:file" tag has a valid
value..
Iam doing serverside validations, and "html:file" is the last element in the
form.
how to tackle this problem?
Is there any way i can create the html:file
Sam Wun wrote:
Can anyone show me a link where I can download the example source
codes from the following link:
http://struts.improve-technologies.com/faqs/lists.html
http://struts.improve-technologies.com/download.html?
-
To
Hi,
Can anyone show me a link where I can download the example source
codes from the following link:
http://struts.improve-technologies.com/faqs/lists.html
Very appreciate for any answers.
Thanks
Sam
-
To unsubscribe, e-mail: u
Hi,
I mean in xml validation, the document I read is
Action-validation.xml
Action--validation.xml
What I wonder is S2 support Action--validation.xml?
For e.g I've input1() and input2() method in my action, when I call input1() I
like to have something Action-input1-validation.xml to be use and
Ok, thanks Nils,
i'll try first solution.
On Tue, Jul 21, 2009 at 9:53 AM, Nils-Helge Garli Hegvik
wrote:
> 1. You put it in a directory that your webserver serve...
> or
> 2. Create a servlet that reads the data from the filesystem and sends
> back the data in the response.
>
> I'd certainly pre
1. You put it in a directory that your webserver serve...
or
2. Create a servlet that reads the data from the filesystem and sends
back the data in the response.
I'd certainly prefer option 1 if possible.
Nils-H
On Tue, Jul 21, 2009 at 9:31 AM, tutu wrote:
>
> Thanks for response.
> Just one que
Yes, that's what i thought.
Is there a way to display images that are on the file system but not in the
web application? If not, how can you configure an external folder for images
if you can't see them in a web application?
2009/7/21 Paweł Wielgus
> Hi tutu,
> You can't.
>
> Best greetings,
> P
Hi,
When uploading an image using file upload calling this code:
InputStream stream = new BufferedInputStream(new FileInputStream(file));
It seems like the webapplication try to access the filesystem temporary to
create the file using FileInputStream.
On Windows it works, but it seems like on
Hi tutu,
You can't.
Best greetings,
Paweł Wielgus.
2009/7/21 tutu :
>
> Thanks for response.
> Just one question, how do you make the image visible on the webserver
> without putting it in the web application?
>
>
> Jim Kiley wrote:
>>
>> Make sure the image is visible to your webserver, and the
Thanks for response.
Just one question, how do you make the image visible on the webserver
without putting it in the web application?
Jim Kiley wrote:
>
> Make sure the image is visible to your webserver, and then use an
> http://url to access it, rather than a file:// url.
> jk
>
> On Mon, J
36 matches
Mail list logo