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
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
--- 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
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
[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
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
--- 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
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
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
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
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
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
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
,
=
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
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
--- 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
--- 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
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
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
--- 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
--- 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
--- 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,
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
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 )
--- 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 )
--- 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.
--- 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
--- 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
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().
--- 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
--- 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
--- 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
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
--- 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()
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
--- 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?
--- 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
--- 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 (
--- 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
--- 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
--- 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
--- 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
--- 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
48 matches
Mail list logo