After working through the inputSuggestAjax code off the Irian site (the
suggest with label/value functionality to be specific), I managed to get
this working in my app with my data. But I then realized that the suggest
aspect wasn't working. No matter what you start to type in the control, the
could I use a4j:support tag inside 'tr:selectOneListbox' ?
tr:selectOneListbox value=#{bean.select} id=qpListName
binding=#{bean.listComponent}
a4j:support event=onclick action=#{bean.listWasClicked}
reRender=query_address /
/tr:selectOneListbox
did you find it ?
Michael Trompertz wrote:
Hello
I want to use Trinidad with Seam and Ajax4Jsf. In the wiki
http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail I read
that I need a4j-trinidad.jar. But I can't find this file anywhere. Is
the functionality integrated in
you should be able to nest a4j:support, since their lib takes care of
JSF interfaces, like EditableValueHolder instead of a cast against
UIInput.
Note, that Trinidad already has PPR enabled (1.0.1 uses Iframe, 102
and higher, use real ajax (funny word))
-M
On 7/3/07, binya [EMAIL PROTECTED]
You have to filter out the AssetMgmtSystem elements for the right
ones, which begin with A or B.
You can do this in the Hibernate query directly (better one) or in the
iteration afterwards.
cheers,
Gerald
On 7/2/07, bansi [EMAIL PROTECTED] wrote:
Hi Gerald
As suggested i wrote the code
Hi,
it`s completely up to you what you are returning back from the
suggestedItemsMethod. On the example page we are not filtering out
some values, just returning the same every time.
So, when you give back the same list at every time, then the same
pop-up list will apear every time. You have to
I'm currently using a t:popup in a datatable to show details about a row.
One of the issues I'm facing is that the renderer for the popup always
renders
position:absolute; display: none; at the end of the inline style. While
this is practical
as a default for showing the popup next to the
Probably, the wouldn't be too hard to implement, no.
Have fun hacking!
regards,
Martin
On 7/3/07, Safurudin Mahic [EMAIL PROTECTED] wrote:
I'm currently using a t:popup in a datatable to show details about a row.
One of the issues I'm facing is that the renderer for the popup always
renders
Hi!
I have to create a generic editor with various fields based on a
configuration(file, database …). Each field can be rendered as a
different input type, e.g. selectOneCheckbox, selectManyCheckbox,
selectOneRadio, selectOneMenu, selectManyMenu or even inside a tree2
structure. Moreover I
I barely skimmed through the Renderer;
writer.writeAttribute(HTML.STYLE_ATTR,(popup.getStyle()!=null?(popup.getStyle()+
(popup.getStyle().trim().endsWith(;)?:;)):)+
position:absolute;display:none;,null);
As mentioned, it is not possible to put a position: fixed on
Hi,
I had a similar requirement for a form here.
I had an List of object to visually edit. The objects were carrying
their description, value and type. I created, for each type, a wrapper
bean that provided a method UIComponent createEditor(some environment
stuff); I then created a custom
Hi,
I think securityContext does not work in rendered attribute of a h:panelGroup.
I am using myfaces 1.1.5.
Can someone confirm this?
Thank you,
Alin.
Hi,
What kind of security management are you using? Container managed or
something like Acegi or etc?
Regards,
Cagatay
On 7/3/07, Alin Dosoniu [EMAIL PROTECTED] wrote:
Hi,
I think securityContext does not work in rendered attribute of a
h:panelGroup.
I am using myfaces 1.1.5.
Can someone
When you have a big screen with many detail-regions, I think that it is
more natural for a user to fill out each region one at a time and to be
able to fold/unfold each region without triggering validation. Only when
you're ready filling in each field of this page and when you submit the
Hi,
the getter methods typically get called several times, so caching of the
data is usually desired (if you are interested you could have a look at seam
and @Factory which addresses this).
Don't know how the dataScroller works, but I would guess that it is
responsible for at least one call to
Container managed. FORM basd authentication.
If I use it like this
h:outputLabel for=freport:outputtype value=value
rendered=#{securityContext.ifGranted['admin']}/
it works.
But in this case
h:panelGroup rendered=#{securityContext.ifGranted['admin']}
it doesn't work.
Alin.
Hi,
What kind of
Is to possible to define a view handler extension in Trinidad without getting
the following warnings?
org.apache.myfaces.trinidad.context.RenderingContext attach
WARNING: Trying to attach RenderingContext to a thread that already had one.
Hello William,
You should use the AlternateViewHandler context-param instead (like when
using Facelets) while using Trinidad.
The exact context param name is :
org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER
Regards,
~ Simon
On 7/3/07, William Hoover [EMAIL PROTECTED] wrote:
Is to
tried to define in web.xml
context-param
param-nameorg.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER/param-name
param-valuesome.viewhandler.class.path.TheViewHandler/param-value
/context-param
this makes the custom one to be used as the *delegated* viewhandler,
inside the Trinidad
Hi Mike, thank you for your answer, you are the fist that suggest something,
I read the info of the getter called few times, but I have the same problem
that the person that asked, because I can´t use the lazy list, I need to go
to the database to bring each page of the dataScroller, I don´t want
Thanks Matthias/Simon!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Matthias Wessendorf
Sent: Tuesday, July 03, 2007 9:26 AM
To: MyFaces Discussion
Subject: Re: [Trinidnad] View Handler Errors
tried to define in web.xml
context-param
Anybody??
On 7/3/07, daniel ccss [EMAIL PROTECTED] wrote:
Hi Mike, thank you for your answer, you are the fist that suggest
something, I read the info of the getter called few times, but I have the
same problem that the person that asked, because I can´t use the lazy list,
I need to go to the
Haven't read the wiki page, so I don't know how that works.
Perhaps you can have the backing bean in request scope (maybe it already is
and this advice is not useful) and use a cache, then the data would be
reloaded for each request but the multiple gets occuring within that request
would be
Hi,
I've some exp on this before.
My final solution is checkout the a4j trunk, manually build the jar.
I've seen some others report on a4j forum/jira (I forget which one) that,
the a4j-trinidad can be found
in seam installation.
Regards,
Zarick
On 7/3/07, binya [EMAIL PROTECTED] wrote:
did
Hello everyone,
I'm using the tomahawk extended data table and the sortCommandHeader facet.
However, I would need the selected column to have a different style than the
other columns and yet another one for the selected column header.
Of course the nicest would be to have the selected column
Hi Safu,
in most cases, the popup will be absolutely positioned, in these
cases, this will be ok. I'd add another attribute, with which you can
control if this appendix should be rendered or not.
something like: positionAbsolute=true|false and then using this
while rendering.
regards,
Martin
Hi Adam,
On 7/3/07, Adam Winer [EMAIL PROTECTED] wrote:
This should work; I can't see any obvious reason why
it doesn't.
I'm also expect this to work, but clicking on the show link does't
disclose
the component. Anway, I've moved those showDetail stuff out of the table.
I'll retry this
In general, perhaps - but definitely not inside of
selectOneListbox. selectOneListbox requires selectItem/selectItems.
-- Adam
On 7/2/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
you should be able to nest a4j:support, since their lib takes care of
JSF interfaces, like
On 7/3/07, Henk Vanhoe [EMAIL PROTECTED] wrote:
When you have a big screen with many detail-regions, I think that it is
more natural for a user to fill out each region one at a time and to be
able to fold/unfold each region without triggering validation. Only when
you're ready filling in each
Hello all.
I have an odd problem with Tomahawk and a converter.
I have created a converter that accepts a ; separated value.
However, when i try to use it, the following happens:
/protected/richtest.xhtml @87,69 value=#{answerBean.alternative}:
Exception setting property alternative of base
It would be good to see more of your servlet container error logs -
this excerpt is not enough to say what happens here.
regards,
Martin
On 7/3/07, Erlend Hamnaberg [EMAIL PROTECTED] wrote:
Hello all.
I have an odd problem with Tomahawk and a converter.
I have created a converter that
converter=evatest.AlternativeConverter
tried
converter=#{bean.propertyThatReturnsMyConverter}
?
Hi,
I'm new to server faces and I've been tasked with debugging a navigation
issue in an existing application. From time to time the app seems to
lose the base path of self referencing URIs. For example, when clicking
on a link to update an edit, instead of trying
to go to the proper URL of
Hi, I have made something work - I am able to use the
keyboard down arrow key to highlight the next row in
the table or use the
keyboard up arrow key to highlight the previous row in
the table. And When the page is loaded, the first row
of the table is
automatically highlighted (see the code
I'll send some when i get to work tomorrow.
Erlend
Martin Marinschek wrote:
It would be good to see more of your servlet container error logs -
this excerpt is not enough to say what happens here.
regards,
Martin
On 7/3/07, Erlend Hamnaberg [EMAIL PROTECTED] wrote:
Hello all.
I have an
t:dataTable ... sortColumn=#{bean.sortProperty}
t:column styleClass=#{bean.sortProperty eq 'myColumn' ? 'selected' :
'notselected'}
f:facet name=header
t:commandSortHeader columnName=myColumn
h:outputText value=sort me /
/t:commandSortHeader
/f:facet
/t:column
/t:dataTable
On 7/3/07, KaiWeing
As I mentioned, you have to put the focus on an input element, not a
table element. Unless you are on IE, table elements cannot hold focus
and cannot receive key events.
On 7/3/07, Caroline Jen [EMAIL PROTECTED] wrote:
Hi, I have made something work - I am able to use the
keyboard down arrow
Ok let's see, the backing bean is in request:
managed-bean
descriptionPacientes
/description
managed-bean-namePacienteBean/managed-bean-name
managed-bean-classcontroller.pacientes.PacienteBean/managed-bean-class
managed-bean-scoperequest/managed-bean-scope
/managed-bean
How can I use the cache
But, I am using IE 6. I tried to hold the focus on
the highlighted first row of the table. It does not
work.
--- Andrew Robinson [EMAIL PROTECTED]
wrote:
As I mentioned, you have to put the focus on an
input element, not a
table element. Unless you are on IE, table elements
cannot hold
Hi fellas,
I am trying to get JSF On-Load - Im using it with t:updateActionListener
like so :
h:outputLink value=products.html
t:outputText value=#{product.name}
escape=false /
t:outputText value=#{product.weight}
escape=false /
What version of the tagHandlers are you using?
There is no line 90 of UpdateActionListenerHandler.java (it is
whitespace) in the current version
On 7/3/07, kace [EMAIL PROTECTED] wrote:
Hi fellas,
I am trying to get JSF On-Load - Im using it with t:updateActionListener
like so :
Found your issue. The action listener must be a child of ActionSource.
That is typically commandLink and commandButton. outputLink does not
fire JSF events, so therefore is not a candidate for the
updateActionListener
-Andrew
On 7/3/07, kace [EMAIL PROTECTED] wrote:
Hi fellas,
I am trying to
Ahh thankyou Andrew
kace
Andrew Robinson-5 wrote:
Found your issue. The action listener must be a child of ActionSource.
That is typically commandLink and commandButton. outputLink does not
fire JSF events, so therefore is not a candidate for the
updateActionListener
-Andrew
On
I'm not reproducing a problem. At the very
minimum, in FileInputStream.finalize(), fd.handle always
seems to be -1 now, whereas it used to be still set
a lot before. Admittedly I'm not using Tomcat,
antiJarLocking or no antiJarLocking.
Is it possible that Matthias gave you a snapshot before
I'm trying to implement an actionListener wich runs a JPA query and loads the
result into a javax.faces.model.DataModel. This listener receives a paramenter
from an inputCalendar.
The query is running fine and at first load everything goes fine, but when I
want to use the DataScroller
We don't have a skinning hook or component attribute to do that.
- Jeanne
Zarick Lau wrote:
Hi list,
When showRequired are set to true for all kinds of label components.
The * icon are displayed left to the label.
Is it possible to make the icon display right to the label?
Regards,
Zarick
http://tinyurl.com/3374pw
On 7/3/07, Caroline Jen [EMAIL PROTECTED] wrote:
But, I am using IE 6. I tried to hold the focus on
the highlighted first row of the table. It does not
work.
--- Andrew Robinson [EMAIL PROTECTED]
wrote:
As I mentioned, you have to put the focus on an
input
I really need help with this, nobody has implemented succesfuly the
datascroller + WorkingWithLargeTables article? How do you people implement
the pagination with a Tomahawk dataScroller, without bring all the records?
For me all works fine my problem is that the method that brings the data is
Hi there,
Is there anybody know the browser compatibility of MyFaces(Tomahawk)? I can
not find the documents about this topic in MyFaces homepage and google.
While there is only the compatibility about server side environment.
_
Since everything works fine, I think that the problem is in the JSP
t:dataScroller and t:dataTable properties, something is calling the backing
bean several times (the fetchPage), I'm new in this, can anyone check the
JSP and see if I´m doing something wrong on it causing the multiple calls?
%@
Hi Daniel,
look at this:
public DataPagePaciente fetchPage(int startRow, int pageSize) {
return getDataPage(startRow, pageSize);
}
if you make sure you call getDataPage only once for any given
startRow/pageSize, you'll be save - so you need some caching there.
There are many generated:
input type=hidden name=autoScroll /
that affects the page looks.
In html, there is a line break around them. So there is an additional space
on page.
How to prevent this from happening?
Thanks
Dave
-
Food fight?
Hi all,
I am using myfaces 1.1.5 . We are showing java script
confirmation dialog box .
But We need to show the confirmation message in multilingual format.
Is there any way to read the property file so that we can show the message
in multilingual?
Or is there any other
53 matches
Mail list logo