Yeah, thanks for comment :D You are correct, it is required to set the page parameter(eg: d-xxxxx-p) for the URL-parameter. Previously I just set the current page no, without page parameter, that's why not works!
Thank you very much.
User Profile
Collapse
-
Control Page Number in Display Table
Hi everyone,
I have met a problem here regarding the display table. Let me explain my problem 1st.
Assume that I want to display a list of data in a table, each page contains 10 records. So when I clicked on page no.2, it will showing records from 11 to 20. At this moment, I have click submit button to save the changes I did in page 2. So now my question is, after saved, it should be remain the page 2, but now it show "[First/Prev]1,... -
Firstly im thank that you provide an example for me, i have tried, but it show Date, which not Time, any way, i appreciated u guys willing help :) further explaination on my problem, i have replied radhikams..
From the output, i can know that tm is month, te is day and tY is year, but may i know is it use tY, tm and te as default? can use other naming?and why need %1?
im newbie in java, pls forgive if i have ask stupid question.Thanks...Leave a comment:
-
Im using java.util.Date, i convert the Time from String(HH:mm:SS format, value is 17:12:19) to Date, then it become "1970-01-01 17:12:00". Can i know why it become 1970-01-01?...Leave a comment:
-
Date and Time problem
Hello, im facing date and time problem. I want get a time in Date Type, with this format HH:mm:SS
i try to get new Date(), then format it as String. Then i use substring to get the time. Then i parse it as Date Type, and want to save it in database(databa se has a field called start_time, which is Date Type)
After i do this transaction and check with database, database show "1970-01-01 17:12:00".....C an anyone help me on that?Thanks... -
I have make it already, anyway, thank you very much on reply!
Below is the solution, if anybody has same problem with me, can have look! :)
Backend code still remain, but change setValueArr( ) to setValue( ), which is set value as string, not string[] anymore.
But there is changes at jsp:
<c:set var="index" value ="0"/>
<c:set var="valueIndex " value="0"/>...Leave a comment:
-
Ya, i can get the value(i called it stall's id) from page A to page B. Then i need to place stallId in text box which in display table.
at jsp:
[CODE=html] <display:tabl e name="paramsArr " cellspacing="0" cellpadding="0" requestURI="" id="paramsArr" pagesize="40" class="table">
<display:colu mn property="name" escapeXml="true "...Leave a comment:
-
Problem with String and String []
Hello, im facing a problem on String and String[]. I pass a value from another jsp , and i get the value at backend. Then i need to set this value into String[] which index 11 and pass back to jsp and show it . Anyone can give me hints or solution on that?Thanks in advanced, and hope to get your replies soon....:) -
How to order with few criteria?
Hello everybody, im newbie on mysql.
Now i want order by few criteria, that is stallName, date and productName.
I code with "select * from item order by stallName, date, productName", it generates result like this :
Chicken King
Sales on 13/03/2008
ITEM QTY TOTAL AMOUNT (RM)
chicken sweetie 1 2.49
Aloha Chicken ... -
Erm, maybe some will confusing on stallFk and orderFk. stallFk actually is stall's id which is primary key; and orderFk is order's id , which also a primary key. About stallName, since Order database consists stallFk, then it can get stallName by stallFk. I hope this reply will make all more understand the flow and hope to get you'll reply soon.
Thanks....Leave a comment:
-
How to keep the ordering?
Hello, i have met a order problems now, that's happen between Order and Items.
My Order database consists fields: id, transId, totalAmount, orderType, stallFk and dateOrder.
Then Item database consists fields: id, qty, amount, unitPrice, productName, and orderFk.
I have get a list of orders which filter those sales-cancel transaction(whi ch customer may make sales, but he/she wanna to cancel the sales), order by stallName...
No activity results to display
Show More
Leave a comment: