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
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
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:
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
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();
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
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
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
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:
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.
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 =
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,
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
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
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
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
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,
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
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
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.
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:
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.
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
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
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
...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 -
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
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
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:
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
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
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(
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
33 matches
Mail list logo