Kamila Rutkowski

Ranch Hand
+ Follow
since Sep 22, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kamila Rutkowski

Tim Holloway wrote:All the XSD does is tell the XML parser how to validate the text in the xhtml file. It doesn't hook up any functionality.

If the tags are being passed through to the HTML without being removed and acted on, you definitely are missing some app configuration options needed to switch that functionality on.



The Spring Security 3 within my project works correctly except for sec taglib. What are app configuration options for this?
12 years ago
JSF

Tim Holloway wrote:In HTML, any tags not understood will be ignored. So what probably happened is that you didn't include necessary context for the "sec" tags. Either you're missing the xsd reference in the page that employs the tag or you didn't properly include/configure the tag library in your WAR.


I put the spring-security-taglib within the lib of my project and the within my page. Also, the source of rendered html is like this:
12 years ago
JSF
I found the pictures my picture URLs were relative to the current URL path!
12 years ago
JSF
I found the pictures my picture URLs were relative to the current URL path!
12 years ago
JSF
I have a navigation-rule like this in my jsf 2 application:

when I put an h:commandLink in myHome2.xhtml within directory myhome2 that satisfy this rule, the page myHome1.xhtml will display but there are no images on the page! where they go?!
of course, behind the application is springsecurity 3 with this config:

12 years ago
JSF
I have a JSF 2 page based on Facelets and use Spring Security 3 behind the application. When I put some tags like this within my page:



the X will display at runtime anyway. The auto completion feature of eclipse work correctly to show the "sec:" tags and their properties at programming time. what's the problem?
12 years ago
JSF
The Error is a sub-class of Throwable. I don't want to use because my project is JSF based on Facelets.

Naren Chivukula wrote:Two things!

1. Have you tried putting this code in your jsp throwing any subclass of Throwable?


2. Have you checked if the page not displayed due to some kind of Error which is not a sub-class of Throwable?

Try to use <error-code>.


You don't need to necessarily use errorcode, errorpage should work.

Cheers,
Naren
---------------------------------
SCJP
SCDJWS
SCWCD

13 years ago
I have an a4j:commandButton as my search button in my facelets based page. the search button does it's job four times correctly but at the fifth click, it's a4j:status doesn't finish and display forever and the search button doesn't work at all my richfaces version is 3.3.3.Final
13 years ago
JSF

Ravi Kiran Va wrote:what is present inside errormessage.jsp ??



<%@ page isErrorPage="true"%>
<html>
<head></head>
<body>
An error has occurred.
</body>
</html>
13 years ago

Jaikiran Pai wrote:Make sure you have a servlet-mapping for the *.xhtml url-pattern to point to the FacesServlet.



Thanks so very much
13 years ago
JSF

Bear Bibeault wrote:Not Tomcat-related. Moved to the JSF forum.



Thanks so very much
13 years ago
JSF
I put this tag in web.xml:


but when the error occurs my browser doesn't show errormessage.jsp! instead I see this message:

The website cannot display the page
HTTP 500
13 years ago
I have a JSF project. when I run it on tomcat and type the real name of my web pages (for example index.xhtml) in browser, the file download dialog appears so I can view the source code of my JSF page! how I can prevent this?
13 years ago
JSF

Athira Vijayan wrote:hi,

Can you do something like this.When first time that request came you can redirect to another small jsp page which have the preloaded message inside a model panel with an ok button.while click on the ok button load the original jsp page.



Regards,
Athira



I think you don't get my goal. My JSF page (based on Facelets) needs some seconds to load completely and this is not an user friendly thing!
I would like to show my end user a preloading message during these seconds.
13 years ago
JSF

Athira Vijayan wrote:Hello,

While requesting for the jsf page you can call a javascript function in the onsubmit or any other event..display the preload message inside the model panel.while completing the request it ll close the model panel using another javascript oncomplete event.

i ll give a sample code






Regards,
Athira




But I mean during the loading time to load page completely at first time of visiting.
13 years ago
JSF