Re: [Trinidad] problems with 2.0 - statis quo?

2010-11-08 Thread Daniel Niklas
Hi, ... running jsf/trinidad within a portal is another problem, but has nobody tried out trinidad-2.0 with state saving=server? Daniel -- View this message in context: http://old.nabble.com/-Trinidad--problems-with-2.0---statis-quo--tp30018933p30162422.html Sent from the MyFaces - Users

[Trinidad] problems with 2.0 - statis quo?

2010-10-21 Thread Daniel Niklas
Hi folks, we are currently on jsf/trinidad 1.1 within a portal environment (portlet 1.0). We are planning an upgrade to JSF/Trinidad and Portlet 2.0. Just know i am beginning with some trinidad hello-worlds. I hope you can give me some advice! Problem 1 - trinidad and myfaces

Re: [Trinidad] problems with 2.0 - statis quo?

2010-10-21 Thread Daniel Niklas
Hi Richard, Richard Yee-3 wrote: What versions of the libraries are you using? Trinidad, mojarra, myfaces i'm using the following versions: - myfaces 2.0.2 or - mojarra-api.version2.0.1 - 2.0.4-b05 and - trinidad 2.0.0-beta-1 Daniel -- View this message in context:

Re: AW: double click problem in JSF

2010-09-20 Thread Daniel Niklas
Hi, this does not prevent for submitting two requests for *two* components; try out my example: tr:inputText text=first partialSubmit=true / tr:selectOneChoice text=second partialSubmit=true / - type some text into inputText (wait some time on server) - click and select on item in

Re: AW: double click problem in JSF

2010-09-10 Thread Daniel Niklas
Hi, i don't think, that you have solved all problems with tr:selectOneChoice! Try an example with two components: ... tr:inputText text=first partialSubmit=true / tr:selectOneChoice text=second partialSubmit=true / .. Edit Text in first and then click on the tr:selectOneChoice second. The

Re: AW: double click problem in JSF

2010-09-09 Thread Daniel Niklas
Hi, we have a solution for double clicks, too! We are using a token, to check requests on the serverside. On the client we are using the jquery UI-Plugin (http://jquery.malsup.com/block/). This is working verry good! The code that submits the form in trinidad is problematic. There are tests for

resolve el-String to facelets-function

2009-12-09 Thread Daniel Niklas
Hi, i want to resolve an el-String that represents a facelets-function, so i want to invoke the corresponding method. How can i do this? Exampe: // method public static String computeSomething(String param); // faclets-configuration function function-namecomputeSomething/function-name

Re: [rinidad] Bug in inputDate!?

2009-07-24 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: I did that. Thanks! Daniel -- View this message in context: http://www.nabble.com/-trinidad--Bug-in-%3CinputDate%3E%21--tp24475291p24640284.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [rinidad] Bug in inputDate!?

2009-07-22 Thread Daniel Niklas
with the inputDate live demos, using IE 8. I'm not sure about the tr:messages case. Can you reproduce this with the live demo, and what are the steps? Thanks, Yee-Wah Daniel Niklas wrote: Hi Matthias, Matthias Wessendorf-4 wrote: Did you find any similar issue in the jira ? I think that topic

Re: [rinidad] Bug in inputDate!?

2009-07-15 Thread Daniel Niklas
Hi Richard, that's strange! Did you tab out of the date field?! I can reproduce this everytime when i *click* (with the mouse) beside the field - see attached screenshot (ie 6.0.2800.1106). Btw, ie does not take cpu, only the hourglass is there. Richard Yee-3 wrote: I tried it on

Re: [rinidad] Bug in inputDate!?

2009-07-15 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: Did you find any similar issue in the jira ? I think that topic at least somehow rings my bell. Maybe Yee-Wah knows more ? You're right! There are several issues in jira: - http://issues.apache.org/jira/browse/TRINIDAD-1171 - cannot reproduce?! -

[rinidad] Bug in inputDate!?

2009-07-14 Thread Daniel Niklas
Hi, i think, that i've found a nasty bug in tr:inputDate. When you use tr:inputDate with autosubmit=true, enter invalid data (eg. bug) and then click somewhere else. After that you will get an hourglass. This only happens in IE (6+7), in FF everything works correct. You can try it out here:

Re: [trinidad] Bug in inputDate!?

2009-07-14 Thread Daniel Niklas
Hi again, there is a similar problem with tr:messages. When you Click on the link within tr:messages, you will get a hourglass, too! Daniel -- View this message in context: http://www.nabble.com/-trinidad--Bug-in-%3CinputDate%3E%21--tp24475291p24476753.html Sent from the MyFaces - Users

Re: [Trinidad] check for ppr with javascript

2008-12-16 Thread Daniel Niklas
Hi Walter, Walter Mourão-2 wrote: Makes the generalPPRMonitor method function be executed only when the PPR starts/stops. ... but i want to monitor *non* ppr-request!? Daniel -- View this message in context:

Re: [Trinidad] check for ppr with javascript

2008-12-16 Thread Daniel Niklas
Hi, perhaps i found a solution. Register an event-Handler on form-elements and then check for varialbe busy: if (typeof busy == 'undefined') // non-ppr-request This seems to work... Daniel :-) -- View this message in context:

[Trinidad] check for ppr with javascript

2008-12-11 Thread Daniel Niklas
Hi, how can i check if a submit is/becomes a ppr-request? I want to register a (javascript) Event-Listener on form-tags and check if the submitted form is/becomes a ppr-submit. Is there anywhere a javascript documentation? (I know the ppr-site in developers guide, allready...) Any

Re: [Trinidad] check for ppr with javascript

2008-12-11 Thread Daniel Niklas
Hi, Walter Mourão-2 wrote: function generalPPRMonitor(state) { if (state == TrRequestQueue.STATE_BUSY) { showDivWait(); } else { closeDivWait(); } } I'm not sure, but i think, that i wouldn't get a notification if it isn't a ppr request?! Daniel --

Re: [Trinidad] Generate PDF _and_ close dialog

2008-12-09 Thread Daniel Niklas
Hi, Markus is right, you cannot do this within one request. To add some javascript to the respons you can use the ExtendedRenderKitService from Trinidad, e.g. something like this: ExtendedRenderKitService erks = Service.getRenderKitService(fc, ExtendedRenderKitService.class); erks.addScript(fc,

Re: [trinidad] how many view states are needed for dialogs?

2008-09-08 Thread Daniel Niklas
I made some observations, my example looks like this: tr:commandLink text=show dialog action=dialog:my-dialog windowWidth=600 windowHeight=300 partialSubmit=true useWindow=true

[trinidad] how many view states are needed for dialogs?

2008-09-05 Thread Daniel Niklas
Hi, i'm using server side state saving (environment is a portal). How many view states do i need when using the dialog framework of trinidad? I want to reduce the number of view states in server (org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION), because of memory consumption. Thanks in advance

Re: statesaving - memory consumption

2008-09-02 Thread Daniel Niklas
Hi Simon, Simon Kitching wrote: The idea is that by setting NUMBER_OF_VIEWS_IN_SESSION, a webapp can guarantee to support a certain number of back-button clicks - at the JSF level at least. Or that when two windows are open on the same webapp, that the user can perform

Re: statesaving - memory consumption

2008-09-02 Thread Daniel Niklas
Hi Simon, Simon Kitching wrote: I suspect think there is. A ReferenceMap will have internal data structures. I haven't checked the code, but would guess that these are only cleaned up when methods are called on the referencemap. Right, this coul'd be a problem. Internally there is a

RE: statesaving - memory consumption

2008-09-02 Thread Daniel Niklas
Hi Michael, thanks for your answer. I'm not quite sure of upgrading to 1.1.6 or remove the old views map on my own (or both). Best regards Daniel -- View this message in context: http://www.nabble.com/statesaving---memory-consumption-tp19256471p19270418.html Sent from the MyFaces - Users

statesaving - memory consumption

2008-09-01 Thread Daniel Niklas
Hi, i am using server-side state saving (because the environment is a portal). I noticed a high memory consumption for the view state, or exacting for the history of old view states. Now i have some questions on this: 1) Is view state history *only* for back-Button of the browser? 2) There is

Re: Trinidad: how to include javascript files

2008-08-15 Thread Daniel Niklas
Hi, we have own custom trinidad components. How can i add the needed javascript in another way? Trinidad seems to do this in another way, each component has its own javascript-file. This is aggregated to one js-resource an delivered automatically without using metaContainer for tr:document or

Re: Trinidad: how to include javascript files

2008-08-15 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: On Fri, Aug 15, 2008 at 10:07 AM, Daniel Niklas [EMAIL PROTECTED] wrote: If you want to have it inside Trinidad (I'd not do that), you have to register your script file here: -CoreCommonScriptsResourceLoader (you need to patch it) I don't like

Re: trinidad xhtml compliance

2008-08-07 Thread Daniel Niklas
Hi, i mentioned a problem with invalid id-values. This values begin must not begin with _. https://issues.apache.org/jira/browse/TRINIDAD-1094 https://issues.apache.org/jira/browse/TRINIDAD-1094 Andrew Robinson closed this bug (rightly), because this is not a trinidad issue. But it is a

RE: [Trinidad] need Naming-Container without visible html output for partialTriggers

2008-07-21 Thread Daniel Niklas
Hi Mathias, Mathias Walter wrote: could you find a solution for your problem? I'm looking for similar component. I thought I could use tr:group, but that would most of time not rendered. Is there no simple component (i. e. which creates just a div) which could be used? Currently,

[Trinidad] bug in restoreView?! - e.g. own error-page

2008-06-17 Thread Daniel Niklas
Hi, i think there is a bug in restoreView when a request ist forwarded to another viewId. In this case the viewId is ignored an restoreView computes the viewRoot with the request-parameters and/or state. You can reproduce this bug, when you create your own error-page, e.g. for error-code 500.

Re: Handling Server Errors

2008-06-10 Thread Daniel Niklas
Hi, haric wrote: I am trying to write my own exception handler as per the details at http://wiki.apache.org/myfaces/Handling_Server_Errors there is written, that myfaces includes an error handling for versions 1.2.1 and 1.1.7. I would like to use this feature, but is there already a

[JSF] how to enable facelets for my jsf component

2008-05-16 Thread Daniel Niklas
Hi, i can't get my jsf component to work within a facelets environment. I took the example of Bruno Aranda, a kind of hello world example (http://brunoaranda.googlepages.com/jsfcomponentsarchetype2). This works for me with jsps. When i switch to facelets, i get the following warnings and

Re: AW: AW: [TRINIDAD] How to display Page loading... while page is loading?

2008-05-15 Thread Daniel Niklas
Hi, we have the same requirements: we need a statusIndicator, that works for non-PPR-requests, too. Markus Döring wrote: I was thinking of something like this: tr:document tr:image id=busyIconIndicator source=/busy/image/url.gif inlineStyle=display:none / tr:commandButton

Re: AW: AW: AW: [TRINIDAD] How to display Page loading... while page is loading?

2008-05-15 Thread Daniel Niklas
Hi, Markus Döring wrote: Maybe tr:form onsubmit=document.getElementById('busyIconIndicator').style.display='inline' ... /tr:form works? Ok, this seems to work: ... function showStatusBusy() { document.getElementById(statusIndicator::busy).style.display=inline;

[Trinidad] How to write own trinidad jsf-components

2008-04-18 Thread Daniel Niklas
Hi, i want to write my own trinidad component. I've written already the component for standard-jsf. Know i want to enable trinidad features for this component, like ppr. What must i do for that? Where to start? Any further suggestions? What's about the tag-documentation. Can i use trinidad

Re: Loading View(.xhtml) from Classpath

2008-02-22 Thread Daniel Niklas
Hi Danny, it is possible, to load xhtml-files from a jar file. Out of the box, this is true for templates and custom tags. There is no build in support for this, when a page is directly requested from the browser. If you want to do that, you can extend the DefaultResourceResolver of facelets.

[Trinidad] How to deliver skin-css with weblets (1.0_alpha_2)

2008-02-15 Thread Daniel Niklas
Hi, i'am using several images for backgrounds etc in a trinidad skin. I want to use weblet-URLs to deliver theses images. The trinidad-skin-css-file has to be delivered by weblets for this purpose, too. How can i achieve this? (When css files or other resources are delivered by weblets, the

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-06 Thread Daniel Niklas
Hi Scott, Scott O'Bryan wrote: Hey Daniel, you may wish to stay away from Filters if you are going to contribute this to Trinidad. It'll break portlet compatibility. You're right, this would be a Problem. That said, what is the problem you are trying to solve here? Is it that

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-05 Thread Daniel Niklas
Hi, Working on the caching feature, i found out the following: The TrinidadResourceServlet has already build in Cache-Control. It sets the expires header to + 1 year. This is good in case of requesting js-libraries, because theses generated files has the trinidad version as suffix in its

Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Daniel Niklas
regards Daniel Niklas -- View this message in context: http://www.nabble.com/Need-Filter-that-caches-resources---a-more-general-Extensions-Filter--tp15226545p15226545.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Daniel Niklas
Hi, Matthias Wessendorf-4 wrote: like almost every body :-) Me too, that is why i'm asking ;-) Matthias Wessendorf-4 wrote: It would be nice to add an implementation of this to one of the new myfaces-commons projects...but AFAIK there isn't like this anything available from the

Re: [Trinidad] signature of method for selectionListener on a tree

2008-01-22 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: yes the selectionListener isn't working on tree. What works is the rowDisclosureListener, when toggle the tree. Should i create an jira entry? Matthias Wessendorf-4 wrote: Currently there is no real way to select a node in the tree. Like

Re: [Trinidad] signature of method for selectionListener on a tree

2008-01-22 Thread Daniel Niklas
Hi, Matthias Wessendorf-4 wrote: what do you want to select ? I want to select the nodes (or one node) of the tree. The selected nodes are represented in selectedRowKeys of the tree - the selection state for this component. Or do i understand something wrong? For example (second post of

Re: [Trinidad] signature of method for selectionListener on a tree

2008-01-21 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: public vod nodeSelected(org.apache.myfaces.trinidad.event.SelectionEvent event); is this not working? I think this is not working, my method is not called. Here my example: tr:tree id=personTree value=#{treeBean2.treeModel} var=node

Re: [Trinidad] signature of method for selectionListener on a tree

2008-01-21 Thread Daniel Niklas
Hi Gerhard, Gerhard Petracek wrote: - if i remember correctly: selectionListeners just work in connection with the rowSelection attribute - e.g. see [1], [2]. however, tr:tree doesn't provide this attribute. i know that the tag-doc indicates a different behaviour. Ok, then it is a

[Trinidad] signature of method for selectionListener on a tree

2008-01-18 Thread Daniel Niklas
Hi, i want to define a selectionListener on my tree component: tr:tree value=#{myBean.treeModel} var=node selectionListener=#{myBean.nodeSelected} What is the signature of the method in my backing bean? Best regards Daniel -- View this message in context:

Re: [Trinidad] need Naming-Container without visible html output for partialTriggers

2008-01-18 Thread Daniel Niklas
Hi Andrew, Andrew Robinson-5 wrote: That is not valid. For AJAX/PPR to work there has to be HTML output to replace. Use css to hide the data if you want (display: none) I don't want to hide html-regions. I need a ppr/trinidad naming-container with an attribute partialTriggers . This

[Trinidad] need Naming-Container without visible html output for partialTriggers

2008-01-17 Thread Daniel Niklas
Hi, i need a trinidad component with an attribute partialTriggers, that doesn't have a visible html output. How can i realize something like that? I am using facelets an need this feature especially for templating with ui:define etc. Any suggestions? best regards Daniel -- View this message

Re: [Trinidad] No skinning selector for panelHorizontalLayout?!

2008-01-17 Thread Daniel Niklas
Hi, Matthias Wessendorf-4 wrote: yes.. ;) create it, and provide a patch :) The missing skinning selector for panelHorizontalLayout is still an open issue for us. Can someone give me some hints where i have to start for creating the skinning selector or which artefacts need to be

Re: Treeview

2007-12-07 Thread Daniel Niklas
Hi Peter, trinidad has a nice, easy to use, tree component. But there isn't a split-pane component in trinididad that you can resize. You can do this very easy with the dojotoolkit [1]. Have a look at the dijit widges, especialyl the Splitcontainer [2]. The integretion of dojo with trinidad is

[Trinidad] No skinning selector for panelHorizontalLayout?!

2007-11-29 Thread Daniel Niklas
Hi, i can't find the skinning selector for the component panelHorizontalLayout. I use Trinidad 1.0.4. Is there no selector or did i miss something? Bes regards Daniel -- View this message in context:

Re: [Trinidad] No skinning selector for panelHorizontalLayout?!

2007-11-29 Thread Daniel Niklas
Hi, Matthias Wessendorf-4 wrote: for what it is worth :-) If you want to adjust some skinning for panelFormLayout ;-) E.g: I want to declare a general padding or margin for this component. In my opinion all components, which are relevant for rendering, should be skinnable. (...but for

Re: [Trinidad] No skinning selector for panelHorizontalLayout?!

2007-11-29 Thread Daniel Niklas
Hi Matthias, what a shame. Shoud i post an jira issue (enhancement)? Daniel Matthias Wessendorf-4 wrote: No, just looked at the renderer, no selectors for that guy. -M On Nov 29, 2007 3:22 PM, Daniel Niklas [EMAIL PROTECTED] wrote: Hi, i can't find the skinning selector

[Trinidad] Use Dojo with Trinidad

2007-11-27 Thread Daniel Niklas
Hi, i want to use the dojo-widges LayoutContainer and ContentPane in my trinidad-pages. How do i configure dojo correct? (I'am using facelets 1.1.14.) In a plain HTML page i would do something like this: style type=text/css @import dojo-release-1.0.1/dijit/themes/tundra/tundra.css;

Re: [Trinidad] Use Dojo with Trinidad

2007-11-27 Thread Daniel Niklas
Hi Matthias, thanks a lot, dojo is running know in my trinidad environment. I'm using Version 1.0.1, a very simple example looks like this: ?xml version=1.0 encoding=ISO-8859-1? tr:document inlineStyle=width:100%; height:100%; xmlns:ui=http://java.sun.com/jsf/facelets;

Re: [Trinidad] Required icon _after_ label?

2007-08-11 Thread Daniel Niklas
Hi, This feels like it should be a no-brainer, but I just have no idea how to do that: How do I get the required icon to show up _after_ the label instead of before it? No solution, but a hack: you can do something like: postion: relative; left: 270px; It works for example in the component

Re: panelBorderLayout problem: start/end cannot have 100% height

2007-08-11 Thread Daniel Niklas
Hi, i have the same requirements, too. Making the panelBorderLayout skinnible, ist perhaps the best solution. In Orcale adffaces 11 is another component, it's callend panelStretchLayout.

Re: panelBorderLayout problem: start/end cannot have 100% height

2007-08-11 Thread Daniel Niklas
Hi, perhaps frameBorderLayout is the component you are searching for: http://www.irian.at/trinidad-demo/faces/components/html/frameBorderLayout.jspx Daniel -- View this message in context:

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-10 Thread Daniel Niklas
Hi, I think I saw this a while ago, using facelets. Can you try a *single* page, that contains Something like this? ?xml version=1.0 encoding=UTF-8? trh:html xmlns:trh=http://myfaces.apache.org/trinidad/html; xmlns:tr=http://myfaces.apache.org/trinidad; trh:head

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-10 Thread Daniel Niklas
Hi Adam, Alright, fixed on trunk. I'll try to make sure this gets into the official 1.0.2 release. Thanks a lot for fixing this so fast! I can definitely say that I STRONGLY recommend web developers use UTF-8, and abandon all the old character sets. Good point, i would like to use UTF-8

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-10 Thread Daniel Niklas
Hi, This is a bug in Netbeans for Windows (perhaps java), in linux you don't have this kind of error. It looks like in windows UTF-8 is not handled very well. I don't use Netbeans. My environment ist Windows 2000 SP4 and - trinidad-api, trinidad-impl - 1.0.2-SNAPSHOT - myfaces-api,

Strange behavior (bug?) of lightweight dateInput picker

2007-08-10 Thread Daniel Niklas
Hi, i've tried out the greate new lightweight dialogs and found a strange behavior of dateInput picker. After picking a date value, there isn't shown a cursor in the next fields. You can tab or cklick into the next field and enter some data, but there is no cursor! I've tested in the following