Apply navigation-rule for collapsiblePanel does not work

2007-03-07 Thread janw
Hello, I have a question concerning the collapsiblePanel: We need to have a navigation rule executed in order to apply a redirect when clicking the link to collapse the panel. We tried to declare the action for the headerLink: t:collapsiblePanel … f:facet name=header t:headerLink

How to prevent direct access to JSPs

2006-11-27 Thread janw
Hello, I use myfaces with JSPs on Tomcat 5.5.17, the MyFaces extensionsFilter maps to *.jsf. How do I restrict the access to my *.jsp files? Now, when the user enters in the url: http://myserver.com/mywebapp/login.jsp Tomcat prints on the screen something like

Re: How to prevent direct access to JSPs

2006-11-27 Thread janw
But how to disable access to pages like .../orders.jsp, .../settings.jsp ? ::SammyRulez:: wrote: create a index.jsp without jsf specific tags but onli a redirect to http://myserver.com/mywebapp/login.jsf -- View this message in context:

Session destroyed when redeploying MyFaces Web-App

2006-11-16 Thread janw
Hello, we have a problem when redeploying our webapp: All sessions are destroyed. It once worked that the session were kept over a new deployment of the webapp, but since a few weeks (and IMO nothing has changed significantly) the sessions expire. I tried already the distributable/ tag in

Re: Datascroller displays incorrect pageIndex (1)

2006-10-11 Thread janw
Jeff, thanks for your assistance. I mixed up your approach and mine: I keep the binding to the dataTable because I need it at another place, but adopted the properties value, rows, first as well. Additionally, before fetching data from the DB I call int first = getTable().getFirst();

Datascroller displays incorrect pageIndex (1)

2006-10-06 Thread janw
Hello, I use the dataScroller bound to a backing Bean in session scope. The table is as well bound to the backing bean. private UIData table; private HtmlDataScroller dataScroller; Scenario: The user scrolls to page 3, goes to a completely other page, then returns to the page with the

Re: Datascroller displays incorrect pageIndex (1)

2006-10-06 Thread janw
Kurz Associates, Inc. janw wrote: Hello, I use the dataScroller bound to a backing Bean in session scope. The table is as well bound to the backing bean. private UIData table; private HtmlDataScroller dataScroller; Scenario: The user scrolls to page 3, goes to a completely other

JSCookMenu: SelectOneMenu disappears in IE

2006-10-05 Thread janw
Hello, we use the great JSCookMenu as a horizontal menubar. In IE (Version 6) we observed the following: When expanding a menu item in a way that the emerging vertical menu items overlap with a selectOneMenu, the selectOneMenu disappears. When the menu items collapse again, the selectOneMenu

Render Response phase is skipped

2006-10-05 Thread janw
Hello, how can it be that for some pages the RENDER_RESPONSE Phase is skipped? I use a PhaseTracker which dumps every phase that is run through, and there are JSPs which are correctly rendered, but for which the phase is not traversed. Jan -- View this message in context:

Re: Tomahawk Tabbed Pane Question

2006-10-05 Thread janw
have you tried the onclick attribute? t:panelTab label=Tab1 onclick=alert('Hi!') ... -- View this message in context: http://www.nabble.com/Tomahawk-Tabbed-Pane-Question-tf2388439.html#a6659030 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Render Response phase is skipped

2006-10-05 Thread janw
After your responses I thought the mistake must be on my side. And I found the reason: I used another PhaseListener (let it be listener_1), one that works like the one from Cagatay (http://www.jroller.com/page/cagataycivici?entry=managed_beans_aware_of_the). But I defined PhaseID =

Authorization via view-handler

2006-09-22 Thread janw
Hello, I'd like to use a ViewHandler for authorization. I use tiles, so I have already a Viewhandler defined in my application (JspTilesViewHandlerImpl). How can I integrate these two view-handlers? I think I cannot define a second view-handler. I know there are frameworks like SecurityFilter,

Re: Authorization via view-handler

2006-09-22 Thread janw
Hi Patrick, thanks for the hints and the links. Unless I use redirect in a navigation rule, in a filter I don't get the destination of the request, but the source. example: login.jsp = start.jsp When performing the login, the information I have when filtering the login-request is the URL of

Re: Redirect after post (PRG pattern) JSF messages

2006-09-18 Thread janw
Hello, I'd like to know if one could save not only FacesMessages in this way, but also saveState Beans that should be preserved via a redirect?! BTW: In the wiki I could not find anything about Enrique's final solution. Is it documented/implemented anywhere? If not: Enrique, could you post your

Re: Horizontal Panel Navigation - panelNavigation2

2006-09-06 Thread janw
Hello, I too don't get the navigationMenu to work. @Rolf: The horizontal navigation works for you? Which myfaces version? I just tried it out with 1.1.4, but I have the same problem. It is not a CSS issue, the generated HTML is different. In my case, the -tag is empty. At irian it contains

Popup shifted in IE when using fixed-positioned div's

2006-09-06 Thread janw
Hello, I use a CSS layout with fixed-positioned div's for header, menubar, content-area and footer. When using the popup-component in the content-area the displayed popup is offset. I can shift the popup to the correct place. Then in Firefox it looks ok, but in IE 6 the popup is also shifted

Re: CommandNavigation2: usage of activeOnViewIds attribute

2006-08-31 Thread janw
Hello, I found out how it works. The syntax must be like this: t:commandNavigation2 activeOnViewIds=/leer.jsp ... activeOnViewIds=/leer.jsp; will not work. I looked at the code of the class UINavigationMenuItem and I think I found out why. If there is one view-Id / token that matches,

CommandNavigation2: usage of activeOnViewIds attribute

2006-08-23 Thread janw
Hello, I tried to use the attribute activeOnViewIds of the component commandNavigation2 to define which menu items are open after which action, but don't get it wo work. I don't know exactly how to fill the attribute. A view-id is sth like /order_overview.jsp, as in a navigation rule, right? I

Popup over Datascroller arrows

2006-08-18 Thread janw
Hello, is it possible to show a popup over a datascroller arrow? I tried this, but the result was that there was no arrow first rendered. h:panelGrid t:dataScroller ... t:popup id=popup_datascroller_first styleClass=popup ... f:facet name=first

Re: Custom message for inputcalendar

2006-08-15 Thread janw
ok, I found the keys in myfaces-impl-1.1.3.jar under javax/faces/Messages.properties Jan -- View this message in context: http://www.nabble.com/Custom-message-for-inputcalendar-tf2104557.html#a5810323 Sent from the MyFaces - Users forum at Nabble.com.

Custom message for inputcalendar

2006-08-14 Thread janw
Hello, is there a key to overwrite the message field_name: The given value value could not be converted to a date. in case a user enters an invalid date like 50.50.2005 in the textfield of an inputcalendar? Jan -- View this message in context:

Re: CommandButton in paneltabbedPane doesn't work for me

2006-07-28 Thread janw
sorry, the problem seems to be a validation issue. h:messages showed me conversion errors. Jan -- View this message in context: http://www.nabble.com/CommandButton-in-paneltabbedPane-doesn%27t-work-for-me-tf2004165.html#a5543898 Sent from the MyFaces - Users forum at Nabble.com.

CommandButton in panelTab doesn't work for me

2006-07-26 Thread janw
Hello, I use the paneltabbedPane to create a new order. There is a common submit button to store the data entered in the different tabs and to go back to the main site. The problem is: 1) When placing the commandbutton inside a panelTabbedPane the specified action of the backing bean is not

Re: CommandButton in paneltabbedPane doesn't work for me

2006-07-26 Thread janw
I just discovered the bug already being reported at http://issues.apache.org/jira/browse/TOMAHAWK-90?page=all so there doesn't seem to be a solution... -- View this message in context: http://www.nabble.com/CommandButton-in-paneltabbedPane-doesn%27t-work-for-me-tf2004165.html#a5504616 Sent

Re: mailto outputLink with session id problem

2006-07-25 Thread janw
Hello, is there by now a common solution for this problem? In a datatable I tried a workaround by using the verbatim tag, but inside I cannot use EL, thus cannot access the row-specific variable. f:verbatim a id=mailto_link

Re: mailto outputLink with session id problem

2006-07-25 Thread janw
...sorry, the last line should be: Is it possible to store the the row-specific body of the mail in a variable and access it from the a-tag? Jan -- View this message in context: http://www.nabble.com/mailto-outputLink-with-session-id-problem-tf1305834.html#a5481083 Sent from the MyFaces -

Re: mailto outputLink with session id problem

2006-07-25 Thread janw
I found a workaround that is sufficient for me. The mailto-Link is created by Javascript: function openMailto(body, subject){ this.location.href=mailto:?body=; + body + subject= + subject; } The JS is called on the onmousedown event on a commandbutton: h:commandButton id=... immediate=true

Tab switch by click on button

2006-07-13 Thread janw
Hello, I use the panelTabbedPane with client-side Tab switch. Is it possible to switch the active tab by clicking an own button different from the tab header buttons? (example in attached image) The purpose is to lead the user step-by-step through a process for which the user has to enter data

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread janw
Hello, one question in this context: How do you add content to the tabs? Programmatically, or do you refer in the JSP page (in case JSP is used) to the created tabs? Best regards Jan -- View this message in context:

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread janw
hmm, I'm not clear about how to do this... putting a h:panelgroup around the tabbedPane? Is there an example somewhere or some code snippets? Jan -- View this message in context: http://www.nabble.com/Dynamically-adding-tabs-to-t%3ApanelTabbedPane-tf1785535.html#a5184332 Sent from the MyFaces

Icon in panelNavigation2

2006-07-04 Thread janw
Hello, I use the panelNavigation2 component. Is it possible to set an icon for a Menu-item either programmatically or in a static way? There is a constructor for NavigationMenuItem that accepts an icon String, but the icon isn't shown, and the component commandNavigation2 as used in the

Re: Icon in panelNavigation2

2006-07-04 Thread janw
Fault of mine, now I see the icon. Is there a possibility to display *both* icon and text in the menu point, just as in the jscookmenu? I can display either icon or the text, but not both. This is how I use the constructor: NavigationMenuItem logoutMenuItem = new NavigationMenuItem(

Duplicated menu-items in a combimnation of tiles and panelNavigation2

2006-06-26 Thread janw
Hello, I'm new to JSF and have propably a typical beginner's problem. I'm using tiles, analogously to the tiles example: a header area, a navigation area on the left (panelNavigation2) and the actual content. The content may contain a dataScroller. Clicking a navigation link of the dataScroller