| Author |
Message |
|
|
ok i changed the view handler source path like you show in my
faces-config.xml
it doesnt work too.
now i looked to my librarys in my project
ICEfaces JSF1.2 Run-Time Support is already added.
but i get these error message too. whats the matter with this. im getting crazy. please is there another solution.
|
 |
|
|
|
please is there nobody who nows an answer to this topic
|
 |
|
|
i searched in the web many people have the same problem. they said that there is a fault with the localhost. i changed the hosts file to
127.0.0.1 localhost
but this wasnt the solution.
please help me.
|
 |
|
|
hi,
i have some trouble with deployment a project integrated with spring icefaces and hibernate but i think the problem is something else i get these message on deployment within netbeans 6.5:
deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for module [LifeSense] Line 119 Column 18 -- Deployment descriptor file WEB-INF/web.xml in archive [web]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'load-on-startup'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":distributable, "http://java.sun.com/xml/ns/javaee":context-param, "http://java.sun.com/xml/ns/javaee":filter, "http://java.sun.com/xml/ns/javaee":filter-mapping, "http://java.sun.com/xml/ns/javaee":listener, "http://java.sun.com/xml/ns/javaee":servlet, "http://java.sun.com/xml/ns/javaee":servlet-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://java.sun.com/xml/ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-list, "http://java.sun.com/xml/ns/javaee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml/ns/javaee":security-constraint, "http://java.sun.com/xml/ns/javaee":login-config, "http://java.sun.com/xml/ns/javaee":security-role, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":service-ref, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":persistence-unit-ref, "http://java.sun.com/xml/ns/javaee":post-construct, "http://java.sun.com/xml/ns/javaee":pre-destroy, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":locale-encoding-mapping-list}' is expected.
E:\LIFESENSE_WS\LifeSense Server\nbproject\build-impl.xml:596: The module has not been deployed.
BUILD FAILED (total time: 0 seconds)
the refered place is this: (build-impl.xml)
Code:
<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>
i hope someone can say me why i get these message.
thanks in advance
|
 |
|
|
im facing that problem too, what for a stupid setting is this with the shape. i cant change it to none or anything else. i look at the tag library and you can only set 4 shapes:
these are circle, diamond, square and triangle.
but why i cant only show the lines like his name linechart ?
can you give a hint please ?
|
 |
|
|
|
is it possible to use the session like in pure jsp with accessing to the context ?
|
 |
|
|
hi,
i have 3 sites: 1 login page, 1 firm page and one customer page.
so if i login i will store the id of the firm in a session bean and then you can reach your customer on the customer page. if you want back i have to load the firm page with the id which i have stored.
but i dont understand how to perform these problem. how to store and call the value in the session bean can i do that from the default created SessionBean1 bean or must i do this in any xml file ?
i used sessions before icefaces only in jsp pages with the old form but dont know how to do it with icefaces ?
please give me some advice.
|
 |
|
|
|
wow, there's nobody to solve that probl. ?
|
 |
|
|
i have a datatable which has a rowselector and on the same form i added a few textfields. the textfields will show the data of a row in the datatable.
if i click on a row, the data of the row is only shown if i set the textfields as readonly.
if i dont do that i can't see the data in the textfields.
why this is hapenning, what i do wrong.
so i added a pic where you can look for it.
you can see that the data of name and surname is not shown because they are not readonly, but the others are.
|
 |
|
|
im try to use a datapaginator for my dataTable but i receive an exception if i click to see the next items or the next page of my dataTable. in the tutorial for dataTable a inventoryList as array is used. i used a List not an array.
is it that why i receive an exception or can it be something else ?
thnx in advance
|
 |
|
|
hi,
in advance i will say that these question will be very stupid but i dont know really how its going in icefaces. i used spring mvc and jsp together there wasn't a problem with the mapping.
Now in icefaces the are several mapping styles and i dont understand what to do.
here is one short event:
i have three sites: Page1.jsp Page2.jsp and Page3.jsp
then i add a button1 to page1 and a button2 to page2 and a hyperlink to page3.
the button1 refers to page2, the button2 refers to page3 and the hyperlink refers to page2.
ok i run my app and the page1.iface is shown, i click to button1 and i get the content of page2 but i dont see the url page2.iface, no i see the url page1.iface. the same is happen with the last page.
so here my questions:
1. why the url isn't change ?
2. is the content get by javascript to the page1 ?
3. how can i set it so that not the content of page2 or page3 is get to page1. on the contrary how can i go to the page2 or page3 really ?
i know its a bit complicated but can only say thanks in advance.
|
 |
|
|
ok thanks again i did it with your help. but now my next problem is that the validation for the textfield starts only if i press enter. but i will start the validation if i leave the input field or click another one.
how can i do that. must i write javascript or can i use the action fields.
|
 |
|
|
ok thanks but what im not understand is when i add a long range validator , a method is automatically created but in your code there is a handwrited method inputText1.setValidatorMessage(........).
why this is so difficult ?
i'm a guy who used spring mvc with jsp but i can't push me to ICEFACES. what im doing wrong. whats matter with the palette and the code created behind. if i choose a validator is there used ajax or javascript and how many ways are there for creating a simple validation. uffff im going crazy with this.
please explain me that. and thanks in advance.
|
 |
|
|
|
yes i looked at the tutorial but it doesn't work. i mean i edit the jsp code how its there in the tutorial but it doesnt change the design side.
|
 |
|
|
hi im using visual web icefaces within netbeans.
im try to validate an input field for example you must type a value between 1 to 5. f?rst i add an input field than i choose from the palette under data the field validator and choose newLongRange validator then i choose under events the field validate and choose inputText1_validate(). automatically the method
Code:
public void inputText1_validate(FacesContext context, UIComponent component, Object value) {
}
is created. then i drag a message field near the inputText field and choose the for filed as the id of the input field like inputText1.
then for the input field i write to the validator message "value must between 1 and 5". then i run the app but the validation does not work.
1. what i have to do with the created method ?
2. what im doing false ?
|
 |
|
|