Mario Gimenez

Ranch Hand
+ Follow
since Mar 23, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mario Gimenez

Hi, this is my problem.

I have a class bo.
and two classes producer (runnable)
and consumer (runnable)

in bo I do producer.start() and consumer.start().
I need executing only once this operation via web.
I mean If the user clic a button then execute the bo and starts the threads.
but If I the user clic again I need to set a String like "running"

Thanks for your help!.
Hi!, my question is simple.
For example. H¿I have a s:textfield in my jsp, I need to enter something like this hh:mm:ss but the user only put the numbers, and nothing more. If the user want to insert a character I need this option are disabled.
Sorry for my english!
12 years ago
Hi. Can you tell me or give me some example about css3 with jsf 2 ???
Thanks in advance.

PD: and some example with jquery and jsf 2!!
thanks!!
12 years ago
JSF
HI I looking for a tutorial to make a chat like facebook.
I try to do it in xhtml.
I need advice about this, or if you know a tutorial or something like that. I really apreciate.
12 years ago
Hi!.
I have this problem.
for example, if I have this,
Ñ = 209 in unicode
I need to convert that 209 in a ascii extended value to get Ñ= 165 in ascii extended.
this is possible??
Thanks a lot!
12 years ago
thanks a lot!.
It's works only whit f:event inside the view!.
12 years ago
JSF
Hi
Thanks for your help!
I try that solution but it doesn't work for me.
I need to know in which place of the page I must put this line. Inside f:view or inside f:form ? or another place...

I go to page A to B but this event never stop in setupPage. Can you help me please?
Thanks!!!
12 years ago
JSF
Hi!.
I have a web application using jsf.
I have beanA in session and beanB in session
My problem is this.
I have a pageA and a pageB. in PageA a have a selectOneMenu component and in the Bean - @PostConstruct method I call a query to load an arraylist for the selectOneMenu,
In PageA I can delete , update and create new item for this list.
In pageB I must use this list (but I use another bean in session ). but here's the problem. because the bean is in session this list can't update whit the new values and I can't change session to request.
DO you have any ideas for solving this?
My idea is when I go to one page to another, update the data. I used binding but didn't work for me.
I want to do this:
When I stay in page B and I want to go to page A the value of the selectOneMenu update.


the code is this.
pageB

cargarComboEtiquetas is called in the @PostConstruct

and page A is the same. in pageA I only update, create and delete values for my list.

I hope I explain my problem.

I need help!!!
12 years ago
JSF
Hi.
I have a problem whit JSF 1.2.
I have a bean whit request ( I declare this in faces-config,xml and I don't use annotations )
If I try to go to page 1 to page 2. I can do this whitout a problem. but. If a try to go from page 2 to page 1. This doesn't work:

I put the code here...
This is my faces-config


and this is my page. etiqueta.xhtml


this is etiquetaCrud.xhtml


and this is a part of my Bean



the problem is.
If I put the bean in Request when I stay in etiquetaCrud and press confirmar the method confirmarEditarEtiqueta() never called.

If you don't understand what I did saying here please answer me.
12 years ago
JSF
Hi!, my problem is this.
When I deploy my .ear proyect I got this error.



Any Ideas ?

Thanks in advance!
12 years ago
Hi!.
I use jasperreport 3.5.3.
I want to know how can I save only in pdf format (wihtout jrml,xml, html etc-) when jasperviewer display in screen.

Do you have any example ??

thanks in advance.

William P O'Sullivan wrote:Hello Mario,

Are you trying to control the style, width: ?

WP



Hi!, I try to control the position of each item inside the datalist with width. I'll to explain.

for example....


inside my panelgrid I have 3 columns.
First column -> only a outputText I need put this column in... width: 20%. for example.
Second columns -> I have a datalist with n items. here's the problem. If I have for example width: 50% I need to manage the posicion for the items, if I have only 4 items, I need to have a distance (width: 150px) but if I have 6 items, I need put them in another distance (width:50px)
Third column -> here I have 3 items I need to put width: 15%

Do you have any idea?
Thanks in advance!
12 years ago
JSF
Hi, I have this in my xhtml page.



The datalist values are variable, for example the items in that can be, 3,4,5,6....
I need to manage the width of each column and item of the column in an individual way to represent correctly on the page.

Please help!!!
12 years ago
JSF
Hi!.

I try to use trinidad library but I need put a listener in the web.xml

I have this in my web.xml



when a try to deploy in Weblogic 11g I have this error.



Any Ideas? Thanks a lot!
12 years ago
Hi!.
I have a little problem whit trinidad and jsf.

This is the bean.



this is the xhtml



pom.xml



and the web.xml



when a run the proyect, the page not render the trinidad part.
Any ideas?
THANKS!!!

PD: I use WEBLOGIC 11G
12 years ago
JSF