Re: NullPointerException while accessing request struts2

2010-08-26 Thread Jan T. Kim
> > if(word!=null) > { > messages = > brandMgmtDAO.viewMsgForUser(word.getWord().toUpperCase().trim(), null, > dtUtil.getTimeZoneOffset(user.getTimeZone())); > } > > request.setAttribute("messages",messages);

Factoring out URL and link generation

2010-06-15 Thread Jan T. Kim
. Kim ---+ | email: j@uea.ac.uk | | WWW: http://www.cmp.uea.ac.uk/people/jtk | *-=< hierarchical systems are for files, not for hum

Re: CRUD for a set of persistent entities?

2010-06-15 Thread Jan T. Kim
On Thu, Jun 10, 2010 at 07:47:13PM +0100, Ken wrote: > On Thu, 2010-06-10 at 17:38 +0100, Jan T. Kim wrote: > > > Dear List, > > > > is there any technique / package / whatever to set up some basic CRUD > > functionality for a group of persistent classes? > >

CRUD for a set of persistent entities?

2010-06-10 Thread Jan T. Kim
reflection and the persistence API's annotations. Ideally, only one action should be needed and the system would generate the web view and figure out the form data to support at runtime. Any hints / thoughts? -- +- Jan T. Kim ---+ |

javassist problem -- 2.2.0 maven plugin?

2010-02-15 Thread Jan T. Kim
take advantage of this fix already? If they're not yet available I'd also be interested in a workaround. I've tried excluding xwork-core but to no avail (possibly due to lack of maven competence -- RTFAQs etc. welcome). Best regards, Ja

Re: Session data

2009-09-03 Thread Jan T. Kim
ow" context menu items etc.), it's best to avoid trying to create multiple sessions of a web app with one browser process, as users will very easily lose track of which window belongs to what session. Best regards, Jan -- +- Jan T. Kim

Re: Action mapping documentation (and a security question)

2009-06-30 Thread Jan T. Kim
On Sun, Jun 28, 2009 at 11:51:59AM -0400, Dave Newton wrote: > Jan T. Kim wrote: > >>>(2) Isn't encoding methods in action name suffixes like this a potential > >>>security issue? > > > >So, are wildcards useful for development but have to be expanded

Re: Action mapping documentation (and a security question)

2009-06-28 Thread Jan T. Kim
On Sun, Jun 28, 2009 at 08:15:43AM -0400, Dave Newton wrote: > Jan T. Kim wrote: > >(1) Where is the documentation of this wildcard syntax? > > http://struts.apache.org/2.x/docs/wildcard-mappings.html > http://struts.apache.org/2.x/docs/action-configuration.html#A

Action mapping documentation (and a security question)

2009-06-28 Thread Jan T. Kim
al security issue? The action name suffix can obviously be edited by users, but configuration pertains to executable content, so the border between data provided by users and executable content could be crossed without proper checks here, as users can change the in

Re: Exceptions thrown by constructor different from those thown by execute() ?

2009-06-25 Thread Jan T. Kim
, the best bet is an interceptor. > > -Wes > > -- > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > -

Re: Exceptions thrown by constructor different from those thown by execute() ?

2009-06-23 Thread Jan T. Kim
xecute() or by a constructor. My guess is it's more likely this is an issue for documentation, or perhaps it's a (not exceedingly) FAQ. Or perhaps it's just me, as I've only started with struts a few weeks ago. Best regards, Jan -- +- Jan T. Kim

Re: Exceptions thrown by constructor different from those thown by execute() ?

2009-06-23 Thread Jan T. Kim
hen it's thrown by the constructor? Having run into this, I'd like to understand it before moving on. Best regards, Jan > 2009/6/22, Jan T. Kim : > > Dear All, > > > > I'm trying to use exceptions to make sure a user is logged in, using > > struts 2.1.6.

Exceptions thrown by constructor different from those thown by execute() ?

2009-06-22 Thread Jan T. Kim
right? And if so, why is that? Or do you thing I've just made some silly mistake here? Best regards, Jan -- +- Jan T. Kim ---+ | email: j@uea.ac.uk | | WWW: http:

Re: how to prevent users from directly accessing jsp files

2009-06-18 Thread Jan T. Kim
>Raw Pages > >/struts/* > > > > > >No roles, so no direct access > > > > > > > > > > On Thu, Jun 18, 2009 at 9:32 AM, abhishek reddy > >wrote:

Re: Struts2 - redirectAction - ServletActionRedirectResult

2009-06-10 Thread Jan T. Kim
her.ServletActionRedirectResult'. - Class: > > ognl.ObjectPropertyAccessor > > File: ObjectPropertyAccessor.java > > Method: setProperty > > Line: 132 - ognl/ObjectPropertyAccessor.java:132:-1 [snip] -- +- Jan T. Kim --

Re: multiple struts-config files -> empty Tiles Page

2007-07-27 Thread Kim Wegerle
OTECTED] with Return Value 23:36:43,500 DEBUG I18nInterceptor:145 - after Locale=de_DE 23:36:43,500 DEBUG I18nInterceptor:149 - intercept } Perhaps this will help you to detect the problem. The result in second case is an empty page. 2007/7/27, Antonio Petrelli <[EMAIL PROTECTED]>: > >

Re: multiple struts-config files -> empty Tiles Page

2007-07-27 Thread Kim Wegerle
Yes, I have. 2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > > Rewording: > > Do you have the tiles S2 result *type* defined in both > struts config files? > > --- Kim Wegerle <[EMAIL PROTECTED]> wrote: > > > No, I moved the complete action tag from the one

Re: multiple struts-config files -> empty Tiles Page

2007-07-27 Thread Kim Wegerle
ig files? > > d. > > --- Kim Wegerle <[EMAIL PROTECTED]> wrote: > > > This is a good advice. I will change the log level > > to debug. Perhaps I'll > > see something that helps to solve this problem. With > > the current log level > > and my own debug

Re: multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Kim Wegerle
uccess". I just wanted to go sure with my question, that there is nothing additional I have to do, when I use multiple struts config files with Tiles. 2007/7/25, Antonio Petrelli <[EMAIL PROTECTED]>: 2007/7/25, Kim Wegerle <[EMAIL PROTECTED]>: > Hello, > > I'm using

multiple struts-config files -> empty Tiles Page

2007-07-25 Thread Kim Wegerle
needs to work correctly when I use multiple struts-config files? Thanks a lot :-) Kim

Re: [S2] configuring Tiles with Struts 2

2006-11-27 Thread Kim
... > > > > Maybe this can help you to help me > > > > Sebastien Any resolution to this? I am seeing the same problem and the fixes suggested here have made no difference. Thanks, Kim - To uns

Re: about pagination

2006-09-21 Thread Kim Brianne Go
displayed. Brian On 9/21/06, Li <[EMAIL PROTECTED]> wrote: the real pagination should not be done at presentation layer but persistent layer, like using hibernate query or direct jdbc resultset On 9/21/06, Kim Brianne Go <[EMAIL PROTECTED]> wrote: > > Hi Venkata, > > Yo

Re: about pagination

2006-09-21 Thread Kim Brianne Go
n On 9/21/06, Venkata Phani Kumar <[EMAIL PROTECTED]> wrote: Hi Brainne, do you have any idea about these ready made library for pagination. beacuase i also require the same. thnx, Venkata phanikumar.g - Original Message ----- From: "Kim Brianne Go" <[EMAIL PROTECTED]>

Re: about pagination

2006-09-20 Thread Kim Brianne Go
Yamilka, You might want to try using a ready made library for this like display tag or extreme components, so you don't have to reinvent the wheel. Brian On 9/21/06, yamilka vallejo ramos <[EMAIL PROTECTED]> wrote: hi, does anybody know how to work with Struts 1.1 and pagination??? ---

Re: Problem with Validator it does not reload request attributes

2006-07-20 Thread Kim Brianne Go
nullified and will not be available again for the html:optionsCollection. That's the reason I have to put that widget inside a logc:present tag. Brian On 7/19/06, Adam Gordon <[EMAIL PROTECTED]> wrote: Kim- I had the same problem with some static form elements (e.g. contents of list boxes

Problem with Validator it does not reload request attributes

2006-07-18 Thread Kim Brianne Go
Good Day, I was just wondering if anyone has a clue on how to retain request values ( request.setAttribute()) forwarded to a jsp form page and once a form has been submitted or validated then returns with error messages the values from request.setAttribute() is no longer accessible. Here's an ex

Re: Sorting & paging search results with delete button for each row?

2006-02-22 Thread Kim Brianne Go
you can add delete functionality with display tag by assigning an actionmapping to delete a particular record based on parameters passed. though i tried using it on extremecomponents. though same concept applies with display tag. On 2/23/06, Lixin Chu <[EMAIL PROTECTED]> wrote: > > why displayta

Apache web design products?

2005-12-09 Thread Tomas Kim
elegant as this so I can integrate this in my company's practices and reduce development time. Thanks in advance, Tomas Kim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT: Best AJAX framework

2005-11-10 Thread Ben Kim
ng. Rasmus' 30 second AJAX Tutorial http://marc.theaimsgroup.com/?l=php-general&m=112198633625636&w=2 Ben Kim Developer http://benix.tamu.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]