I think that what Andreas is doing is:
(1) access a JSF page -- renders html
(2) click on command-component in page, causing a submit
(3) in action-handler method, send an http-redirect to the browser
(4) browser then does a GET to the redirect address, which maps to a servlet
(5) the servlet
Hello Simon, hello Bernd,
It's exactly what I did. I put some session data in the session scope
for the servlet.
Your approach sounds good. More than one solution now available :)
@Bernd: for this case with the redirect in the action method it makes no
difference for the lifecycle
Hi,
how can i check if a submit is/becomes a ppr-request?
I want to register a (javascript) Event-Listener on
form-tags and check if the submitted form is/becomes
a ppr-submit.
Is there anywhere a javascript documentation?
(I know the ppr-site in developers guide, allready...)
Any
Hi all,
I'd like to find out the Trinidad version so that I can look at some of
the known issues related to our version. I can see the following two
libaries: trinidad-api-incubator-m1-SNAPSHOT.jar and
trinidad-impl-incubator-m1-SNAPSHOT.jar in my workspace and there's
adf-faces-version.txt in
http://myfaces.apache.org/trinidad/devguide/ppr.html#Javascript%20APIs%20for%20PPR
sample code:
...
function generalPPRMonitor(state) {
if (state == TrRequestQueue.STATE_BUSY) {
showDivWait();
} else {
closeDivWait();
}
}
function generalOnLoad() {
var
hello,
you are using a quite old version.
a release history + release notes are available at [1]
regards,
gerhard
[1]
https://issues.apache.org/jira/browse/TRINIDAD?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab
2008/12/9 Xu, Jing [EMAIL PROTECTED]
Hi all,
I'd
Hi,
Walter Mourão-2 wrote:
function generalPPRMonitor(state) {
if (state == TrRequestQueue.STATE_BUSY) {
showDivWait();
} else {
closeDivWait();
}
}
I'm not sure, but i think, that i wouldn't get a notification if it isn't a
ppr request?!
Daniel
--
Hello All,
My requirement is as follows.
There will be one hyperlink on the browser (through jsf) by name Help.
Soon after user clicks on the link, a pdf or doc file has to be
downloaded from the server. I'm planning to keep this pdf/doc file as a
part of ear, while deploying this into
Hi,
I've got a JSF page divided in 2 parts - the status message area and the
content area. The content area is positioned under the status message
area. In the status area all messages for the user should be shown -
for example success messages, error messages and exceptions. In my
content
Hi, the code:
...
function generalOnLoad() {
var requestQueue = TrPage.getInstance().getRequestQueue();
requestQueue.addStateChangeListener(generalPPRMonitor);
}
...
Makes the generalPPRMonitor method function be executed only when the PPR
starts/stops.
Walter Mourão
hello,
it's better to load it before the rendering process starts.
you can do that on your own (depending on your application) or you can use
e.g. a mechanism of orchestra (the prerender-method).
regards,
gerhard
2008/12/11 felix.bec...@t-systems.com
Hi,
I've got a JSF page divided in 2
Hi Gerhard,
Thank you for your answer. Unfortunately I can't use orchestra here but
a prerenderer method is exactly what I need. Can it be possible to hook
up something like a prerendererphase in myfaces / Trinidad? I don't see
any other way how solve this problem.
Thank you
Felix
hello,
matthias wrote about the view controller of shale and orchestra - see [1].
a description of the shale view controller is available at [2].
regards,
gerhard
[1]
http://matthiaswessendorf.wordpress.com/2007/10/19/viewcontrollers-in-orchestra/
[2]
I was under the impression that beans that I set up with access scope will
need to be thread safe because I could have a user open two tabs (with the
same conversation context) and submit to the same page simultaneously (or
double submit on the same tab).
But I was running some tests and it seems
Is there a way to make the help text a different color and/or font.
For example: I would like to the help text to be light grey...and the text
the user enters to be black.
Can this be done?
Don't see any style attributes associated with the help text.
Thanks.
Matt
--
View this message in
WOW.. That IS old. That's from when we were back in incubator.
Gerhard Petracek wrote:
hello,
you are using a quite old version.
a release history + release notes are available at [1]
regards,
gerhard
[1]
The source code for Orchestra provided the answer I was looking for. It
looks like a lock is acquired on the conversationcontext object
corresponding to the request before accessing any of the beans inside of a
conversation. So the execution of two requests in the same
conversationcontext will not
Andraes,
This would go against the faces spec. Messages should be available for
all phases of the lifecycle. Portals have a special case in that they
have a dual-phased lifecycle where, generally, one expects these
messages to be present for subsequent renders.
The only thing I could
It should be noted that the border case where the first request creates a
new conversationcontext is not completely sound. In this scenario, no lock
is acquired because nothing else can refer to that newly
created [conversationcontext] id until the response for this request has
been sent back to
Hello All,
What is dependency injection in term of JSF.
managed-bean
managed-bean-nameadress/managed-bean-name
managed-bean-classx.y.z.Adress/managed-bean-class
managed-bean-scopesession/managed-bean-scope
managed-property
property-name../property-name
Hi Jacob,
Thanks very much for your comments.
I don't believe that guessing the conversationcontextid is
significant, because the id is per-session. As you point out, someone
*can* maliciously try to guess the value, thereby creating race
conditions for data *in their own session*. But I don't
felix.bec...@t-systems.com schrieb:
Hi,
I’ve got a JSF page divided in 2 parts – the status message area and
the content area. The content area is positioned under the status
message area. In the status area all messages for the user should be
shown – for example success messages, error
22 matches
Mail list logo