hi stephen,
(that's an issue with the setup of weld and not related to myfaces codi.)
however, myfaces codi doesn't need this support - if you also don't need
cdi support for servlets, filters or listeners, you can run the application
without those features.
regards,
gerhard
http://www.irian.at
Great. I am mainly interested in WindowScoped i.e. every browser tab
has its own mini-session.
I see that CODI is adding a ?windowId=595 to keep these conversations
separate. If a user simply copies the url and pastes in a new tab now
two browser tabs are sharing the same conversation. How can I
hi stephen,
yes - you can add a small js (see e.g. [1]) to support this use-case.
regards,
gerhard
[1] http://s.apache.org/YTq
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2012/3/9
Included in the JSF jar is META-INF/resources/javax.faces/jsf.js which
enables its use by h:outputScript name=jsf.js library=javax.faces
target=head/
Should windowhandler.js be moved from the examples into a core library
so that it can be utilized the same way ?
On Fri, Mar 9, 2012 at 7:10 AM,
hi stephen,
just handle it like any custom js with jsf2 (you can see the usage in the
example - see layout.xhtml).
btw. i saw that the previous version in the playground example has an issue.
werner is currently refactoring the script - [1] is his current result.
regards,
gerhard
[1]
hi stephen,
i think it's easier to use [1] (for now).
i'll provide all the details in the wiki as soon as we made the final test.
regards,
gerhard
[1] http://old.nabble.com/-CODI--lazy-windowId-drop-script-p31654496.html
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting,
That seems to work fine when pasting into a new empty window, but it
still allows you to copy-paste the url from one codi window to an
existing codi window.
On Fri, Mar 9, 2012 at 8:18 AM, Gerhard Petracek
gerhard.petra...@gmail.com wrote:
hi stephen,
i think it's easier to use [1] (for now).
Hi Stephen!
Well, the current approach in CODI is currently under discussion in the JSF EG.
The whole windowId stuff of CODI might end up in the JSF-2.2 or 2.3 spec.
T hat seems to work fine when pasting into a new empty window, but it
still allows you to copy-paste the url from one codi
@ mark:
i just tested it and it works with [1] in combination
with ClientSideWindowHandler [2].
regards,
gerhard
[1] http://s.apache.org/rr
[2] http://s.apache.org/23p
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
I was referring to [1]
http://old.nabble.com/-CODI--lazy-windowId-drop-script-p31654496.html
I guess I just need to wait until the correct way is tested and
documented in the wiki using:
[1] http://s.apache.org/rr
[2] http://s.apache.org/23p
On Fri, Mar 9, 2012 at 9:20 AM, Gerhard Petracek
hi stephen,
that's right [1] doesn't support it.
werner committed his improvement and you can try [2] and [3] as you see
them right now.
regards,
gerhard
[1] http://old.nabble.com/-CODI--lazy-windowId-drop-script-p31654496.html
[2] http://s.apache.org/rr
[3] http://s.apache.org/23p
I simply added [3] and now I get the behavior I was looking for.
Is there a reason why I should add [2] ?
On Fri, Mar 9, 2012 at 10:38 AM, Gerhard Petracek
gerhard.petra...@gmail.com wrote:
hi stephen,
that's right [1] doesn't support it.
werner committed his improvement and you can try [2]
hi stephen,
werner made the latest changes in the playground project - he can provide
all the details.
i created [1] - the documentation about the alternative implementations
should be better soon.
regards,
gerhard
[1] https://issues.apache.org/jira/browse/EXTCDI-274
http://www.irian.at
Your
hi christian,
please test it also with v1.0.4.
if you see the same effect, rohit might be able to provide further details.
regards,
gerhard
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Hey gerhard,
I just tested it with 1.0.4 but the same error occurs.
Here again my EE Stack:
Websphere 8.0.0.2(JSF2 and the OWB version shipped with websphere)
Codi 1.0.4(extcdi-jsf2-bundle)
Here is the stacktrace, i hope it will help to resolve the problem.
[09.03.12 21:31:30:489 CET]
@ rohit:
that looks like a general integration issue in WAS8 which is not specific
to myfaces codi.
regards,
gerhard
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2012/3/9 Christian
How can i show an error message when the page load for the first time, this
only work if i go to another page and back to the original (this) then the
message in index.xhml show.
Its possible?
@Named(value=myBean)
@ViewAccessScoped
@Model
@View(Index.class)
public class MyBean implements
hi jose,
since we need an initial redirect to add the window-id to the url, you
don't see it on the very first page which is displayed in a window (because
you only see the result of the 2nd request).
please file a jira issue. for now you can provide a custom implementation
of JsfModuleConfig and
I got this error earlier today.
/pages/notAuthorized.xhtml @42,172 value= to access page
'#{page.unauthorizedPage.class.name}' The identifier [class] is not a
valid Java identifier as required by section 1.19 of the EL
specification (Identifier ::= Java language identifier). This check
can be
Strange that you get that error in JSF1.2. I only started getting it in
JSF2.1. There I could replace the .class with .getClass() and all was
fine again :)
I agree that it is rather odd. I'm looking forward to the reason 'why'
that some of the experts here might now :)
MAG,
Milo
On Fri,
20 matches
Mail list logo