Re: [Trinidad] PartialSubmit and Alert

2010-05-26 Thread Jozef Dropco
Thanks all, i got it working now. Jozef On 25.5.2010 23:29, Walter Mourão wrote: If using partial page rendering You can send some javascript from the server, using the ExtendedRenderKitService's addScript() method. Walter Mourão http://waltermourao.com.br http://arcadian.com.br

[Trinidad] PartialSubmit and Alert

2010-05-25 Thread Jozef Dropco
Hi all, tr:commandButton actionListener=#{discountsBean.saveChanges} partialSubmit=true text=#{msg.save}/ and I want: If method saveChanges returns error from business logic, show javascript alert on page Is it possible to do and how? Thanks Jozef

Re: AW: Problem with tr:selectOneChoice

2010-05-19 Thread Jozef Dropco
, Gronenborn, Frank frank.gronenb...@arag.de wrote: Yeah, sure, that was a typo just because I tried to simplify the code. Of course the trigger is button1, thanks Frank -Ursprüngliche Nachricht- Von: Jozef Dropco [mailto:jozef.dro...@gmail.com

Re: [Trinidad] Changing content of form

2010-05-15 Thread Jozef Dropco
Hmm, I found maybe a solution but I am not able to get it running. Maybe its wrong way but I am not sure. Subform make possible to validate only part of the page. http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_subform.html Can somebody help me ? Its making me crazy. Jozef On

[Trinidad] Changing content of form

2010-05-12 Thread Jozef Dropco
I have following form, and I need when I toggle checkbox change values of selectOneChoice. But inputText is first-time blank and selectOneChoice is first-time null, so when I toggle checkbox javascript validation stops rerendering, is it possible to change the value without validation. I

Re: [Trinidad] Changing content of form

2010-05-12 Thread Jozef Dropco
Thanks Cedric, that made the trick but I got some warnings about FacesMessage, so is it possible to make it without them? INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. sourceId=j_id29[severity=(ERROR 2), summary=(A value is required.), detail=(You must

Enums in selectItems

2010-05-01 Thread Jozef Dropco
Hi all, I have a little bit stupid question. I got this message: End of weekend: 'Tuesday' must be convertible to an enum from the enum that contains the constant 'Tuesday'. Do I have to write my own converter or what should I do. public enum DayOfWeek { MONDAY(Monday),

Re: Enums in selectItems

2010-05-01 Thread Jozef Dropco
Thanks a lot Anton, I've got it working now. Jozef On 1.5.2010 21:20, Anton Gavazuk wrote: Hi Jozef, see it: public class EnumConverter implements Converter { public Object getAsObject(FacesContext context, UIComponent comp, String value) throws ConverterException { Class

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread Jozef Dropco
Hi, I am using trinidad 1.2.13 and I had similar problem the dialog does not show. I found solution I had on button partialSubmit=true when I removed it lightweight dialog appear. If I used popup windows the partialSubmit worked on button. Jozef On 28.4.2010 12:32, Venkat Ramanan

[Trinidad]ChartDrillDownListener

2010-04-22 Thread Jozef Dropco
I have following problem that I cant solve. I get strange exception. Caused by: javax.el.PropertyNotFoundException: /manager/overview.xhtml @197,147 chartDrillDownListener=#{facilityOverview.drillDown}: Property 'drillDown' not found on type beans.overview.FacilityOverviewBean but in

Re: [Trinidad]ChartDrillDownListener

2010-04-22 Thread Jozef Dropco
-Oorspronkelijk bericht- Van: Jozef Dropco [mailto:jozef.dro...@gmail.com] Verzonden: donderdag 22 april 2010 11:50 Aan: MyFaces Discussion Onderwerp: [Trinidad]ChartDrillDownListener I have following problem that I cant solve. I get strange exception. Caused

[TRINIDAD] SelectManyShuttle

2010-04-10 Thread Jozef Dropco
Hello all, I have 2 selectManyShuttle. In first are categories of object and in the second one are objects itself. What I want to do is when i select/deselect in category I want to update the second one selectManyShuttle selected objects. Is it possible to do without refreshing whole page?

Re: [Trinidad] Problem with chooseDate and chart in Opera

2010-03-17 Thread Jozef Dropco
-demo/component-demo/chart-Default. Could somebody say something to it, its a bug? Thanks Jozef On 10.3.2010 13:57, Jozef Dropco wrote: Hello all, I dont know why it doesnt work but, i have opera 10.5 and it does not work. If I open my page in Firefox everything is fine, but in opera chooseDate

Re: [Trinidad] Problem with chooseDate and chart in Opera

2010-03-14 Thread Jozef Dropco
Hello again, I did not mention that, this does not work also in examples on http://test.codebeat.ro/trinidad-components-demo/component-demo/chart-Default. Could somebody say something to it, its a bug? Thanks Jozef On 10.3.2010 13:57, Jozef Dropco wrote: Hello all, I dont know why it doesnt

[Trinidad] Problem with chooseDate and chart in Opera

2010-03-10 Thread Jozef Dropco
Hello all, I dont know why it doesnt work but, i have opera 10.5 and it does not work. If I open my page in Firefox everything is fine, but in opera chooseDate is not rendered at all and chart loads something but never stops. What is wrong here I cant understand it. Thanks Jozef Conf:

Configuration problem?

2010-02-17 Thread Jozef Dropco
I have following problem that I am not able to solve, I think I made somewhere mistake. Code: jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0 xmlns:tr=...trinidad... jsp:directive.page contentType=text/html;charset=utf-8/jsp:directive.page This I have in xhtml file. Problem is

[Trinidad]Problem with generated HTML

2010-02-17 Thread Jozef Dropco
Hi all, I have following code: jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:f=http://java.sun.com/jsf/core; xmlns:h=http://java.sun.com/jsf/html; xmlns:trh=http://myfaces.apache.org/trinidad/html; xmlns:tr=http://myfaces.apache.org/trinidad;