Re: Session Timeout JSCookMenu

2006-09-29 Thread Daniel Loebbe
Doesn't anyone have an idea concerning this?Bye, Daniel2006/9/21, Daniel Loebbe [EMAIL PROTECTED]:
Hallo all,

weserve an application using MyFaces, Tomahawk and facelets.
When the Http.Session times out, the user is logged out automatically. During the new login, the Menu of the application should be loaded, but the follwoing error occurs:

Sep 21, 2006 5:26:36 PM com.sun.facelets.FaceletViewHandler handleRenderExceptionSEVERE: Error Rendering View[/pages/ImportResourceBundles.xhtml]java.lang.IllegalArgumentException: Value binding of UINavigationMenuItems with id menuForm:menu:jsCookMenuItems does not reference an Object of type NavigationMenuItem, NavigationMenuItem[], Collection or Ma
p at org.apache.myfaces.custom.navmenu.NavigationMenuUtils.addNavigationMenuItems(NavigationMenuUtils.java:143) at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.preprocessNavigationItems

(HtmlNavigationMenuRenderer.java:254) at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.encodeEnd(HtmlNavigationMenuRenderer.java:117) at javax.faces.component.UIComponentBase.encodeEnd

(UIComponentBase.java:536) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
 at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) at org.apache.myfaces.lifecycle.LifecycleImpl.render

(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter

(ExtensionsFilter.java:144) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java

:376) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at 
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run

(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

Has anyone a statement to this?

Thanks, Daniel




Re: JSF proxy component

2006-09-07 Thread Daniel Loebbe
Hi,

you are right, we already thought about that solution. But I originally want to embed the content of the second server into the pages of the main one.

Bye, Daniel
2006/9/6, Raj Saini [EMAIL PROTECTED]:
Daniel,If your by webserver you mean Tomcat, you can font it with youryourHTTP webserver such as Apache HTTP server. You can use mod_jk or or
mod_proxy very easily.Regards,RajDaniel Loebbe wrote: Hi all, our problem is as follows: The main web application developed with myfaces and facelets is accessible via the internet. Now, content from another webserver,
 which is _not_ accessible via the internet (it resides in the intranet behind), should be passed through the main application to the users browser. What we are looking for is a way to embed the content of the second
 server into the main application. Does anyone has an idea how to achieve this? Does there exist something like a proxy-component? Thanks for helping, Daniel



JSF proxy component

2006-09-06 Thread Daniel Loebbe
Hi all,
our problem is as follows:
The main web application developed with myfaces and facelets is accessible via the internet. Now, content from another webserver, which is not accessible via the internet (it resides in the intranet behind), should be passed through the main application to the users browser.


What we are looking for is a way to embed the content of the second server into the main application. Does anyone has an idea how to achieve this? Does there exist something like a proxy-component?

Thanks for helping,

Daniel


Re: JSCookMenu and SUN's RI

2006-02-10 Thread Daniel Loebbe
Done.

http://issues.apache.org/jira/browse/MYFACES-1105

Bye, Daniel
2006/2/9, Mike Kienenberger [EMAIL PROTECTED]:
Daniel,It'd be best if you opened the issue since you have the bestunderstanding of the problem and can provide examples showing the
problem.(You also are the one who's most interested in seeing asolution).I don't know anything about jsCookMenu -- I've never used it.On 2/9/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote: I am quite sure that the extension filter stuff is not the reason for the problem concerning the jsCookMenu and Suns RI. All _javascript_ and CSS stuff is loaded properly.
 So, can you please open an issue concerning this? Thanks  Bye, Daniel 2006/2/8, Mike Kienenberger [EMAIL PROTECTED]
:  Actually, the new extensions filter web page probably explains it  better than the examples.   Try the instructions listed at   
http://myfaces.apache.org/tomahawk/extensionsFilter.html   If they aren't clear or don't work for you, let me know how we can improve them.   -Mike 
   On 2/8/06, Martin Marinschek [EMAIL PROTECTED] wrote:   Hi Daniel, yes you do: you'll need to add the /faces/* mapping as well - see the
 examples. regards, Martin On 2/8/06, Daniel Loebbe [EMAIL PROTECTED]
 wrote:Hi Martin,   these are my filter settings:  filter   
filter-nameMyFacesExtensionsFilter /filter-name   filter-class   org.apache.myfaces.component.html.util.ExtensionsFilter
   /filter-class   init-param   param-nameuploadMaxFileSize /param-name
   param-value100m /param-value   /init-param   init-param
   param-nameuploadThresholdSize /param-name   param-value100k /param-value   
/init-param   /filter   filter-mapping   filter-nameMyFacesExtensionsFilter /filter-name
   url-pattern*.faces /url-pattern   /filter-mapping   filter-mapping
   filter-nameMyFacesExtensionsFilter /filter-name   url-pattern*.js /url-pattern   
/filter-mapping   filter-mapping   filter-nameMyFacesExtensionsFilter /filter-name
   url-pattern*.css /url-pattern   /filter-mapping  Maybe I miss somthing?
 Bye, Daniel   2006/2/8, Martin Marinschek 
[EMAIL PROTECTED]: Bruno should have fixed that by moving all special stuff out to the extensions-filter. You're including the extensions-filter, right?
 regards, Martin On 2/8/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote:  Any news concerning this issue? The last nightly builds did not containa  correction.
   Bye, Daniel2006/2/1, Daniel Loebbe  
[EMAIL PROTECTED]: Great to hear this. Thanks a lot! Looking forward,
 Daniel   2006/2/1, Martin Marinschek 
[EMAIL PROTECTED] :  Yeah, there is YAB (yet another bug) open on this. Bruno will
 fixthistogether with me, sometime today or tomorrow.   regards,
   Martin   On 2/1/06, Daniel Loebbe  
[EMAIL PROTECTED] wrote: And I got the following output con the console:
 WARN util.AddResource - MyFaces special _javascript_ could not be  retrieved from request-map.
 ERROR util.MyFacesResourceLoader - Unparsable lastModified :  @lastModified@
 Did the filter settings change in the meantime? Bye, Daniel
 2006/1/30, Martin Marinschek  
[EMAIL PROTECTED] :  Done!   regards,
   Martin   On 1/30/06, Daniel Loebbe  
[EMAIL PROTECTED] wrote:   Hi, I tried that, but the error message is the same. Here is
 the  html-code I get   now:  
   form id=jsCookMenuForm method=post   action=""
   enctype=application/x-www-form-urlencoded   script type=text/_javascript_var
  jsCookMenuForm_jsCookMenu_menu =   [[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:',
   'linkDummyForm', null,[null, 'Aktuelle Informationen',   'jsCookMenuForm_jsCookMenu_menu:information',
   'linkDummyForm', null],   [null, 'Benachrichtigungen',  
'jsCookMenuForm_jsCookMenu_menu:bulletinBoard',   'linkDummyForm', null],   [null, 'Kontakt',
 'jsCookMenuForm_jsCookMenu_menu:contact',   'linkDummyForm', null], ...   ];/script
   divid=jsCookMenuForm_jsCookMenu_menu/div   script type=text/_javascript_ cmDraw
   ('jsCookMenuForm_jsCookMenu_menu',   jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice,   'ThemeOffice');/script
   input type=hidden name= com.sun.faces.VIEWvalue=X /   input type=hidden name=jsCookMenuForm
  value=jsCookMenuForm /  /form The form 'linkDummyForm

Re: JSCookMenu and SUN's RI

2006-02-09 Thread Daniel Loebbe
I am quite sure that the extension filter stuff is not the reason for the problem concerning the jsCookMenu and Suns RI. All _javascript_ and CSS stuff is loaded properly.

So, can you please open an issue concerning this?

Thanks  Bye,
Daniel
2006/2/8, Mike Kienenberger [EMAIL PROTECTED]:
Actually, the new extensions filter web page probably explains itbetter than the examples.Try the instructions listed at
http://myfaces.apache.org/tomahawk/extensionsFilter.htmlIf they aren't clear or don't work for you, let me know how we can improve them.
-MikeOn 2/8/06, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Daniel, yes you do: you'll need to add the /faces/* mapping as well - see the examples.
 regards, Martin On 2/8/06, Daniel Loebbe [EMAIL PROTECTED] wrote:  Hi Martin,   these are my filter settings:
filter   filter-nameMyFacesExtensionsFilter /filter-name   filter-class   org.apache.myfaces.component.html.util.ExtensionsFilter
   /filter-class   init-param   param-nameuploadMaxFileSize /param-name   param-value100m /param-value
   /init-param   init-param   param-nameuploadThresholdSize /param-name   param-value100k /param-value
   /init-param   /filter   filter-mapping   filter-nameMyFacesExtensionsFilter /filter-name
   url-pattern*.faces /url-pattern   /filter-mapping   filter-mapping   filter-nameMyFacesExtensionsFilter /filter-name
   url-pattern*.js /url-pattern   /filter-mapping   filter-mapping   filter-nameMyFacesExtensionsFilter /filter-name
   url-pattern*.css /url-pattern   /filter-mappingMaybe I miss somthing?   
  Bye, Daniel   2006/2/8, Martin Marinschek [EMAIL PROTECTED]:   Bruno should have fixed that by moving all special stuff out to the
   extensions-filter. You're including the extensions-filter, right? regards, Martin  
   On 2/8/06, Daniel Loebbe [EMAIL PROTECTED] wrote:Any news concerning this issue? The last nightly builds did not contain
  acorrection.   Bye, Daniel  2006/2/1, Daniel Loebbe 
[EMAIL PROTECTED]: Great to hear this. Thanks a lot! Looking forward,
 Daniel 2006/2/1, Martin Marinschek [EMAIL PROTECTED]
 :  Yeah, there is YAB (yet another bug) open on this. Bruno will fix  this  together with me, sometime today or tomorrow.
   regards,   Martin   On 2/1/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote:   And I got the following output con the console:
   WARN util.AddResource - MyFaces special _javascript_ could not beretrieved   from request-map.  
   ERROR util.MyFacesResourceLoader - Unparsable lastModified :@lastModified@   Did the filter settings change in the meantime?
 Bye, Daniel 2006/1/30, Martin Marinschek  
[EMAIL PROTECTED] :Done!   regards,
   Martin   On 1/30/06, Daniel Loebbe  
[EMAIL PROTECTED] wrote: Hi, I tried that, but the error message is the same. Here is the
html-code I   get now: form id=jsCookMenuForm method=post
 action=""> enctype=application/x-www-form-urlencoded script type=text/_javascript_var
jsCookMenuForm_jsCookMenu_menu = [[null, 'Information',   'jsCookMenuForm_jsCookMenu_menu:', 'linkDummyForm', null,[null, 'Aktuelle Informationen',
 'jsCookMenuForm_jsCookMenu_menu:information', 'linkDummyForm', null], [null, 'Benachrichtigungen',
  'jsCookMenuForm_jsCookMenu_menu:bulletinBoard', 'linkDummyForm', null], [null, 'Kontakt',
   'jsCookMenuForm_jsCookMenu_menu:contact', 'linkDummyForm', null], ... ];/script
 div  id=jsCookMenuForm_jsCookMenu_menu/div script type=text/_javascript_ cmDraw
 ('jsCookMenuForm_jsCookMenu_menu', jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice, 'ThemeOffice');/script
 input type=hidden name= com.sun.faces.VIEW  value=X / input type=hidden name=jsCookMenuForm
value=jsCookMenuForm //form The form 'linkDummyForm' is still there but not rendered into
  thepage. Bye, Daniel
 2006/1/26, Martin Marinschek  [EMAIL PROTECTED]:  Can you try to wrap the whole jscookmenu in a form?
   the dummyform should only be rendered if necessary...   regards,
   Martin   On 1/26/06, Daniel Loebbe  
[EMAIL PROTECTED]  wrote:   Hi, seems that I found the reason. The form linkDummyForm
  andthe js function   clear_linkDummyForm are missing / not rendered.
 Has anyone a solution for this (both seems to be rendered  bythe
   MyFaces JSF   implementation but not by Sun's RI)?  
   Thanks,  

Re: JSCookMenu and SUN's RI

2006-02-08 Thread Daniel Loebbe
Any news concerning this issue? The last nightly builds did not contain a correction.

Bye, Daniel
2006/2/1, Daniel Loebbe [EMAIL PROTECTED]:

Great to hear this. Thanks a lot!

Looking forward,

Daniel
2006/2/1, Martin Marinschek [EMAIL PROTECTED]:
 

Yeah, there is YAB (yet another bug) open on this. Bruno will fix thistogether with me, sometime today or tomorrow. 
regards,MartinOn 2/1/06, Daniel Loebbe [EMAIL PROTECTED] wrote:
 And I got the following output con the console: WARN util.AddResource - MyFaces special _javascript_ could not be retrieved from request-map. ERROR util.MyFacesResourceLoader
 - Unparsable lastModified : @lastModified@ Did the filter settings change in the meantime?  Bye, Daniel 2006/1/30, Martin Marinschek 
[EMAIL PROTECTED]:  Done!   regards,Martin   On 1/30/06, Daniel Loebbe  
[EMAIL PROTECTED] wrote:   Hi, I tried that, but the error message is the same. Here is the html-code I  get   now:  
   form id=jsCookMenuForm method=post   action="">   enctype=application/x-www-form-urlencoded 
   script type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =   [[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:',   'linkDummyForm', null,[null, 'Aktuelle Informationen', 
   'jsCookMenuForm_jsCookMenu_menu:information',   'linkDummyForm', null],   [null, 'Benachrichtigungen',   'jsCookMenuForm_jsCookMenu_menu:bulletinBoard',
   'linkDummyForm', null],   [null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:contact',   'linkDummyForm', null], ...   ];/script   div id=jsCookMenuForm_jsCookMenu_menu/div 
   script type=text/_javascript_ cmDraw   ('jsCookMenuForm_jsCookMenu_menu',   jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice,   'ThemeOffice');/script 
   input type=hidden name=com.sun.faces.VIEW value=X /   input type=hidden name=jsCookMenuForm value=jsCookMenuForm / 
  /form The form 'linkDummyForm' is still there but not rendered into the page. Bye, Daniel 
   2006/1/26, Martin Marinschek  [EMAIL PROTECTED]:Can you try to wrap the whole jscookmenu in a form?
the dummyform should only be rendered if necessary...   regards,   Martin   
    On 1/26/06, Daniel Loebbe  [EMAIL PROTECTED] wrote: Hi,
 seems that I found the reason. The form linkDummyForm and the jsfunction clear_linkDummyForm are missing / not rendered.
 Has anyone a solution for this (both seems to be rendered by the  MyFaces   JSF implementation but not by Sun's RI)?
 Thanks, Daniel   --   
http://www.irian.at   Your JSF powerhouse - 
JSF Consulting, Development andCourses in English and German   Professional Support for Apache MyFaces 
  --   http://www.irian.at 
  Your JSF powerhouse -  JSF Consulting, Development and   Courses in English and German   Professional Support for Apache MyFaces 
--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development andCourses in English and German
Professional Support for Apache MyFaces


Re: JSCookMenu and SUN's RI

2006-02-01 Thread Daniel Loebbe
Today I tested the nightly build from Feb. 01 and get the following results.

The html-output now is:
form id=jsCookMenuForm method=post action="" enctype=application/x-www-form-urlencodedscript type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =
[[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:A', 'jsCookMenuForm', null,[null, 'Aktuelle Informationen', 'jsCookMenuForm_jsCookMenu_menu:Ainformation', 'jsCookMenuForm', null],[null, 'Benachrichtigungen', 'jsCookMenuForm_jsCookMenu_menu:AbulletinBoard', 'jsCookMenuForm', null],
[null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:Acontact', 'jsCookMenuForm', null],[null, 'Kundendaten', 'jsCookMenuForm_jsCookMenu_menu:AcustomerData', 'jsCookMenuForm', null],[null, 'Einstellungen', 'jsCookMenuForm_jsCookMenu_menu:Asettings', 'jsCookMenuForm', null]],...

[null, 'Abmelden', 'jsCookMenuForm_jsCookMenu_menu:Alogoff', 'jsCookMenuForm', null]];/scriptdiv id=jsCookMenuForm_jsCookMenu_menu/divscript type=text/_javascript_cmDraw ('jsCookMenuForm_jsCookMenu_menu', jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice, 'ThemeOffice');/script
input type=hidden name=com.sun.faces.VIEW value=H4sIAL1YW2wUVRg /input type=hidden name=jsCookMenuForm value=jsCookMenuForm /
/form
But I get an error message dummyForm.elements.jscook_action has no proerties in the js function cmItemMouseUp line 29 (dummyForm.elements['jscook_action'].value = link;).

Sorry that I am not a js-professional. Can you try to help me further?

Bye, Daniel
2006/1/30, Martin Marinschek [EMAIL PROTECTED]:
Done!regards,MartinOn 1/30/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote: Hi, I tried that, but the error message is the same. Here is the html-code I get now: form id=jsCookMenuForm method=post
 action=""> enctype=application/x-www-form-urlencoded script type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =
 [[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:', 'linkDummyForm', null,[null, 'Aktuelle Informationen', 'jsCookMenuForm_jsCookMenu_menu:information', 'linkDummyForm', null], [null, 'Benachrichtigungen',
 'jsCookMenuForm_jsCookMenu_menu:bulletinBoard', 'linkDummyForm', null], [null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:contact', 'linkDummyForm', null], ... ];/script
 div id=jsCookMenuForm_jsCookMenu_menu/div script type=text/_javascript_ cmDraw ('jsCookMenuForm_jsCookMenu_menu', jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice,
 'ThemeOffice');/script input type=hidden name=com.sun.faces.VIEW value=X / input type=hidden name=jsCookMenuForm value=jsCookMenuForm /
/form The form 'linkDummyForm' is still there but not rendered into the page. Bye, Daniel 2006/1/26, Martin Marinschek 
[EMAIL PROTECTED]:  Can you try to wrap the whole jscookmenu in a form?   the dummyform should only be rendered if necessary...   regards, 
  Martin   On 1/26/06, Daniel Loebbe [EMAIL PROTECTED] wrote:   Hi, seems that I found the reason. The form linkDummyForm and the js
 function   clear_linkDummyForm are missing / not rendered. Has anyone a solution for this (both seems to be rendered by the MyFaces JSF   implementation but not by Sun's RI)?
 Thanks, Daniel--   http://www.irian.at 
  Your JSF powerhouse -  JSF Consulting, Development and  Courses in English and German   Professional Support for Apache MyFaces 
--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development andCourses in English and GermanProfessional Support for Apache MyFaces



Re: JSCookMenu and SUN's RI

2006-02-01 Thread Daniel Loebbe
And I got the following output con the console:

WARN util.AddResource - MyFaces special _javascript_ could not be retrieved from request-map.
ERROR util.MyFacesResourceLoader - Unparsable lastModified : @lastModified@

Did the filter settings change in the meantime?

Bye, Daniel

2006/1/30, Martin Marinschek [EMAIL PROTECTED]:
Done!regards,MartinOn 1/30/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote: Hi, I tried that, but the error message is the same. Here is the html-code I get now: form id=jsCookMenuForm method=post
 action=""> enctype=application/x-www-form-urlencoded script type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =
 [[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:', 'linkDummyForm', null,[null, 'Aktuelle Informationen', 'jsCookMenuForm_jsCookMenu_menu:information', 'linkDummyForm', null], [null, 'Benachrichtigungen',
 'jsCookMenuForm_jsCookMenu_menu:bulletinBoard', 'linkDummyForm', null], [null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:contact', 'linkDummyForm', null], ... ];/script
 div id=jsCookMenuForm_jsCookMenu_menu/div script type=text/_javascript_ cmDraw ('jsCookMenuForm_jsCookMenu_menu', jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice,
 'ThemeOffice');/script input type=hidden name=com.sun.faces.VIEW value=X / input type=hidden name=jsCookMenuForm value=jsCookMenuForm /
/form The form 'linkDummyForm' is still there but not rendered into the page. Bye, Daniel 2006/1/26, Martin Marinschek 
[EMAIL PROTECTED]:  Can you try to wrap the whole jscookmenu in a form?   the dummyform should only be rendered if necessary...   regards, 
  Martin   On 1/26/06, Daniel Loebbe [EMAIL PROTECTED] wrote:   Hi, seems that I found the reason. The form linkDummyForm and the js
 function   clear_linkDummyForm are missing / not rendered. Has anyone a solution for this (both seems to be rendered by the MyFaces JSF   implementation but not by Sun's RI)?
 Thanks, Daniel--   http://www.irian.at 
  Your JSF powerhouse -  JSF Consulting, Development and  Courses in English and German   Professional Support for Apache MyFaces 
--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development andCourses in English and GermanProfessional Support for Apache MyFaces



Re: JSCookMenu and SUN's RI

2006-02-01 Thread Daniel Loebbe
Great to hear this. Thanks a lot!

Looking forward,

Daniel
2006/2/1, Martin Marinschek [EMAIL PROTECTED]:
Yeah, there is YAB (yet another bug) open on this. Bruno will fix thistogether with me, sometime today or tomorrow.
regards,MartinOn 2/1/06, Daniel Loebbe [EMAIL PROTECTED] wrote: And I got the following output con the console:
 WARN util.AddResource - MyFaces special _javascript_ could not be retrieved from request-map. ERROR util.MyFacesResourceLoader - Unparsable lastModified : @lastModified@ Did the filter settings change in the meantime?
 Bye, Daniel 2006/1/30, Martin Marinschek [EMAIL PROTECTED]:  Done!   regards,
   Martin   On 1/30/06, Daniel Loebbe  [EMAIL PROTECTED] wrote:   Hi, I tried that, but the error message is the same. Here is the html-code I
 get   now: form id=jsCookMenuForm method=post   action="">   enctype=application/x-www-form-urlencoded
   script type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =   [[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:',   'linkDummyForm', null,[null, 'Aktuelle Informationen',
   'jsCookMenuForm_jsCookMenu_menu:information',   'linkDummyForm', null],   [null, 'Benachrichtigungen',   'jsCookMenuForm_jsCookMenu_menu:bulletinBoard',
   'linkDummyForm', null],   [null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:contact',   'linkDummyForm', null], ...   ];/script   div id=jsCookMenuForm_jsCookMenu_menu/div
   script type=text/_javascript_ cmDraw   ('jsCookMenuForm_jsCookMenu_menu',   jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice,   'ThemeOffice');/script
   input type=hidden name=com.sun.faces.VIEW value=X /   input type=hidden name=jsCookMenuForm value=jsCookMenuForm /
  /form The form 'linkDummyForm' is still there but not rendered into the page. Bye, Daniel
   2006/1/26, Martin Marinschek  [EMAIL PROTECTED]:Can you try to wrap the whole jscookmenu in a form?   
the dummyform should only be rendered if necessary...   regards,   Martin   On 1/26/06, Daniel Loebbe 
[EMAIL PROTECTED] wrote: Hi, seems that I found the reason. The form linkDummyForm and the js
   function clear_linkDummyForm are missing / not rendered. Has anyone a solution for this (both seems to be rendered by the
 MyFaces   JSF implementation but not by Sun's RI)? Thanks, Daniel
  --   http://www.irian.at   Your JSF powerhouse -
JSF Consulting, Development andCourses in English and German   Professional Support for Apache MyFaces   
--   http://www.irian.at   Your JSF powerhouse -  JSF Consulting, Development and
  Courses in English and German   Professional Support for Apache MyFaces --http://www.irian.at
Your JSF powerhouse -JSF Consulting, Development andCourses in English and GermanProfessional Support for Apache MyFaces


Re: JSCookMenu and SUN's RI

2006-01-30 Thread Daniel Loebbe
Hi,

I tried that, but the error message is the same. Here is the html-code I get now:

form id=jsCookMenuForm method=post action="" enctype=application/x-www-form-urlencodedscript type=text/_javascript_var jsCookMenuForm_jsCookMenu_menu =
[[null, 'Information', 'jsCookMenuForm_jsCookMenu_menu:', 'linkDummyForm', null,[null, 'Aktuelle Informationen', 'jsCookMenuForm_jsCookMenu_menu:information', 'linkDummyForm', null],[null, 'Benachrichtigungen', 'jsCookMenuForm_jsCookMenu_menu:bulletinBoard', 'linkDummyForm', null],
[null, 'Kontakt', 'jsCookMenuForm_jsCookMenu_menu:contact', 'linkDummyForm', null], ...
];/scriptdiv id=jsCookMenuForm_jsCookMenu_menu/divscript type=text/_javascript_cmDraw ('jsCookMenuForm_jsCookMenu_menu', jsCookMenuForm_jsCookMenu_menu, 'hbr', cmThemeOffice, 'ThemeOffice');/script
input type=hidden name=com.sun.faces.VIEW value=X /input type=hidden name=jsCookMenuForm value=jsCookMenuForm //form
The form 'linkDummyForm' is still there but not rendered into the page.

Bye, Daniel


2006/1/26, Martin Marinschek [EMAIL PROTECTED]:
Can you try to wrap the whole jscookmenu in a form?the dummyform should only be rendered if necessary...
regards,MartinOn 1/26/06, Daniel Loebbe [EMAIL PROTECTED] wrote: Hi, seems that I found the reason. The form linkDummyForm and the js function
 clear_linkDummyForm are missing / not rendered. Has anyone a solution for this (both seems to be rendered by the MyFaces JSF implementation but not by Sun's RI)? Thanks,
 Daniel--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development andCourses in English and GermanProfessional Support for Apache MyFaces



JSCookMenu and SUN's RI

2006-01-26 Thread Daniel Loebbe
Hi all,due to support and deployment issues with the oc4j, we need to switch our application back to Sun's RI (1.1.01) and jdk 1.4 (using facelets). Can anyone help me on getting the JSCookMenu from MyFaces 
1.1.1 to work in this configuration?Currently, the menu is rendered properly (except the style, but that is not the problem). But when selecting a menu item, I get a JS-Error:

'elements' is null or not an object
it raises in the cmItemMouseUp() function in MyFacesHack.js in the line 

dummyForm.elements['jscook_action'].value = action;
Any ideas? It would really help us!

Bye and thanks,

Daniel


Re: JSCookMenu and SUN's RI

2006-01-26 Thread Daniel Loebbe
Hi,

seems that I found the reason. The form linkDummyForm and the js function clear_linkDummyForm are missing / not rendered.

Has anyone a solution for this (both seems to be rendered by the MyFaces JSF implementation but not by Sun's RI)?

Thanks,

Daniel


Validation issue concerning navigation

2005-12-13 Thread Daniel Loebbe
Hi,

maybe someone can help me.

I implemnted an application, which uses 3 pages for collecting data.
All pages contain forms and input fields which are validated by more
or less common validators.

The issue is: As long as e.g. the form on the second or third page has
validation errors, I am not able to navigate back to one of the
previous pages to change data there. In this case, the user must start
entering all data again.

One solution would be to place a second form on the page including the
button executing the back action. But that causes design problems
means its hard to place the button at the correct place on the page.

Has anyone another idea, to switch off validation for such cases?

Bye  thanks,

Daniel


Re: Validation issue concerning navigation

2005-12-13 Thread Daniel Loebbe
Seems to work. Many thanks!

Bye, Daniel



2005/12/13, Mario Ivankovits [EMAIL PROTECTED]:
 Hi Daniel!
  Has anyone another idea, to switch off validation for such cases?
 
 You can set the immediate=true attribute on your button.
 The drawback (sometimes) is that than your model wont be updated.

 ---
 Mario




Re: JSCookMenu Themes and Facelets

2005-10-26 Thread Daniel Loebbe
Hi,

am I the only one having problems with the JSF JSCookMenu and
Fecelets? Event the standard themes are not loaded properly (in
detail: their images).

Bye, Daniel

2005/10/21, Daniel Loebbe [EMAIL PROTECTED]:
 Hi all,

 I like to use the JSCookMenu from the myfaces extensions and Facelets.
 After adding the tags
 tag
tag-namejscookMenu/tag-name
component
component-type
org.apache.myfaces.JSCookMenu
/component-type
renderer-typeorg.apache.myfaces.JSCookMenu/renderer-type
/component
 /tag
 and
 tag
tag-namenavigationMenuItems/tag-name
component
component-type
javax.faces.SelectItems
/component-type
/component
 /tag
 to the taglib definition (tomahawk.taglib.xml) the menu is rendered
 and works. But neither the default theme (images are missing) nor
 overwriting the theme works.

 1) Facelets tells me that the property styleLocation is not on type
 org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu.

 2) The style sheet is not taken from the specified localtion (see
 html-output below).

 head
 titleGasoline/title
 base href=http://localhost:9001//MyApp/
 link rel=stylesheet type=text/css link rel=stylesheet
 type=text/css href=/MyApp/css/basic.css/
 script 
 src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/JSCookMenu.js
 type=text/javascript/script
 script 
 src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/MyFacesHack.js
 type=text/javascript/script
 script 
 src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/ThemeOffice/theme.js
 type=text/javascript/script
 link rel=stylesheet
 href=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/ThemeOffice/theme.css
 type=text/css/
 /head

 3) I cannot overwrite the automatically included style sheet, because
 the js- and css- links are rendered at the end of the jead. Manually
 included style sheet defining the proper styles are overwritten.

 = The menu is rendered in the default style except the images. The
 menu font is specified in and taken from another global style sheet.
 The extension filter settings seems to work as the js-file are loaded
 properly from the generated urls.

 Any ideas? I use myfaces 1.1.0 and facelets as distributed by the
 exadel studio 3.0.5.

 Thanks, Daniel



Re: RES: Myfaces under OC4J

2005-10-21 Thread Daniel Loebbe
I also encountered problems with the Oracle XML parser and JSF /
myfaces. I changed the bootclasspath of the OC4J (unsupported) to use
the Xerces parsers. But there also is a howto at Oracle dwescribing ho
to change the default parser. It is called how-to-swapxmlparser.zip).
But I did not try it yet.

Bye, Daniel

2005/10/20, João Carlos Bortoletto Junior [EMAIL PROTECTED]:
 Hey guys,

Thanks for your help!

Yesterday I worked hard until discover what was happening in my 
 environment.

The problem was related to Oracle XML Parser (My OC4J JVM instance is 
 initialized with this parser)... It was trying to validate my web.xml dtd at 
 java.sun.com... Although everything was appearing ok, my server doesn't have 
 access to internet external hosts. Therefore, the parser crashed all myfaces 
 life cycle... web.xml was not available!
I just commented dtd reference inside web.xml file and bingo!

Once more, thanks for all responses.


 João Bortoletto


 -Mensagem original-
 De: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 20 de outubro de 2005 12:02
 Para: MyFaces Discussion
 Assunto: Re: Myfaces under OC4J

 it inits the infrastructure of the jsf app
 (parsing faces-config ... )

 http://svn.apache.org/viewcvs.cgi/myfaces/impl/trunk/src/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=193014view=markup

 take a look ;-)

 On 10/20/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
  OK.  BTW, can you briefly describe what this listener does?  I've just
  been blindly including it, but I don't really understand what it's
  doing.
 
  - Brendan
 
  -Original Message-
  From: Martin Marinschek [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 20, 2005 9:37 AM
  To: MyFaces Discussion
  Subject: Re: Myfaces under OC4J
 
 
  No.
 
  if you don't use Jetty (some version) you are usually good to go, and
  the listener will be included by the TLD files themselves.
 
  regards,
 
  Martin
 
  On 10/20/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED] wrote:
   So are you saying that we no longer have to define the listener in our
   web.xml file when using MyFaces?
  
   - Brendan
  
   -Original Message-
   From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
   Sent: Thursday, October 20, 2005 2:13 AM
   To: MyFaces Discussion
   Subject: Re: Myfaces under OC4J
  
  
   sounds like your web.xml has no Context Listener defined
   listener
  
  
  listener-classorg.apache.myfaces.webapp.StartupServletContextListener
   /listener-class
   /listener
  
   the newer versions of myfaces contains this listener inside of the
   core.tld (like the RI does).
  
   I was able to deploy MyFaces demo app in OC4J 9.0.4.0 and OC4J 9.0.4.1
  
   More informations on deployment you'll find here:
   (Plattform Information)
  
  http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/ex
   change/jsf/doc/installation.html#Platform%20Information
  
   HTH,
   Matthias
  
 
 
  --
 
  http://www.irian.at
  Your JSF powerhouse -
  JSF Trainings in English and German
 


 --
 Matthias Wessendorf
 Zülpicher Wall 12, 239
 50674 Köln
 http://www.wessendorf.net
 mwessendorf-at-gmail-dot-com




JSCookMenu Themes and Facelets

2005-10-21 Thread Daniel Loebbe
Hi all,

I like to use the JSCookMenu from the myfaces extensions and Facelets.
After adding the tags
tag
tag-namejscookMenu/tag-name
component
component-type
org.apache.myfaces.JSCookMenu
/component-type
renderer-typeorg.apache.myfaces.JSCookMenu/renderer-type
/component
/tag
and
tag
tag-namenavigationMenuItems/tag-name
component
component-type
javax.faces.SelectItems
/component-type
/component
/tag
to the taglib definition (tomahawk.taglib.xml) the menu is rendered
and works. But neither the default theme (images are missing) nor
overwriting the theme works.

1) Facelets tells me that the property styleLocation is not on type
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu.

2) The style sheet is not taken from the specified localtion (see
html-output below).

head
titleGasoline/title
base href=http://localhost:9001//MyApp/
link rel=stylesheet type=text/css link rel=stylesheet
type=text/css href=/MyApp/css/basic.css/
script 
src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/JSCookMenu.js
type=text/javascript/script
script 
src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/MyFacesHack.js
type=text/javascript/script
script 
src=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/ThemeOffice/theme.js
type=text/javascript/script
link rel=stylesheet
href=/MyApp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11266487/ThemeOffice/theme.css
type=text/css/
/head

3) I cannot overwrite the automatically included style sheet, because
the js- and css- links are rendered at the end of the jead. Manually
included style sheet defining the proper styles are overwritten.

= The menu is rendered in the default style except the images. The
menu font is specified in and taken from another global style sheet.
The extension filter settings seems to work as the js-file are loaded
properly from the generated urls.

Any ideas? I use myfaces 1.1.0 and facelets as distributed by the
exadel studio 3.0.5.

Thanks, Daniel


Changing JSF scenario at runtime

2005-10-11 Thread Daniel Loebbe
Hi,

I am developing a large web-application with JSF and myFaces, which
must be capable of handling different mandators / clients. The
application has some common functionality and a lot of
mandator/client-specific stuff (pages, navigation, css, a.s.o.).

With respect to some organizational limitations of the underlying
J2EE-framework we decided not to implement separate web applications.
But keeping all mandators /clients together in a common configuration
does not satisfy us.

For me the most reasonable solution would be to load / change the
JSF-scenario (beans, navigation rules, validator...) dynamically at
runtime, maybe not from config files but from a database.

As I see the JSF-API does not provide this functionality. Does anyone
has already experience with such applications? How can this be solved?

Thanks for helping,

Daniel