Re: [OT] What do you code today?

2008-04-07 Thread Antonio Petrelli
Currently I'm a sub-sub-contractor (pretty typical in Italy :-D ) in a big reengineering project in a social security institute in Italy, where I can see applications built from the ground up, involving all aspects of the institute. In particular, I am working on a project separated in two parts: o

[Very OT] Telecom Italia's manager knowledge of history

2008-04-07 Thread Antonio Petrelli
Sorry for this *very* OT thread, but in Italy a YouTube video is becoming more and more popular: a manager of Telecom Italia shows his knowledge of history: http://www.youtube.com/watch?v=Kb5T18v81E0 Now with English translation :-D Antonio --

Vencent wants to keep up with you on Twitter

2008-04-07 Thread Vencent
To find out more about Twitter, visit the link below: http://twitter.com/i/f327651c00cf424e4e1e8f79af0ee6654ad1bd9c Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your frie

Re: [S2] checkboxes in each row of table - set values in action

2008-04-07 Thread lbastil
Thank you for the help. But I could not get it to work. Here is a code sample from the Action Class: ... private Set traegerPermissions; ... The class TraegerPermissions itself have another collection: ... private Collection einrichtungen; ... In jsp I have successful read access: ...

Re: [OT] What do you code today?

2008-04-07 Thread mgainty
what is the term 'anagraphical data' ? Molte Grazie Martin - Original Message - Wrom: PEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBG To: "Struts Users Mailing List" Sent: Monday, April 07, 2008 3:04 AM Subject: Re: [OT] What do you code today? > Currently I'm a sub-sub-contractor (pre

Re: [OT] What do you code today?

2008-04-07 Thread Antonio Petrelli
2008/4/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > what is the term 'anagraphical data' ? Sorry wrong translation. I meant personal information like name, address, telephone number, etc. Antonio

Re: [OT] What do you code today?

2008-04-07 Thread Randy Burgess
I'm working on an external and internal facing portal application using BEA AquaLogic UI (ALUI), plugging some holes with S2 based portlets, mainly dealing with moving our customers from DB based auth to LDAP through the portal. With ALUI you can use either JSR-168 portlets or plain old web apps s

[OT] Re: [OT] What do you code today?

2008-04-07 Thread Dave Newton
--- Wes Wannemacher <[EMAIL PROTECTED]> wrote: > [...] Prototype/JQuery (haven't decided yet). JQuery, but be wary of memory leaks in IE5/6; haven't tested as much under 7 yet. Fairly substantial leaks, too, like upwards of a couple megs-per-request under some circumstances, which I haven't had t

Re: [OT] What do you code today?

2008-04-07 Thread Kropp, Henning
Wes Wannemacher schrieb: I've been quiet on this one, but since I finally had a breakthrough today, I feel like talking about it :) I started a pet project that I've been toying around in my head for a while. As a parent, I coach a few elementary and junior high sports. It is a volunteer thing,

Struts 1.1 final/weblogic 9.2 java.lang.ClassCastException: org.apache.struts.upload.MultipartRequestWrapper

2008-04-07 Thread Bhattacharya, Mousami
Hi, I am getting this ClassCastException in org.apache.struts.upload.MultipartRequestWrapper . I have debugged the code and it looks like the error is coming in org.apache.struts.tiles.UrlController. UrlController's perform method has these lines of code. The exception is happening at rd.include(..

RE: The requested resource (/struts2-blank-2.0.11.1/emsitem/index.jsp) is not available.

2008-04-07 Thread Eric Nelson
Hi Ghan. You're not trying to directly access the JSP are you? For instance, browsing to http://host/emsitem/emsList.jsp? You need to go through the action: http://host/context/list.action, and then make sure that your action bean returns a result string of "SUCCESS", and it will automatically n

Re: [OT] What do you code today?

2008-04-07 Thread Roger Ye
My little dirty pet project is a small web bug planted into the corporate intranet websites to collect internal user access statistics and generate report, The logon user is taken from IIS integrated Windows authentication, which is connected to Tomcat using ajp connector, and the user details are

RE: Url-Parameters only set once

2008-04-07 Thread Eric Nelson
You CAN set the property to a different value every time. Most of my action beans implement this behavior just fine. Did you make sure your action bean implements the ParameterAware interface? This binds your action bean properties to the current values in the request scope. --Eric -Origin

RE: Url-Parameters only set once

2008-04-07 Thread Dave Newton
--- Eric Nelson <[EMAIL PROTECTED]> wrote: > You CAN set the property to a different value every time. Most of my > action beans implement this behavior just fine. Did you make sure your > action bean implements the ParameterAware interface? This binds your > action bean properties to the curren

RE: The requested resource (/struts2-blank-2.0.11.1/emsitem/index.jsp) is not available.

2008-04-07 Thread Dave Newton
--- Eric Nelson <[EMAIL PROTECTED]> wrote: > Hi Ghan. You're not trying to directly access the JSP are you? For > instance, browsing to http://host/emsitem/emsList.jsp? You need to go > through the action: http://host/context/list.action, and then make sure > that your action bean returns a resu

ajax upload file - error message [Object] when returning a div.

2008-04-07 Thread xianwinwin
Hi there, can anyone adivse how to return a 'Success message' to a div after a file was uploaded? For some reason, I get this annoying message [Object] after a file was successfully uploade. This is caused because I return a message to a div (without it, it works ok - but the page is refreshed)

interesting proxy + action chain issue

2008-04-07 Thread Brad A Cupit
Hi! I'm having a very interesting issue with CGLIB proxies. I'm proxying my actions with Spring AOP (to get declarative transactions on each Action). Everything is working great, except when I try action chaining, I get a class cast exception that Action2 can't be cast to Action1 (Action1 is first

RE: Ognl expressions in Struts 2.1

2008-04-07 Thread Eric Nelson
I ran into this too once I upgraded to 2.0.11. I understand their concern for allowing expressions, but I know that I'm using them correctly and so I decided to modify the TLD and allow all expressions, then just re-jared everything up and all is working fine. That's one solution. The other i

RE: interesting proxy + action chain issue

2008-04-07 Thread Brad A Cupit
ServletActionRedirectResult worked when I used it instead of the ActionChainResult. This performs an extra round trip back to the browser, which isn't terrible unless I want to pass data from one Action to another, and herein lies some concern. Here's my design, and if you guys think it's flawed I

RE: Url-Parameters only set once

2008-04-07 Thread Eric Nelson
Ah, you're right. Thanks for the correction. --Eric -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 9:29 AM To: Struts Users Mailing List Subject: RE: Url-Parameters only set once --- Eric Nelson <[EMAIL PROTECTED]> wrote: > You CAN set the p

Re: Multiple Result in one Page

2008-04-07 Thread Jeromy Evans
Does that mean ExtFS can build a form from a json (or xml) specification? I've needed that myself. I don't see anything wrong with your approach. In fact I like it. The view (form) is nice separated from the model (data). Frans Thamura wrote: take a look of this http://farm3.static.flickr

Noob question(s). Interceptor breaking forms, and Connection handling?

2008-04-07 Thread Dave Belfer-Shevett
Hi folks, I have two questions, and I apologize for the n00b approach. I'm just teaching myself struts2, coming from a PHP background (but I've done plenty of JEE and Java Swing programming, so the language isn't completely alien :) Question 1... I have a Logon form that works fine without an

Re: Multiple Result in one Page

2008-04-07 Thread Frans Thamura
On Tue, Apr 8, 2008 at 6:07 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > Does that mean ExtFS can build a form from a json (or xml) specification? > I've needed that myself. > > I don't see anything wrong with your approach. In fact I like it. The > view (form) is nice separated from the model

Re: Multiple Result in one Page

2008-04-07 Thread Jeromy Evans
Frans Thamura wrote: right, i think that it is nice they separated view meta to create the form, and model meta to fill the value in the input form inside form but.. if we move all of our project, the json plugins is not stable version, will this make the code of mine become unstable that w

Re: Noob question(s). Interceptor breaking forms, and Connection handling?

2008-04-07 Thread Dave Newton
--- Dave Belfer-Shevett <[EMAIL PROTECTED]> wrote: > I have a Logon form that works fine without an interceptor, but as soon > as I add one, my getUsername() and other methods fail (the username is > null). When you declare interceptor-refs for an action you are declaring *all* the interceptors

Re: interesting proxy + action chain issue

2008-04-07 Thread Jeromy Evans
Brad A Cupit wrote: ServletActionRedirectResult worked when I used it instead of the ActionChainResult. This performs an extra round trip back to the browser, which isn't terrible unless I want to pass data from one Action to another, and herein lies some concern. ... POSTS should each have thei

Re: interesting proxy + action chain issue

2008-04-07 Thread Jeromy Evans
Jeromy Evans wrote: Brad A Cupit wrote: ... POSTS should each have their own Action (which may write the data to the DB). This Action should only process the POST. Afterwards, it forwards (chains) to another Action, which sits in front of the view. If the view needs data from the DB, it goes in

Re: Multiple Result in one Page

2008-04-07 Thread Frans Thamura
> The JSON plugin is stable in all respects except that it hasn't been > released as a 1.x. I use it a lot and haven't encountered any problems > since adding enum support. > we are finding this issue also. > > However the REST Plugin itself actually uses json-lib: > http://json-lib.sourceforge.