aye thwe

Greenhorn
+ Follow
since Jul 09, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by aye thwe

Hi everybody,
I use displaytag to show my data. It's all OK in showing the list.
But when i exporting data to excel, NO data is shown in excel. Just only show header title in excel.
Please help me.

Thanks a lot.
Hi Monu,
I m a newbie to android too and i found that exception too.
In my manifest i already put <uses-permission>, but still have this exception.
here is my create Feed method
(that's from Newsdroid tutorial..)

public void createFeed(Context ctx,String linktext) throws ParserConfigurationException, SAXException, IOException
{
targetFlag = TARGET_FEED;

try {

URL url = new URL(linktext.toString());
droidDB = new NewsDroidDB(ctx);
droidDB.open();

SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
RSSHandler myExampleHandler = new RSSHandler();
xr.setContentHandler(myExampleHandler);
InputStream mystream = null;
try{
mystream = url.openStream();
}catch (Exception e)
{
Log.e("RSS Handler", e.toString());
}
InputSource is = new InputSource(mystream);

try {
xr.parse(is);
} catch (SAXException e) {
e.printStackTrace();

Log.e("xr.pasrse(is)", e.toString());
}

} catch (Exception e) {

Log.e("RSS Handler", e.toString());
}


}
7 years ago
hello Ankit,
thank you for your reply.
yes ..selectedRoles contains objects and i change my s:checkboxlist as you told
it all works!!
really really thanks Ankit
7 years ago
I am using struts 2 checkboxlist to display the list of checkboxes... Everything works fine except I am unable to preselect the checkboxes at the time of update...
allRoles is an arraylist that contains all roles from database.
selectedRoles is also an arraylist that contains roles by each user

I want all roles with selected roles checked.

In my jsp, I wrote..

<s:checkboxlist list="allRoles" name="roles" listKey="rolesid" listValue="rolesDescription" value="selectedRoles"/>


it doesn't work.
I have search extensively on google, but no help yet.. anyone can help me please.

Thanks
7 years ago