Posts

java - Error in import import net.proteanit.sql.DbUtils package in netbean ID 7.0RC2 -

Image
i don't know solve problem need add external jar please mention name of jar use package. you need jar file rs2xml.jar resolve problem.

c# 4.0 - Impromptu: Could not load type because it attempts to implement a class as an interface -

i have started using impromptu after recommendation on stack. i believe have implemented correctly getting error "could not load type because attempts implement class interface" in portable class library have following model: public class route { public user user { get; set; } } public class user { public name name { get; set; } } public class name { public string title { get; set; } public string firstname { get; set; } public string middlename { get; set; } public string lastname { get; set; } } and have created following iclasses in mvc project: public class iroute { public iuser user { get; set; } } public class iuser { public iname name { get; set; } } public class iname { [required] public string firstname { get; set; } [required] public string lastname { get; set; } } and in controller have following being sent view: route sendthis = new route(); return view(sendthis.actlike<iroute>()); but ...

Mysql - Find duplicates records evaluating 2 columns -

i have mysql table structure this: order_id - customer_name - customer_email_address i need query search records have same customer_name or same customer_email , show result ordered order_id groups (descending order). example: mysql table order_id customer_name customer_email_address 1 pippo pippo@pippo.com 2 pippo pippo2@pippo2.com 3 pluto pluto@pluto.com 4 caio pippo@pippo.com 5 pippo4 pippo4@pippo4.com 6 pluto pluto22@pluto22.com result 6 pluto pluto22@pluto22.com 3 pluto pluto@pluto.com 4 caio pippo@pippo.com 1 pippo pippo@pippo.com 2 pippo pippo2@pippo2.com result 6 , 3 share same customer_name result 4 , 1 share same customer_email_address result 1 , 2 share same customer_name order_id 5 not in results because has no dupl...

android - Disabling GridView scrolling -

i have gridview of more 10 rows. reference chart user unable scroll manually. gridview should scroll down in particular time period. have that? possible make gridview smoothscroll? 1 more question have that. how can access gridview adapter class.? i have solved disabling of gridview scroll by gridview.setontouchlistener(new ontouchlistener(){ @override public boolean ontouch(view v, motionevent event) { if(event.getaction()==motionevent.action_move){ return true; } return false; } });

ruby on rails - Facebook API Publish feeds in Group -

Image
i posting feeds on pages thru facebook api published normally. posts appears on fans feeds, (may irritate them if these in numbers, can understand) i want post these feeds in group like i using koala gem posting feeds using https://graph.facebook.com/[user_id]/feed?message="" rails code graph = koala::facebook::api.new(page[:token]) result = graph.put_object("me","feed",facebook_attributes(feedback)) you cannot because posts grouped facebook algorithms.

html - Problems with JavaScript Dropdown Nav -

i using javascript drop down navigation menu found after googling , i've managed style way want. however, after validating site, errors ul tags (error: element ul not allowed child of element ul in context. (suppressing further errors subtree.)). not error, navigation doesn't work way should. i've tried different variations of ul , li tags, , moved things around, , still cannot work correctly. <div class="nav"> <ul id="menu" class="menu"> <li><a href="#">one</a> <ul> <li class="submenu"> <a href="#">one</a> <ul> <li><a href="#">one</a></li> <li><a href="#">two</a></li> <li><a href="#">three</a></li> </ul> </li> <li class="submenu"> ...

wso2 - wso2esb - aggregate mediator is not being detected -

i using wso2 4.0.3 on mac osx 10.6 have data services server feature enabled(3.2.2 working in wso2esb 4.0.3 on aggregate mediator. below code, iterate mediator worked perfectly, aggregate mediator not seem recognized, log in not getting printed .the response endpoint getting printed in log level=full of outsequence, flow not getting continued in aggregate. could wso2team please confirm whether aggregate behaves expected in wso2 esb 4.0.3? <?xml version="1.0" encoding="utf-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="test" transports="http https" startonload="true" trace="disable" statistics="enable"> <target> <insequence > <log level="full" separator=","> <property name="insequence-entrymessage" value="test - entering insequence."/> </log> <iterate preservepay...