![]() |
| ||
| Re: Urgent.....Dynamic Changes.... Though I think you'd be surprised how much DOM you know now! |
| ||
| Re: Urgent.....Dynamic Changes.... hi foo, U know i m working webMethods Integration part.In that i need the jsp page to get the input of purchase order.thats the reason i m working in jsp.to get the product details i went in the way of DOM. but now i finished the part in webMethods but jsp makes me to struggle here.i did the changes what u advices but still no result. could u please look into it deeply pleas thanks a lot.. <html> |
| ||
| Re: Urgent.....Dynamic Changes.... I think the problem is my understanding of what you want to achieve. I don't see any problem with the result, from what I understand you are trying to do. Of course I can see why this would make any sense. Oh and there is no reason to include a taglib here, your not using any JSP elements that I noticed... Cheers, alpha_foobar |
| ||
| Re: Urgent.....Dynamic Changes.... foo, Once again i will xplain the scenario. i m working in business to bussiness integration tool.we just need the jsp form to get the user input and assign the retrived values into the integraion tool. for that i need a purchase order format page,which should have the purchase order header: purchase-order_id senderID receiverID postatus podate expdate purchase order detail: productID productName productPrice productQuantity productSKU productUPC the purchase order detail should be generated according to the user needs. for example if the user wants 2 product items to be purchased then the detail should generated as follows productID 1 productName product1 productPrice 89 productQuantity 9 productSKU 678 productUPC 465 productID 2 productName product2 productPrice 890 productQuantity 49 productSKU 6738 productUPC 4635 but the purchase order header should be unique for both the product purchase-order_id 123 senderID x receiverID y postatus open podate 7/08/2005 expdate 9/08/2005 i dont know the number of items the user is going to order for that reason i used DOM for dynamic field generation is there any solution for this problem please give me the solution thanks a lot foo.. |
| ||
| Re: Urgent.....Dynamic Changes.... well, if you looked at the output forwarded to you, you would see that all the dynamically created dom objects send you a value. This value is an array if more that one field with the same name exist. which is why I don't understand why you'd want to assign the value to your hidden fields... especially not in a manner where it is the last row a user selects that is associated (this seems to be of little use apart from an excellent way of showing how to traverse the DOM). Here is the name value pairs I got from playing: SKU='product SKU 3' Now do you see my point? You haven't shown me any good reason for the hidden fields (yet). |
| ||
| Re: Urgent.....Dynamic Changes.... yes foo there is no need for hidden fields i have changed a code a littile bit and its working properly now.Thank you very much for your help.here is my code sorry here is our code <html> now i am moving to next level. yes i want the selection list option values to be generated from the result set of oracle database. since the selection list was generated using dom would there be any problem.? |
| All times are GMT -4. The time now is 12:50 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC