Re: [Spacewalk-devel] dojo - javascript framework

2011-06-20 Thread Shannon Hughes

On 06/20/2011 12:31 PM, Miroslav Suchý wrote:

On 06/20/2011 05:40 PM, Shannon Hughes wrote:

did you get a chance to look at jquery 1.5.x? the ones being tested in
that 2nd link are old.

No.
But from quick glance it has two cons:
- less features (e.g. I really miss ComboBox and Charting)
jquery is setup to be modular with plugins so you can keep your install 
very customized. jquery autocomplete plugin could be your combobox.



- it is not in Fedora :)
don't see the downside of jquery not being in Fedora. This is javascript 
you have to set in your public web area anyway.



But I'm open minded. Do you use jquery? Does it have some advances over
Dojo?
We are using jquery in katello. I will be honest and admit I was never 
really a javascript fan until I learned jquery. Jquery allowed me to 
focus on developing pages vs fighting cross brower support issues and 
keeps the code minimal and syntax is easy to pick up.



___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] dojo - javascript framework

2011-06-20 Thread Miroslav Suchý
On 06/20/2011 05:40 PM, Shannon Hughes wrote:
> did you get a chance to look at jquery 1.5.x? the ones being tested in
> that 2nd link are old.

No.
But from quick glance it has two cons:
- less features (e.g. I really miss ComboBox and Charting)
- it is not in Fedora :)

But I'm open minded. Do you use jquery? Does it have some advances over
Dojo?

-- 
Miroslav Suchy
Red Hat Satellite Engineering

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] dojo - javascript framework

2011-06-20 Thread Shannon Hughes

On 06/20/2011 11:33 AM, Miroslav Suchý wrote:

I know that we thought about using javascripts tabs in webui... Well if
somebody want to work on that, I announce you that dojo [1] framework is
now part of Fedora and EPEL (I done the review).
I encourage you to use it. It has two plus:
a) it is the only one js toolkit in Fedora
b) it is the fastest one from all existing toolkits [2] (ehm, sometimes
second fastest).

[1] http://dojotoolkit.org/
[2] http://dante.dojotoolkit.org/taskspeed/#

did you get a chance to look at jquery 1.5.x? the ones being tested in 
that 2nd link are old.


___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] dojo - javascript framework

2011-06-20 Thread Miroslav Suchý
I know that we thought about using javascripts tabs in webui... Well if
somebody want to work on that, I announce you that dojo [1] framework is
now part of Fedora and EPEL (I done the review).
I encourage you to use it. It has two plus:
a) it is the only one js toolkit in Fedora
b) it is the fastest one from all existing toolkits [2] (ehm, sometimes
second fastest).

[1] http://dojotoolkit.org/
[2] http://dante.dojotoolkit.org/taskspeed/#

-- 
Miroslav Suchy
Red Hat Satellite Engineering

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] using XML RPC to create a virtual machine fails

2011-06-20 Thread Tomas Lestach
Hello Uwe,

> ...
> so I digged a bit and it fails in CobblerVirtualSystemCommand.java
> at:
> 
> setupVirtAttributes(details.getMemMb().intValue(),
> details.getDiskGb().intValue(),
> details.getVcpus().intValue(),
> details.getDiskPath());
> 
> the details.getDiskPath() returns NULL and that raises an exception.

Yes, you're right, this is the cause of the problem.

> I don't understand the code perfectly so I'm not sure if that's a bug
> or a
> problem on my side that  details.getDiskPath() returns nothing.
> 
> I added this patch to the code which sets the diskPath in the details
> object
> and that solves the problem and the job for creating a virtual
> machine is
> scheduled.

Your patch may work, but I prefer to set the disk path earlier than in the 
CobblerSystemCreateCommand.
I set it already in the SystemHandler.

I've fixed the issue in spacewalk withing the following BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=648483#c7

Thank you.

Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel