Hi,
Thanks for your reply,I tried with Following Code as you mentioned But Not
Triggered,what may be the problem?
tr:selectBooleanCheckbox label=RemoveALL
binding=#{backing_first.removeAll}
id=removeAll autoSubmit=true/
tr:table
I'm trying to get a simple app running with MyFaces and Tiles, but
it's not working.
I have the standard web.xml file that defines the TilesListener and
MyFaces StartupServletContextListener. It also has the
TilesDispatcherServlet (mapped to *.tiles) and the FacesServlet
(mapped to *.jsf)
My
perhaps adding Trinidad to the download page of MyFaces isn't a bad idea.
I'll do that, once 1.2.2 is released, since I have to touch that page
at that time
-Matthias
On 9/5/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Hi,
Also releases and corresponding downloads seem to be a
The simplest way I can think of is to use panelLabelAndMessage
containing a panelHorizontalLayout with two non-simple fields,
where you haven't set the label on either (but do set the shortDesc
attribute for accessibility).
-- Adam
Well, actually that was what I tried first.
However then
Hi NG!
Im using a trinidad tr:table inside my seam-application.
The Problem:
It seams, that the table model is only generated once, at the first
attempt to render the table and doesnt change afterwards. Is this
correct? I suppose it could be desired behavior, but that leads me into
Hi NG!
Im using a trinidad tr:table inside my seam-application.
The Problem:
It seams, that the table model is only generated once, at the first
attempt to render the table and doesnt change afterwards. Is this
correct? I suppose it could be desired behavior, but that leads me into
trouble..
Hello,
Thanks for your advices, which helped me get the needed functionality.
Regards,
Radu
David Delbecq-2 wrote:
radu_milos a écrit :
Hello,
Just moved from Weblogic 8.1 SP4, SUN RI 1.1 tomahawk 1.1.1. to WebLogic
81.
SP4, myfaces 1.5 and tomahawk 1.1.6.
Gained some functionality
Hi, I'm using tr:table since a long time, where paging through large
data sets is implemented by my own CollectionModel.
But I still miss some logics behind CollectionModel methods I have to
implement.
AFAIK, the overall strategy is to use getRowKey/setRowKey to enable
content-based keys
Hi Zied,
the lines like
...TobagoResponseWriterImpl.endElement(235) - Element end with
name='html' doesn't match with ...
looks like related to a bug i fixed yesterday. Are there any lines like
...ButtonRenderer.encodeBegin(55) - Wrong type: Need
Hi,
I have an exception that I think shouldn't happen (am I doing sth wrong?,
does anybody know how to avoid it?):
Regards,
Zied
// *TODO*: remove this if block if prooven this never happens anymore
*if* (command == *null
*
currentActionId != *null* currentActionId.matches(.*:\\d+:.*)) {
This is actually not a JSF question, but usually JSF people know CSS. So I
decided to post here. Sorry if this is not appropriate.
CSS file1
-
.myTable {
}
CSS file2
.myTable {
}
The class names defined in both
Hi all,
I've a quick question regarding the tr:treeTable component.
What I want too do is have the option for the treeTable to be expanded
by default on specific pages on initial page loading.
I see in the treeTable has the expandAllEnabled attribute which decides
whether the Expand All
Thank you, I'll delve into this whenever such a situation arises. I'm
confident now, though.
On 9/5/07, Adam Winer [EMAIL PROTECTED] wrote:
The model for the Trinidad table is not java.util.List. It's
org.apache.myfaces.trinidad.model.CollectionModel; and
Trinidad also supports
Hi Zied,
did you have the output of this statement in the log
LOG.debug(actionId = ' + currentActionId + ');
just before the exception?
you may need to set debug-level to debug for UIPage.
please post the actionId.
Regards,
Volker
2007/9/5, Zied Hamdi [EMAIL PROTECTED]:
Hi,
I
Hi Volker,
this is the output with UIPage in debug level:
I forgot to tell you it happens whan I click on a link in a UIData :
tc:sheet id=personData value=#{personCtrl.persons}
var=currentPerson state=#{personCtrl.sheetState} showHeader=true
binding=#{personCtrl.personTable}
Hi,
does anyone know a good website showing an example for
dynamic h:dataTable?
The example shouldn't be too heavy ;)
I could only find examples showing NOT the Bean Class!
There for I'm a beginner it's hard to understand the code
without knowing the bean class
Cheers Wolfgang
--
Pt! Schon
Hi all;
Is it possible to build a tree menu with a various icon (one icon by user
node ).
Thanks
--
View this message in context:
http://www.nabble.com/-Tobago--Tree-menu-and-Icon-tf4383436.html#a12495980
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Hi Claus,
This probably due to the fact that chart component does not implement
valueHolder interface. Currently I believe only valueHolder components can
be put inside the table. Can you use trh:tableLayout with c:forEach instead?
Venkata
On 9/3/07, Claus Elsborg Laursen [EMAIL PROTECTED]
I've found out that tr:selectOneChoice isn't working properly in some
cases (probably German characters):
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer
Hypo-Leasing Kärnten GmbH Co
KG;CoreSelectOneChoice[UIXEditableFacesBeanImpl,
Hello Renzo,
Comments inline.
On 9/5/07, Renzo Tomaselli [EMAIL PROTECTED] wrote:
Hi, I'm using tr:table since a long time, where paging through large
data sets is implemented by my own CollectionModel.
But I still miss some logics behind CollectionModel methods I have to
implement.
AFAIK,
Anyone know about this?
Thanks.
Sent: 05 September 2007 10:31
To: MyFaces Discussion
Subject: [Trinidad] TreeTable - expand all.
Hi all,
I've a quick question regarding the tr:treeTable component.
What I want too do is have the option for the
Hello Luka,
This is not a component bug, most likely an application one (true component
bugs rarely log a warning, they more often throw an exception or, at worst,
don't print anything at all).
The error you have occurs when the list of value either cannot be restored
or changed during the
Thanks Simon. As a further guess - I think we have to distinguish
between phase usage of such methods.
I presume (hopefully) that position-based indexing is used only during
rendering, and *not* during restore view/update model.
In other words, we told the component to render a range [first,
Hi again,
Here's the page structure (by facelets) if it can help.
Regards,
Zied
UIViewRoot clientProperties=
[EMAIL PROTECTED] locale=fr_FR
renderKitId=tobago rendered=true transient=false
viewId=/person/person.xhtml
UIPage actionId=page:personForm:personTableSubview:personData:0:j_id14
Simon, not sure I got it. If you use rowIndex to identify a row during
update model, how do you provide consistency ? I thought that rowKey
was introduced exactly to avoid any potential mismatch when rows have
to be reloaded from the business layer. Thus if we need to update a
field of the
Hello Luka,
Is the method isInserting() stable? Is it possible that it returns false on
postback? Also, you cna try setting the valuePassThru attribute of the
selectOneMenu to true to see if it helps.
Regards,
~ Simon
On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote:
I'm not so sure about
Hi,
when the datepicker should be opened for the first time the UIComponent for
the datepicker can not
be found in AjaxUtils.parseAndStoreComponents() line 147. When the popup is
openend a second time
the UIComponent can be found (with the same id).
Regards,
Helmut
- Original Message
Hi all,
I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk? In
struts I used logic:equal or logic:notEqual, which is the tag in
myFaces/Tomahawk to do that, I don´t want to use this: % if(...)... {% %
else(...)... {%
thanks!!!
Hello Renzo,
There's an InternalState that we use to keep the mapping toward the rowKey
during those phases to handle that issue.
Regards,
~ Simon
On 9/5/07, Renzo Tomaselli [EMAIL PROTECTED] wrote:
Simon, not sure I got it. If you use rowIndex to identify a row during
update model, how
isInserting is stable. It is used in another part of application, and
has nothing to do with this part (it is always false). No luck with
valuePassThru. It is really funny because 3 lines before in the same
xhtml I have this code snippet and it's working correctly as expected:
Simon, ok but the point is that the CollectionModel I have to publish
is directly called to set/get rowIndex, and from the provided value it
has to go to the business layer. I would expect that such InternalState
should hide position-based calls on my model, using only keys. I miss
the reason
Hello Zied,
can you send the complete web application, please.
(to my personal account)
Regards
Bernd
Zied Hamdi wrote:
Hi again,
Here's the page structure (by facelets) if it can help.
Regards,
Zied
UIViewRoot clientProperties=
[EMAIL PROTECTED] locale=fr_FR
renderKitId=tobago
Odd... I'll think a bit about it, but I don't see what could cause the
problem then. Can you add a log in your getListOfValues method and see if
the value Hypo-Leasing Kärnten GmbH Co KG exists in it?
As a side note comment though, you could cache the list of values for the
length of the request
Hmm, I'll have to test it out. normally, you Trinidad component should not
rely on row indexes once a row key was provided for it (after first
iteration though it). However, I'm not an InternalState expert yet, Adam
might have something to say on that statement. As for what you should set
with
Generally, you do this with the rendered attribute of the component.
If you want to group a bunch of components, use a panelGroup rendered.
On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote:
Hi all,
I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk? In
struts I used
Please Help...
yazid wrote:
Hi all;
Is it possible to build a tree menu with a various icon (one icon by user
node ).
Thanks
--
View this message in context:
http://www.nabble.com/-Tobago--Tree-menu-and-Icon-tf4383436.html#a12500853
Sent from the MyFaces - Users mailing list archive
1) Are you accessing the xhtml file directly rather than through the
facelets servlet?
2) Is s:fieldset defined in your sandbox.taglib.xml file?
3) Are there errors parsing your facelets configuration files?
There's probably other possibilities as well, but these are a few that
immediately come
How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG
exists in it?
This entry exists in dropdown list of values for rendered ComboBox in
browser (in source code I can't see if this is the one, because
itemIndex is not an ID of the Vinkulant object. In database also
everything is
I am wondering if this is a bug or planned with UIXComponentBase:
I was noticing that my custom component that extended CoreCommandLink
stopped working after a partial update. When trying to figure out why,
I noticed that the ID of the link changed between rendering and
therefore the decode no
If it makes a difference, here is my renderer's code for this component:
public class HelpIconRenderer
extends CommandLinkRenderer
{
public final static String RENDERER_TYPE = com.christws.HelpIcon;
private PropertyKey messageIdKey;
private PropertyKey forKey;
public
Can you give some example code, another way?
On 9/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote:
Generally, you do this with the rendered attribute of the component.
If you want to group a bunch of components, use a panelGroup rendered.
On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote:
I have created what I imagine is the simplest possible MyFaces 1.1.5
and Tiles 2.0.4 application
(http://www.planetpratt.com/xfer/crash.war), but it doesn't appear to
work. Can anybody please help point me in the right direction?
(*Chris*)
I agree with Adam.
On 9/4/07, Adam Winer [EMAIL PROTECTED] wrote:
The old parameter was trinidadinternal, and therefore was
never officially supported. If we were changing from one
supported name to another, I'd agree that we should keep the
old name around, but supporting backwards
On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote:
How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG
exists in it?
I mean if you log all calls to you getListOfValues method and its return
value, does it always contain the value Hypo-Leasing Kärnten GmbH Co KG
that
panelGroup rendered=#{bean.shouldRenderThese}
componentToRenderWhenTrue/
componentToRenderWhenTrue/
componentToRenderWhenTrue/
componentToRenderWhenTrue/
componentToRenderWhenTrue/
/panelGroup
panelGroup rendered=#{not bean.shouldRenderThese}
componentToRenderWhenFalse/
Hello Bernd,
I'm sorry, I can't get to the exception again. I'll take a look at my sooner
versions archives tomorrow. (I'm alone on the app, I don't use a version
controller :-/. )
Regards,
Zied
2007/9/5, Bernd Bohmann [EMAIL PROTECTED]:
Hello Zied,
can you send the complete web
Thanks!!... But, there are no if components like the logic:equal o
logic:notPresent?? in struts
On 9/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote:
panelGroup rendered=#{bean.shouldRenderThese}
componentToRenderWhenTrue/
componentToRenderWhenTrue/
componentToRenderWhenTrue/
Hi,
I'm trying to use the upload file tag with RI 1.2. The tag works (the
file is uploaded), but afterwards I get a blank page instead of the
page I expect. I've found that any form that has
enctype=multipart/form-data renders a blank page after submit,
regardless of whether or not there's an
Comments are bellow.
I appreciate all what are you doing guys.
Tnx
Luka
Simon Lessard wrote:
On 9/5/07, *Luka Surija* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG
exists in it?
I mean if you log all calls to
When in a PhaseListener, or I suppose at any point during the
request, is it possible to know which component triggered the request?
Even just a clientId would suit my needs.
Thanks...
Dave
The information transmitted herewith is sensitive information of Chordiant
Stripped part the mail because it was getting quite hard to read.
On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote:
Yes it does display everytime as you can see here is the output:
.. listcut
Vinkulant: Hypo Leasing d.o.o.
Vinkulant: Hypo-Leasing Kärnten GmbH Co KG
Vinkulant: Hypo-Leasing
Hello all,
Anyone know by heart how and when the JS Locale elements get set by any
chance? It's not the part of the code I played the most with and I could
save the heavy digging if possible. I get the following error in a very
specific environment:
this.getLocaleElements().DateTimePatterns has
No, there is no separate tag like logic:equal. You need to use the
rendered attribute as Mike described.
Note that the rendered attribute is a normal EL expression, which can be
quite complex. An EL expression can test things for equality etc. See a
JSF manual or the specification for what is
Ok, I'll try that. Thanks for responding David!
David Delbecq-2 wrote:
You must iterate on component children, look at each uiselectitem and
uiselectitems, and queary each of them until you get a SelectItem which
value match the current one. you can then get label of this SelectItem.
Simon Lessard wrote:
Stripped part the mail because it was getting quite hard to read.
On 9/5/07, *Luka Surija* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Yes it does display everytime as you can see here is the output:
.. listcut
Vinkulant: Hypo Leasing d.o.o.
Nvm, I found my problem.
On 9/5/07, Simon Lessard [EMAIL PROTECTED] wrote:
Hello all,
Anyone know by heart how and when the JS Locale elements get set by any
chance? It's not the part of the code I played the most with and I could
save the heavy digging if possible. I get the following
No worries. I just wasn't sure if I missed something obvious in a config file
somewhere. Many thanks for the quick response.
--
View this message in context:
http://www.nabble.com/Turn-off-the-debug-logging-for-Trinidad-tf4363669.html#a12510738
Sent from the MyFaces - Users mailing list archive
No, it will not be in 1.2.2. It'll be in 1.0.3 and 1.2.3.
-- Adam
On 9/4/07, Gregg Leichtman [EMAIL PROTECTED] wrote:
Agreed. The port to Trinidad did _not_ cause this problem. My initial
diagnosis was incorrect and your point on Tiles demonstrating the problem is
the correct diagnosis.
Or, rather, it will if we get a JIRA issue on it...
-- Adam
On 9/5/07, Adam Winer [EMAIL PROTECTED] wrote:
No, it will not be in 1.2.2. It'll be in 1.0.3 and 1.2.3.
-- Adam
On 9/4/07, Gregg Leichtman [EMAIL PROTECTED] wrote:
Agreed. The port to Trinidad did _not_ cause this
I don't see how or why this is wrong... _genId should get state
saved, so I don't understand why you're having problems unless
your custom component has overridden state saving incorrectly.
I've never seen a problem like this with any of our Trinidad components.
-- Adam
On 9/5/07, Andrew
The code is pretty simplistic for the component:
@FaceletComponent(namespace = http://christws.com/components;,
tagName = helpIcon,
type = UIHelpIcon.COMPONENT_TYPE,
rendererType = HelpIconRenderer.RENDERER_TYPE)
public class UIHelpIcon
extends CoreCommandLink
{
public final static
Hi
I am trying to use the schedule component, with no luck, I tried redefining
the default classes (headerClass, dayClass), the schedule doesn't change.
Snippet:
=
t:schedule
id=cal
headerClass=mycss
dayClass=mycss2
/
==
Result: (mycss and mycss2 are
It works fine outside of the facet,
Broken:
tr:panelLabelAndMessage
label=Test help
tr:inputText id=testHelp value=#{testHelpText}
simple=true /
f:facet name=end
cw:helpIcon for=testHelp
messageId=test_help /
/f:facet
/tr:panelLabelAndMessage
Works:
tr:panelLabelAndMessage
I previously posted a JIRA issue as:
TRINIDAD-678:
Description Not Shown in TextArea for Select*Shuttle
Components
in the JIRA Components section. See:
http://issues.apache.org/jira/browse/TRINIDAD-678
Let me know, if you cannot locate it. I thought that this was the most
logical place.
TreeState.saveState(FacesContext, UIXComponentBase) is being called, but
TreeState.restoreState(FacesContext, UIXComponentBase) is never called.
I'll have to look into this to see if it is something I caused or not.
Does Trinidad depend on a custom UIViewRoot implementation (I have my
own and a
Okay, I could really use some help, and I am confused on the Trinidad
code and how it is supposed to work.
I stepped through the code on a PPR partial submit restore view. And
the code that starts to seem fishy is the
StateManagerImpl$PageState.popRoot(FacesContext) function.
Code as follows:
Last notes on the night.
I have been trying many different configurations and debugging more. I
eventually got the client state to save correctly and the view to
restore correctly by using:
context-param
param-nameorg.apache.myfaces.trinidad.CLIENT_STATE_METHOD/param-name
On 9/5/07, Andrew Robinson [EMAIL PROTECTED] wrote:
Last notes on the night.
I have been trying many different configurations and debugging more. I
eventually got the client state to save correctly and the view to
restore correctly by using:
context-param
On 9/5/07, Andrew Robinson [EMAIL PROTECTED] wrote:
Okay, I could really use some help, and I am confused on the Trinidad
code and how it is supposed to work.
I stepped through the code on a PPR partial submit restore view. And
the code that starts to seem fishy is the
69 matches
Mail list logo