Tuesday, August 31, 2010

[Rails] Sidebars should be placed in the main layout or the action's view

Just wondering. Should sidebars be in the view or in the main layout?

If they are in the main layout. i.e. with the following code:

<div class="span-24">

<div id="content" class="span-18">

<%= yield %>

</div>

<div id="side-panel" class="span-6 last">

sidebar

</div>

</div>

If the sidebar has dynamic content (i.e. data being set from the
action), how can this be displayed? So I am thinking that the sidebar
must be in the action's view.

What are your thoughts? What is the rails way of doing this? Or
perhaps, is there a plugin that one can use?

--
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: Failed to build gem native extension.

> I want to install ferret on windows.
> I run the command 'gem install ferret', but I got this error.

It works with rubyinstaler.org 1.8.7 and DevKit. Fails on 1.9.2.

Devise compiles and installs with 1.9.2 and 1.8.7

C:\Ruby>gem install devise --no-rdoc --no-ri
Temporarily enhancing PATH to include DevKit...
cleared faster_require caches due to new gem install...
Building native extensions. This could take a while...
cleared faster_require caches due to new gem install...
cleared faster_require caches due to new gem install...
Successfully installed warden-0.10.7
Successfully installed bcrypt-ruby-2.1.2
Successfully installed devise-1.1.2
3 gems installed
--
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: Search engine services with google maps

Do you want to save the map state - here's a link that'll help:

http://econym.org.uk/gmap/cookies.htm

Martin.


On 31 Aug, 16:27, Andrew Liu <andrewli...@ucla.edu> wrote:
> Hello,
>
> Thanks for responding. My code is just fromhttp://code.google.com/apis/maps/articles/phpsqlsearch.html#findnearsqlat
> the last section under "Putting it All Together"
>
> I'm not sure how to link to just that part.
>
> But I was just wondering what to change in that code to make the map keep
> the parameters so when the user refreshes the page, its still there. I know
> this link has been posted :http://econym.org.uk/gmap/linktothis.htmbut I'm
> not sure what exactly needs to be modified since I'm only a beginner and
> trying to learn on my own.
>
> Thank you for the time
>
> --
> Andrew Liu
> UCLA Undergraduate, Civil Engineer
> C: (310) 400-0124
>
> "Intelligence plus character - that is the goal of true education." - Dr.
> Martin Luther King, J
>
> Also, Photographerhttp://www.andrewliu.us

--
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.

[Rails] Thinking of going back to MySql from PgSql. Your thoughts?

Just thinking out loud. about switching from pgsql to mysql. So far,
haven't experienced any differences between the two databases. I've
been using mysql for the past few years. I like it more because am a
mac interface junkie and mysql has sequel pro. Not that this is a
determining factor. But pgsql also has navicat (in my opinion, not as
good as sequel pro).

The more important thing is, web hosts that I have spoken to have said
that pgsql takes up a considerable amount of RAM than mysql... More
RAM on a web host means more $$$.

Moreover, since I've switched from Symfony PHP. Most of my other web
projects will be hosted with a mysql db.

I am sure there may be other more significant differences. But for my
every day use as a web developer, I don't really notice the internal
features that pgsql has over mysql.

What are you thoughts

--
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: How do I create a background loop method

If your "result" is something a server knows about, you could use the
C2DM thing to wake up your app instead of polling every x minutes.

-John Coryat

--
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

Download free of charge and without the involvement of Wa Rdber.s. start to cut PowerDirector Free Video Dub 1.8.5.80 ML Portable

Download free of charge and without the involvement of Wa Rdber.s.
start to cut PowerDirector Free Video Dub 1.8.5.80 ML Portable
Download from here
http://prosoftantivirus.blogspot.com/2010/08/free-video-dub-18580ml-portable.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.

Re: Chat application in Django

I am interested in this problem too, I need to pass some additional
data along side chat messages.

Why did you decide to abandon polling? I was thinking of thinking of
using it and updating about twice a second.

On Aug 31, 6:34 am, Shamail Tayyab <pleoma...@gmail.com> wrote:
> Hi,
>
>    I am working on a chat application in Django, how can I ensure that I
> do not have to poll the server for any chat data.
>
> Possible approaches that I've been to:
>
> 1. BAD - use polling.
>
> 2. Use long polling - bad approach afa browser support is concerned.
>
> 3. Using sockets in flash - makes the application flash dependent.
>
> Is there some good way to do this? Or if there is something Django
> specific? Something like HTTPBinding or any 3rd party tested libraries?
> I am expected to provide support till IE6. :-(
>
> Correct me if I am wrong, flash is available on 95% of the systems, this
> approach looks like safest bet, is it good to go?
>
> Btw, how does Gmail and FB chat works?
>
> Thanks
>
> --
> Shamail Tayyab
> Blog:http://shamail.in/blog

--
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 do I create a background loop method

Hi,

I got a problem, I want to call a method every X minutes, if my method
got a result it ´should inform the user by vibrating or showing a
alertbox. if the method doesn't get a result it should wait for X
minutes and restart.
What is important, this should also work when the phone turns to
sleep. Which means I want to wake the phone from sleep to run my
method.

Actualy I can activate my method via a Button, and it is working like
I want it to be except the background loop thing.

I already searching for a solution here in the group or also on google
but I think I don't got the right search terms to find a solution for
my problme.

I already read about the AlarmManager and broadcast receiver but I'm
not sure if this is right for my problem.

I hope you could help me.

--
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: Sim Contacts

Anyone? One of the Google engineers perhaps?


On Aug 30, 7:37 am, William Ferguson <william.ferguson...@gmail.com>
wrote:
> I have some code that manipulates the Contacts database via the
> Contacts Provider (ContactsContract.RawContacts.CONTENT_URI), so I can
> add/edit/delete my Google contacts, Phone contacts and the Sim
> contacts cached there.
>
> Changes to the Phone contacts are immediate, changes to the Google
> contacts are synced to my Google account, but changes to the SIM
> contacts only affect the Contacts DB and aren't persisted to the SIM.
>
> Ie while I can delete the SIM contacts from the Contacts DB, once I
> reboot my phone the SIM contacts get repopulated into the Contacts DB.
>
> The IccProvider (accessed via content://icc/adn) seems to be a way to
> directly access the SIM contacts. The source code seems to suggest so
> and there is annectdotal evidence that this works, but it is an
> internal Android API and it doesn't work on my Galaxy S in any case.
>
> So, does anyone know a definitive way of modifying/deleting SIM
> contacts.
> Or failing that, a way to stop the SIM contacts being reopulated on
> reboot, though this seems less satisfying.

--
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: Error during sms deletion.

Are you facing this problem always? Or is this happening only when you
try to delete
a message as soon as you receive it.


On Aug 31, 3:33 am, Pobudzio <pobudkiewicz.mac...@gmail.com> wrote:
> Hi,
>
> I have problem with deletion sms with messageId=0. I can't delete such
> a message. There is no problem with deletion other messages but first
> message taken from inbox has always message Id=0 and I can't delete
> it.
> I use code below for deletion.
>
> Uri SMS_CONTENT_URI = Uri.parse("content://sms");
> Uri deleteUri = Uri.withAppendedPath(SMS_CONTENT_URI,
> String.valueOf(smsList.get(currentSmsIndex).getId()));
> int count = context.getContentResolver().delete(deleteUri, null,
> null);
>
> Do you have any idea?
>
> Regards,
> Pobudzio

--
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: layout_gravity

LinearLayout is for when you want a continuous sequence of children in
a line, one after another. From your description, that is not what you
want (e.g. there may be a gap between the buttons depending on their
sizes and the size of the parent).

So a LinearLayout is not what you should be using.

Your requirements show that the buttons need to be placed relative to
the parent, so (like others have said) a RelativeLayout is the best
option, using attributes like layout_alignParentRight and
layout_centerHorizontal.

On Aug 31, 5:42 am, William Ferguson <william.ferguson...@gmail.com>
wrote:
> OK, I'm obviously missing something fundamentally simple here.
> I have a LinearLayout containing 2 buttons.
> I've coloured the layout background red so I can see that it has
> expanded to fill its parent.
> I wanted the BooButton to center horizontally within the layout and
> the OtherButton to be right justified.
> But both buttons are on the left of the layout.
>
> What have I done wrong?
>
> <LinearLayout android:id="@+id/buttonBlock"
>    android:orientation="horizontal"
>    android:background="#ff0000"
>    android:layout_width="fill_parent"
>    android:layout_height="wrap_content">
>
>   <Button android:id="@+id/booButton"
>        android:text="Boo"
>        android:layout_gravity="center_horizontal"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"/>
>
>   <Button android:id="@+id/otherButton"
>        android:text="Other"
>        android:layout_gravity="right"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"/>
>  </LinearLayout>

--
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: getting email address of the account on the phone

Account[] allAccounts =
AccountManager.get(getApplicationContext()).getAccounts();
for(Account account : allAccounts)
{
String emailAccName = account.name;
String emailAccType = account.type;
}

Dont forget to add
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
in the manifest

--
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: getting email address of the account on the phone

Account[] allAccounts =
AccountManager.get(getApplicationContext()).getAccounts();
for(Account account : allAccounts)
{
String emailAccName = account.name;
String emailAccType = account.type;
}

Dont forget to add <uses-permission
android:name="android.permission.GET_ACCOUNTS" /> in manifest

--
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: problems with auto-complete form login

On 31 août, 19:34, Magnus <alpineblas...@googlemail.com> wrote:
> Hi folks,
>
> is it the common opinion for GWT apps to have a separate login page?
> (Thomas, your "cache" example seems a bit artificial to me (although I
> believe that you know why you recommend a separate login page).)

Having built 2 apps that way, and having to remember to handle those
login/logout events to "reset" the views, I can assure you it's not
"artificial", but lot of boilerplate code I could have just avoided
writing. I also spent way too much time (IMO) to get the login process
working (have to use a base AsyncCallback/RequestCallback that handles
authentication errors to show the login screen –RequestFactory will
fortunately makes this waaay easier–; and what to do once you log back
in? replay the request? the reason we went for an "integrated login"
UX was our client asking for sessions to expire, and we didn't want
the user to lose its unsaved work, so the login screen in this case is
showed "above" the screen, with the username field switched to
readonly; if you do not have a need for such a thing, then I you could
probably live with an "externalized login"; I'm now trying to make
clients change their mind about session expiration, and/or adopting a
different approach with auto-saves into server-side "working copies",
or live with their users losing work if they don't hit "save" soon
enough though without automatically redirecting them to the login
screen, similar to how "web 1.0" applications generally work –
directing you to the login screen only when you hit the server, i.e.
only between page loads–)

> Could someone please provide an example for a separate login page? I
> wonder if this should be realized as a servlet or a jsp or something
> like that, how control is passed to the app and how the app finds out
> that the user is logged in...

To force authentication, my approach is to just have the "host html
page" a protected resource (configure security in the web.xml to
require a valid, authenticated user; letting the servlet container
handling authentication, using JASPIC/JSR-196 or the container's own
APIs when you need/want customization).
For the app to know the user's details, the host html page is a JSP,
rendering a <script> block defining a JavaScript variable with the
needed info,and using JSNI or just Dictionnary to getthe info from the
GWT app (do a view-source on GMail or any AJAX Google App, you'll see
that they're doing similar things), but an RPC request at onModuleLoad
could do it too (though a bit less performant).

I can't give you code/config sample offhand, but there's nothing
really special about it. The only missing thing is to detect session
expirations from your RPC calls but you already were doing this,
right?
(as I said, RequestFactory makes this easier –dispatching an event on
the eventbus– so if you can wait GWT 2.1, use RequestFactory!)

--
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] Re: How to clear static variable values when will i close my application in android

31.08.2010 21:59, siva пишет:
> Thanks for reply,no chance to clear static variable?what alternative
> solutions for that
What is the problem caused by static variables in your code not being
cleared? Can you explain the context?

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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

ChaCha

Hey guys,

Check out my brand new blog on making money with ChaCha - chacha-
guidelines.blogspot.com

email me at blake@workforchacha.com for more info

--
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: No Cell Location Updates While Display Is Off

Update: holding a screen dim wakelock for a short while means I get
updates, but it's not exactly ideal.

Pent

--
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: Re: Time without date

Robert Walker wrote:
> As I said meaningless without applying the date part to it. If today is
> Saturday, and the event is scheduled at 4:00 p.m. Tuesday, what happens
> if the time changes to, or from, daylight savings time at 2:00 a.m.
> Sunday. The value "4:00 p.m." must be translated based on the specific
> date the Tuesday lands on. Might as well just store the time as a string
> at that point. The time has no value as a Time (object) (i.e it must be
> parsed based on the date anyway).

I suppose though that the TIME field would provide some basic
validation, which would be it's only benefit as far as I see it.
--
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: [Rails] Re: Time without date

On Tue, Aug 31, 2010 at 1:46 PM, Robert Walker <lists@ruby-forum.com> wrote:
> I personally don't know why MySQL even bothers providing a TIME field
> type.
>
> Of course, as always, I could be missing some specific use case for it.

Repeating events, "Tuesdays at 4:00pm" for example.

PostgreSQL also provides a time field type where no date is stored.


--
Greg Donald
destiney.com | gregdonald.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.

[Rails] [JOB] Onsite, at Client Location only, NYC Consulting, Financial Services Firm

Please contact me directly at griff@sg.com if you are interesting
working onsite at our client's office in NYC participating in cutting
edge development of financial services applications - $700-$900 per
day.

Thanks,

Kathleen Griffiths
www.sg.com
http://www.linkedin.com/in/kathleengriffiths
www.createthebestyou.com (my life coaching website)

--
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] Licensing Verification Library & Apps Solely for "Unlocking"/Removing Ads

There's a large chunk of apps on the market that are free, with ads.
Users can pay for an "unlocker" app to remove ads in the "free" app,
presumably by doing a check on whether or not the unlocker app package
is installed.

If LVL is verified intermittently on a paid app, is it useless for
these unlocker apps? Presumably a user would never run the unlocker
app, so how would LVL even check the authenticity?

--
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: [Rails] Re: Rails 3.0 - Production Server Setup

On Tue, Aug 31, 2010 at 12:12 PM, Topher <fangiotophia@gmail.com> wrote:
> Regarding Ubuntu Linux: Ubuntu is based off of Debian; do they stay
> more
> up-to-date than the stable branch? If so, I would certainly give it a
> try

Yes, Ubuntu generally stays more up-to date than Debian in my experience.

Brad

--
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: How to clear static variable values when will i close my application in android

Thanks ,can u explain,i am fresher in android,i want to clear static
variable value,please give solutions

On Aug 31, 10:32 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Tue, Aug 31, 2010 at 1:24 PM, siva <sivaraj.r...@gmail.com> wrote:
> > I have used some static variable in my application, i want to clear
> > static variable value when will i close my application.anybody know
> > please give solution for that
>
> There is no such thing as "close my application" in Android.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org

--
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 clear static variable values when will i close my application in android

Hi Friends,

I have used some static variable in my application, i want to clear
static variable value when will i close my application.anybody know
please give solution for that

Thanks All

--
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: [Rails] Can I use session obj without cookie support in browser?

On Tue, Aug 31, 2010 at 1:12 AM, GD <gongda.fan@gmail.com> wrote:

> I want to use the session object in the rails, but the browser has
> disabled the cookie support. I store some string into the session obj,
> but I can't retrieve the string value in another page.

Possibly helpful:

http://oldwiki.rubyonrails.org/rails/pages/HowToMaintainSessionWhenCookiesAreNotAllowed

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

--
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] What is Context and what is its use?

What is context. We always pass an argument context in the intent or
manageQuery etc. What is it and what is the use of it?
does it have the information about the process stack?

--
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] Use of Service component?

Service Component is used to do some task which can be done without
user interaction. But for that we have to run a thread in subclass of
the Service.
I think we can create a thread in Activity class itself then what is
the use of Service component?
Why don't we create another thread and write the non interacting code
in this thread.

--
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: what is the appropriate MVP way of doing this?

On 31 août, 17:00, Joe Hudson <joe...@gmail.com> wrote:
> Hi,
>
> If I have a presenter that needs to populate a view that contains a
> FlowPanel which a list of custom widgets that contain some text and a
> hyperlink can anyone help me understand the best way of properly
> interfacing this out in the view?
>
> For example:
>
> public class MyPresenter {
>     public interface View {
>         // what interface method should I have to deal with a list of
> composite elements?
>     }
>
> }
>
> I'm thinking I need to make a new interface like HasLinkAndText and
> something like that but even with that I still need to deal with a
> list of these interface types.  If this question makes sense, I'd
> appreciate some help with this.  Thanks.

I'd use a CellList or CellTable in the view, so all you'd have to do
is to give the view the data and a ValueUpdater.
If you're not using GWT 2.1, I'd nevertheless follow this approach:
i.e. give the view a list of things to display, and a callback/
delegate to be informed when the user clicked a link, provided you
want to be notified back in this case (it could also take the form of
getting a HasSelectionHandlers from the view and listening to
SelectionEvents, it depends how you're "doing MVP").

--
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: using javascripts v3 api in android - help required urgently

This works quite well. The Google IO 2010 app contains a v3 JavaScript
based map. It's open source and you can use that as a guide. Search
for it on code.google.com.

A simpler example of using JavaScript with Android is in one of Mark
Murphy's books. I suggest subscribing to his commonsware site (search
Google for his site). It's well worth the $40. His examples will get
you going.

If you're not familiar with JavaScript itself, you might want to try
making a web based map first and once you've mastered that, move on to
using Android with the maps. Debugging JavaScript in the emulator or
through logcat is painful. Best to start with a working map that's
already debugged.

-John Coryat

--
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

what is the appropriate MVP way of doing this?

Hi,

If I have a presenter that needs to populate a view that contains a
FlowPanel which a list of custom widgets that contain some text and a
hyperlink can anyone help me understand the best way of properly
interfacing this out in the view?

For example:

public class MyPresenter {
public interface View {
// what interface method should I have to deal with a list of
composite elements?
}
}

I'm thinking I need to make a new interface like HasLinkAndText and
something like that but even with that I still need to deal with a
list of these interface types. If this question makes sense, I'd
appreciate some help with this. Thanks.

Joe

--
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.

HOT BABES

HOT KERALA MALLU AUNTY WITHOUT SAREE

http://hotheroinesphoto.blogspot.com/2010/08/hot-photo.html

HOT ACTRESS IN A SEXY FEELING

http://hotheroinesphoto.blogspot.com/2010/07/hot-actress_29.html

KAJAL AGARWAL HOT BOOBS SHOW VIDEO

http://hotheroinesphoto.blogspot.com/2010/07/kajal-agarwal-boob-show.html

SNEHA HOTTEST BATH ROOM VIDEO

http://hotheroinesphoto.blogspot.com/2010/07/sneha-bath-room-video.html

SOUTH ACTRESS ASTHA BINGAL IN BATH

http://hotheroinesphoto.blogspot.com/2010/07/south-actress-astha-bingal-in-bath.html

SAMANTHA SEXY PHOTO ONLY FOR U

http://hotheroinesphoto.blogspot.com/2010/07/samantha-special.html

MAHESH AMISHA SEXY LIPKISS

http://hotheroinesphoto.blogspot.com/2010/07/amishapatel-lipkiss.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.

cakePHP .htaccess on Mac OS X

Hi everyone,

I'm sure this has been covered before, but I can't find a solution
which works, so here goes...

I have a cakephp install on a Mac server. I don't have access to the
server itself, except to upload files.

The install is in a subfolder of the main site, called /newsite/

When I upload everything (from XAMPP on Windows, which is working
fine, although it's not in a subdirectory here), I get a blank page.
I've tried fiddling around with the htaccess files, and sometimes I
get 'Internal Server Error' and sometimes 'File not found', so it's
certainly something to do with the htaccess files, but I don't know
what!

They are currently exactly as they were when I downloaded them with
cakePHP. I would guess that I'm supposed to tell them somewhere to
look in /newsite/ instead of the webroot, but don't know how to do
that.

Any advice is appreciated.

Thanks,
Sharon

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] Magic method names

Rails is able to dynamically build methods from magic names like
edit_record_path.

This is very powerful, but how to find docs about it?
--
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: Overriding flatpages class meta

Thanks Owen but is doesn't work. The similar Error message:

contribute_to_class
if self.meta:
AttributeError: 'Options' object has no attribute 'meta'

On Aug 30, 8:03 pm, Owen Nelson <onel...@gmail.com> wrote:
> Sorry to be guessing here, but I was looking at something similar recently.
> My attempt (untested at this point) would be something like:
>
> from copy import copy
> class NewFlatpage(FlatPage):
>     _meta = copy(FlatPage._meta)
>     _meta.verbose_name_plural = "foo"

--
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.

Exception in client code.

Hello all,

Not sure how to solve this . I am having null pointer exceptions in
Client code. Not sure what is the point of code resulting this.

com.google.gwt.core.client.JavaScriptException: (TypeError): h is null


fileName: http://localhost:8080/projectName/8539D547D8E637FE2BDEF3195667D6A7.cache.html
lineNumber: 2409


My question is - how to relate this to the code that is resulting this
error? Any ideas?

--
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: Google map API not displayed in IE

On Aug 31, 5:41 am, shilpa yerragangu <shilpa.yerraga...@gmail.com>
wrote:
> The map is displayed in Firefox and chrome. but in IE, its not
> displayed. It shows javascript errors. I am new to google map API. can
> any one post solution to this issue?

Perhaps if you post a link to your map so we can see what the
javascript errors are.

http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical

IE gotchas:
1. not declaring variables with "var"
2. "hanging commas" in javascript objects and arrays.
3. non-standard behavior

-- Larry

--
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.

Google map API not displayed in IE

The map is displayed in Firefox and chrome. but in IE, its not
displayed. It shows javascript errors. I am new to google map API. can
any one post solution to this issue?

--
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.

Encoding

Hi,

encoding concept is not working with google client id instead of using
google api key
can any one tell me how to use encoding if we have a licensed google
map

--
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: Timer in an App

check this out

http://justcallmebrian.com/?p=129

its a very useful sample

On Aug 31, 12:55 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Use AlarmManager.
>
>
>
>
>
> On Tue, Aug 31, 2010 at 2:02 AM, chetan <chetanchauha...@gmail.com> wrote:
> > Hi All,
> >           I am creating an App in which i need to add a timer for
> > postpone the one event for 1 hr and start same event after 1 hr , so i
> > want to know how i can implement the same. Are there any Timer api's
> > and handling of them in android.
>
> > Thanks
> > Chetan Chauhan
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org- Hide quoted text -
>
> - Show quoted text -

--
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 + Postgres

Hi,

I seem to be having a problem setting up django and postgresql.

I have created a database and switched users to postgres then sync'd
the database successfully in my django project directory. But it isn't
finding the admin page still. No errors, just cant find them.


Can any one help with Postgres or point me in the direction of a good
tutorial?

Thanks

Rob

--
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: API Licensing Question

You are trying to load the API twice.
Once with a key, then again afterwards without a key.

Delete the 2nd one and see if it then works.

--
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.

Extending LogEntry model

I want to add a column to the logentry model in admin section.How
can I do this?
thanks

--
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] No Cell Location Updates While Display Is Off

I'm using the listen function from TelephonyManager to register a
PhoneStateListener (in a service), which functions fine while the
display is on. As soon as the display goes off, no more cell location
updates.

As soon as the display comes on, an immediate update.

I'm holding a partial wakelock (for over 40 seconds as a test).

I've seen a few posts elsewhere from a while ago mentioning the same
thing.

Can a dev confirm this is intended ?

If so, I'll feature request it (and it should be in the docs), if not,
I'll bug report it :-)

Or has anyone else got a workaround ?

Thanks,

Pent

--
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 make sure my Service is restarted?

0 down vote favorite


I have an Android application with a background running Service.

When the Service crashes or gets killed by Android I can see that
Android tries to restart it again.

However the Service never actually restarts, I can see Android
scheduling the restart but it new actually happens.

My code is as follows:

--------------------------------------------------------------------------------------------------------------------------------------------------------------

@Override
public void onCreate() {
String ns = Context.NOTIFICATION_SERVICE;
mNotificationManager = (NotificationManager) getSystemService(ns);
mTelephonyManager =
(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
audio_service = (AudioManager)
getSystemService(Context.AUDIO_SERVICE);


}

// This is the old onStart method that will be called on the pre-2.0
// platform. On 2.0 or later we override onStartCommand() so this
// method will not be called.
@Override
public void onStart(Intent intent, int startId) {
handleCommand(intent);
}

@Override
public int onStartCommand(Intent intent, int flags, int startId) {
handleCommand(intent);
// We want this service to continue running until it is explicitly
// stopped, so return sticky.
return START_STICKY;
}

void handleCommand(Intent intent) {

running = true;
mTelephonyManager.listen(new IncomingListener(),
PhoneStateListener.LISTEN_CALL_STATE);

}

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Is there something missing in my code to allow the Service be
restarted?

--
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: will_paginate

On 8月31日, 下午3時57分, Colin Law <clan...@googlemail.com> wrote:
> On 31 August 2010 03:49, Jeff Chen <jeffchen1...@gmail.com> wrote:
>
>
>
>
>
> > On 8月30日, 下午8時19分, Colin Law <clan...@googlemail.com> wrote:
> >> On 30 August 2010 10:33, Jeff Chen <jeffchen1...@gmail.com> wrote:
>
> >> > On 8月30日, 下午4時08分, Colin Law <clan...@googlemail.com> wrote:
> >> >> ...
> >> >> In particular you have not confirmed that you do not get any errors
> >> >> when you start the server.
>
> >> > Yes, I get not any errors when start the server.
>
> >> >> Also please can you confirm that if you remove the calls to paginate
> >> >> and just fetch all records that all works as expected.
>
> >> > Yes, I did remove the calls to paginate, and just fetch all records
> >> > that all works as expected.
>
> >> >> ...
> >> >> I don't see any call to paginate so that is a bit odd.  Please confirm
> >> >> exactly what is happening and make sure the code you post matches the
> >> >> error message.  Post the full error trace for the message please.
>
> >> > Processing ManageController#index (for 127.0.0.1 at 2010-08-30
> >> > 17:30:14) [GET]
> >> >   [4;35;1mSQL (64.0ms) [0m    [0mSHOW TABLES [0m
> >> >   [4;36;1mItem Columns (403.0ms) [0m    [0;1mSHOW FIELDS FROM
> >> > `items` [0m
>
> >> > NoMethodError (undefined method `paginate' for #<Class:0x675f980>):
> >> >  app/controllers/manage_controller.rb:25:in `list'
>
> >> Right so the error is in list, that is why I asked for the whole error message.
>
> >> >  app/controllers/manage_controller.rb:4:in `index'
> >> >  c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
> >> >  c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
> >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
>
> >> I see that the error is from Item.paginate.  You have not told us
> >> anything about the Item class.  Can you show us the code for that
> >> class (delete methods that are not relevant before posting) and
> >> confirm the path and filename to that class.
>
> > The item.rb of model is :
> > class Item < ActiveRecord::Base
> > end
>
> > Do I need to add the codes into the item.rb?
>
> No, what you have looks ok.
>
> Only one more suggestion I think, I seem to remember some-one having a
> similar problem and it went away when they used Mongrel instead of
> Webrick, though I do not understand why.  I can only suggest you try
> that, so start the server with
> ruby script/server --mongrel

I did run: ruby script/server --mongrel , and got the result is
"server : invalid option --mongrel".
Where to get the mongrel, and how to fix it up when I run above
command again?

> and see what happens.  I always use mongrel as for me it loads much faster.
>
> Colin

--
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.

Beauty Kisses

HOT KERALA MALLU AUNTY WITHOUT SAREE

http://hotheroinesphoto.blogspot.com/2010/08/hot-photo.html

HOT ACTRESS IN A SEXY FEELING

http://hotheroinesphoto.blogspot.com/2010/07/hot-actress_29.html

KAJAL AGARWAL HOT BOOBS SHOW VIDEO

http://hotheroinesphoto.blogspot.com/2010/07/kajal-agarwal-boob-show.html

SNEHA HOTTEST BATH ROOM VIDEO

http://hotheroinesphoto.blogspot.com/2010/07/sneha-bath-room-video.html

SOUTH ACTRESS ASTHA BINGAL IN BATH

http://hotheroinesphoto.blogspot.com/2010/07/south-actress-astha-bingal-in-bath.html

SAMANTHA SEXY PHOTO ONLY FOR U

http://hotheroinesphoto.blogspot.com/2010/07/samantha-special.html

MAHESH AMISHA SEXY LIPKISS

http://hotheroinesphoto.blogspot.com/2010/07/amishapatel-lipkiss.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] Want to confirm that app is in background due to Home Key press

My app requires to know whether the entire app is in Background
state , which in most cases is due to Home Key,
I want to just to know if home key is pressed or not in the app, Can
any one guide me on this.

Thanks
Sumanth

--
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] Can I use session obj without cookie support in browser?

Hi, guys:

I want to use the session object in the rails, but the browser has
disabled the cookie support. I store some string into the session obj,
but I can't retrieve the string value in another page.

In there any solution to solve the problem?

I have tried add the following code on Application_Controller to store
my session into database, but it doesn't work. I still can't get the
string value in the session obj.

I have tried add the following code on Application_Controller to store
my session into database.

ActionController::Base.session_store = :active_record_store

--
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.

Monday, August 30, 2010

Grid Header

Hello,

I have some issues about GWT grid header

GWT grid header provides 2 in built client side functionality.

1. We can sort.

2. We can add column and remove columns.

I want an event, which will enable me to get name of the columns
added/removed from the grid.


Thanks & Regards
Abhijeet S

--
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] layout_gravity

OK, I'm obviously missing something fundamentally simple here.
I have a LinearLayout containing 2 buttons.
I've coloured the layout background red so I can see that it has
expanded to fill its parent.
I wanted the BooButton to center horizontally within the layout and
the OtherButton to be right justified.
But both buttons are on the left of the layout.

What have I done wrong?

<LinearLayout android:id="@+id/buttonBlock"
android:orientation="horizontal"
android:background="#ff0000"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

<Button android:id="@+id/booButton"
android:text="Boo"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

<Button android:id="@+id/otherButton"
android:text="Other"
android:layout_gravity="right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>

--
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] can an application have more than one icon in the launcher?

can an application have more than one icon in the launcher? (No, not
plotting any mischief).
Was wondering how to do it if the application has only one activity.
thanks,
Anil

--
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

Calling methods from GWT script in existing HTML

Hi All,

I have a huge HTML (existing project) and i am trying to incorporte
some GWT components. I have created a simple method called
navigateToPage which is written as

static native String navigateToPage() /*-{

// ...implemented with JavaScript
$wnd.alert("yeah yeah yeah");

}-*/;

from existing html i am trying to call this as

<td><a href="javascript:navigateToPage();">OK TEST IT</a></td>

This gives me an error saying navigateToPage() is undefined. I assume
this is because of GWT script being compiled. Is there anyway to get
around this? I cannot modify the page to be wholly GWT.

Please let me know if anyone has faced this issue.

--
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: potential issue re in memory django file uploading.

On 31 August 2010 12:04, Russell Keith-Magee <russell@keith-magee.com> wrote:
>> On 8/30/2010 9:09 PM, dave b wrote:
>>> Do not pass go do not collect profit!
> ...
>>> Put your hands up in the air like you just don't care!
> ...
>>> blahblahblalbha sssh listen.
> ...
>
> On Tue, Aug 31, 2010 at 9:42 AM, Steve Holden <holdenweb@gmail.com> wrote:
>
>> Frankly, at this stage you can stick it up your ass and set fire to it
>> as far as I'm concerned. I like to delude myself that I am pretty
>> tolerant, but an ego the size of yours rubs me up the wrong way and I
>> start to forget my manners.
>
> Ok - before tempers get out of control, let's nip this in the bud.
>
> I don't care if the your weapon of choice is passive-aggressive
> expressions of pop culture, or detailed explorations of the
> appropriate application of incendiary products to bodily orifices --
> this kind of tone doesn't cast the community in a good light.
>
> We try to maintain a civil tone here. If you don't feel that you're
> able to maintain that tone, please walk away from this discussion.

Agreed, I apologize for my part in this.
Just a heads up have sent an email to bugtraq with this little issue
outlined in it.
While you wait for it to go through moderation here are some quotes
from much smarter people than myself:

"Those who cannot learn from history are doomed to repeat it."
"History is written by the victors. "
' "No comment" is a splendid expression. I am using it again and again. '
"Given enough eyeballs, all bugs are shallow. "

--
My only love sprung from my only hate!Too early seen unknown, and
known too late! -- William Shakespeare, "Romeo and Juliet"

--
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.

Proxy site open facebook ,myspace and you tube etc

Proxy site open facebook ,myspace and you tube etc
++++++++++++++++++++++++++++++++++++++++
http://mypro.totalh.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: will_paginate

On 8月30日, 下午7時30分, Raony Vieira ferreira <li...@ruby-forum.com> wrote:
> > NoMethodError (undefined method `paginate' for #<Class:0x675f980>):
> >   app/controllers/manage_controller.rb:25:in `list'
> >   app/controllers/manage_controller.rb:4:in `index'
> >   c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
> >   c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
> >   c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
>
> > Rendered rescues/_trace (144.0ms)
> > Rendered rescues/_request_and_response (8.0ms)
> > Rendering rescues/layout (internal_server_error)
>
> I don't know but try, check the will_paginate version and write in
> evironment.rb between the "Rails::Initializer.run do |config|" and the
> last end this

>
> config.gem 'will_paginate', :version => 'your version'
>
> and restart the server and check

1. Checking the version:
gem list -- local -> will_paginate <2.3.14>

2. and I add below code into environment:

config.gem 'will_paginate', :version => '2.3.14'

3. Restart the server, and got the result:
undefined method `paginate' for #<Class:0x66a2718>
>
> --
> Posted viahttp://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.

[android-developers] Re: How Write a background service to get latitude and longitude

In the name of expediency, it's best to start both listeners
simultaneously and then wait for a set period (like 30 seconds) before
deciding on which one to use. I find this to be the most accurate. If
you wait for the GPS to time out before starting the network listener,
you waste a full 30 seconds to a minute. The code is a bit more
complicated but the result is the most efficient location function.
You can see Google Maps doing this when you look at the map app. The
blue circle starts out really big, then once GPS kicks in, it shrinks.
If GPS isn't available, no time is wasted as the network fix is fast.

-John Coryat

--
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] Can 9 patches have more than marked region or not?

I'm confused because I've found various tutorials illustrating how to
create multiple stretchable regions in your 9 patch (e.g. you want the
center and corners of the image to stay fixed size, but two inner
columns to stretch), and the draw9patch tools seems to happily support
it. What's more, a 9 patch built this way even works in the layout
preview tool.

However, when AAPT runs over the .9.png in Eclipse, I get the
following error:

"Can't have more than one marked region along edge. - Found at pixel
#9 along bottom edge."

So it doesn't seem to like the multiple regions.

What's going on?

--
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: continue loading WebView on screen off/ application switch

I noticed a bug that you may be able to exploit. If the webview has
any active elements, like a JavaScript setInterval, the webview will
continue processing like it is in the forefront. Perhaps if you put in
a setInterval, it would act like it never went to "sleep."

I've flagged this as a bug, so this behavior might not continue
forever.

-John Coryat

--
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

Welcome to Metallurgical latest industrial technology.

Welcome to Metallurgical latest industrial technology.
http://bit.ly/CNCjobs

Replace your water jet bricks Tougher, Faster, Better, Simple.
http://bit.ly/CNCjobs

============

--
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] Apps availability on US Market

Hi all,

Sorry to bother the group for that but I don't really know where to
ask for that favor :s

I've launched my new app "a World of Faces" a few days ago. Nothing
too fancy but an idea I had for a long time.

Anyway I was looking at my stats today and realized I have no one from
the US that came to visit. So in short I was wondering if someone in
the us could just try to check if my app is available on the market
there.

Thanks a million.

Yahel.

--
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 - شقق بموقع وسعر متميز بنزهة العبور الحى الثامن (عمارات مصر الجديدة)

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

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

[Rails] paperclip gem install failed

when i'm installing paperclip gem its return err (i18n requires
RubyGems version >= 1.3.6)
the os is ubuntu 10.04 64bit
-nirosh-

--
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.

[alexaproxy.blogspot.com] PR1-PR8 Contextual Links

This is an Entireweb Webmaster Exclusive Mailing.
To drop your subscription, use the link at the bottom.

Click here to see a web copy of this email if you cannot read it.

Quality Contextual PR1-PR8 Links
PR1-PR8 Contextual Link Building Service
We Guarantee That All Your Links Will
1 Come from PR1-PR8 pages (yes, pages, not sites). 4 Come from related to your site pages.
2 Be placed within page content & be surrounded by content! Links will NOT be placed in the menu, footer, header or links page. 5 Come from different authoritative sites. Links will NOT come from links pages, forums, directories, network of sites, link farms, etc.
3 Come from content with 5-10 outbound links on average. 6 Look absolutely natural to Google & stay alive for minimum 6 months.

We build the most quality in-content,
high PR links on the Internet!


No Upfront Payment, Sign Up Free!


Steven Coganov Links Management is an absolute gem. It's been 3 months since I signed up with them and now I’m in Top 10 Google search results for 13 of my most important keywords!

Sincerely yours,
Steven Coganov | Small business owner
Try It For Free!


If you are not satisfied with the quality of links we built for you...

YOU DON'T EVEN HAVE TO PAY FOR THEM!

You pay only AFTER you see where your links will be placed. So you have absolutely nothing to lose! Just fill out this form to let us start building the most quality links for you RIGHT NOW.

Seo Guarantee
Show Me Your Links!

To discontinue mailings, click here



--
Posting oleh CITY CATZ ke alexaproxy.blogspot.com pada 8/30/2010 04:06:00 PM

--
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: How Write a background service to get latitude and longitude

Is it just me or does this reek of a dude trying to stalk his
girlfriend? :-)

I've had good experiences with getting the location of android devices
especially the HTC Hero.

--
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: IE8 Style.setOpacity

Nevermind, I asked too soon, I ended up using:

style.setProperty("filter", "alpha(opacity \\=" + (int)(opacity*100) +
")");

and it worked fine.

On Aug 30, 3:55 pm, bconoly <bcon...@gmail.com> wrote:
> Hey All,
>    It seems that IE8 uses -ms-filter to work opacity propertly and the
> Style function for setting opacity works great in all browsers but
> IE8.  Does anyone know a workaround for setting the -ms-filter
> property via javascript?
>
> I've tried several:
> style.setProperty("MsFilter",
> "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + (int)
> (opacity*100) + ")");
> style.setProperty("MsFilter",
> "\"progid:DXImageTransform.Microsoft.Alpha(Opacity=" + (int)
> (opacity*100) + ")\"");
> style.setProperty("msFilter",
> "\"progid:DXImageTransform.Microsoft.Alpha(Opacity=" + (int)
> (opacity*100) + ")\"");
>
> Any suggestions would be greatly appreciated,
> 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.

[Rails] Re: Rails 3.0 - Production Server Setup

what about ubuntu linux?

On Aug 31, 2:48 am, Topher <fangiotop...@gmail.com> wrote:
> Hello all,
>
> I am incredibly excited about Rails 3.0 and we will be using it for
> some products in the very near future. The problem is, we are
> currently using Debian for our development/production environments and
> they don't have very good support for Rails 3.0 (yet).
>
> Now, I love Debian because it's incredibly stable, easy to use, tons
> of support, etc. However, I am willing to use a different server for
> development/production of any Rails 3.0 apps.
>
> So, are many people going to use Debian with Rails 3.0? If so, could
> you point me to some articles on best practices, setup guides, etc. If
> not, what distro would be best? Anybody know what the guys at
> 37signals use?
>
> Thanks very much!

--
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] Re: How Write a background service to get latitude and longitude

>
> Use getLastKnownLocation(). Be forewarned that there's no way to get a
> fix on demand on most mobile phones.
>

I would have to disagree with you. The GPS on the average Android
device is quite good and will provide a fix within 12 meters on
average. It's just a matter of letting the sensor view enough
satellites (at least 4) which takes on the order of 30 seconds to a
minute with good visibility.

-John Coryat

--
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