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
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
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:
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
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
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
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
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.
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
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
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?!
-
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:
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
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:
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:
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
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
--
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,
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
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
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
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
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
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
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
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
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
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,
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.
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
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
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
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;
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
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.
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
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
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
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.
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
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
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
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
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
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:
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
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
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
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
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:
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
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
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;
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;
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
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.
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:
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
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
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,
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
61 matches
Mail list logo