| Author |
Message |
|
|
Hi,
Someone ask me if I can shere with him the code to implement Select All Items of the a datatable.
then I decided to share with all you this code, maybe anyone else can nead it and improve it.
The code is in a netbeans(6.7) web project.
If you use netbeans(6.7) just open it with the IDE.
If you run it and not open index page, do it your self
in my case:
http://localhost:8080/testSelectAll/index.jsp
Any comment will be welcome.
thanks,
zark
|
 |
|
|
Hi Philip
no, i had some binding with session-scope bean and i think that it is the problem because i was change it for request-scope bean and now work fine.
so, one question: i can not do binding with session-scope bean ??
thanks,
zark.
|
 |
|
|
Hi
As subject say, i'm working in ubuntu gubsy gibbon with the firefox that it brings and my IDE is Netbeans 6.0.
So the problem is that when i do a binding of any component it desappear of my page if i remove the binding attribute of the component it show fine, but i can work things like visible=false desabled=true becase i need the binding to do it dynamically.
but this problem is just in ubuntu because when i run my web application in windows xp whit Internet Explorer 7.0 or Firefox 2.0 it work fine.
some one has any idea why this occur in ubuntu or some one have had this problen too.
Code of binding in Page
Code:
<ice:commandButton title="#{depositoMsgs['btnDepositos.title']}"
image="resources/images/search.gif"
action="#{depositoBean.btnMostrarDepositos_action}"
styleClass=""
binding="#{depositoBean.btnMostrarDepositos}" />
Code of binding in class
Code:
[b]Import[/b]
import com.icesoft.faces.component.ext.HtmlCommandButton;
.
.
.
[b]Declaration[/b]
private HtmlCommandButton btnMostrarDepositos;
.
.
.
[b]getter/setter[/b]
public HtmlCommandButton getBtnMostrarDepositos() {
return btnMostrarDepositos;
}
public void setBtnMostrarDepositos(HtmlCommandButton btnMostrarDepositos) {
this.btnMostrarDepositos = btnMostrarDepositos;
}
.
.
.
|
 |
|
|
hi
I found 2 articles about outOfMemoryError and maybe the problem is not ICEFaces
P.D. they are in spanish :)
[url]
http://rubensa.wordpress.com/2008/02/11/java-classloader-permgen-exception/
[/url]
[url]
http://foros.emagister.com/tema-java_lang_outofmemoryerror-13041-150185.htm
[/url]
|
 |
|
|
Hi
I know that ICEfaces-1.6.2 is now an Certified Release, them if i want implement it into my project i must get it his source from ICEFaces SVN repository and build it by myselft.
so, my question is: In the source that I got from ICEFaces SVN repository is include the plug-in of ICEfaces-1.6.2-libs to Netbean 6.0 (ICEfaces-1.6.2-libs-NetBeans6.zip).
If not, how can I get the plug-in ICEfaces-1.6.2-libs to Netbean 6.0 or how can I integrate ICEfaces-1.6.2 with Netbean 6.0
Thanks,
Zark
|
 |
|
|
Hi
yes, to change the scope of my bean to request work and resolved the problem of render, but my question now is:
why in Internet Explorer my bean work fine with session scope ?
why in Firefox I need set my bean with request scope to can do render ?
is this a bug maybe ??
thanks,
zark
|
 |
|
|
hi mark
then must be that, because the scope of my Bean is session.
I will try change it to request
thanks,
zark
|
 |
|
|
Hi
I have several CommandLink components in several pages but these not render in firefox (in Internet explorer work fine) if I add the attribute bind.
For Example
<ice:commandLink
bind="#{myBean.btnXYZ}"
action="#{myBean.btnXYZ_action}"
value="Edit" />
but if I remove the bind attribute
<ice:commandLink
action="#{myBean.btnXYZ_action}"
value="Edit" />
it's rendered fine in firefox too.
any idea why that happen
thanks,
zark
|
 |
|
|
hi
i posted this problem http://www.icefaces.org/JForum/posts/list/5152.page in component forums but maybe it was here.
thanks for your help,
zark
|
 |
|
|
Hi philip
I did a test web project in netbeans 5.5 to use icefaces + dynamic include with facelet but no work. is like if the ui component was not recognize.
so, i wonder if i need aditional libraries to the named in this sample
http://facestutorials.icefaces.org/tutorial/dynamic-includes-tutorial.html to my proyect to do that the ui component to be recognize ?
I attached my netbeans 5.5 test web project if you want to see it
thanks,
zark
|
 |
|
|
Hi
I wonder if there is an example or if you can show me, how I can populate dynamicly a panel stack from a database?
Thanks,
zark
|
 |
|
|
hi adnan
you are right, this is not icefaces issue this is my error.
thanks,
zark
|
 |
|
|
Hi adnan
I'm using ICEFaces release 1.6
do you downloaded and tested with the war file or the netbeans project that I attached ?
Thanks,
Zark
|
 |
|
|
Hi
the problem is that the color value of styleClass attribute
is not reconize in an outputText component.
it work just if I put the color value directly in the style attribute.
Code:
css config
.myLabel{
color: red;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 0.9em;
font-weight: normal
}
code that not work
Code:
<ice:outputText styleClass="myLabel" value="Pagina de prueba 2" />
code that work
Code:
<ice:outputText styleClass="myLabel" style="color: red;" value="Pagina de prueba 2" />
I attached the war file and the netbeans project for if someone want to test.
thank,
Zark
|
 |
|
|
hi
yes luposolitario1967 is right his solution work to me too, i don't know why but work
http://www.icefaces.org/JForum/posts/list/5002.page
|
 |
|
|