Re: Progress Bar in Myfaces

2005-12-11 Thread Stand Trooper
Sorry this has taken a few days for my answer.  After looking at what
I did and talking with andreas, the reason I was able to get my
version to work was simply... I didn't use the jsf component tag for
the progressBar example.

If you want to checkout what I did you can get the zip from
http://gerbildrop.com/jsfsts/progressBar.zip


thx,

timo

On 12/7/05, Dave Brondsema [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 
  Hi all!
 
  Has anybody experiences with Progress Bars and myfaces? I have found the
  Sun Blueprint Progress Bar with googling but I have also read, that it
  doesn't work with myfaces.
 
  Has anyone experieces with it, or are there other components that
  delivers a progress bar functionality?
 
  Regards
  Andy
 
 

 You can also try out the progress bar component at
 http://software.topcoder.com/catalog/c_showroom.jsp?cat=15257626

 I haven't tried any of those yet.

 --
 Dave Brondsema
 Software Developer
 Cornerstone University


RE: Progress Bar in Myfaces

2005-12-07 Thread Thomas A Hurley
Hi,

Did you get this to work? I would like to know how you did it. Where did you
find the 'progressbar.jar' file? I searched the
'https://bpcatalog.dev.java.net/' site and could not find it. 

Thanks,

Tom.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 11:54 AM
To: users@myfaces.apache.org
Subject: AW: Progress Bar in Myfaces

Yes, that's what I mean.

Did you implement it within an Myfaces Application? I just get no error
stack, but nothing is displayed...

Here is my code which i used:

(in my jsf page:)


h:form id=content
table class=haupttabelle cellspacing=0
tr
td class=menu1 colspan=2
width=100%!--Header Fragment mit Titelleiste --
[EMAIL PROTECTED]
file=fragments/header.jspf%/td
/tr
tr
td class=menu2
d:progressBar id=progressBar 
   value=#{process.percentage} 
   interval=#{process.pollInterval} 
   action=complete /
/td
/tr
/table
/h:form



and this is the bean (which i just copied)


import java.util.Random;

public class ProcessBean
{

private int percentage;
private int increment;
private Random random;
private int pollInterval;

public ProcessBean()
{
percentage = 0;
increment = 10;
random = new Random();
pollInterval = 250;
}

public int getPercentage()
{
if(100  percentage)
percentage = 0 - increment;
return percentage += increment;
}

public int getRandomPercentage()
{
return random.nextInt(101);
}

public int getPollInterval()
{
return pollInterval;
}

public void setPollInterval(int i)
{
pollInterval = i;
}
}

And I have added the progressbar.jar to my LIB Folder

Have I done anything wrong?

Regards
Andy


-Ursprüngliche Nachricht-
Von: Stand Trooper [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. Dezember 2005 17:47
An: MyFaces Discussion
Betreff: Re: Progress Bar in Myfaces


sure, let me get it zipped up and I'll post the link here

Just to make sure, we are talking about the bpcatalog at
https://bpcatalog.dev.java.net/, yes?

thx,

timo

On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 I tried it, but it didn't work.

 Can you post your code?

 -Ursprüngliche Nachricht-
 Von: Stand Trooper [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 5. Dezember 2005 17:09
 An: MyFaces Discussion
 Betreff: Re: Progress Bar in Myfaces


 I was able to get the progress bar from the blueprints to work just
 fine.  I didn't have any issues at all

 On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 
 
 
  Hi all!
 
  Has anybody experiences with Progress Bars and myfaces? I have found the
Sun
  Blueprint Progress Bar with googling but I have also read, that it
doesn't
  work with myfaces.
 
  Has anyone experieces with it, or are there other components that
delivers a
  progress bar functionality?
 
  Regards
  Andy
  __
  This email and any files transmitted with it are confidential and
intended
  solely for the use of the individual or entity to whom they are
addressed.
  If you have received this email in error please notify your system
manager.
  This footnote also confirms that this email message has been swept for
the
  presence of computer viruses.


 __

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 your system manager.

 This footnote also confirms that this email message has been swept
 for the presence of computer viruses.


__

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.
 
This footnote also confirms that this email message has been swept
for the presence of computer viruses. 
__



Re: Progress Bar in Myfaces

2005-12-07 Thread Dave Brondsema
[EMAIL PROTECTED] wrote:
 
 Hi all!
 
 Has anybody experiences with Progress Bars and myfaces? I have found the
 Sun Blueprint Progress Bar with googling but I have also read, that it
 doesn't work with myfaces.
 
 Has anyone experieces with it, or are there other components that
 delivers a progress bar functionality?
 
 Regards
 Andy
 
 

You can also try out the progress bar component at
http://software.topcoder.com/catalog/c_showroom.jsp?cat=15257626

I haven't tried any of those yet.

-- 
Dave Brondsema
Software Developer
Cornerstone University


signature.asc
Description: OpenPGP digital signature


Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
Title: Progress Bar in Myfaces







Hi all!


Has anybody experiences with Progress Bars and myfaces? I have found the Sun Blueprint Progress Bar with googling but I have also read, that it doesn't work with myfaces. 

Has anyone experieces with it, or are there other components that delivers a progress bar functionality?


Regards

Andy



__

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
__



Re: Progress Bar in Myfaces

2005-12-05 Thread Stand Trooper
I was able to get the progress bar from the blueprints to work just
fine.  I didn't have any issues at all

On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 Hi all!

 Has anybody experiences with Progress Bars and myfaces? I have found the Sun
 Blueprint Progress Bar with googling but I have also read, that it doesn't
 work with myfaces.

 Has anyone experieces with it, or are there other components that delivers a
 progress bar functionality?

 Regards
 Andy
 __
 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify your system manager.
 This footnote also confirms that this email message has been swept for the
 presence of computer viruses.


AW: Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
I tried it, but it didn't work.

Can you post your code?

-Ursprüngliche Nachricht-
Von: Stand Trooper [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. Dezember 2005 17:09
An: MyFaces Discussion
Betreff: Re: Progress Bar in Myfaces


I was able to get the progress bar from the blueprints to work just
fine.  I didn't have any issues at all

On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 Hi all!

 Has anybody experiences with Progress Bars and myfaces? I have found the Sun
 Blueprint Progress Bar with googling but I have also read, that it doesn't
 work with myfaces.

 Has anyone experieces with it, or are there other components that delivers a
 progress bar functionality?

 Regards
 Andy
 __
 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify your system manager.
 This footnote also confirms that this email message has been swept for the
 presence of computer viruses.


__

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
__


Re: Progress Bar in Myfaces

2005-12-05 Thread Stand Trooper
sure, let me get it zipped up and I'll post the link here

Just to make sure, we are talking about the bpcatalog at
https://bpcatalog.dev.java.net/, yes?

thx,

timo

On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I tried it, but it didn't work.

 Can you post your code?

 -Ursprüngliche Nachricht-
 Von: Stand Trooper [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 5. Dezember 2005 17:09
 An: MyFaces Discussion
 Betreff: Re: Progress Bar in Myfaces


 I was able to get the progress bar from the blueprints to work just
 fine.  I didn't have any issues at all

 On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 
  Hi all!
 
  Has anybody experiences with Progress Bars and myfaces? I have found the Sun
  Blueprint Progress Bar with googling but I have also read, that it doesn't
  work with myfaces.
 
  Has anyone experieces with it, or are there other components that delivers a
  progress bar functionality?
 
  Regards
  Andy
  __
  This email and any files transmitted with it are confidential and intended
  solely for the use of the individual or entity to whom they are addressed.
  If you have received this email in error please notify your system manager.
  This footnote also confirms that this email message has been swept for the
  presence of computer viruses.


 __

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 your system manager.

 This footnote also confirms that this email message has been swept
 for the presence of computer viruses.


AW: Progress Bar in Myfaces

2005-12-05 Thread andreas.mitter
Yes, that's what I mean.

Did you implement it within an Myfaces Application? I just get no error stack, 
but nothing is displayed...

Here is my code which i used:

(in my jsf page:)


h:form id=content
table class=haupttabelle cellspacing=0
tr
td class=menu1 colspan=2 
width=100%!--Header Fragment mit Titelleiste --
[EMAIL PROTECTED] 
file=fragments/header.jspf%/td
/tr
tr
td class=menu2
d:progressBar id=progressBar 
   value=#{process.percentage} 
   interval=#{process.pollInterval} 
   action=complete /
/td
/tr
/table
/h:form



and this is the bean (which i just copied)


import java.util.Random;

public class ProcessBean
{

private int percentage;
private int increment;
private Random random;
private int pollInterval;

public ProcessBean()
{
percentage = 0;
increment = 10;
random = new Random();
pollInterval = 250;
}

public int getPercentage()
{
if(100  percentage)
percentage = 0 - increment;
return percentage += increment;
}

public int getRandomPercentage()
{
return random.nextInt(101);
}

public int getPollInterval()
{
return pollInterval;
}

public void setPollInterval(int i)
{
pollInterval = i;
}
}

And I have added the progressbar.jar to my LIB Folder

Have I done anything wrong?

Regards
Andy


-Ursprüngliche Nachricht-
Von: Stand Trooper [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. Dezember 2005 17:47
An: MyFaces Discussion
Betreff: Re: Progress Bar in Myfaces


sure, let me get it zipped up and I'll post the link here

Just to make sure, we are talking about the bpcatalog at
https://bpcatalog.dev.java.net/, yes?

thx,

timo

On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I tried it, but it didn't work.

 Can you post your code?

 -Ursprüngliche Nachricht-
 Von: Stand Trooper [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 5. Dezember 2005 17:09
 An: MyFaces Discussion
 Betreff: Re: Progress Bar in Myfaces


 I was able to get the progress bar from the blueprints to work just
 fine.  I didn't have any issues at all

 On 12/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 
  Hi all!
 
  Has anybody experiences with Progress Bars and myfaces? I have found the Sun
  Blueprint Progress Bar with googling but I have also read, that it doesn't
  work with myfaces.
 
  Has anyone experieces with it, or are there other components that delivers a
  progress bar functionality?
 
  Regards
  Andy
  __
  This email and any files transmitted with it are confidential and intended
  solely for the use of the individual or entity to whom they are addressed.
  If you have received this email in error please notify your system manager.
  This footnote also confirms that this email message has been swept for the
  presence of computer viruses.


 __

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 your system manager.

 This footnote also confirms that this email message has been swept
 for the presence of computer viruses.


__

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
__