Wednesday, June 30, 2010

Re: change displayed name of users object

On Jun 29, 7:43 pm, Jacob Fenwick <jacob.fenw...@gmail.com> wrote:
> Thanks for the link Derek.
>
> I don't think it quite does what I want.
>
> I guess I should have been more specific.
>
> I want to change how the Users object is displayed in the Django admin.
>
> This is a one line change in the Django code, but I would rather not change
> Django if I can avoid it.
>
> Is there a way to do something like subclassing the Django Users object and
> use that for authentication instead of the original Users object?
>
> Jacob
>
> On Tue, Jun 29, 2010 at 10:01 AM, derek <gamesb...@gmail.com> wrote:
> > On Jun 28, 7:54 pm, Jacob Fenwick <jacob.fenw...@gmail.com> wrote:
> > > Is there a simple way to change the displayed name of the users object in
> > > the auth package?
>
> > > I don't care about what it's called under the hood. I just want to change
> > > what the user sees.
>
> > > I'd like to avoid changing the code directly in the Django library as
> > that
> > > will make upgrades difficult.
>
> > > I came across this article but it's quite old and I'm hoping there's a
> > > better way:
>
> > >http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-m...
>
> > > Jacob
>
> > Have a look at:
>
> >http://bradmontgomery.blogspot.com/2010/04/pretty-options-for-djangos...
>

"This is a one line change in the Django code" - no, there is no
change to Django's code in this approach.

The "subclassing" approach is probably best done with a UserProfile;
there is lots written about that. For info related to your question,
you could start with my original question here:
http://groups.google.com/group/django-users/browse_thread/thread/d39e05a9b2d33e7b

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] Re: How to send a photo over Bluetooth

Hi,

Thank you, it seems that is exactly what I wanted. I have not tested
it but apparently it works. By the way, I saw there is not an specific
function defined by the FileInputStream class to know the number of
bytes of the picture; do you know how can I get this value. I mean, I
am using this code:

FileInputStream f;
byte[] message_byte_array = new byte[512];

Log.d(TAG, "Sending photo");

try {
f = new FileInputStream("/sdcard/DCIM/Camera/prueba.jpg");
int i = f.read(message_byte_array);

....

f.close();
}


Read returns the number of bytes read, but there is any way to know
this number before to create the byte[] array accordingly??


Once again thanks for your time, Gorka.


On 29 jun, 13:36, Naoto <naoto.kan...@gmail.com> wrote:
> Hi,
>
> I happened to have written something similar just recently.  How about
> just opening the file with FileInputStream and use read() to read out
> the byte[]?  On the receiver end, you just write() with
> FileOutputStream.  Or did you just want tosendthe pixel data from
> memory to memory?
>
> I hope this helps.
>
> On 6月29日, 午後5:55, Gorka <gork...@gmail.com> wrote:
>
> > I am sorry that I forgot to say that the photos are in JPEG format
>
> > On 29 jun, 09:26, Gorka <gork...@gmail.com> wrote:
>
> > > Hello,
>
> > > I am trying tosendaphotofrom my Android device to a laptop via
> > >Bluetooth. Right now I have a gallery on the screen where the photos
> > > are depicted. What I want to do is to click aphotoand directlysend
> > > it to the laptop. All theBluetoothstuff works fine but what I don´t
> > > know how to do is to get the byte[] that conforms the picture that
> > > should be sent. Maybe that is not the way is supposed to be done, so
> > > please it would help if someone gives me some suggestions about how to
> > > proceed. I just need some guidelines, later I will investigate how to
> > > code everything. Once theBluetoothmessages reach the laptop is there
> > > something to do to "rebuild" the picture??
>
> > > And secondly, by now I am copying the files to the drawable file of my
> > > project. Is it possible to directly get them from the folder where the
> > > picturea I take are stored??
>
> > > Thank you very much for your help. Gorka
>
>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Loading from a compiled xml file

Hi John,

Can copy here code to know how you are reading fron input stream.

Thanks in advance.

On Jul 1, 12:36 am, "RespeckKnuckles (John Licato)"
<respeckknuckl...@gmail.com> wrote:
> Hey guys,
>
> I have some xml files with a custom format (based on the scxml
> specifications) that I want my program to read. I've already written
> the code to read it, but I'm running into problems actually reading
> the file itself. I want the file to be compiled with the apk, as it
> will not be changed at all during run time. So I put the file
> (test.xml) in the res/xml/ folder, and got the inputstream by using:
>
> getResources().openRawResource(R.xml.test);
>
> but when I read in this inputstream it is complete jibberish, which
> makes me suspect it is being read in binary, as openRawResource() is
> often used for binary files like images, if I am correct. What is the
> correct way to do this?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[Rails] which one i choose .net or ror

which one i choose .net or ror

i'm kumar from chennai.now i'm working as a ruby on rails programmer
(3 months experience).
now i want to switch my domain to .net(because more no of people told
me that .net has more no of jobs in mnc 's and as a ror programmer u
can't get salary like .net )
pls help me....

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Re: Generate key events on foreground application

You can't, and you shouldn't. This would be a serious security hole.

What you can and should do, is let the user send the text to the
application of his choice.

For example, wrap an ACTION_SEND intent in a chooser, and run that
activity, and the user will be prompted with a choice of email, SMS,
and other options for sending the information along. This is quite
easy and works quite well. But you may be expecting to interface to an
application that doesn't support ACTION_SEND.

I'm not sure about the best way to get it into a notepad application.
ACTION_INSERT should get you a new note, if you use a suitable URI for
the application. Perhaps someone else has other suggestions.

On Jun 30, 11:56 am, biginner <androiddevelope...@gmail.com> wrote:
> I am new android developer. I am writing an application to receive
> data from barcode scanner.
> I am able to receive data from barcode scanner via bluetooth
> connection.
> If user open notepad or other application, I want to display the data
> to the application, so I want to generate key events on foreground
> application.
>
> I am trying to find a way but I can't find. Anyone please tell me how
> to do?
>
> Thanks!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Why Android is using alsa device in block mode?

Thank You Mark

Regards,
Nilly
On Jun 30, 3:09 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Jun 30, 2010 at 5:29 AM,Nilly<niral.patel....@gmail.com> wrote:
> > I am using android device ...ported android cup cake version on beagle
> > board...
> > Here also Android is opening device in block mode ...
>
> Ah, my apologies. You will probably have a better chance of getting
> answers to porting questions on the [android-porting] discussion
> group.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Path for images etc

Hi All

It's been a long time since I've written any CakePHP, and even longer
since Ive had to set up a server. I know there is an answer to this
somewhere but I cant for the life of me find it! Also I have
previously only used 1.1, and am now using the latest version

On my WAMP server Im using for development, ive "installed" cake in a
folder called "DSC"

localhost
DSC
app
cake
vendors
etc...

when I use my html helper in my default.ctp file to insert an image,
the image does not display

<?php echo $html->image('layout/dsc_01.png',array('border'=>'0',
'width'=>'17', 'height'=>'207')); ?>

the path that comes back is a relative path, and goes too far back

<img src="/DSC/img/layout/dsc_01.png" border="0" width="17"
height="207" alt="" />

the path shouldn't have the DSC, eg:

<img src="img/layout/dsc_01.png" border="0" width="17" height="207"
alt="" />

What file do I need to edit to get the relative paths working
correctly?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Slow OOPHM on Windows 7 64 bit

I've recently upgraded my OS to Win7 x64, and Dev Mode is impossibly
slow. The initial load used to take 10 seconds, and now it takes three
minutes to load OOPHM. My machine is a brand new MacBook Pro, if that
matters. I've tested with Chrome, Firefox, and IE8, and all display
the same long load time. I've tried eclipse 3.5 (Galileo) and 3.6
(Helios), and I've tried both x86 and x64 JDK and JVMs, but the same
behavior occurs. Any help would be greatly appreciated..

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Should I start to use Mako from beginning?

Thanks for your helpful feedback, both Bill and Euan. You just make up
my mind. I'll start building my site with entire original django now.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] Unlock KeyGuard

hi guys,

i'm having three different devices. Tattoo,Milestone and a Droid. what
my application does is when receiving a call i'm starting a activity.
which works fine in all three. but if the phone is locked in Motorola
Droid it's not unlocking the screen in other two phones it's working
fine.

this is how am doing it

in the activity

context = getApplicationContext();
ManageKeyGuard.disableKeyguard(context);

and in the manifest

<uses-permission
android:name="android.permission.DISABLE_KEYGUARD"></uses-permission>

any suggestions.??

regards,
Mike

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Attaching a listener to map draggin

Hey,
I'm creating a map to pull locations from my SQL database and display
them to a user searching locations. At the moment I've managed to get
most of it working, however have come across an issue:
I would like to attach an event listener to the map drag function (E.G
dragging the map location by holding in the left mouse button and
dragging), but can't find a way to reference it anywhere. What would
be the best way to do this?

The end result would be updating the search results dynamically
depending on the area onscreen. E.G you drag the map to sit over New
York City, and it shows all the results that would be in that section
of New York City.

The map can be accessed at www.nihil-ad-rem.net/Skeleton/
Click on Map Test
Enter Breaden Dr, Cooloongup (The only current area where my SQL
database has markers) to see how its currently working

The javascript is located in www.nihil-ad-rem.net/Skeleton/scripts/map.js

Thanks for any help
Tom

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

replica wheels best gift

|<a href="http://www.watchestar.com/sitemap.aspx">replica patek
philippe watch fake</a>|<a href="http://www.watchestar.com/
sitemap.aspx">replica AP watch fake</a>|<a href="http://
www.watchestar.com/sitemap.aspx">replica Andepars Piguet watch fake</
a>|<a href="http://www.watchestar.com/sitemap.aspx">replica
A.lange&amp;Sohne watch fake</a>|<a href="http://www.watchestar.com/
sitemap.aspx">replica Vacheron Constantin watch fake</a>|<a
href="http://www.watchestar.com/sitemap.aspx">replica Rado watch fake</
a>|<a href="http://www.watchestar.com/sitemap.aspx">replica movado
watch fake</a>|<a href="http://www.watchestar.com/
sitemap.aspx">replica oris watch fake</a>|

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] Re: Speed of device

Hi there,

You can get speed in meters per second from the GPS (if present).

see -

http://developer.android.com/reference/android/location/Location.html

Regards

On Jul 1, 1:42 am, ranjan ar <ranjan....@gmail.com> wrote:
> Hi all,
> How to determine the speed of moving android device.any pointers hints are
> appreciated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: Undefined Property error when calling set function on associated model

Ok I think I got this figured out.. apparently the 'foreignKey' is
required, in setting the relationship in the model (within the
array).. this didn't seem clear to me in the documentation as I had
thought all the settings were optional but now I know what I need to
make it work.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: [android-developers] java.lang.NullPointerException when trying to edit strings.xml

Look at the bottom of the editor pane. There should be a tab labeled
"Resources" and a tab labeled "strings.xml". Which tab is selected
when the NPE ocurrs?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Comment Geo Maps Wordpress

Hello,

I am trying to get this plugin to work with wordpress but cannot.

This plugin claims to do exactly what I am looking for with the maps
API.

http://wordpress.org/extend/plugins/comment-geo-maps/

It provides this function on a page.

http://gothamschools.org/comment-maps/whats-on-the-chopping-block-at-your-school/

Does anyone have any ideas?

This is the site and them I am trying to get this to work.

http://www.forestfoliage.com

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

[android-developers] Re: refresh gallery after saving photo in android

Well, for starters most of the code samples include "file://" before
the path in Uri.parse, so you might want to add that.

That said, I'm not having much luck forcing a rescan of a particular
folder on the SD card...

On Jun 7, 1:19 am, Andy Triboletti <andy.tribole...@gmail.com> wrote:
> Hi,
> I have an application where I want to have the ability for the user to
> save one of the photos they are viewing to their phone locally.  I got
> saving working, and now I want to automatically refresh so they don't
> have to turn off their phone before it shows up in the gallery.  I
> googled around and saw this:
>
> sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
> Uri.parse(Environment.getExternalStorageDirectory().getAbsolutePath() )));
>
> I tried doing that, but it didn't refresh for me.  Does anyone have
> any ideas?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Can I start a new activity that’s not specified in the AndroidManifst.xml file?

If you're doing what I think you're doing -- do not use a new class
for each activity.

Instead, use a single wrapper class, that instantiates and invokes
your dynamic class. Pass the name of the class to load and run as an
extra value in your intent -- or possibly include it in the getData()
field as a part of the URI, if it's implementing a part of a namespace
in some way.

On Jun 25, 7:00 pm, Snap <snap4...@gmail.com> wrote:
> I'm trying to write some dynamic code that I load a new class that's
> supposed to be an Activity and I want to start it, but using the
> regular startActivity(Intent) wants the Activity to be "Declared" in
> the AndroidManifest.xml file.
>
> Any clue?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[Rails] Rails3.0.0Beta4 setting session store to database

I am porting a Rails 2.3.8 app to Rails 3.0.0Beta4. I can't get the
session to be written to the database instead of cookies.

I do the following in config/environments/development.rb

config.session_store(:active_record_store)

The session store is set correctly - I verify that by dumping config
after the set.

What am I missing? Thanks.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

SaveAll - Correct syntax?

Hi all,

I'm trying to save/update a number of rows from a grid into a table
with a single command. According to the documentation the SaveAll
command should do this. However, I get nothing...

(default) 26 queries took 149 ms Nr Query Error Affected Num. rows
Took (ms)
23 START TRANSACTION 0 1
24 COMMIT

Here's the view...

<?php
//pr($statuses);
$id = 0;
foreach($products as $product) {
echo '<tr>';
echo '<input type="hidden" name="data[Product]['.$id.'][id]"
value="'.$product['Product']['id'].'">';
echo '<td><input type="text" name="data[Product]['.$id.'][upc]"
value="'.$product['Product']['upc'].'" size="12"></td>';
echo '<td><input type="text" name="data[Product]['.$id.'][name]"
value="'.$product['Product']['name'].'" size="45"></td>';
echo '<td><input type="text" name="data[Product]['.$id.'][price]"
value="'.$product['Product']['price'].'" size="5"></td>';
echo '<td><input type="text" name="data[Product]['.$id.'][discount]"
value="'.$product['Product']['discount'].'" size="5"></td>';
echo "\n";
echo '<td><select name="data[Product]['.$id.'][status_id]"
size="1">';
foreach($statuses as $status) {
$checked = '';
if ($status['Status']['id'] == $product['Product']['status_id']) {
$checked = 'selected';
}
echo '<option value="'.$status['Status']['id'].'" '.$checked.'>'.
$status['Status']['name'].'</option>';
}
echo '</select></td>';
echo '</tr>';
echo "\n";
$id++;
}
?>


And the controller...

$this->Product->SaveAll($this->data, array( 'fieldList' =>
array('Product.id', 'Product.upc', 'Product.name',
'Product.status_id', 'Product.price', 'Product.discount')));

And finally my database table...

CREATE TABLE `products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`upc` char(12) NOT NULL,
`name` varchar(45) NOT NULL,
`status_id` int(11) NOT NULL DEFAULT '1',
`price` decimal(10,2) DEFAULT NULL,
`discount` decimal(10,2) DEFAULT NULL,
`product_code` varchar(45) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`modified_by` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `upc_UNIQUE` (`upc`)
)

Any ideas would be much appreciated!!!

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

[android-developers] Adding to ArrayList in Characters method of DefaultHandler SAX

Hello, I'm trying to add to an ArrayList of custom objects in the
Characters method but I'm not having any luck with it adding. I've
attached the code below, if anyone has any advice on how to get it to
add that would be great. I've tried adding the code directly in the
method (as opposed to a separate addElement() method) but it doesn't
make a difference. The actual parsing is working however, and the if
statement is accessed (as I've tested it with println's). Any help on
this would be much appreciated!

http://docs.google.com/leaf?id=0B72acfg_I_-SYTJiZDNkOGEtZDllNS00YjBiLTk5NzQtMmVlYzVhMzdlNTU4&hl=en&authkey=CIvuzpMO

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

3akarat.com - 375م خلف دريم لاند 0105045019

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

i18n and link

Hi,

I use link method of the Html helper in a custom helper that I have
made.
I tried to make the link title uses __( ) to maintain translaton but
it produce the link text title only without full a href html tag.

For example:
//method of the helper has this line of code
echo $this->Html->link(__('Add'),array('controller' => 'categories',
'action' => 'add', 'id' =>$test['Category']['id']), array('escape'
=>true));

All what I got, is is a plain text of Add. How could I solve this?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: why do I sometimes get a javascript error of "uncaught exception: java.lang.NullPointerException"?

You could try using an UncaughtExceptionHandler. Assign your
implementation in onModuleLoad() by

GWT.setUncaughtExceptionHandler(...);

Then use a DeferredCommand for calling your actual entry point method:

DeferredCommand.addCommand(new Command() {
public void execute() {
yourEntryPointMethod();
}
});

You can use the UncaughtExceptionHandler to print stack trace for
example.

See http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/core/client/GWT.UncaughtExceptionHandler.html
and http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/core/client/GWT.html

On 30 Jun., 22:03, Shedokan <shedok...@gmail.com> wrote:
> Why there are some times while doing the same actions in my app I get
> this javascript error:
> uncaught exception: java.lang.NullPointerException
>
> I have no idea where it is coming from since there is no line number
> and have no idea what is causing it.
>
> how can I trace it and fix it?
> and why does it show up in some times and in other times it doesn't?
>
> thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

GWT + canvas + gwt-canvas

I have started playing with the <canvas> element, GWT, and the cool
gwt-canvas project.
However, it's really slow when you have to recompile every time.

I posted a very short tutorial on experimenting with the canvas
element using a command line:
http://jamies-gwt.blogspot.com/2010/06/experimenting-with-html-canvas.html

The short of it is: Use firefox + firebug, open a HTML document with
a canvas element in it, and then use the firebug console command line.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

how can I delete CakePHP's session cookie?

core.php - at Session Cookie setting line
=====================================
Configure::write('Session.cookie', 'Cakephp');
=====================================


I want to delete this cookie when user logout but I don't know how to
delete this cookie

I tried
$this->Cookie->del('Cakephp');
$this->Cookie->destroy();


but it's not working at all.


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

[Rails] Re: GIT: How to upload Rails project using GIT

Ali Imran wrote:
> I installed
>
> - gem install git
> - sudo apt-get install git-core
>
> - cd to folder where my application "demo" is
> - /home/ruby/
> - git init
> - git status
> - git add .
> - git commit -m "First V"
> - git config --global user.name "Ali Imran"
> - git config --global user.email "ali@domain.com
>
>
> now i am running
>
> git push origin master
>
> and getting error of host and port 22
>
> how to fix this error.

This is a Git issue, not a Rails issue. Please ask on a Git forum.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

why do I sometimes get a javascript error of "uncaught exception: java.lang.NullPointerException"?

Why there are some times while doing the same actions in my app I get
this javascript error:
uncaught exception: java.lang.NullPointerException

I have no idea where it is coming from since there is no line number
and have no idea what is causing it.

how can I trace it and fix it?
and why does it show up in some times and in other times it doesn't?

thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

(GugukluhayaT) Fwd: AYN RAND'CI DEĞİL LILLIAN HELLMAN'CIYIZ



--
You received this message because you are subscribed to the Google Groups "Gugukluhayat" group.
To post to this group, send email to gugukluhayat@googlegroups.com.
To unsubscribe from this group, send email to gugukluhayat+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gugukluhayat?hl=en.

[Rails] Problem with named routes

hello,
I am facing a problem in while defining named routes
Here is my code in config/routes.rb

map.addon '/addons',:controller => 'settings',:action => 'addons'
map.demonstration '/demonstrations',:controller => 'settings',:action
=> 'demonstrations'
map.support '/supports',:controller => 'settings',:action =>
'supports'
map.overview '/overviews',:controller => 'settings','action' =>
'overviews'
map.download '/downloads' ,:controller => 'settings' ,'action' =>
'downloads'
map.documentation '/documentations',:controller => 'settings',:action
=> 'documentations'


Now when I try to access the /overviews page I get the following errors
Unknown action

No action responded to index. Actions: addons, demonstrations,
documentations, downloads, overviews, and supports

so I ran rake routes and found that this

addon /addons {:action=>"addons",:controller=>"settings"}

demonstration /demonstrations {:action=>"demonstrations",
:controller=>"settings"}

support /supports {:action=>"supports",:controller=>"settings"}

<b> overview /overviews {:action=>"index", :controller=>"settings",
"action"=>"overviews"} </b>

<b> download /downloads {:action=>"index", :controller=>"settings",
"action"=>"downloads"} </b>

documentation /documentations
{:action=>"documentations",:controller=>"settings"}

Look that rake routes generated for '/overviews' and '/downloads' which
is weird in my sense

I have define named routes many times never such weird info in rake
routes neither the above error

Any help would be appreciated
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: GWTEvent, sinking own events

On 6/30/10 11:57 AM, Roy wrote:If the answer is that View A *will* catch
its own event, any
> recommendations on how to identify the event in such a way that View A
> knows it was the originator?
>
Maybe you can use this;

http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/event/shared/GwtEvent.html#getSource()

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

besthot photos

FOR HEROIN HOT PHOTOS VISIT www.hotphotos.co.in

FOR JOBS http://jobsjackpot.blogspot.com/

hot lip kiss1
http://hotimagesandvideos.blogspot.com/2010/04/hot-lip-kiss1.html
hot hug
http://hotimagesandvideos.blogspot.com/2010/04/hot-hug.html
super hot kiss
http://hotimagesandvideos.blogspot.com/2010/04/super-hot-kiss.html
one lip kiss
http://hotimagesandvideos.blogspot.com/2010/04/one-lip-kiss.html
super navel kiss
http://hotimagesandvideos.blogspot.com/2010/04/super-navel-kiss.html
hot train lip kiss
http://hotimagesandvideos.blogspot.com/2010/04/hot-train-lip-kiss.html
hot boobs kiss
http://hotimagesandvideos.blogspot.com/2010/04/hot-boobs-kiss.html

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] Tab reload data

Hi,


I have created Tab using following example: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html

Now i need to tab content data when use view( Click on Icon). Is it possible to reload ListAdapter?


Thanks,
Chandana

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to detect presence of camera on an Android device.

I am afraid using using ErrorCallback wont work.
You can only place the ErrorCallback on an Camera object, but you wont
get a camera object until you call Camera.open().
Hope you got my point.

Thanks,
Daman

On Jun 30, 3:47 am, Indicator Veritatis <mej1...@yahoo.com> wrote:
> I think the intent of the designer of Android is that instead of
> detectingcamerapresence at runtime, developers should declare theCAMERApermission in the AndroidManifest file. Also, include the <uses-
> feature> tag. Then your application would be downloaded only to
> devices that have acamera.
>
> But just in case you really do have some interesting application that
> really should be downloaded on either, you can always resort to the
> open() method of theCameraobject, (from the android.hardware
> package) and check for error. Don't forget to set the callbackCamera.ErrorCallback (define its onError() method).
>
> On Jun 28, 9:41 pm, Ashutosh Sharma <ashusha...@gmail.com> wrote:
>
> > I too am trying to figure this out - is there a reliable way to know
> > whether a device hascamerahardware at all?
>
> > Thanks,
> > Ashutosh

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: how to develop cms on django

On Jun 30, 1:58 pm, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:
> On 29 juin, 12:41, samie <badboy.su...@gmail.com> wrote:
>
> > 1 more query..
>
> > what are important that i shld. learn in python and in django to
> > develop my cms..
>
> Everything or almost.

i dont have time i need to start development within a month..

plz tell me all those crucial topics that i should learn

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] How to check the version of my application on the android market programatically

I want to implement the versioning feature for my application
manually. For that I intend to compare the application version
currently installed on the device and the application version present
on android market.

I can get the installed application's version using PackageManager ,
but how to find out the version of the application on the android
market programatically ?

Can anyone please help me on this.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to replicate the Browser's (WebView?) anchor highlight poly-polygon?

Hi

As per the title really; when the user taps a link, it gets
highlighted by a multi-coloured surround. What I'm interested in is
how the multi-coloured effect is achieved (i.e. on the Nexus One, it
has a an orange line sandwiched between red lines). I'm assuming
(perhaps incorrectly, of course) that it is not three different
shapes, but some sort of Paint setting. I've had a quick look in the
source, but nothing jumps out immediately.

Any pointers much appreciated.

Cheers

James

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Westlife - Full Discography

http://new-music200.blogspot.com/

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[Rails] Re: Search plugin/gem recommendation for search with joins

Thanks Marnen but i don't want to switch from mysql to postgres right
now. Can anyone actually recommend a search plugin rather than telling
me i don't need one?
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: IE always redirecting to 404 page ..

am also surprised by the fact that over time none of our users
complained about this problem ...


On Jun 30, 1:15 pm, Abhishek <abhishek...@gmail.com> wrote:
> Hi,
> Whenever a user opens the index page for a controller .. e.g xyz.com/
> blogs ..
> IE is redirecting it to a 404 page .. however if i append a "/" in the
> end .. its working fine ..
>
> Things are working fine .. in chrome an firefox ..  am using cakephp
> 1.2 ( i know havent upgraded to 1.3 yet :(  ...
>
> We have been live for couple of months now .. and gotta resolve this
> problem as soon as possible .. before lot of
> our users start complaining abt it ..
>
> How do i get around this prob ...
>
> Thanks
> Abhishek Jain

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

IE always redirecting to 404 page ..

Hi,
Whenever a user opens the index page for a controller .. e.g xyz.com/
blogs ..
IE is redirecting it to a 404 page .. however if i append a "/" in the
end .. its working fine ..

Things are working fine .. in chrome an firefox .. am using cakephp
1.2 ( i know havent upgraded to 1.3 yet :( ...

We have been live for couple of months now .. and gotta resolve this
problem as soon as possible .. before lot of
our users start complaining abt it ..

How do i get around this prob ...

Thanks
Abhishek Jain


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: [android-developers] Why Android is using alsa device in block mode?

On Wed, Jun 30, 2010 at 12:19 AM, Nilly <niral@oriolesoftware.com> wrote:
> Why android is using alsa in block mode?

Android does not have ALSA.

> As android is opening device
> in block mode I am not open alsa device for playback. It shows device
> is busy as it is used by android.
>
> By stop media we can stop audio services but it will stop other
> services also which makes video player hang and I am not able to use
> player.
>
> How to come over it?

I am assuming you are referring to the Android emulator. The Android
emulator uses qemu, and qemu on a Linux host may use ALSA in block
mode -- I am not an expert with qemu or ALSA.

Playing back video in the emulator is unlikely to work, regardless of
ALSA, because the emulator will not run fast enough. For testing video
applications, please use an Android device.

You are welcome to see if there are QEMU environment variables or
something you can use to tailor the way the Android emulator behaves.
Or, you are welcome to grab the tools source code from the Android
open source project, make patches to the emulator launch routines, and
perhaps contribute back those changes.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

3akarat.com - شقق بمدينة نصر فى مناطق راقية جداااااا وتشطيب هاى لوكس للجاديين فقط

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: Proper approach to updating model object with 100 attributes.

I think you need to be careful messing with __dict__ as Django turns
most fields in descriptors behind the scenes so setting them in the
__dict__ could break these.

I'd stick to setattr and maybe verify that the key in the dictionary
is one of the model's fields. I think there is a method on _meta
called get_all_field_names. I've used this before to validate such
actions.

Euan

On 29 June, 19:03, Tim Chase <django.us...@tim.thechases.com> wrote:
> On 06/29/2010 12:01 PM, Ray Cote wrote:
>
>
>
>
>
> > Hi List:
>
> > I have a Django model with over 100 fields in it that is loaded from a data feed.
> > Each row in the model has a unique field, let's call it item_id.
> > When loading new data, I'm first checking to see if item_id is in the table,
> > if it is, I want to update it with the new data from the new 100 fields.
>
> > To date, I've done things like:
>
> > obj = Model.objects.get(item_id = item_id_from_field)
>
> > and then.
> > obj.field1 = new_field1
> > etc.
>
> > However, for 100 fields, I'd like to find something a bit cleaner than listing 100 fieldnames.
> > The data for the new 100 fields is in a nice dictionary.
>
> > When I create a new item, I'm able to do this:
> >    obj = MyModel(**dictionary_of_field_values)
>
> > Is there something similar I can do with my obj once the data is retrieved?
>
> Well, you could do something like
>
>    for name, value in dictionary_of_field_values.items():
>      setattr(obj, name, value)
>
> or possibly even just
>
>    obj.__dict__.update(dictionary_of_field_values)
>
> (I'm not sure how this interacts with Django's meta-class
> yumminess, but it works for regular Python classes)
>
> -tkc

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: Disabling the use of certain template tags

I'm not sure whether you could define tags with these names yourself
that do nothing (or a safe version of what Django allows). I suspect
Django might not allow this and give a name clash.

Alternatively you could parse any such tags out of the user defined
templates before passing them to the template engine:

import re
NAUGHTY_RE = re.compile(r'\{%[ ]*(include|extends)[^%]*%\}')

sanitized_template = NAUGHTY_RE.sub("REMOVED", template_string)

As long as the templates don't get too large re should be a fairly
quick bet.

I haven't tested my regex with that many situations so you might want
to improve it, but it seems to work OK.

Euan

On 30 June, 04:07, Tom Eastman <tom.east...@otago.ac.nz> wrote:
> Hey guys,
>
> I'm planning on writing a django app that will serve as a tool for
> writing mail-merge type form letters.  Well, not actually letters, but
> documents which will have variable substitution in them, to either
> rendered either as HTML or LaTeX documents or some other markup language.
>
> Of course, I would love to be able to take advantage of the Django
> template system.  I imagine users being able to create their own
> templates which are then rendered with contexts to produce the output
> documents.
>
> That part is pretty easy -- I've done something similar before, and
> there's also the django-dbtemplates app which appears to do something
> similar.
>
> But I want to ensure that my users can't access anything in the template
> *loader*, to prevent them including system templates or other
> potentially sensitive things into their own templates.
>
> To that end, is there a way I can load and render templates, but disable
> any occurrences of the '{% include %} or {% extends %} tags or things of
> that nature?
>
> Cheers,
>
>         Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] Fwd: Regarding thumb of the seek bar


Hi..
        I am currently working on an application in which i am using the seek bar for showing progress of the song playing, i m using the in built seek bar of our android , in which instead of the default thumb image of android , i have an custom image for that in my application, it works perfectly for 1.5 but for android sdk 2.1 and 2.2, half of that image is displayed , i.e. thumb is displayed partly outside the screen (for the start i.e. at 0th pos).I have used "android:thumboffset"  attribute in xml to adjust the thumb , but still its not working on 2.1 and 2.2.
So, What can i do for this  ?

Regards,
Ameya

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Tuesday, June 29, 2010

Experience all New Kenlighten and grow your contacts and knowledge

Dear friends,

I am writing to share with you about a unique social knowledge network
- Kenlighten http://www.kenlighten.com .

At Kenlighten you can register for a free account and create online
tutorials in your area of expertise by uploading your ebooks,
presentations, articles, videos, audio files. You can also use the
Kenlighten Presentation tool to make online presentations. Further,
you can create online communities, network with other members and
learn from other members. Apart from sharing knowledge, you can also
post jobs, share events, build your photo albums and share them with
your connections.

So do visit http://www.kenlighten.com and subscribe for your free
account. And yes, do not forget to invite your friends, family and
acquaintances to connect with you at Kenlighten.

Happy networking and knowledge sharing!

Uma

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] Progressbar with Thumb image is not showing correctly on the 2.1 emulator

HI
I am having a progressbar whose width is fill parent. I have an image for its thumb which is similar to Android default thumb but a bit larger in size.On Android 1.5 when i observer , part of the thumb goes out of the screen on the left side.So i gave a thumb offset as -10 which works perfectly.But the same thing does not work on 2.1 or 2.2 emulator.The thumb still goes out of the screen partially.Am i missing something ?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

cron dispatcher and route

Hi
I have created a cron job which is send emails.
On email template I use route to create correct links.

When I send email from "normal" environment all links created correct,
but when I'm trying to send it by cron I have get a links without
domain, it looks like (/user/login I wanted domain.com/user/login)

I have tried to import route and config in the cron action
App::import('Core', array('Router','Controller'));
include CONFIGS . 'routes.php';

but this is didn't help.

Does someone know any workaround for this?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Join two table

I have two table say, infantregistration(infant_name,
infant_mother_name, address) and vaccineschedule(infant_name,
vaccinea_dose, vaccine_dose_id, due_date). There in no foreign key and
infant_name is primary key. I will need the fields infant_name,
infant_mother_name, address from infantregistration and due_date from
vaccineschedule.

What can I do to solve this. Please give me the salutation of this
problem.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

overriding CSS styles using the "!important;" keyword

Hi,

StackPanel has an ugly border at the bottom, and I verified that this
is explicitly set in standard.css.

So I would like to remove it / change its color by using the "!
important;" keyword in my own style:

.myStackPanel
{
border-bottom: 1px solid #FF0000; !important;
}

This shows no effect.

But it succeeded in other cases.

How can I get rid of the bottom border?

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: [android-developers] crashing map

It's this line that's crashing it. Something is null in your View getView(int position.

Try putting a try except around things or just stepping through the code until you find it.


06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.ItemizedOverlay.getItemsAtLocation(ItemizedOverlay.java:
617)

On 29/06/2010 5:42 PM, Pedro Teixeira wrote:
> 06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
> com.google.android.maps.ItemizedOverlay.getItemsAtLocation(ItemizedOverlay.java:
> 617)
>

--
Sincerely,

Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://www.bgies.com
http://www.bistroblurb.com
http://www.ihottonight.com
-----------------------------------------------------------------------

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: Reading "My Map" data using API

On My Maps click the 'View in Google Earth' link and save the KML
file.

Now open the KML file in a text editor and look at the <href> element
URL.

Replace all occurences of &amp; in that URL with &.

The URL is now a link to the KML that you want to build your map with,
you could use the API built in GGeoXml() method to build your map with
the KML:
http://econym.org.uk/gmap/geoxml.htm

Or EGeoXml() can be used which allows more control over how the KML is
rendered:
http://econym.org.uk/gmap/egeoxml.htm

Martin.


On 29 June, 16:25, Mart <yahoo...@googlemail.com> wrote:
> Hello All,
>
> I'm trying to create a simple travel blog site for my future travels.
> I can't be bothered with a full blown blog and I'd like people to see
> where I am. My idea is to edit a My Map (whilst on the road) with my
> route and some quick comments on place markers I'll add along the way.
>
> I'd like to put it on my own website and present it so that comments
> are listed separately to the map. A lot like this infact:http://marcgrabanski.com/articles/jquery-google-maps-tutorial-basics
> (See 'View Final Demo').
>
> The above tutorial puts the markers on seperatly using the API which
> won't work in my case (I think?). I would simply like to 'read' the
> comments from the place markers (Replacing point0,1, etc with London,
> Paris, etc depending on the marker title).
>
> How can I do this?
>
> I've spent the whole day reading too many tutorials and stuff but it
> all seems to refer to placing markers on a static map which is no
> good.
>
> Some threads, including on this forum, suggest using the 'Link to
> Google Earth' to generate a KML and read it in like that but my KML
> only contains a 'Network Link' with a href to my map but with an
> 'output=KML' suffix.
>
> Any help or pointers would be great. At the moment I'm just too
> confused!
>
> Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

[android-developers] Question about .asec (encryption) on Froyo 2.2 (Emulator)

Hi,

can somebody please explain how asec exactly works? I couldn't find much
info about it on the mailing list or elsewhere.

I installed my app on the emulator with 2.2 and onto the sdcard. When I
browse via adb shell, I can see that the encrypted app file lies under
/mnt/secure/asec/com.myapp-1.asec but it also lies as plain apk file
unencrypted at /mnt/asec/com.myapp-1/pkg.apk as well and I can do a 'adb
pull' without special permissions and unzip it to see it's content.

Unfortuntately my N1 is in repair and I cannot check on a real device
right now - but wondering, why can I still access the plain apk so
easily (at least on the emulator)?

Thanks,
Mathias

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[Rails] Re: Referencing a Layout

Marnen Laibow-Koser wrote:
[...]
> ...except that the whole thing is completely infeasible.  How would the
> layout be provided?  It won't fit in a GET query string, and you can't
> supply POST data in a link, so the only way to supply it would be as an
> uploaded file.  And at that point, you can just go back to Rails' layout
> mechanism. 

Oh, on rereading the original post, I see that you were going to use a
URL, which gets around that particular feasibility problem. Looked at
with that in mind, it seems more like an HTML version of the JSONP
pattern. But I still think it isn't very useful.


>
>> 
>> Thanks for the input.
>> 
>>            ... doug
>
>
> -- 
> Marnen Laibow-Koser
> http://www.marnen.org
> marnen@marnen.org
>
> Sent from my iPhone

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: More than one module

Yes, you can have more than one module.
If you use Maven, you can view gwt maven plugin for detail.

On Jun 25, 5:27 pm, GWT_AL <asaf.la...@gmail.com> wrote:
> I need to developer a web application which has more than one main
> page layout.
> I was wondering how to develop more than one main page in a GWT
> application.
> Is it possible to have more than one Module in a GWT app (is that the
> way to achieve this)?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Visitor add marker and comment

Hello,

I am looking for code or an example of how I can let my website
visitors make a marker and a comment on a map on my page for various
locations.

Is this possible?

Thanks for any help.

My site
http://www.forestwander.com

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: Load Different Views at same 'browser view'


On Wed, Jun 30, 2010 at 6:32 AM, Desproposito <javierpc@gmail.com> wrote:
I've been thinking about how to do an application I have in mind, a
kind of social network, and it's obvious you have to load different
'modules' like Friends, Messages, Posts, etc. The problem is that I
have no idea about how to do it with Django because I have not found
any function for it, it seems to me like I have to develop views with
all the information I need instead of saying, well, I need the 'friend
module' there on the right, the Messages one up there, etc..


Try the Pinax project. (http://pinaxproject.com/). Probably you can learn more by customizing the project or going through the code.

-V
http://twitter.com/venkasub

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[Rails] activesupport classify truncates

Sorry about cross posting, but this is where it really belongs.

I tried to use "my_class".classify and got MyClas as a result. Tried
others that ended in 'ss' and got the same results. Tried other
endings and they work. Ruby 1.9.2-preview3 and
activesupport-3.0.0.beta4 is being used.
Is this correct? If so, why?

Tried it with "my_clas".classify and got "MyCla". It seems to be
dropping the last 's'

Don French

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[Rails] Re: Referencing a Layout

> Your site shouldn't be doing your
> consumers' layout work.

I don't think that it is. What I'm trying to do is to come up with a
mechanism that will allow the consumers to do their own layout work.

>  Instead, it sshould provide data that your
> consumers can lay out as they please.

That is clearly the preferred approach. However, it is also the most
labor intensive. I see the external layout approach as a lower
quality alternative that might be acceptable in some circumstances.
One of its big advantages is that (but for problematic issue of
reading the layout from the contents of a variable) it is extremely
easy to implement. I just wish that there were some sort of easy work
around other than taking the brute force tact of writing the data to a
temp file and then reading it from there.

Thanks for the input.

... doug

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Re: [Rails] One time shot feed params from development

Hi Craig,

On Tue, Jun 29, 2010 at 8:25 PM, Craig White <craigwhite@azapple.com> wrote:
> I got a confirmation on my development system that should have gone to
> the production system and so I have a 'Post' set of data which I know
> from my development logs that I want to feed to my production system.
>
> Is there some easy way to do this in the console or do I have to try to
> recreate it with wget or a web browser?
>

M

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

3akarat.com - عقار ست طوابق للبيع بقويسنا منوفية

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[android-developers] missing broadcast intents

Hi, I was just working on an app that will do stuff when a call is
missed or made; and am left wondering why do you have to register a
listener using a long lived background service for phone state changes
instead of being able to use broadcast intents?

Thanks for any insights,
Brendan

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Django-Admin - radio_fields with add/change pages, but not list_display page?

Hi,

I have a Django application with an "Article" model. I'm using the
radio_fields in django-admin with two of the ForeignKey fields that
are linked to Article.

Currently the related tables have five and twenty entries each, so
this UI works quite well on the Add/Change pages.

However, I'm also using list_display with this model - and in the
list_display, it also displays radio boxes, which look quite ugly -
the HTML select box worked much better on list_display. In fact, I
can't really think of many cases, unless the number of possible
entries was quite small, where a radio_box would work well with
list_display.

Anyhow, is there any way to use radio_fields on the Add/Change field,
but not with the list_display page?

Cheers,
Victor

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Load Different Views at same 'browser view'

[I'm sorry I posted this question in the Developers Group, it won't
happen again :)]

Hi all,

First of all i'd like to say that I'm new in Python and Django and
maybe my question is stupid, sorry in case it is. Anyway I'm learning
fast I think. I'm boring of working with PHP and Java, and I'm very
excited about Python and Django.

I've been thinking about how to do an application I have in mind, a
kind of social network, and it's obvious you have to load different
'modules' like Friends, Messages, Posts, etc. The problem is that I
have no idea about how to do it with Django because I have not found
any function for it, it seems to me like I have to develop views with
all the information I need instead of saying, well, I need the 'friend
module' there on the right, the Messages one up there, etc..

I have thought different ways of getting this but I prefer not to tell
yet because it's better not to appear an idiot in my first post in
this group :P

I suppose, in fact I'm almost sure, there is a way to do this, but I
don't know it and I can't find the way.

Sorry I'm spanish and don't know if explained well, but if I did,
could you please help me?

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] crashing map

Hey there...

My application using google maps was working just fine.. I left it for
a while.. and suddenly out of the blue.. it crashes by just touching
on the map... the only change I've done was to change a .png file for
another image..
Anyway.. I get a NullPointerException.. on the debugger.. nd the
logcat writes this errors:

06-30 01:39:16.756: ERROR/ActivityThread(619): Failed to find provider
info for android.server.checkin
06-30 01:39:16.856: ERROR/ActivityThread(619): Failed to find provider
info for android.server.checkin
06-30 01:39:23.546: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:23.566: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:23.606: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings

and more

06-30 01:39:23.606: ERROR/ActivityThread(738): Failed to find provider
info for com.google.settings
06-30 01:39:27.527: ERROR/MapActivity(738): Couldn't get connection
factory client
06-30 01:39:56.476: ERROR/AndroidRuntime(738): Uncaught handler:
thread main exiting due to uncaught exception
06-30 01:39:56.627: ERROR/AndroidRuntime(738):
java.lang.NullPointerException
06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.ItemizedOverlay.getItemsAtLocation(ItemizedOverlay.java:
617)
06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.ItemizedOverlay.getItemAtLocation(ItemizedOverlay.java:
586)
06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.ItemizedOverlay.handleMotionEvent(ItemizedOverlay.java:
498)
06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.ItemizedOverlay.onTouchEvent(ItemizedOverlay.java:
572)
06-30 01:39:56.627: ERROR/AndroidRuntime(738): at
com.google.android.maps.OverlayBundle.onTouchEvent(OverlayBundle.java:
63)

there's much more.. but i guess its something to do with the maps
itself.. any help please?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

3akarat.com - فيللا دوبلكس بشارع الهرم الرئيسى

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

Re: GWT htaccess to disable cache

On 06/29/2010 04:33 PM, Jeff Chimene wrote:
> On 06/29/2010 03:54 PM, Thomas Broyer wrote:
>>
>>
>> On 30 juin, 00:40, Jeff Chimene <jchim...@gmail.com> wrote:
>>> Hi:
>>>
>>> I searched the group for a GWT-specific .htaccess fragment that disables
>>> caching for *nocache.js I couldn't find one.
>>
>> Probably because it's in the doc:
>> http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html
>
> OK. I got it working now.
>

No, I don't have it working yet. The difference seems to be that after a
compile/deploy sequence, w/o clearing the cache, w/ the .htaccess from
the docs, I see the following status sequence for the nocache

200 -> (reload) -> 304 -> (reload) -> 304...

Using the other .htaccess, I see the following status sequence for the
nocache after a compile/deploy sequence:

200 -> (reload) -> 200 -> (reload) -> 200...

IOW, does the server/browser cache management "do what I mean" when I
redeploy the app on the server? I want to get past the "please clear
your browser cache and reload" issue after deploying updates to the server.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[android-developers] Re: Is automatic calling possible with android?

Thank god.

On Jun 30, 4:47 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Tue, Jun 29, 2010 at 3:53 PM, Smarth Behl <smarthb...@gmail.com> wrote:
> > 2. Makes a call to this number and plays the selected sound file OR
> > the entered message using Text to speech.
>
> You cannot play audio into the call stream, AFAIK.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training...At Your Office:http://commonsware.com/training

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Real Estate