Re: how to make a custum error handling

2008-10-06 Thread Zied Hamdi
rd mechanisms (if you can, in a > reasonable way). It's also possible to just use a Servlet Filter or a custom > FacesServlet that extends the standard FacesServlet to handle exceptions, > but I wouldn't reccomend those two options. > > Regards, > > Jan-Kees > &

Re: how to make a custum error handling

2008-09-25 Thread Zied Hamdi
Implementing the class won't be difficult. > > One caveat, you may not place Exception throwing inside getters or setters > anymore, only actions, since the custom listener only wraps those calls. > > Regards, > > Jan-Kees > > > 2008/9/23 Leonardo Uribe <[EMA

Re: myFaces, jdk6, jboss4.2.3

2008-09-23 Thread Zied Hamdi
IComponentBase.java:509) >at > > com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:555) >at > > com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) >at > com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) >at > > oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:159) >at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) >at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) >... 19 more > 09:39:06,911 INFO [Server] Runtime shutdown hook called, forceHalt: true > -- > View this message in context: > http://www.nabble.com/myFaces%2C-jdk6%2C-jboss4.2.3-tp19611223p19611223.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: how to make a custum error handling

2008-09-23 Thread Zied Hamdi
Hi all, Does the no answer to my mail mean "there's no answer"? :-) Regards, Zied 2008/9/22 Zied Hamdi <[EMAIL PROTECTED]> > Hi all, > > I used to have in all my apps a "J2ee like" mecanism that defines two basic > exceptions Business and Sys

how to make a custum error handling

2008-09-22 Thread Zied Hamdi
expects this type of exceptions and handles it specifically. I want to expand this schema to the whole application. Your help is very appreciated, I really don't want to get out of the standard procedure. Kind Regards, Zied -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] actionListener on tab selection

2008-09-11 Thread Zied Hamdi
t;[EMAIL PROTECTED]> > Hi Zied, > > > 2008/9/11 Zied Hamdi <[EMAIL PROTECTED]>: > > Hi all, > > > > I need to load data on a tab click (having the switchMode="reloadTab" or > > "reloadPage"), I notice there is no action, actionListener

Re: [tobago] actionListener on tab selection

2008-09-11 Thread Zied Hamdi
By the way, Did anyone try to use a4j with tobago? Any info is very welcome. Regards, Zied 2008/9/11 Zied Hamdi <[EMAIL PROTECTED]> > Hi all, > > I need to load data on a tab click (having the switchMode="reloadTab" or > "reloadPage"), I notice there is n

[tobago] actionListener on tab selection

2008-09-11 Thread Zied Hamdi
tate of the tabGroup, but this is not an event approach... I've found tabChangeListener but it doesn't respond to my need as I need to do a method binding on my current controller (wich is passsed as an include parameter)... Regrads, Zied -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: is tomahawk dying?

2008-09-11 Thread Zied Hamdi
eally happy the show goes on, I just think I had to notify you about my extern eye view. Regards, Zied Hamdi 2008/9/10 Hazem Saleh <[EMAIL PROTECTED]> > There will be a big cake ll. > > > On Wed, Sep 10, 2008 at 6:51 PM, Felix Becker <[EMAIL PROTECTED]>wrote: >

is tomahawk dying?

2008-09-10 Thread Zied Hamdi
release in a next future or not. Any info is very welcome. Kind regards, -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] is chrome in the plans

2008-09-05 Thread Zied Hamdi
but I unfortunately don't have time at all. Maybe in a few months when I'll start to sell my product (if no one has already began). Regards, Zied 2008/9/5 Volker Weber <[EMAIL PROTECTED]> > Hi Zied, > > 2008/9/5 Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > &

Re: [tobago] parsing warning by org.apache.myfaces.renderkit.html.util.ReducedHTMLParser

2008-09-04 Thread Zied Hamdi
Hi Volker :-), Do I have to report this to MyFaces core? Regards, Zied 2008/9/4 Volker Weber <[EMAIL PROTECTED]> > Hi Zied, > > 2008/9/4 Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > > > I have the following warning many times in logs: > > > >

[tobago] [tomahawk] lost compatibility when passing from tobago 1.0.17 to 1.0.18

2008-09-04 Thread Zied Hamdi
Hi, I attempted to upgrade to the latest Tobago version (I had the 1.0.17) and all places where I had a are now empty. I have no errors nor in my browser nor in the console... Any ideas will help, thanks Regards, -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

[tobago] parsing warning by org.apache.myfaces.renderkit.html.util.ReducedHTMLParser

2008-09-04 Thread Zied Hamdi
Hi, I have the following warning many times in logs: 12:43:45,671 INFO [STDOUT] 2008-09-04 12:43:45,671 [http-127.0.0.1-8080-1] WARN org.apache.myfaces.renderkit.html.util.ReducedHTMLParser.parse(569) - Invalid tag found: unexpected input while looking for attr name or '/>' at line 208. Surround

[tomahawk][tobago] js error on mouse move

2008-08-28 Thread Zied Hamdi
And here is an example of how I invoke it: Best regards, Zied -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] something makes my menus need near 20s to reload

2008-08-26 Thread Zied Hamdi
.type != 'mousemove') This is maybe due to the fact I'm using the tomahawk schedule tag inside tobago panels... If this doesn't sound familiar forgetabout it :-) Regards, Zied 2008/8/26 Zied Hamdi <[EMAIL PROTECTED]> > Hi again, > > I just notice it is really faste

Re: [tobago] something makes my menus need near 20s to reload

2008-08-26 Thread Zied Hamdi
erformance issues on gmail. Maybe the scripts of tobago don't like one of my programs on ie (spybot, avast, or else). If anyone has noticed a comparable result please notify ;-). Regards, Zied 2008/8/26 Zied Hamdi <[EMAIL PROTECTED]> > How are you Bernd, > > I think this is

Re: [tobago] something makes my menus need near 20s to reload

2008-08-26 Thread Zied Hamdi
n.com/jsf/html"; xmlns:f="http://java.sun.com/jsf/core";> 2008/8/26 Bernd Bohmann <[EMAIL PROTECTED]> > Hello Zied, > > can you send an example page, please? > > Regards > > Bernd > > Zied Hamdi

Re: [tobago] something makes my menus need near 20s to reload

2008-08-26 Thread Zied Hamdi
Sorry, I forgot to say that upgrading to the last stable build doesn't fix the problem. Regards Zied 2008/8/26 Zied Hamdi <[EMAIL PROTECTED]> > Hi all (especially Volker and Bernd whom I didn't report anything for a > while ;-) > > I had an intervention for a custo

[tobago] something makes my menus need near 20s to reload

2008-08-26 Thread Zied Hamdi
u for each. I'd like to know what is the reason for this problem because if I encouter the same on a custumer computer I will have no answer. If anyone experience the same problems please let me know. Thanks and regards, -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] writing a pdf to response OutputStream

2008-03-06 Thread Zied Hamdi
org/myfaces/Sending_Files > > the important thing is: > > FacesContext.getCurrentInstance().responseComplete(); > > > > Regards, >Volker > > 2008/3/6, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > > > I wrote

[tobago] writing a pdf to response OutputStream

2008-03-06 Thread Zied Hamdi
Hi, I wrote my code based on the example app. *public* String downloadInvoicePDF() *throws* Throwable { HttpServletResponse response = (HttpServletResponse) getFacesContext().getExternalContext().getResponse(); getParams( getCurrentCommandExecute

Re: [Tobago] Scrollable text insice tc:sheet

2008-02-22 Thread Zied Hamdi
> > >> > > >>-- > > >>[EMAIL PROTECTED] > > >>http://stawicki.jasliska.pl > > >>GG: 369 > > >>JID: [EMAIL PROTECTED] > > > > > > > > > > -- > > View this message in context: > http://www.nabble.com/-Tobago--Scrollable-text-insice-tc%3Asheet-tp9441120p15560576.html > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > > > -- > inexso - information exchange solutions GmbH > Bismarckstraße 13 | 26122 Oldenburg > Tel.: +49 441 4082 356 | > FAX: +49 441 4082 355 | www.inexso.de > -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [Tobago] Intercepting TreeExpansion event

2008-02-15 Thread Zied Hamdi
n nodes, whenever > > during tree expansion event (some TreeExpansionListnener-like > > implementation). > > > > Appreciate, any ideas, in this regard > > > > -- > > Thanks, > > > > Raj .G. Narasimhan > > > > > > > -- > Thanks, > > Raj .G. Narasimhan -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Zied Hamdi
> > Regards, >Volker > > 2008/2/8, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > > > I have a problem when I attemp to render partially a box with a checkbox > > menu popup: in (tradition mode) the checkbox's state is updated normally > as >

[tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Zied Hamdi
ssue? (I'm under tobago 1.0.12: I have message bundle exceptions when I try to upgrade. But I didn't find this issue in jira in any version) -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] Seam integration

2008-02-05 Thread Zied Hamdi
; > After all this, the only problem was deployment to the Tomcat, but I > already explained this in the previous mail... > > I really don't know what to send to Bernd since the code is already at > svn... > Bernd you can write me if you want some more help. > > Regards,

Re: [tobago] Seam integration

2008-02-05 Thread Zied Hamdi
> I've added > > antlr > antlr > 2.7.6 > > and deployed it successfully on Tomcat 6.0.14 > > Does this means that tobago is finally working with Seam? > > Regards, > Stojan > -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] doesn't support "change" facelet?

2008-01-30 Thread Zied Hamdi
hink this is a problem of mixing inputSuggest with change facet, i > never tried this, but i observed problems with adding additional > eventlisteners when moving inputsuggest to dojo. > > Regards, >Volker > > 2008/1/30, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi,

[tobago] doesn't support "change" facelet?

2008-01-30 Thread Zied Hamdi
th the Tobago.js lib? Regards, -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net

Re: [tobago] Seam integration

2008-01-29 Thread Zied Hamdi
be finished in a week. > > Regards > > Bernd > > Zied Hamdi schrieb: > > Hi Bernd, > > > > Can you please make a blanc Seam + Tobago project available on svn (with > the > > 1.1.0 snapshot). I think this could help a lot of people have an easy > start > &g

Re: [tobago] Seam integration

2008-01-25 Thread Zied Hamdi
Hi Bernd, Can you please make a blanc Seam + Tobago project available on svn (with the 1.1.0 snapshot). I think this could help a lot of people have an easy start (including me ;-). Regards, Zied 2008/1/23, Zied Hamdi <[EMAIL PROTECTED]>: > > Sorry for spamming, > > a l

Re: [tobago] Seam integration

2008-01-23 Thread Zied Hamdi
12:12:57,156 ERROR [ResourceManagerImpl] Path not found, and no fallback. Using empty string. Wich means Tobago takes control over the display but, for an unknown reason, doesn't call the encode() method on the view root... 2008/1/23, Zied Hamdi <[EMAIL PROTECTED]>: > >

Re: [tobago] Seam integration

2008-01-23 Thread Zied Hamdi
I maybe have a hint Bernd, I have ClientProperties.getInstance(UIViewRoot) that prints *INFO [ClientProperties] No ClientProperties instance found creating new one * On each refresh. Did the seam project work in you environement with the snapshot? Regards, Zied 2008/1/23, Zied Hamdi <[EM

Re: [tobago] Seam integration

2008-01-23 Thread Zied Hamdi
doesn't require a own > ViewHandlerImpl (I hope). Maybe we backport this change to a 1.0.15 > version. > > Please can you remove the richfaces lib from the WEB-INF/lib folder or > use the 1.1.0-SNAPSHOT version of tobago until we backport this fix. > > Regards > >

Re: [tobago] Seam integration

2008-01-21 Thread Zied Hamdi
a 1.0.15 release. I would not like to include > this change in the 1.0.14 release, which will be released in a few days. > > The current 1.1.0-SNAPSHOT is not stable. > > Regards > > Bernd > > Zied Hamdi schrieb: > > Hi Bernd, > > > > I posted it to > &

Re: [tobago] Seam integration

2008-01-17 Thread Zied Hamdi
an you send me the test project, please. > > I will try to debug the project. > > Regards > > Bernd > > Zied Hamdi schrieb: > > Hi, > > > > I'm trying to run a seam-tobago testing project. > > > > I have the following exception, and i can&#

[tobago] Seam integration

2008-01-16 Thread Zied Hamdi
ttp11.Http11Protocol$Http11ConnectionHandler.process(* Http11Protocol.java:580*) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java :447*) at java.lang.Thread.run(*Thread.java:619*) -- Zied Hamdi www.into-i.fr (previously in 2003) zatreex.sf.net richmond

Re: [tobago] is ti seam compatible?

2008-01-14 Thread Zied Hamdi
alog are on my wishlist too. > > Regards > > Bernd > > Zied Hamdi schrieb: > > Hi, > > > > Rereading my mail, I've discovered it isn't very comprehensive. The > question > > was: is Tobago compatible with Seam. > > > > Did anyone try to in

Re: [tobago] is ti seam compatible?

2008-01-13 Thread Zied Hamdi
paratively' a lot more to develop with. What do you think about it? Regards, Zied 2008/1/11, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > I'm learning Seam to use it in my Tobao project. I've found some posts > like > http://lists.jboss.org/pipermail/jboss-user/

[tobago] is ti seam compatible?

2008-01-11 Thread Zied Hamdi
nges arise from that period? Regards, -- Zied Hamdi www.into-i.fr

[tobago] renderedPartially sends the request two times

2008-01-10 Thread Zied Hamdi
Hi, I'm trying to debug what happens in my app after a click on a link with partial rendering. The problem is that sth like 2 seconds after the first request, another request is posted (and that one seems to be not partial because the result is different). I suppose that when an ajax request times

Re: [tobago] tc:panel, tc:box, and maybe tc:sheet onChange attribute

2008-01-09 Thread Zied Hamdi
Hi Helmut, Done at https://issues.apache.org/jira/browse/TOBAGO-586. Regards, Zied 2008/1/9, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi Helmut, > > Thanks for your fast reply. The intent of this feature is to avoid adding > and maintaining js listeners (and mainly because we

Re: [tobago] tc:panel, tc:box, and maybe tc:sheet onChange attribute

2008-01-09 Thread Zied Hamdi
d > an onchange listener to each input element. > > Regards > Helmut > > - Original Message - > *From:* Zied Hamdi <[EMAIL PROTECTED]> > *To:* MyFaces > *Sent:* Wednesday, January 09, 2008 10:55 AM > *Subject:* [tobago] tc:panel, tc:box, and maybe tc:she

[tobago] tc:panel, tc:box, and maybe tc:sheet onChange attribute

2008-01-09 Thread Zied Hamdi
Hi pioneers, Before submitting a feature request I'd like to be sure there's no way to do what I want today: I need to keep do an action on any change inside a panel, this is a frequent case in UI developement: e.g: to enable a save button or open a popup 'do you want to save changes'. A few yea

Re: [Tobago] table scroller

2008-01-08 Thread Zied Hamdi
Ok, https://issues.apache.org/jira/browse/TOBAGO-585 Regards, Zied 2008/1/8, Volker Weber <[EMAIL PROTECTED]>: > > Hi, > > > > > I agree with you that the presence of a property rowHeight could help. > > > > please add a jira feature request. > > &g

Re: [Tobago] table scroller

2008-01-08 Thread Zied Hamdi
in the tobago-theme-config.properties, which > is 18 (px) in the scarborough (fallback of speyside) theme. > > You can set forceVerticalScrollbar=true, on the tc:sheet tag, to force > the space for the scrollbar. > > Maybe we should add a property rowHeight to the sheet. > >

Re: [tobago] tc:time disable att doesn't work

2008-01-07 Thread Zied Hamdi
Hi Bernd, Thanks, sorry I didn't look at issues :-o. Regards, Zied 2008/1/7, Bernd Bohmann <[EMAIL PROTECTED]>: > > Hello Zied, > > See: > https://issues.apache.org/jira/browse/TOBAGO-583 > > Maybe we will backport this issue to a 1.0.14 release. > > Re

[Tobago] table scroller

2008-01-04 Thread Zied Hamdi
Hi, Is it possible to have the scroller on a table (when activated) reduce the size of the table so it doesn't hide the right part?. In other terms, is it possible to make only the vertical scroller show when there are too much lines? Thanks in advance, Zied <>

[tobago] tc:time disable att doesn't work

2008-01-04 Thread Zied Hamdi
Hi, I'm unable to disable a tc:time is it a misuse? Regards, Zied

[tobago] Layouting problem

2007-12-19 Thread Zied Hamdi
Hi island people :-) I have some trouble understanding how layouting works: (you can see the trouble in images (attached)). All the scrollbars you see result from the following simple snippet : (the orange background can even be removed: I tried to remove the outer scroll by enforcing the box to b

Re: [jsf][gravel][facelets][tobago] How can we define a comp id namespace?

2007-12-17 Thread Zied Hamdi
Thank you Simon, I'll remove all my ugly code with id construction :-). Regards, Zied 2007/12/17, simon <[EMAIL PROTECTED]>: > > > On Mon, 2007-12-17 at 12:29 +0100, Zied Hamdi wrote: > > Hi, > > > > I have a problem with reusability of components: I have

[jsf][gravel][facelets][tobago] How can we define a comp id namespace?

2007-12-17 Thread Zied Hamdi
Hi, I have a problem with reusability of components: I have many jsf template pages that I use everywhere throughout my app. The problem is that when I define explicitely the ids of my UIComps, name collisions occur. The question is: is there a way to define a sort of "namespace component holder"

Re: [Tobago] tx:date and onchange

2007-12-16 Thread Zied Hamdi
; adding onchange event to date's input field. All of this have failed. > > > > Does anyone know how to achieve this? > > > > regards, > > michael > > > -- Zied Hamdi zatreex.sourceforge.net

Re: [tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

2007-12-14 Thread Zied Hamdi
ffix = '' key = 'null' 09:39:05,703 INFO [STDOUT] 2007-12-14 09:39:05,703 [http-127.0.0.1-8080-2] ERROR org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(348) - Don't find any RendererClass for org.apache.myfaces.ScheduleRenderer. Please check you configuration. 09:39:05,765 INFO [STDOU

Re: [Tomahawk] [tobago] Schedule throws a js exception on entry selection

2007-12-13 Thread Zied Hamdi
d also to configure this listener. > > > Regards, > Volker > > 2007/12/13, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi Volker and Simon, > > > > replacing the method by > > function fireEntrySelected(formId, scheduleId, entryId) { > >

Re: [tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

2007-12-13 Thread Zied Hamdi
: 535 Any suggestion will be appreciated. Regards, Zied 2007/12/13, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > I have a problem selecting > > -- > Zied Hamdi > zatreex.sourceforge.net > -- Zied Hamdi zatreex.sourceforge.net

[tomahawk] shedule doesn't call model.setSelectedEntry(ScheduleEntry selectedEntry)

2007-12-13 Thread Zied Hamdi
Hi, I have a problem selecting -- Zied Hamdi zatreex.sourceforge.net

Re: [Tomahawk] [tobago] Schedule throws a js exception on entry selection

2007-12-13 Thread Zied Hamdi
implement NamingContainer, and set the > id of the child UIForm component to "form". Then its getClientId would > return "root:form". > > There is also the possibility that the t:schedule renderer is a little > buggy, and is outputting into the javascript the raw com

Re: [Tomahawk] [tobago] Schedule throws a js exception on entry selection

2007-12-13 Thread Zied Hamdi
can't fix this in tobago, to make the schedule work in tobago there > must added a workarround in the schedule's javascript to find the root > form tag. > > > Regards, >Volker > > > > > 2007/12/13, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi Volk

Re: [Tomahawk] [tobago] Schedule throws a js exception on entry selection

2007-12-13 Thread Zied Hamdi
to do with it? Any ideas? 2007/12/13, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi All, > > I have entred this problem earlier when I was in time evalution phasis. > Today I'm concretely in dev mode and I don't have any solution (I was > thinking ti was

[Tomahawk] [tobago] Schedule throws a js exception on entry selection

2007-12-13 Thread Zied Hamdi
Hi All, I have entred this problem earlier when I was in time evalution phasis. Today I'm concretely in dev mode and I don't have any solution (I was thinking ti was because of the context : tobago layouting etc.., so I simplified to the basis): here's my page it's the same one as in the tomahawk

Re: [tomahawk][tobago] can't select a schedule entry

2007-11-08 Thread Zied Hamdi
/jira/browse/TOMAHAWK-971 > > As for the javascript error, have you put your schedule inside a ? > > > Jurgen > > 2007/11/7, Zied Hamdi <[EMAIL PROTECTED]>: > > > > Hi, > > > > I've beagan developing my app with the tomahawk 1.1.7 Snapshot &g

[tomahawk][tobago] can't select a schedule entry

2007-11-07 Thread Zied Hamdi
a:244) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) any idea? Regards, Zied -- Zied Hamdi zatreex.sourceforge.net

Re: [tobago] tree fills node id with null

2007-10-30 Thread Zied Hamdi
gt; the id :page:mainInfoTabPanel (that is itself a bug workaround :-)) was not found so it throws a js exception :-/ Does anyone know where is the log written, so I avoid spamming the mailing list ;-)? Regards, Zied 2007/10/31, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > I

Re: [Tobago] Popups are brocken in current 1.0.13 snapshot in IE6

2007-10-25 Thread Zied Hamdi
Hi Helmut, I've obtained the same resultes when I didn't specify the renderedPartially attribute Regards, Zied 2007/10/24, Helmut Swaczinna <[EMAIL PROTECTED]>: > > Hi, > > please see attachted screenshot. > > Regards > Helmut > -- Zied Hamdi zatreex.sourceforge.net

Groovy or El expressions?

2007-10-19 Thread Zied Hamdi
r to define an entry point to scripts in general): that way it'd have both view (data) templating (as it already has) but also function templating (if I can say it like this). In fact this could resolve a lot of issues like 'why can't we pass a method as a prameter' and so on... Any votes? ;-p -- Zied Hamdi zatreex.sourceforge.net

[tobago] tree edition: I need a popup

2007-10-17 Thread Zied Hamdi
me a little (or redirect me to) how was thougth the use case for editing a node? -- Regards, Zied Hamdi

Re: [JSF] and maybe [+obago] : how to get the id of the current element to pass it to a function

2007-10-08 Thread Zied Hamdi
he content of the template tag can contain js code naturally, but it inspects alone the id of its content. Regards, Zied 2007/10/8, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi Mario, > > Thanks!!! that's great to know. I'll try to search the document for > and replace

Re: [JSF] and maybe [+obago] : how to get the id of the current element to pass it to a function

2007-10-08 Thread Zied Hamdi
t;onexit". You should place it inside . Here a > skeleton: > > > > > > > > function doIt(){ > > alert("Welcome"); > > } > > > > > > > > …your content… > > > &g

[JSF] and maybe [+obago] : how to get the id of the current element to pass it to a function

2007-10-08 Thread Zied Hamdi
Hi Tobago friends, I have a question for all JSF users (th'at's why I wrote +obago for those who have filters). I'd like to let each user choose what he wants displayed in his/her label and link fields. So I wrote a function that I'd like to call this way for example:

Re: [tobago] separating the date and time components

2007-10-05 Thread Zied Hamdi
ot;dd.MM." /> < tc:time id ="workStart" value= "#{intervention.*workStart*}" /> in that case all the code above is simplified in a pojo manner. Regards, Zied 2007/10/5, Zied Hamdi <[EMAIL PROTECTED]>: > > Hello again, &g

[tobago] is there a way to say render partially two node ids?

2007-10-05 Thread Zied Hamdi
Hello, I have a case where in the whole page there are two parts that have as a common parent node only tc:page (the left navigation panel and a component in the content). A change in the content affects this little part of the page and the left left navigation panel. Am I obliged to refresh all t

Re: [tobago] separating the date and time components

2007-10-04 Thread Zied Hamdi
Hello again, Sorry I forgot we're in multitasking. Here's a better version. Regards, Zied 2007/10/5, Zied Hamdi <[EMAIL PROTECTED]>: > > Hello, > > I've just wrote a util class that could help in this task. > > Regards, > Zied > > > 2007/9/21

Re: [tobago] separating the date and time components

2007-10-04 Thread Zied Hamdi
Hello, I've just wrote a util class that could help in this task. Regards, Zied 2007/9/21, Zied Hamdi <[EMAIL PROTECTED]>: > > > Sorry forgot to mention [tobago] > -- Forwarded message -- > From: Zied Hamdi <[EMAIL PROTECTED] > > Date: 21 sep

Re: [tobago] Tag vs. component with facelets

2007-10-04 Thread Zied Hamdi
2007/10/4, Bernd Bohmann <[EMAIL PROTECTED]>: > > Hello Zied, > > maybe two Commands with the rendered attribute would be a better choice. > > Regards > >

[tobago] Tag vs. component with facelets

2007-10-04 Thread Zied Hamdi
Hi, I have a little problem with runtime vs build-time tags: I have a component page categories.xhtml containing the snippet: included by a page as follows:

renderedPartially is a great function, it could have more framework support

2007-10-04 Thread Zied Hamdi
Hi, I decided to focus on all my renderedPartially my attributes to make them work. And I understood they doesn't work with tc:cell, tc:tab, tc:tabgroup and maybe others. In addition, when pointed to tc:tab, tc:tabgroup javascript errors are generated and doesn't let the job done. I think a sort

Re: still the same exception

2007-10-04 Thread Zied Hamdi
t; Regards > > Bernd > > Zied Hamdi wrote: > > Hi, > > > > The action doesn't execute, it's normal I didn't specify the action as > an EL > > (shame on me), but I still have the exception. > > > > Regards, > > Zied > > > &

Re: [tobago] JSTL problem

2007-10-02 Thread Zied Hamdi
, but it > definitely makes a difference if you're trying to use JSF 1.2 > features. > > --Ben > > On 9/27/07, Zied Hamdi <[EMAIL PROTECTED]> wrote: > > Sorry erratum, > > > > The namespace used by facelets jstl is > > > > http://java.sun.com/j

Re: [tobago] [tomahawk] schedule doesn't display at all

2007-10-02 Thread Zied Hamdi
Hi again, So the problem was that tomahawk doesn't have like Tobago an "extended" dir where is bundled its adapter to facelets. I had to download and adapt an external jar http://code.google.com/p/tomahawk-facelets/ I have updated the wiki http://wiki.apache.org/myfaces/Use_Facelets_with_Tomaha

selectionChange facet doesn't work on my sheet???

2007-09-28 Thread Zied Hamdi
Hi, I've followed the description in the issue http://issues.apache.org/jira/browse/TOBAGO-84 But it doesn't work, in addition the bug is still open, does it mean this was only a proposition for a solution? Regards, Zied

Re: [jira] Commented: (MYFACES-1714) submitted (or local) values are not erasable after conversion or validation error

2007-09-28 Thread Zied Hamdi
alues="true|false" to the tomahawk subForm > tag > > > if a ppr outside of the subForm triggered the partial reload so that > > > your model update will be reflected. > > > On preserveSubmittedValues=false all submitted values of the embedded > > > components will be nullified. > > > > > > Ciao, > > > Mario > > > > > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org > -- Zied Hamdi zatreex.sourceforge.net

Re: [tobago] JSTL problem

2007-09-27 Thread Zied Hamdi
Sorry erratum, The namespace used by facelets jstl is http://java.sun.com/jstl/core and not http://java.sun.com/jsp/jstl/core that was the problem. Too much noise for nothing. Regards, Zied 2007/9/27, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi again, > > So to answer t

Re: [tobago] JSTL problem

2007-09-27 Thread Zied Hamdi
therwiseHandler.class ); this.addTagHandler( "set", SetHandler.class ); } } see this link for creating your own libs: http://www.ibm.com/developerworks/java/library/j-facelets2.html So now I don't use the standard namespace anymore but it works. Hope it will he

Re: [tobago] JSTL problem

2007-09-26 Thread Zied Hamdi
. > > > Regards, >Volker > > 2007/9/26, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi again, > > > > Sorry for spamming, I forgot to say it's possible to do wihout JSTL > playing > > with the rendered attribute or using tc:sheet or tc:forEach. The &g

Re: [tobago] JSTL problem

2007-09-26 Thread Zied Hamdi
Hi again, Sorry for spamming, I forgot to say it's possible to do wihout JSTL playing with the rendered attribute or using tc:sheet or tc:forEach. The question is: is tobago still not compatible with JSTL under JSF 1.2? Regards, Zied 2007/9/26, Zied Hamdi <[EMAIL PROTECTED]>: >

[tobago] JSTL problem

2007-09-26 Thread Zied Hamdi
Hi, I'm under JSF 1.2 (RI), Facelets 1.12 and a Tobago nightly 1.0.12 of yesterday, I'm trying to use JSTL 1.1 but even the simplest example fails: prints "test" anyway. Even more strange : when calling

Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi, I can't find non deprecated API for the tree in the demo examples (nor in the javadoc), is there an alternative to UITreeOld? Thanks, Zied 2007/9/25, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > Please, in which condition does the following code return null? >

Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi, Please, in which condition does the following code return null? DefaultMutableTreeNode marker = treeState.getMarker(); In fact DefaultTreeActionListener does nothing because it finds null when I click on the "new node" icon... Regards, Zied 2007/9/25, Zied Hamdi <[EM

Re: [tobago] tc:tree selection gives a null element in treeState

2007-09-25 Thread Zied Hamdi
Hi again, I've just seen this post : Re: Display tobago selectable tree http://www.mail-archive.com/users@myfaces.apache.org/msg32004.html So sorry for disturbing :-). Regards, Zied 2007/9/25, Zied Hamdi <[EMAIL PROTECTED]>: > > Hi, > > I'm in my first exampl

Re: [tobago] popup doesn't support tab groups?

2007-09-25 Thread Zied Hamdi
> > > > > > > > > > > >< tc:gridLayout > > > > columns ="*;*" > > > > rows > > ="fixed;fixed;fixed;fixed;fixed;fixed" /> > > > > > > > > > > > > < tx:date > > > >id ="workStartDate" > > > >value ="#{intervention.workStart}" > > > >label ="#{i18n.workStartDate}" > > > > >< f:convertDateTime pattern ="dd.MM." /> > > > > > > > > > > > > < tc:cell> > > > >< f:facet name ="layout" > > > > > < tc:gridLayout columns ="*;*" /> > > > > > > > >< tc:time > > > > id ="workStart" > > > > value ="#{intervention.workStart}" /> > > > > > > > >< tc:time > > > > id ="workEnd" > > > > value ="#{intervention.workEnd}" /> > > > > > > > > > > > > < tx:date > > > >id ="workEndDate" > > > >value ="#{intervention.workEnd}" > > > >label ="#{i18n.workEndDate}" > > > > >< f:convertDateTime pattern ="dd.MM." /> > > > > > > > > > > > > < tc:cell /> > > > > > > > > < tc:cell> > > > >< f:facet name ="layout" > > > > > < tc:gridLayout columns ="fixed;*" /> > > > > > > > >< tc:link label ="#{i18n.intervenant}" /> > > > >< tc:link > > > > id... > > > > [Nachricht gekürzt] > > > -- Zied Hamdi zatreex.sourceforge.net

[tobago] popup doesn't support tab groups?

2007-09-24 Thread Zied Hamdi
Hi, I have created a popup with a tabgroup as its root element, the problem is that we can't switch between tabs : clicks doesn't seem to be catched (but the mouse shows the correct 'hand' cursor). Regards, Zied

Re: [tobago] tx:date displays incorrectly in sheets

2007-09-24 Thread Zied Hamdi
Thanks Bernd it works. 2007/9/22, Bernd Bohmann <[EMAIL PROTECTED]>: > > Hello Zied, > > please try 10px for labelWidth instead of 10. > > Regards > > Bernd > > Zied Hamdi wrote: > > Hi, > > > > Under facelets, I have an editable sheet i

Re: tx:date Popup is too small

2007-09-20 Thread Zied Hamdi
Thanks Volker, I won't say it's because of ramadan :-). Regards, Zied 2007/9/20, Volker Weber <[EMAIL PROTECTED]>: > > http://myfaces.apache.org/tobago/tobago-core/tlddoc/tx/time.html > > 2007/9/20, Zied Hamdi <[EMAIL PROTECTED]>: > > :-)) Ok I

Re: tx:date Popup is too small

2007-09-20 Thread Zied Hamdi
Hi Volker, Just added a minor bug for the subject @ https://issues.apache.org/jira/browse/TOBAGO-494 Regards, Zied 2007/9/20, Zied Hamdi <[EMAIL PROTECTED]>: > > :-)) Ok I'm stupid!! I was searching for it in the tx... > > Thanks :-) > > 2007/9/20, Volker Weber &l

Re: tx:date Popup is too small

2007-09-20 Thread Zied Hamdi
:-)) Ok I'm stupid!! I was searching for it in the tx... Thanks :-) 2007/9/20, Volker Weber <[EMAIL PROTECTED]>: > > Hi, > > tc:time ? > http://myfaces.apache.org/tobago/tobago-core/tlddoc/tc/time.html > > > Regards, >Volker > > 2007/9/20, Z

Re: tx:date Popup is too small

2007-09-20 Thread Zied Hamdi
ze of the Month is to big which is not the case > in the online demo. > > I you have a custom theme with a bigger font-size than default you > need to addjust the > > Tobago.CalendarPopupWidth property in your custom > tobago-theme-config.property file. > > > Regar

Re: Input & ValueChangeListener

2007-09-18 Thread Zied Hamdi
lue = someValue; > > } > > > > *public* *void* processValueChange(ValueChangeEvent e) > > *throws* AbortProcessingException { > > log.info( " Change Event: " +e); > > } > > } > > > > The jsp: > > < tc:page> > > > > > > > > > > > > "#{controller.processValueChange}" /> > > > > > > > > Faces-config.xml: > > > > < managed-bean> > > controller > > EventController > > session > > > > > > > > > -- Zied Hamdi zatreex.sourceforge.net

Re: [tobago] layout of tc:selectManyCheckbox

2007-09-14 Thread Zied Hamdi
> > < tc:selectItems ... /> > > > > > > > > > > > > you can also render every item in a own layout-cell if you need this. > > > > > > Regards, > > Volker > > > > > > > > > > > > > > > &

  1   2   >