I can't change to Seam anymore.
Didn't anyone face the same problem with MyFaces?
Andrew Robinson-5 wrote:
>
> If you want to use Seam they have the ability to wrap components with
> messages:
>
> http://docs.jboss.org/seam/1.2.1.GA/reference/en/html_single/#validation
>
> On 8/30/07, Peter
Hi,
I am trying to change the look and feel of a table using the
as header.
The styleguide says, that each column which is sortable must contain a
certain image so the user can see that the column is sortable. The current
sorted column must contain a corrresponding image which indicates whether
Hi.
You can try something like that (removed all EL's to test it locally):
Thanks!
It seems to be correct that client side validation is not working for me:
My form has some immediate components, so rightfully client side validation
does not kick in.
However the immediate components also just do not work as was intended.
If you (or somebody else) could comment on my ot
I have to implement lots of forms in the same style:
Wherever another entity is shown there is also a link that goes to another page
containing another form with the details of that entity. Did not look that
difficult when I first saw the sketches, but I have a hard time getting it to
work correct
Dear friends:
Has somebody succesfully configure Tomahawk JSF components to work under
Netbeans VWP 5.5.1?? Any help would be greatly appreciated.
Thanks in advance
Regards
Marco
The index of the element in the array is the rowKey. Trinidad wraps the
array into SortableModel.
--Venkata
On 8/30/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
>
> Hi, I used to manage tr:table through my own DataModel, which defines
> and returns rowKeys.
> However, for simpler cases usually
Hi, I used to manage tr:table through my own DataModel, which defines
and returns rowKeys.
However, for simpler cases usually just a row array is enough, where row
objects offer all field getters. Thus no special model is needed.
If I want to preselect some rows by means of the selectedRowKeys
a
Thanks for the hint, David
My problem was I was usign a request scoped bean to store the flag for
disable attribute. I used on the flag and it works.
Gargi
850-414-5852
David Delbecq
I agree as well. The components my team is working on now have a lot
more skinning hooks mainly because we don't want people to have to do
what you are doing.
- Jeanne
Simon Lessard wrote:
Yeah, I agree more component parts need their own
selector...
The following might work, but will cause
Hi all
Can any one tell how the back button detector work, cause the id in demo
point to org.apache.myfaces.tobago.validator.BackButtonDetection which not
exist
Thanks
--
View this message in context:
http://www.nabble.com/Tobago-Back-Button-detector-tf4356322.html#a12414134
Sent from the MyFac
thx for the file,
I'll check tomorrow (German time)
nice day!
-Matthias
On 8/30/07, Stephen Friedrich <[EMAIL PROTECTED]> wrote:
> Hello, and thanks again for looking into this.
> To be on the safe side I tried to reproduce the bug with a fresh and
> otherwise empty application.
> If you have
>
Hello, and thanks again for looking into this.
To be on the safe side I tried to reproduce the bug with a fresh and
otherwise empty application.
If you have
DISABLED
in trinidad-config.xml then the simplest example exhibits the bug.
No validation at all takes places in this case:
You have to be careful with cell-text having a default background color.
af|table::content tr:hover {
background-color: #color
}
Worked but only if I also used:
af|column::cell-text{-tr-inhibit: background-color}
chris
Simon Lessard wrote:
Yeah, I agree more component parts need their own se
Yeah, I agree more component parts need their own selector...
The following might work, but will cause some problem with nesting:
af|table::content tr:hover
{
background-color: yellow;
}
Regards,
~ Simon
On 8/30/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>
> I got it to work, but it is v
Yeah, I agree more component parts need their own selector...
The following might work, but will cause some problem with nesting:
af|table::content tr:hover
{
background-color: yellow;
}
Regards,
~ Simon
On 8/30/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>
> I got it to work, but it is v
I got it to work, but it is very ugly and a really bad hack:
CSS:
.hoverTable TBODY > TR > TD > TABLE > TBODY > TR > TD {
background-color: transparent;
}
.hoverTable TBODY > TR > TD > TABLE > TBODY > TR:hover {
background-color: yellow;
}
XHTML:
#{_cookie.name}
#{_cookie.va
Hi,
Your problem, i think is that you submit a value to the field and , in
same resquest, try to change the disabled attribute of field.
For a specific field's value to go from submit to backing bean, the
disabled attribute msut be false at all steps of lifecycle:
apply-request value (to st
html disabled attribute means don't send the input field value back to
the server when the form is submitted. If you want to be able to
change the field value, don't set the field disabled. (or at least
use javascript to un-disable it before you submit the form)
On 8/30/07, Gargi Iyer <[EMAIL PR
I noticed that while using disable or readonly attributes of
or , when the disable attribute changes from true to false and
then value of the input text field is changed, the change does not take
effect. When the disable attribute switches to true again, the old value is
redisplayed and not th
Ich werde ab 30.08.2007 nicht im Büro sein. Ich kehre zurück am
03.09.2007.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Hello Andrew, thank you for your tip.
I just tried your solution, but it doesn't appear to work.
The generated css has this
.af_table.p_AFContent > TR:hover {background-color:yellow}
However it is mentioned nowhere in the html, nor is it implicitly used and
applied to the table...
What could
Bernhard,
You might be right, I am indeed a bit reluctant to move to a snapshot except
when it only contains bug fixes and no big refactoring efforts or new
functionality. I take it from you reaction that I am in that case better off
with the 1.2.0 version ;)
Thanks a lot I will let you know if i
If you want to use Seam they have the ability to wrap components with messages:
http://docs.jboss.org/seam/1.2.1.GA/reference/en/html_single/#validation
On 8/30/07, Peter Steiner <[EMAIL PROTECTED]> wrote:
>
> I have a t:dataTable where users can input numbers (a worksheet like in
> excel).
> I w
Actually, I think it's still in the tomahawk-sandbox.jar right now,
since someone asked earlier today about promoting it to tomahawk
proper.
It has some minor dependencies on the shared utility classes, but if
tomahawk+sandbox is too much to add to your project, it shouldn't take
much to pull it o
I have a t:dataTable where users can input numbers (a worksheet like in
excel).
I wrote a custom converter in order to convert the Strings to a Number. If
the format is not the one I expect I would like to change the css-styleClass
of the cell(s) with wrong input so the user can see quickly in whi
http://myfaces.apache.org/download.html
I believe it is now bundled inside the Tomahawk jar
I don't see any references to any Tomahawk classes really, so it looks
like you can skip the whole Tomahawk configuration (like the
Extensions filter) if this is the only component you want to use. Just
de
Hello,
well as you've said previously that you don't want to move to
1.2.1-SNAPSHOT yet, you'd better use the 1.2.0 branch. That would be
http://svn.apache.org/repos/asf/myfaces/core/branches/1_2_0/. Apply the
patch, rebuild myfaces .. there you go! ;-)
regards,
Bernhard
Raphael Parree wrot
Thanks Andrew,
How do I go about getting my hands on that?
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: 30 August 2007 16:51
To: MyFaces Discussion
Subject: Re: [Trinidad] inputDate date restrictions
** This Message Originated From The Internet
This is just a guess, but I don't think you can have a f:view within
an f:view. You might try changing the f:view's in the included tiles
to f:subview.
(*Chris*)
On 8/30/07, Florian Reiser <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have an trinidad-jsf-file containing the following tags:
>
>
>
MyFaces sandbox has a validateCompareTo validator to do exactly that.
On 8/30/07, Darren McEntee <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Hi guys,
>
>
>
> Quick question… I have two tr:inputDate fields i.e.
>
>
>
> - Date From:
>
> - Date To:
>
>
>
> Both are as follows:
>
>
>
>
>
>
hi andrew,
> You could use a custom renderer, or use JavaScript to hide the
> checkbox and add on on click method to each of the labels that sets
> the checked flag
i think i'll try the custom renderer approach because i have controls inside
table-rows so your suggested label-approach seems impos
Hi guys,
Quick question... I have two tr:inputDate fields i.e.
- Date From:
- Date To:
Both are as follows:
The DateBean just restricts the max selectable value.
What I want to know is it possible to
Bernhard,
Gotcha...it has been a long day ;)
What do I need to check out of SVN...the trunk produces a 1.1.6
snapshotdo I need to checkout
http://svn.apache.org/repos/asf/myfaces/core/branches/1_2_1?
Tx.,
Raphael
-Original Message-
From: Bernhard Huemer [mailto:[EMAIL PROTECTED]
Hello,
Actually I've ment that Bruno is referring to that issue ("[...] I seem
to recall a bug in myfaces 1.2.0 that has been fixed recently [...]")
but never mind! ;-) I've attached the POM I've been using.
regards,
Bernhard
Raphael Parree wrote:
Bernhard,
Thanks for your reply...it seems
I have never used Spring, so can't help there
As for limitations with Seam, there aren't any specific ones. I am
just mentioning that in writing some more functionality, I had to get
deep into Seam's code. For example, I created my own include tag that
works with Trinidad that uses its own view ha
Well you could do:
where you could write format1, format2, etc. EL functions to do the work.
You could also do:
On 8/30/07, Paul Mander <[EMAIL PROTECTED]> wrote:
>
>
>
> Andrew Robinson-5 wrote:
> >
> > Well, that is not localizable
> >
> > I think the use case that he means is more
You could use a custom renderer, or use JavaScript to hide the
checkbox and add on on click method to each of the labels that sets
the checked flag
On 8/29/07, Christian Klocker <[EMAIL PROTECTED]> wrote:
> i'd like to hide the checkbox because selected state should be marked by
> drawing a borde
Bernhard,
Thanks for your reply...it seems that indeed I am referring to that issue. I
would like to test the same as you did. Which pom do you use to execute the
mvn commands below (IOW what do I check out of SVN)
Again Bernhard tx,
Raphael
-Original Message-
From: Bernhard Huemer
Hello,
Most probably you're referring to this issue:
https://issues.apache.org/jira/browse/MYFACES-1670, aren't you? I've
tested Raphael's JSP locally and it's really the same problem. "mvn
-Dmyfaces.version=1.2.0 jetty:run" reproduces the error whereas "mvn
-Dmyfaces.version=1.2.1-SNAPSHOT
Hello,
you could also use a custom ActionListener implementation if the method
expression being processed is sufficient (for example, "Processing the
action '#{actionBean.processAction}'."), as Andrew has already mentioned.
///
import javax.faces.component.ActionSource;
import javax.faces.eve
Hi Darren,
Try a clean, rebuild and redeploy. Also check if you don't have some
libraries twice in the classpath.
~ Simon
On 8/30/07, Darren McEntee <[EMAIL PROTECTED]> wrote:
>
> No we're on java version 1.5.0
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O
Hello Danny,
True, panelBox does not include the Layout suffix (a fact I somehow
forgotten / overlooked), so stripping the Layout suffix is fine with me. I
like the attribute shortcut for the legend as well.
~ Simon
On 8/30/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
>
> I knocked together th
Hi,
I am newbie to MyFaces and have a slight problem with the tree2 component.
In my JSP I have tree2 component with checkboxes (selectBooleanCheckbox).
It looks like this:
...
Now I want to disable dynamically a checkbox for a tree node.
I can do it in a static way - addin
Using worked, the problem was completely
unrelated to this, I was having a null pointer exception because I didn't
see a non closed bracket inside the jsp.
I'm doing this was because I have some central Cache system so I needed to
avoid storing more information that the needed because I'm worki
No we're on java version 1.5.0
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: 30 August 2007 15:18
To: MyFaces Discussion
Subject: Re: [Trinidad] web.xml & FacesContext
are you on java 1.4 ?
the "UnsupportedClassVersionError" m
According to my limited knowledge of (a4j, richfaces) and trinidad,
trinidad has everything that a4j & richfaces have and more than that.
Trinidad has a file upload componnet, a tree table which a4j & richfaces
don't.
However, the existing skins in richfaces are beautiful. I know that
trinidad ski
I would love to do so. However, I have no idea how to configure a
new subproject in maven (or svn for that matter).
If someone puts together the infrastructure, I'll help move over the
validators, converters, and other components that fit the criteria.
On 8/30/07, Volker Weber <[EMAIL PROTECTED
are you on java 1.4 ?
the "UnsupportedClassVersionError" makes me thinking this...
On 8/30/07, Darren McEntee <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Thank for the reply Simon.
>
>
>
> I originally used:
>
> http://SERVER_NAME:port/APPNAME/PAGE.jsp
>
>
>
> I now use:
>
> http://SERVER_NAME:9191/APPN
Hi,
can we move this one and some others to the long discussed myfaces-jsf-commons
(or how it should be named) subproject?
If there is nothing tomahawk related in this validator i like to use
it without tomahawk.jar in the classpath.
Regards,
Volker
2007/8/30, Mike Kienenberger <[EMAIL PRO
Thank for the reply Simon.
I originally used:
http://SERVER_NAME:port/APPNAME/PAGE.jsp
I now use:
http://SERVER_NAME:9191/APPNAME/faces/PAGE.jsp
and get this instead of the FacesContext error :
org.apache.jasper.JasperException:
java.lang.UnsupportedClassVersionError: Bad version
... somebody replaced libs in our main repo with last 1.0.3 snapshot.
Didn't notice it in the first place.
False alarm.
Thanks for pointing out where to look :)
>
> Which version of Trinidad?
>
> On 8/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi!
> > I have some problem
Hi everybody,
I dropped the trinidad 1.2.1 demo war file in the webapps folder of
Tomcat 6, run tomcat so that it deployed that war file, stopped tomcat
to dropped jsf-impl-1.2_04-p02.jar, jsf-api-1.2_04-p02.jar and
jstl-1.2.jar in the trinidad-1.2.1-demo/WEB-INF/lib folder, started
tomcat again a
My understanding is that t:buffer immediately creates the bean target
of into during the render phase.
Are you asking to have the buffered value available on the next
request? It doesn't seem like there'd be much point in capturing the
value into the bean for this request.
If it's the next requ
It's certainly stable enough at this point.
However, I've never gotten around to localizing the messages or operator names.
There should probably be some unit tests as well.
It's probably not enough to hold it back from being promoted, though.
Perhaps you can start a vote on promotion on [EMAIL PR
I knocked together this component to see what it would look like and what
skin selectors would be required. Here's some tag examples and an attached
screenshot.
FWIW while Simon's name suggestion was better, I'm not fan of the 'Layout'
suffix, as it doesn't actually perform layout, and is therefo
Hello Ramesh,
Until the page gets submitted, property of the component cannot be
changed.
Let's say you have a scenario as follows.
You have a dropdown list and a text box. Based on the selection in the
dropdown list, you want to set a particular property of the text box. In
this case, you
Which version of Trinidad?
On 8/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi!
> I have some problem with client-side validation (CSV) of conditionally
> disabled field marked as required.
>
> Let's say that there is some inputText:
>
>
> Intially, bean.disabled is true, so inputText
Hi!
I have some problem with client-side validation (CSV) of conditionally disabled
field marked as required.
Let's say that there is some inputText:
Intially, bean.disabled is true, so inputText is disabled and if we try to
submit relative form no "value required" errors will issue.
However,
Hi Andrew,
I am using JSF+Hibernate+Spring. The Spring part becomes my concerning whether
to use Seam or not. However,
I have seen seem some replies of people using the same stack as mine
integrating with Seam, but I am not
sure if it has been deployed in production without big issues.
Thanks.
Hello Darren,
What URL did you use to access your page? That kind of error sometimes
happens when you use /faces/ mapping (which you use), but forget to add it
to the URL, thus accessing the JSP page directly, resulting in JSF tag
execution without prior FacesContext initialization (done by the
Fa
Is there a way to do so I can store the
content using some key inside a map?, the bean extends HashMap.
Thanks,
Johann
--
View this message in context:
http://www.nabble.com/%3Ct%3Abuffer-into%3D%22-%7Bbean-%27key%27-%22%3E---tf4354157.html#a12406821
Sent from the MyFaces - Users mailing list
Hi Guys,
I am deploying a Trinidad application to a sun app server, and after i
deploy the WAR i get this error:
javax.servlet.ServletException: Cannot find FacesContext
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont
extImpl.java:830)
org.apache.jasper.runtime.
Hello,
I've encountered the same problem recently and I've also figured out the
reason. It's because the method setProperties() is called twice. Usually
you wouldn't notice this behaviour as most properties just will be
overridden but that's not the case for a ValueChangeListener (or an
Actio
I have used the compareToValidator in a couple of applications and have
found it to be very useful. The only issue is that it is not in the main
tomahawk jar.
Are there plans to move compareToValidator to the Tomahawk jar?
Thanks
Martin
Hi,
In Trinidad,The InputText Value is not getting change Dynamically from
Backing Bean.
Initially the First value is settting after it not getting change.
But If i set Disable True for InputText then the value getting Change but
i need Disable false(Aditabel).
I'm Doing this in jsp:i
I mixed up those libs as well (but with Trinidad 1.0x), since
richfaces/a4j seems to offer a few extra components not found elsewhere.
But:
- multimedia does not render pdf. They say it isn't its job.
- suggestionBox does not work with Trinidad (it renders attribute
"class" twice, and Trinidad r
Last time I've tried to use a4j with trinidad there was problem with
tr:inputText and number validators and couldn't resolve this issue.
Thai Dang Vu wrote:
Hi everybody,
I'd like to ask if it is possible to use trinidad 1.2.1 with richfaces
3.1.0 (which includes ajax4jsf) and facelets.
This
Hi,
One specific functionality is to have sth. like
which however leads to a problem in a4j (java.io.NotSerializableException:
org.ajax4jsf.component.EventValueBinding)
However, if you use
it works. I have also recently started with Trinidad and wonder how to
achieve above functio
Hi Andrew,
The only thing you may notice with Seam is that it is very integrated
into the JSF lifecycle and if you start doing some advanced coding
with your application you may run into areas where you have to
consider how you may affect Seam's functionality.
Can you explain this in more deta
Hi,
When trying to trace down the problem I posted a few days ago
(http://www.nabble.com/Button-must-be-clicked-once-before-it-could-actually-do-something-tf4297733.html#a12234990)
I found some of the events are fired twice, where they are supposed to be
fired only once.
The screen contains a d
Hello,
I have an trinidad-jsf-file containing the following tags:
I want to split the layout section of the page from the actual content with the
help of tiles. I create the following tiles:
template.jsp:
Please provide the content of Sim.jsp
En l'instant précis du 29/08/07 22:41, Earnest Dyke s'exprimait en ces
termes:
> Greetings,
>
> I have a simple JSF implementation (see below for faces-config) that
> has to jsf pages. When I go to http://localhost:8080/Sim/Sim.jsf it
> forwards to Sim.jsp an
hi,
looks like the maximumSet fields are present in JSF 1.1 RI as well.
Let me check what really the issue is, here
Trinidad's validators do have some extra properties, like
messageDetailMaximum on the doublerangevalidator, so we override it.
We delegate the save/restore to the underlying FacesBe
Matthias Wessendorf wrote:
Well, why should Trinidad care about the minSet/maxSet. They are only
in the RI, as you say.
Not in MyFaces. Wouldn't that cause other issues ?
Well ok, I can try and raise the issue with the Sun folks.
However I think it's in the best interest of Trinidad to play nic
> Well, yeah, because these fields are not in the MyFaces implementation it
> works there, but breaks in RI.
> How can you argue that there's no need to save/restore the fields because
> they are non-standard?
> Is the "save format" specified by the standard? The RI does save/restore the
> field
Thanks for the answer, see my comments below.
Matthias Wessendorf wrote:
If I understand the problem correctly:
These methods
org.apache.myfaces.trinidad.validator.DoubleRangeValidator.saveState()/restoreState()
do not save the fields minimumSet/maximumSet of superclass
javax.faces.validat
77 matches
Mail list logo