Hi,
Thanks for your responses! Adding the preserveDataModel=true did
solve the commandLink problem inside the dataTable and I did not have
to go the session bean route. I
I am still having problems with the _javascript_ to trap the enter
key to submit the form using when a h:commandLink is clic
I have a simple with a single with value="{#bean.property}" and a
form.
It works great, setting the value of {#bean.property}to whatever text I
enter on submit of the form.
However, if I change ONLY the form encoding type to be
"multipart/form-data", the bean.property never gets set.
What g
I added an tag and there are none - I haven't plugged in
any validation yet anyway.
I redid a clean example (ie. vanilla myfaces/tomahawk) to be sure I
wasn't wasting your time. ;-)
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:f="http:
I do not know the version I downloaded all jars about 1-1.5 month ago maybe I shoud mention that I use tiles also.
the code for htmlInput is
-
<%-- commandLink does not work here --%>
id="page_editor"
value="#{pgEditor.text}"
allow
What version of JSF are you using?
What does your page code look like?
On 4/11/06, Jan Zach <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> Whenever I use a commandLink in the same form along with the inputHtml
> component, the commandLink does not work but commandButton does.
> I'm not able to
On 4/11/06, marqpdx <[EMAIL PROTECTED]> wrote:
> We have an issue trying to use Ajax with Tiles and MyFaces.
>
> Imagine:
>
>
>
>
> Inside the body, there is an element id'd "selectTable" - a lot of Ajax
> depends on that ID being unchanged. But, tiles changes it to
> content:sele
We have an issue trying to use Ajax with Tiles and MyFaces.
Imagine:
Inside the body, there is an element id'd "selectTable" - a lot of Ajax
depends on that ID being unchanged. But, tiles changes it to
content:selectTable
That messes up a lot of stuff.
Any way around that??
Hi everybody!
Whenever I use a commandLink in the same form along with the inputHtml
component, the commandLink does not work but commandButton does.
I'm not able to figure out the difference from the generated html mess...
Does anybody else encounter this?
A similar poblem found when a dialog w
Title: IllegalStateException when rapidly clicking tree2 component in Jetspeed portlet
We are using tree2 inside a Jetspeed portlet using the JSR-168 bridge. If we rapidly click on the commandLink in the tree2, we sometimes get the following exception in the console:
java.lang.IllegalStateEx
On 4/11/06, Rafael Nami <[EMAIL PROTECTED]> wrote:
> when I submit a empty
> inputText, the value passed to the backing bean is the "" value, and this is
> directly impacting in my backend, because I'm using Hibernate Criteria API
> for the search method. Is this "conversion" the right behavior? If
Well, good evening everyone (here in Brazil is 18:30).I'm developing a web application using the Spring/Hibernate/JSF-MyFaces combo, and so far is being a silver bullet to me.Well, I have several search forms in my webapp, but when I submit a empty inputText, the value passed to the backing bean is
Hi All,I am using the tree2 component using client side toggle, with the prototype ajax library. Basically, nodes in the tree have editiable properties which are displayed in a separate ajax loaded div when a node is clicked in the tree2 structure. Items can be added & deleted to the underlying mod
Hi
I think your description sounds like a nice
component...
Templates ... or ... extending?
I don't know of any template... I usually look at existing
components and how they are done.
Extending...
Check out the code for the datascroller... something tells
me it could work...
and when t
-Original Message- From: Michael Heinen
> Now I'm really curious about your version and added it to my project.
> But I get the following error (see below) on a really simple page.
>
> Do you have any ideas?
> I am using MyFaces 1.1.1.
I'm also use MyFaces 1.1.1 with Tomcat 5.0.25.
I don'
My biggest issues were with a tree not being rendered, then having it rendered on a subsequent post. The problems were as follows:The 2 JS files were not includedfix: manually call the tomahawk API to add the two resources manually:
AddResource.addJavaScriptToHeader(HtmlTreeRenderer.class,
Hi Greg,
Many thanks for sharing your code.
I was also working on something similar but I did not get a working
solution with valueBindings and datatables.
Now I'm really curious about your version and added it to my project.
But I get the following error (see below) on a really simple page.
Do
Jan,
This feature does not exist in any JSF implementation. Cool idea though.
Dennis Byrne
>-Original Message-
>From: Jan [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 08:57 AM
>To: ''MyFaces Discussion''
>Subject: list
>
>Hi there,
>
>can someone tell me if there is a possi
Hi,
I´m creating a view handler that renders the viewroot and it´s childs
(by encode method) whithout interleave with other tecnologies (like
jsp tags). But I am having some problems with the datascroller
component. This component doesn´t have all attributes saved in
savestate and restorestate met
hello all,
Is it possible to apply a dataScroller on a newspaperTable?
I tried this with newspaperColumns="2" but got only one column.
Marcus
rows="#{articleHandler.numberRowsPerPage}"
value="#{articleHandler.currentRowSet.wrappedData}" var="article">
Volker Weber wrote:
Hi Nazar,
i don't understand what you mean with 'click twice' on a link element.
I'll explain
Did you mean you have a page containing tabs, click on second tab header
to switch to second tab (which switchype?).
Correct. serverside="true"
there are a link element on
th
On 4/11/06, Lindholm, Greg <[EMAIL PROTECTED]> wrote:
> > String converters aren't allowed in JSF 1.1, but they are in 1.2.
> > Otherwise a converter would be a good choice.
>
> Not sure what you meant by "String converters aren't allowed" I saw
> several examples in books so I wrote one and it wor
Hi Nazar,
i don't understand what you mean with 'click twice' on a link element.
Did you mean you have a page containing tabs, click on second tab header
to switch to second tab (which switchype?). there are a link element on
this second tab, clicking this link should submit the page and execute
On 4/11/06, JSFSter Smith <[EMAIL PROTECTED]> wrote:
> 1. This
> seems to be an issue faced by many users and the suggested work around is to
> make the backing bean that contains the table data a session bean (currently
> mine is a request). Is this a bug with the spec or am I missing something ?
Hi all,
I need to manage t:link component text decoration. I have sheet
component with items t:link. First column displays t:link elements with
underlined font, but the rest of columns should be links without
underlining. Since it is not possible to apply font styles to t:link
directly I prop
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 06, 2006 2:03 PM
> String converters aren't allowed in JSF 1.1, but they are in 1.2.
> Otherwise a converter would be a good choice.
Not sure what you meant by "String converters aren't allowed"
On 4/11/06, Murray Brandon <[EMAIL PROTECTED]> wrote:
> In fact, when I have a multipart form, none of the setters get called on
> my beans, even for fields
> (with or without an upload control on the form). If I remove the
> multipart flag, my setters get called, but of course you need a
> multi
One thing you can do is use "*". Not sure if this works in your situation.
I remember someone posting that you could put EL expressions in the
navigation rules, but I can't remember if this was a customization of
the NavigationHandler.
On 4/11/06, Jan <[EMAIL PROTECTED]> wrote:
> Hi there,
>
>
On 4/11/06, Santiago Vacas <[EMAIL PROTECTED]> wrote:
> I've found the problem. I'm using WebSphere 6 that comes with his own
> JSF implementation so I had to remove jsf-api.jar and ws-jsf.jar from
> the base installation to fix the issue. The funny thing is that
> everything worked fine before usi
I have it working with MyFaces 1.1.1 but had to do some work arounds
(some messy). What does your XHTML (or JSP) looking like with the
aa:zoneJSF and t:tree2 nodes? Let me know that and I'll see if I can
help you out.
I should point out that I am overloading the tree2 component with some
tabl
I've found the problem. I'm using WebSphere 6 that comes with his own
JSF implementation so I had to remove jsf-api.jar and ws-jsf.jar from
the base installation to fix the issue. The funny thing is that
everything worked fine before using tiles.
Is there any way to avoid removing those jars and ha
Hi all,
There is an issue with t:tab component. If I click twice any t:link
element on second or third tab tobago will render first ( default ) tab.
Why is that happening?
Nazar
Hi there,
can someone tell me if there is a possibility to declare more than one
definition in faces-config.xml?
This is what I have for now:
#{LoginBackingBean.checkLogin}
a
/project.jsp
B
Hi,
Is it possible to set first day of week of calendar component to Monday ?
Default is Sunday!
Thank you!
Bogdan Sava
ooppsOn 4/11/06, maixu <[EMAIL PROTECTED]> wrote:
Coño contestame algo, que voy a pensar que me odias.On 4/11/06,
Murat Hazer <[EMAIL PROTECTED]> wrote:
Hi, Problem disappered when a built the source on a Linux machine, problem is something with windows i think :).
regards...On 4/10/06, Murat Haze
Coño contestame algo, que voy a pensar que me odias.On 4/11/06, Murat Hazer <[EMAIL PROTECTED]> wrote:
Hi, Problem disappered when a built the source on a Linux machine, problem is something with windows i think :).
regards...On 4/10/06, Murat Hazer
<[EMAIL PROTECTED]> wrote:
Hi,I don't think thi
Hi all,
I have a problem with tree2.
One of the trees on my page can be empty without any
nodes. In this case I don't want to render it.
But even when I set the rendered attribute to false
(hardcoded below) I got a NullPointerException.
Why do I get this exception when rendered is
Hi Kasper,
It's a slight oddity in the way I resolve my beans (ui. uses my own
resolver to find the bean value) which should be ok.
I replaced my resolver class name with MyBean to try and simplify the
example.
doUpload( ) *does* get called.
The setFile( ) or getFile( ) don't get called, nor
Hi Rajiv,
1: The model must the same on render and restore phase, afaik you can
force this by using preserveDataModel="true" on t:datatable.
Or you can use the t:saveState tag see:
http://myfaces.apache.org/tomahawk/uiSaveState.html
3: the html ids are created by prefixing component
Hi,
I think you got a mismatch between your JSF code and Java
class:
value="#{ui.someUser.file}"MyBean
Fra: Murray Brandon [mailto:[EMAIL PROTECTED]
Sendt: 11. april 2006 07:09Til: MyFaces
DiscussionEmne: File upload problem - setFile( ) never called, please
help!
Hi all,I'm having a probl
Hi, Problem disappered when a built the source on a Linux machine, problem is something with windows i think :).regards...On 4/10/06, Murat Hazer
<[EMAIL PROTECTED]> wrote:
Hi,I don't think this (http://issues.apache.org/jira/browse/TOMAHAWK-242) is the same issue as mine. On my situation tld file
Hi
1.
tag does
not work inside a
tag The value
(collection) for the dataTable has to be avaialble in the Restore View Phase
too. You can achieve that by using Session Bean or SaveSate. Look @
t:saveSate
There are a lot od posts on
this issue.
3. To
use your owbn ids
Hi
Are there any best practices for using Managed
Beans?
We plan to use our own custom-built JSF components.
Need to understand how to design backing beans for performance/effort
optimization.For example :
1. How to make managed beans thread-safe for
concurrent requests, without compro
Hi,
I have just started using MyFaces for a new project and had a couple of
questions while I am on the learning curve. Any help/response is
greatly appreciated. Its been a pleasure to actually create
JSP pages with no java code using JSF in them and I hope to keep them
that way!
1. tag does
43 matches
Mail list logo