[OS-webwork] Portlet support

2003-01-16 Thread Konstantin Priblouda
in opensymphony subproject, and found some clues how it can be done. Is there a work underway ( or maybe ready solutiuon ) to provide such funtionality? Where to look for it? Everybody speaks about portlets, but the more I look, the more quetions I get... thanks in advance... regards, = Konstantin

[OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
got different maps from action context. I also looked in the code, and did not found any signs that ActionContext actually pick into HttpSession. Maybe I overlook something in docs. Is there a better way to obtain HttpSession contens in webwork? regards, = Konstantin Priblouda ( ko5tik

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
--- Rickard_Öberg [EMAIL PROTECTED] wrote: Konstantin Priblouda wrote: Hi all, I tried to get map of values stored in HttpSession by calling ActionContext.getSession() Docs state that it shall return map of values in actual HttpSession while in servlet environment, and just

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
desired class in [say] thread local upon execution? Is there webwork example for such factory actions? regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
[say ] GenerixcDispatcher to initialize ActionContext ? regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de/povray

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
invocation. Losing session track due plain html could be an issue for url-mangled sessions, but not cookie-ones... regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
--- Rickard_Öberg [EMAIL PROTECTED] wrote: Konstantin Priblouda wrote: Regardless, the initialization should probably be done using a ServiceContextListener. What is ServiceContextListener? Nothing in webwork docs about it, neither in servlet api Sorry, I meant this one: http

Re: [OS-webwork] ActionContext clarification

2003-01-29 Thread Konstantin Priblouda
that ActionContext is stored as TreadLocal, is this map kept in synch with session contents? regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de/povray

Re: [OS-webwork] (Offtopic) Freemarker WAS Using SiteMesh for the UI tags

2003-01-30 Thread Konstantin Priblouda
of the sudden and starts flamewar. Which go notthing to do with original post. Usually this flamewar continues forever, even without Jonathan. Would it be possible to just stop this flame, on the spot, without any comments? regards, = Konstantin Priblouda ( ko5tik )Freelance Software

Re: [OS-webwork] ActionContext clarification

2003-01-30 Thread Konstantin Priblouda
is executing, but not renderScreen. Though values were set and get on render screen... regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de/povray

Re: [OS-webwork] Xdoclet generation of Xwork.xml

2003-02-14 Thread Konstantin Priblouda
development ( and because I'm sure to try out XW/WW as soon as it's released ) chances are that I will contribute some time to do this. regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online

RE: [OS-webwork] a question about actions

2003-02-18 Thread Konstantin Priblouda
in for certain directories, and dhandlers kick in iof some resource was not located. I even built small CMS for my customers years ago: http://www.mei-gmbh.com - it's german, but you can see how navigation works. = Konstantin Priblouda ( ko5tik )Freelance Software developer http

Re: [OS-webwork] AOP

2003-02-25 Thread Konstantin Priblouda
just one small problem. Everything is in French, and I must admit that while good command of french was really important for well eduicated people only 100 years ago I completely miss this requirement :) Is there englich information? regards, = Konstantin Priblouda ( ko5tik )Freelance

Re: [OS-webwork] FileUpload support

2003-03-29 Thread Konstantin Priblouda
, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de/povray/ __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March

Re: [OS-webwork] ActionContext and ServletActionContext Difference

2003-04-04 Thread Konstantin Priblouda
your choice whether you tie your code to servlet container regards, = Konstantin Priblouda ( ko5tik )Freelance Software developer http://www.pribluda.de play java games - http://www.yook.de render charts online - http://www.pribluda.de/povray

Re: [OS-webwork] Accessing counter in iterator

2003-06-09 Thread Konstantin Priblouda
--- Lars Johansson [EMAIL PROTECTED] wrote: Hello everyone, we have a webapp with some reports spanning multiple pages and using offset/limit to fetch data into a Collection. I must say I find is somewhat tricky to access the counter in an iterator to do render were in the total resultset

Re: [OS-webwork] Xwork IoC requirements

2003-07-11 Thread Konstantin Priblouda
--- Jason Carreira [EMAIL PROTECTED] wrote: I'm starting a list of requirements for an IoC container in Xwork. Here's what I've got so far: 1) Ability to have nested component scopes (Application - HTTP Session - HTTP Request - Action Invocation) AFAIK, xwork shoid be web-agnostik, or

RE: [OS-webwork] Xwork IoC requirements

2003-07-11 Thread Konstantin Priblouda
1) Ability to have nested component scopes (Application - HTTP Session - HTTP Request - Action Invocation) AFAIK, xwork shoid be web-agnostik, or what's puprose of splitting ww2 / xwork? Yes, they should. But that doesn't mean nested component scopes isn't a requirement, as

RE: [OS-webwork] On storing values in actions

2003-07-28 Thread Konstantin Priblouda
What I want to is actually very simple: to allow some kind of link with parameters, like .../mylink?parm1=helloparm2=world but to allow for omitting parameters as I see fit... so after that call above, the data (parm1=hello and parm2=world) should be stored somewhere, and then if a

Re: [OS-webwork] WW1.3 and WW2

2003-07-28 Thread Konstantin Priblouda
--- Mike Cannon-Brookes [EMAIL PROTECTED] wrote: Dudley, I think this depends on your level of comfort. Personally I wouldn't start a new application with WW 1.3 at the moment, as your development cycle is likely longer than the time until WW2 is released. Also using a framework during

RE: [OS-webwork] examples examples examples...looked at xpetstore

2003-07-28 Thread Konstantin Priblouda
--- Jason Carreira [EMAIL PROTECTED] wrote: -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 6:15 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] examples examples examples...looked at xpetstore Hi, I really need to

Re: [OS-webwork] Java.util.Date

2003-07-31 Thread Konstantin Priblouda
--- BOGAERT Mathias [EMAIL PROTECTED] wrote: Hi, I'm having troubles getting a java.util.Date in on my form call the setDate(Date date) on my action. Is this supposed to work? Or should I pass a string? Currently the dateformat is MM/dd/, is there any way to modify this? Well,

Re: [OS-webwork] Synchronizing session access (WW 1.3 and 2.0)

2003-07-31 Thread Konstantin Priblouda
--- Jason Carreira [EMAIL PROTECTED] wrote: I'm thinking of adding a feature which can be enabled from webwork.properties to tell the SessionMap whether to synchronize access to the HttpSession... I'll probably implement this as a subclass of SessionMap which does the synchronization, and

Re: [OS-webwork] Webwork 1.3

2003-08-05 Thread Konstantin Priblouda
--- Scott Farquhar [EMAIL PROTECTED] wrote: Hani Suleiman wrote: To all non webwork2 junkies: Any objections to adding ui:hidden and ui:form tags to webwork 1.3? Not from this side of the pond. Go for it. would be cool. What about moving ww1.3 on java.net for non-commiter

RE: [OS-webwork] Webwork and tool support, etc.

2003-08-09 Thread Konstantin Priblouda
--- Thompson, Kris [EMAIL PROTECTED] wrote: That's just sad. You know there are plenty of good books, manuals on Chevy Nova's too but that doesn't mean it is a good car! I'm surprised by your request for IDE plug-ins, I to have no desire to use such a tool for such a simple task but is

Re: [OS-webwork] Defining views for actions in views.properties

2003-08-11 Thread Konstantin Priblouda
--- James Pan [EMAIL PROTECTED] wrote: Hello, Got two questions: (1) I have an action that may be invoked from a number of pages, and SUCCESS should cause the view to return to the calling page. Basically, Page A, B, C can call action MyAction, and the successful execution should

Re: [OS-webwork] Is html/xml escaping performed in webwork2 view implementation?

2003-08-28 Thread Konstantin Priblouda
--- Fredrik Lindgren [EMAIL PROTECTED] wrote: Hi, I've spent some time going through the current webwork2 UI implementation trying to find out if escaping of special characters (',,,',) is done. In webwork 1.3, at least the jsp UI templates will perform escaping since they use the

Re: [OS-webwork] Action with output

2003-09-05 Thread Konstantin Priblouda
--- Tomasz Wrona [EMAIL PROTECTED] wrote: Did you #include() or #parse() your template? #include() just includes everyting verbatim withoutlooking inside. At first I've tried #include but it did not work. Then I've tried #parse (template.vm) but an exception was raised: Fri Sep 05

Re: [OS-webwork] Struts user feedbak

2003-09-24 Thread Konstantin Priblouda
1/ We can use only ui tags from velocity (Renderer interface), do you plan quicky to support the other tags (URLTag , ...) ? You do not need URL tag there. At least in WW1.3 there was Url bean, which did all you need with URLs regards, = [ Konstantin Pribluda ( ko5tik )

RE: [OS-webwork] Struts user feedbak

2003-09-24 Thread Konstantin Priblouda
--- Fred Lamuette [EMAIL PROTECTED] wrote: I'm testing WebWork2, so how can i handle url from velocity ? look into source code for where WW macros are defined. There ought to be #url () which will instantiate url bean into context regards, = [ Konstantin Pribluda ( ko5tik )

Re: [OS-webwork] Struts user feedbak

2003-09-25 Thread Konstantin Priblouda
--- Pat Lightbody [EMAIL PROTECTED] wrote: I thought the URLTag wasn't needed because it just uses UrlHelper.buildUrl(), which you can also use from Velocity? I can use from velocity what is really in the velocity context. So, if UrlHelper is not in the context, i cant use it.

RE: [OS-webwork] Struts user feedbak

2003-09-25 Thread Konstantin Priblouda
--- Fred Lamuette [EMAIL PROTECTED] wrote: Where are the macros ? #tag, #bodytag et #param are some 'userdirective' defined in a programmatic way in the VeolcityManager. So what ??? Regards. I spak for 1.3 #url #action and couple of others are definitely macros. #includeservlet is clearly

Re: [OS-webwork] Advanced URL mapping?

2003-09-29 Thread Konstantin Priblouda
--- Philipp Meier [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2003 at 04:53:41PM +0200, Jerome BERNARD wrote: I would like to be able to map some URL to some actions where part of the URL is transformed as a parameter to the action. For example, I would like the URL

RE: [OS-webwork] Newbie: internationalization for Russian

2003-10-16 Thread Konstantin Priblouda
Can I call setCharacterEncoding(str) over and over with different encoding strings? Servlet API means: ---%- Overrides the name of the character encoding used in the body of this request. This method must be called prior to reading request parameters or reading input using getReader().

Re: [OS-webwork] Session handler

2003-10-24 Thread Konstantin Priblouda
--- Samuel Mota [EMAIL PROTECTED] wrote: Hi, I've sette up a component with Session lifecycle ... it's working like a charm, but my session component adds an application scoped reference to the user (he can login only once) ... When the session ends I must clear the reference at the

Re: [OS-webwork] formatting dates and numbers

2003-11-18 Thread Konstantin Priblouda
--- Paul Knepper [EMAIL PROTECTED] wrote: I'm using jsp pages with ww:property tags to output data. How do I format dates and numbers? I would like to specify dates as /mm/dd. And I'd like to format numbers regarding number of digits for precision etc... ww:property would do

RE: [OS-webwork] Param directive

2003-11-19 Thread Konstantin Priblouda
--- Drew McAuliffe [EMAIL PROTECTED] wrote: My biggest problem with this is that it basically eliminates any advantage to using velocity as far as ease of use is concerned. One of the main reasons I prefer velocity over JSP is that the syntax is more natural, especially for things like

[OS-webwork] [ANN] Plugin for xdoclet 2

2003-12-08 Thread Konstantin Priblouda
Hi all, I commited very first version of plugin generating views.properties for webworkj 1.3 ( would do for 1.4 of course ) those who are brave enough can give it a try. You will need some patches though - qdox shall be patched with patch attached to qdox-36, - xdoclet 2 shall get new file

Re: [OS-webwork] Using Conversion Framework at view

2004-01-07 Thread Konstantin Priblouda
--- Samuel Mota [EMAIL PROTECTED] wrote: Hi, Is there some way to enable the view to use the conversion framework to display the string? (I'm with Velocity) Explaining: public MyType getMyField() { return theField; } Instead of using the result for the call to toString()

RE: [OS-webwork] Webwork unfair comparison

2004-01-13 Thread Konstantin Priblouda
Jason, you will get no responses at all, as theserverside is down now :) Inversoft just exceeded bandwidth limit... :) --- Jason Carreira [EMAIL PROTECTED] wrote: I replied on here: http://www.theserverside.com/home/thread.jsp?thread_id=23245#106551 And I'll probably get pissy

Re: [OS-webwork] Compress output

2004-01-14 Thread Konstantin Priblouda
--- Samuel Mota [EMAIL PROTECTED] wrote: Hi ... This question is not direct related to WW but I hope find some help ... My application will be used on wireless devices, so, we are charged by traffic and I really need to compress the output ... wich is the better approach for this?

Re: [OS-webwork] Portlet API

2004-01-28 Thread Konstantin Priblouda
--- Marino [EMAIL PROTECTED] wrote: Hi, Is there any news regarding Webwork support for Portlet API. There is a JIRA issue for that (http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-6) created on 10/05/2002, but without any progress? Any recommendation for Java open

Re: AW: [OS-webwork] Xwork/WebWork2 under extreme load

2004-01-31 Thread Konstantin Priblouda
--- Hans Prueller [EMAIL PROTECTED] wrote: how can I configure velocity template caching in webwork?? just adding a velocity.properties into classpath??? you can also modivy webwork.proeprties - this is the place where webwork looks for them regards, = [ Konstantin Pribluda (

Re: [OS-webwork] Date Format?

2004-02-04 Thread Konstantin Priblouda
--- Volnei [EMAIL PROTECTED] wrote: A Velocity tool? (toolbox) Just a bean with some utility method - it will get java.util.Date and format it in the way you like. ( I personally prefer long milliseconds ( date.getTime() ) to be stored in database, and then formatted ) BTW, the same

Re: [OS-webwork] Date Format?

2004-02-04 Thread Konstantin Priblouda
--- Volnei [EMAIL PROTECTED] wrote: How do? Install a tool inside context, which will format it for you. create class capable to convert java.util.Date to string in a way you like. put it into context via one of webwork velocity macros ( this one is called #bean ) - user this

Re: [OS-webwork] WW2 Actions Velocity Result - getters called multiple?

2004-02-20 Thread Konstantin Priblouda
--- Hans Prueller [EMAIL PROTECTED] wrote: is is the normal case that an Actions getXXX() method is called every time a velocity-result template uses the $XXX variable? if my action has a method, say HashMap getLabelsForType() and it is used in velocity result like #foreach ($type in

Re: [OS-webwork] Tomcat out of memory

2004-02-21 Thread Konstantin Priblouda
--- remigijus [EMAIL PROTECTED] wrote: I know, I can restart Tomcat, but this is not solution. I will come to same problem after few days or weeks againt. It can be treated as work around. I'm not sure that switching to velocity will fix the problem. I looked for information on google and

RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Konstantin Priblouda
--- Erik_Jõgi [EMAIL PROTECTED] wrote: Rickard Öberg wrote ... 2) Great performance 3) Templates does not have to be in files (JSP files do) ... where does the performance win over JSPs come from? As JSPs are compiled into servlets, how do you beat that? Did you looked into