Me and two other guys at work are doing this as well. We
started w/ a Converter per Class, but I've recently built one
that dynamically looks up the identifer value from ORM meta
data.
Original message
>Date: Fri, 2 Sep 2005 23:19:00 -0400
>From: Mike Kienenberger <[EMAIL PROTECTED]>
On 9/2/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
I went to the link you gave, but I got a "page not found" error. Isthat link still valid?
Hmm ... the following link works just fine for me:
http://struts.apache.org/shale/
Even if that doesn't work, nightly builds are available a
Really? because that's precisely how I'm using it -- populating
pulldowns. My object is my value and my key/label is whatever
object.getName() returns.
On 9/2/05, Werner Punz <[EMAIL PROTECTED]> wrote:
> Mike Kienenberger wrote:
> > I find custom converters registered by class to be ideal for th
Mike Kienenberger wrote:
I find custom converters registered by class to be ideal for this purpose.
It converts data between business object format and String (required
on the presentation side).
Not really totally feasable if you use a drop down box or another
control which needs a key,value p
I went to the link you gave, but I got a "page not found" error. Is
that link still valid?
And, I know I'm missing something here, but don't most people initialize
their backing beans just by using lazy fetches on their getters? Either
that, of course, or having some action initialize them?
I'l
Btw... thanks, I am glad that people actually are reading
this small article...
I definitely would love to get more feedback on what is wrong
so that the article can become better over time
(feel free to edit yourself as well)
Werner
Clément Maignien wrote:
True true ... I'm only asking quest
OK, I installed TortoiseSVN, and I was able to get all the files in
https://svn.apache.org/repos/asf/myfaces/current.
I'm using IBM's RSA IDE, which is built on Eclipse and which has its own
test server, etc. So I went to the WIKI to see if there was any
information on connecting my IDE directly
I agree a SelectItems mapper does not belong into the DAO,
if you want total abstraction, which a dao should give...
(I will correct that in the article tomorrow)
having a selectitemdao is a bad approach for total abstraction...
Werner
Martin Marinschek wrote:
Right - managedBeans as form
Hi folks,
I have a JSF webapp that works just great. I wanted to add sorting
support to my dataTables and came across MyFaces and specifically
Tomahawk. After following the steps given in the Wiki (
http://wiki.apache.org/myfaces/How_to_add_MyFaces_support_to_a_Sun_JSF_RI_application
), I
Martin Marinschek wrote:
And now they are trying to obfuscate with XML!
I'm curious as to what this will lead...
;-)
Dennis Byrne wrote:
with saveState, you can store whatever you can reach with a
value-binding - it is then serialized to the client side or
server
side session and reread/reloaded upon posting back the value
to the
server.
... but only , as Martin probably knows, if saveState is a
pl
=?ISO-8859-15?Q?Carsten_Höhne?= wrote:
Hello,
I notice that jsf make a huge use of javascript.
In Italy we have an odd law on making PA web sites and services
accessible by disable people.. and javascript is almost banished...
The same is true for germany. (german: barrierefrei)
But why is
Hey everyone. I don't mean to let the cat out of the bag,
but I think someone named Kris who works at Mediamine is out
of the office.
Can we do something about this? He'll be gone for 2 more
weeks. That means the "Out of office" thread is going to be
even longer than that one about Spring
Title: Message
From
what I understand, an Invalid bit mask error usually is because your isLeaf()
method is incorrectly saying that your node is a leaf node, even if it has
children.
-
Brendan
-Original Message-From: Vo, Ky
[mailto:[EMAIL PROTECTED] Sent: Friday, September
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
I'm currently out of the office (until 19 September).
Please forward questions to [EMAIL PROTECTED]
Kind regards,
Kris.
Title: Tree2 Invalid bit mask
I was wondering what an "Invalid bit mask of 6" error in Tree2 meant. I tried out the Simple examples for Tree2 server side (build 8/31). You get this error when you click on a node with no children. I guess this is what bitmask 6 means. What's the difference
maybe to the project EPOI (Even Poorer ...)?
Alexander
-Original Message-
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 11:23 PM
To: MyFaces Discussion
Subject: Re: RE : export dataTable in excel
And now they are trying to obfuscate with XML!
I'm cu
And now they are trying to obfuscate with XML!
I'm curious as to what this will lead...
regards,
Martin
On 9/2/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote:
> -Original Message-
> POI is an Apache open-source project to manipulate Excel sheets from
> Microsoft ;-)
> -/Ori
-Original Message-
POI is an Apache open-source project to manipulate Excel sheets from
Microsoft ;-)
-/Original Message-
not exactly...
POI stands for Poor Obfuscation Implementation and is what the
developers think of MShits attempt to hide the content of their office
programs
-Original Message-
hi I read a old post about how export dataTable data in excel format
http://www.mail-archive.com/users@myfaces.apache.org/msg03873.html
It seems there is no solution except building a custom POI servlet
with sepcific code (read duplicated code! ) for each datatable(my
a
I got another runtime exception: MethodNotFound.
Looking for the updateDeparturePersonnel(); method in
the DepartureManagementBean.java.
I have checked the spelling of that method in the
class. I cannot see the error.
Problems pop up one after another. I have had a tough
week.
--- Kevin Gal
I believe that the only reason the example needs to access the session
is to simulate database access. Ordinarily, one wouldn't have to. The
only thing you'd really have to do is get the passed parameter value
from the component.
- Brendan
-Original Message-
From: Rick Reumann [mailto:[
Interesting, notice how the approach in the tutorial uses commandLink
with the parameters being passed in the link. It makes a lot of sense
to me to do it this way, but it seems that JSF doesn't really
encourage the applications to be designed this way. Notice how you
have to do this kind of stuff.
Thanks! I look foward to checking this out.
On 9/2/05, hicham abassi <[EMAIL PROTECTED]> wrote:
> There is what i need :
>
> http://www.laliluna.de/first-java-server-faces-tutorial.html
>
> For others who need to begin with crud app ;)
>
> 2005/9/2, hicham abassi <[EMAIL PROTECTED]>:
> > Hello,
There is what i need :
http://www.laliluna.de/first-java-server-faces-tutorial.html
For others who need to begin with crud app ;)
2005/9/2, hicham abassi <[EMAIL PROTECTED]>:
> Hello,
>
> I have problems to design a little crud into jsf.
> I don't know how to pass from listPage to editPage.
> C
I replied on java ranch. Basically, you're returning a List but should
be returning a String.
Check out the java ranch post for details.
Caroline Jen wrote:
I ran into a runtime ClassCastException to retrieve
data from a after clicking on the
button of that web page.
Here is that web page x
I ran into a runtime ClassCastException to retrieve
data from a after clicking on the
button of that web page.
Here is that web page xxx.jsp:
..
..
The "personnel" is the List that builds the xxx.jsp
and it is also the List I try to access after the
button in the xxx.jsp is clicked. H
Martin Marinschek wrote:
well, why don't we do it ourselves? Let's ask Craig, Adam and Manfred
what they think of this - I am including their addresses here...
As I wrote in some post earlier, I already found a solution to save
beans over the redirect if they are marked with an interface.
It s
log4j is on my classpath, but after further investigation, it seems my log4j
takes another log4j.properties and not mine.
Your solution work on my colleagues systems, so I guess it's a problem in my
config, not MyFaces.
Anyway, thanks for responding.
Gérard COLLIN
On Friday 02 Septembe
Is the log4j binary in the classpath? BTW, now we're talking
about something that has nothing to do w/ JSF .
Original message
>Date: Fri, 2 Sep 2005 10:44:02 +0200
>From: Gérard COLLIN <[EMAIL PROTECTED]>
>Subject: Re: How to get log ?
>To: "MyFaces Discussion"
>
>Thanks for the p
and not only the beans, but also the locale, messages and everything
else that is relevant to JSF should be saved over a redirect...
we should really find someone to suggest this to the expert group.
well, why don't we do it ourselves? Let's ask Craig, Adam and Manfred
what they think of this - I
CONNER, BRENDAN (SBCSI) wrote:
That's a good point about redirect; we don't do that. ;-)
Regarding the "browser back" button, I believe that that works OK if you
set "client-side" state saving, rather than "server-side." Have you
tried that? We have to do "client-side" state saving anyway, bec
Regarding back button. If JSF can keep it work easily, we keep it. But
I don't think we must do it. Like AJAX, I don't know how possible back
button works in AJAX. So for the new technology, something we need get
rid of, like back button, bookmark. If you work at middle of something,
what means go
That's a good point about redirect; we don't do that. ;-)
Regarding the "browser back" button, I believe that that works OK if you
set "client-side" state saving, rather than "server-side." Have you
tried that? We have to do "client-side" state saving anyway, because
otherwise JSF gets confused
http://jakarta.apache.org/poi/
On 9/2/05, Enrique Medina <[EMAIL PROTECTED]> wrote:
> POI is an Apache open-source project to manipulate Excel sheets from
> Microsoft ;-)
>
> 2005/9/2, Clément Maignien <[EMAIL PROTECTED] >:
> > Sorry but what is a POI ?
> >
> > Clément
> >
> > -Message d'or
Title: Message
Just
out of curiosity, do you need all that binding, and do you need to explicitly
use a DataModel (rather than a simpler List)? You normally don't need that
unless you're supporting in-line editing within the table. (You may be
doing that, but just not showing it in your sn
POI is an Apache open-source project to manipulate Excel sheets from Microsoft ;-)2005/9/2, Clément Maignien <[EMAIL PROTECTED]
>:Sorry but what is a POI ?Clément-Message d'origine-
De : Martin Marinschek [mailto:[EMAIL PROTECTED]]Envoyé : vendredi 2 septembre 2005 16:17À : MyFaces Discussi
Sorry but what is a POI ?
Clément
-Message d'origine-
De : Martin Marinschek [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 2 septembre 2005 16:17
À : MyFaces Discussion
Objet : Re: export dataTable in excel
You can try something like this: use an actionListener - and then:
public myList
You can try something like this: use an actionListener - and then:
public myListener(ActionEvent ev)
{
//Have the commandLink in the header or footer facet of the table (not
fully sure if this works though)
UIData dataTable = (UIData) ev.getComponent().getParent().getParent();
//call POI and ren
I find custom converters registered by class to be ideal for this purpose.
It converts data between business object format and String (required
on the presentation side).
On 9/2/05, Clément Maignien <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> Here is the situation :
> I have to display in JS
hi I read a old post about how export dataTable data in excel format
http://www.mail-archive.com/users@myfaces.apache.org/msg03873.html
It seems there is no solution except building a custom POI servlet
with sepcific code (read duplicated code! ) for each datatable(my
actual solution).
Isn0t any
Hello,
I have problems to design a little crud into jsf.
I don't know how to pass from listPage to editPage.
Can someone explain the best way to pass id from a datatable to
another page for editing, or give me url for a little crud.
Thanks.
Hello,
i want to use panelTabbedPane in my App. The first thing i realized
is:
The labelwith of a panelTab changes according to the content.
So i played with myfaces-example (from 29.8.2005) with three
browsers. (Opera 8.02, Firefox 1.06 and the IE6)
Result for tabbedPane example:
the width of t
Hello,
> I notice that jsf make a huge use of javascript.
>
> In Italy we have an odd law on making PA web sites and services
> accessible by disable people.. and javascript is almost banished...
The same is true for germany. (german: barrierefrei)
But why is only Javascript a problem?
Another
Meno male qualcun'altro collo stesso problema...
===
Well MyFaces is the only implementation allowing to banish
JS. With ONE exception: commandLinks in a form will not work.
Button will. So the only way is to device a css-style that make
::SammyRulez:: wrote:
I notice that jsf make a huge use of javascript.
In Italy we have an odd law on making PA web sites and services
accessible by disable people.. and javascript is almost banished...
there is any way to tell jsf to render without js...?
yes there is a setting in the web.x
I notice that jsf make a huge use of javascript.
In Italy we have an odd law on making PA web sites and services
accessible by disable people.. and javascript is almost banished...
there is any way to tell jsf to render without js...?
--
::SammyRulez::
http://sammyprojectz.blogspot.com
This works if you don't use subdirs for your jsps. Otherwise you have to copy
the skin data into EVERY subdir!!!
-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Werner Punz
Gesendet: Freitag, 2. September 2005 11:17
An: users@myfaces.apache.org
Betreff: Re: IE
Martin Marinschek wrote:
P.S.: This will _need_ to be fixed anytime soon, so that shouldn't
keep you from using jsCookMenu in development.
actually the workaround is easy... just dump the skin data into the
webapp dir so that it can be loaded from outside the jar...
then it works in the ie as
The easiest way is to do
We actually use an actionListener method for that. Here is a snippet of our code:
/**
* This method should be called to navigate to detail page
* for this [EMAIL PROTECTED] #getInstance()} in viewMode.
* This handler is made available to the JSP/JSF page in request sc
-Original Message-
i think navigation is ok... i fear that some how the param is not
passed to the managed bean
if I check it in my action method it is null
-/Original Message-
Well in the code you showed earlier there was no check for the
parameter.
-Original Message-
i think navigation is ok... i fear that some how the param is not
passed to the managed bean
if I check it in my action method it is null
2005/9/2, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]>:
> -Original Message-
> the command link do not follow the navigation rule... why?
> -/Or
-Original Message-
the command link do not follow the navigation rule... why?
-/Original Message-
seems all ok, so far.
- Have you configured MyFaces to allow Javascript?
- When your table is within a form (as it is) then the commandlink
needs Javascript to work. (Unfortunat
Thanks for the prompt reply.
I put a log4j.properties file in WEB-INF/classes (???) containing your data,
but nothing is logged.
I think we must tell myfaces or log4j to use this file ?
Gérard COLLIN
On Friday 02 September 2005 09:59, Dennis Byrne wrote:
> What happens if you put a file li
Joshua Davis wrote:
RE: the m:n problem, I imagine the design of the
backing beans and DAOs (and transfer objects, in my
case ;) ) would depend on the UI. When you say m:n,
you mean many-to-many, right? What would be a good
example UI design for managing a m:n relationship?
Well the best o
P.S.: This will _need_ to be fixed anytime soon, so that shouldn't
keep you from using jsCookMenu in development.
regards,
Martin
On 9/2/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> This is a known bug.
>
> care to vote on the issue?
>
> care to supply a patch ;) ?
>
> regards,
>
> Mar
This is a known bug.
care to vote on the issue?
care to supply a patch ;) ?
regards,
Martin
On 9/2/05, Carsten Höhne <[EMAIL PROTECTED]> wrote:
> Hello,
> when i use the JSCookmenu in my Webapp, a strange behaviour
> occurs on the my system.
> Suppose ther is a webapp up and running under To
Right - managedBeans as forms or actions.
I wouldn't code it in DAO or Service Objects.
Thing is - SelectItems introduces a dependency on the JSF library, so
if you want to change your GUI layer, you shouldn't introduce this. In
fact, a concept like SelectItems would belong into the Java core,
so
Hello,
when i use the JSCookmenu in my Webapp, a strange behaviour
occurs on the my system.
Suppose ther is a webapp up and running under Tomcat 5.5
When i connect with Opera 8.02 or Firefox 1.0.6 all seems to be OK.
The Menu with all the menuentrys is displayed.
But using IE 6 all menuitems ha
True true ... I'm only asking questions to get some advices.
So according to you It could be done in ManagedBeans or ActionBeans ?
Do you agree when I say it could not be done in DAO and Service objects ?
Thx
Clément
-Message d'origine-
De : Martin Marinschek [mailto:[EMAIL PROTECTED]
En
You can also set a log4j.xml-file into WEB-INF/classes like this
http://jakarta.apache.org/log4j/";>
Fredag 02 september 2005 09:59 skrev Dennis Byrne:
> What happens if you put a fi
What was your solution as I'm getting the same error with MyFaces 1.09 and
Weblogic 8.1?
-Ursprüngliche Nachricht-
Von: David Geary [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 27. August 2005 01:54
An: MyFaces Discussion
Betreff: Re: WebXml.init must be called before!
Nevermind, I figu
Hold on - classic MVC allows UI Data to access the model...
why should that be disallowed?
regards,
Martin
On 9/2/05, Clément Maignien <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> Here is the situation :
> I have to display in JSF components data (what ever it is) that come from a
> databa
Title: Message
Hi
everyone,
Here is the
situation :
I have to display in
JSF components data (what ever it is) that come from a database (what
ever it is).
Which class is
supposed to format data so it can be displayed in JSF component ? For example
in some SelectItem objects.
Accordin
sorry guys but I can't figure out how to pass the commandlink to
identify the right object to the action in the next action in
nevigation..
i save my jsp with dataTable
username
What happens if you put a file like this in the classpath
called log4j.properties ?
log4j.rootCategory=DEBUG, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-5p %c - %m%n
You'll also need t
Hi,
I see in MyFaces code lots of log.debug (...) and as I face a very strange
problem, I'm trying to get them displayed.
I can't find anywhere in the doc how to get them.
Can someone please help me ?
Gérard COLLIN
>with saveState, you can store whatever you can reach with a
>value-binding - it is then serialized to the client side or
server
>side session and reread/reloaded upon posting back the value
to the
>server.
... but only , as Martin probably knows, if saveState is a
player in the next response.
in inputHidden, you can store a value - like a string, a number or
anything you can apply a converter to. It's very close to an
outputText in this relation.
with saveState, you can store whatever you can reach with a
value-binding - it is then serialized to the client side or server
side session a
Now Werner Punz has devised something like a server side saveState-
thingy in the JSF-COMP project on sourceforge.
Maybe you guys would be interested in checking that out?
regards,
Martin
On 9/2/05, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> CONNER, BRENDAN (SBCSI) wrote:
> >
> The bad thin
79 matches
Mail list logo