My issue with struts, any help ?
hi all
first time being here, hope a good time ....
my issue is that when I try to prevent from direct access to jsp under struts framework by place jsp files under /WEB-INF/pages on tomcat 5.0.30 ,I made it from index.jsp (/index.jsp) to /WEB-INF/pages/1.jsp by using ForwardAction , but when I try to nevigate to 2.jsp (relative to 1.jsp) without a ForwardAction , the container prompted me resource is not available, so the problem is if I have to use a FrowardAction everytime when I wanna access to jsp files somewhere under /WEB-INF, even from jsp which is in the same directory under /WEB-INF
any hand will be preciated !
thanks a lot in adv !!
blf0
first - thanks for your reply
I can understand what you mean , to adhere to the MVC conception , we need to have any action go through the controler .
but , once I wanna access to a jsp file , then I need to set a global-forward and a ForwardAction , when time goes by, and the project keeps getting larger , so there will be too many forwards and FrowardActions , right ?
actually , I have a Office.jsp , which has a frameset inside , left and right,each invokes a jsp file like this :
<frameset rows="*" cols="144,*" framespacing="2" frameborder="NO" border="2" bordercolor="#CC0000">
<frame src="OfficeLeft.jsp" name="leftFrame" scrolling="NO" noresize>
<frame src="Notification.jsp" name="RightFrame">
</frameset>
when I have successfully forwarded to this Office.jsp , it prompts OfficeLeft.jsp and Notification.jsp are not available. so my problem is I don't know how to get this work fine .
Similar Messages
-
Issues with styles: any help gratefully received!
Hi all!
I made the [perhaps reckless!] decision to use Pages as my primary word processing software for my PhD. I found a great bibliographic editor [Sente], and liked the look and feel of Pages.
Now, 6 months, and about 10,000 words in, I am still broadly happy with my decision: apart from one thing that drives me mad! Any help would be appreciated.
Say I copy text, for example, from the main body to a footnote. The source style is retained. No problem. So, I highlight the text and then click on one of the stlyes in my style draw. In this example, the "footnote" style I have defined. Now.... it just doesnt seem to do this operation smoothly. In this case..... it never applies the font size of the style I choose to change it to. Its driving me nuts! And when I copy text from another source into the main body, and then highlight and select a style from the draw to change... it seems to want to keep the source file, or change it to helvetica, and ignore my styles.
This is really driving me mad, and I am thinking I should transfer all my documents to Word 2008 [which I own], but I really like Pages, and dont want to have to do this if at all possible.
Any suggestions?
Cheers!
Steviehttp://discussions.apple.com/thread.jspa?threadID=1643118&tstart=15
+-+-+-+-+-+-+-+-+
Worried Life Blues 2008
+4. Discussions+
+Apple Discussions, launched in August, 2000, have grown rapidly in usage and features. The main features include personalization, subscription capabilities and email capabilities. _For information on how to use Discussions, please visit the Discussions Help Page_. Cookies should be enabled and an Apple ID account is required if you would like to contribute to the discussions.+
+Entering the Help and Terms of Use area you will read:+
+*What is Apple Discussions and how can it help me?*+
+
Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. … You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.+
+_If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages._+
+*I have a question or issue*—+
+how do I search for answers? _
It's possible that your question or issue has already been answered by other members so do a search before posting a question._ On most Apple Discussions pages, you'll find a Search Discussions box in the upper right corner. Enter a search term (or terms) in the field and press Return. Your results will appear as a list of links to posts below the Search Discussions Content pane.+
+Search tips are available here:+
+http://discussions.apple.com/help/search-tips.html+
+-+-+-+-+-+-+-+-+
Yvan KOENIG (from FRANCE lundi 4 août 2008 12:27:57) -
Why has my ipad mini stopped connecting with my iPhone 4S? I used to use it to download books, or transfer emails to my ipad mini. It was fine 3 days ago, now I get a message saying " cannot join with iPhone" Any help greatly appreciated.
You can try resetting your iPad and iPhone by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
Try again to see if the problem persists. -
I'm using jsf 1.1 with struts 1.3.5 and am experiencing an issue with the inputText element. The problem is the name attribute being generated is not allowing the form bean's attributes to be set. For example:
<h:inputText id="username" value="#{loginForm.username}"/>
generates
<input id="_idJsp3:username" name="_idJsp3:username" type="text" value=""/>
The issue being the name of the field is _idJsp3:username so the form property 'username' is not getting set. I've tried removing the inputText tag and replacing it with this:
<input name="username" type="text"/>
And it works. What's the deal? I know a lot of people have used/are using JSF and struts together, what am I doing wrong?
By the way, this is the last hurdle i need to clear so any help would be appreciated.first - thanks for your reply
I can understand what you mean , to adhere to the MVC conception , we need to have any action go through the controler .
but , once I wanna access to a jsp file , then I need to set a global-forward and a ForwardAction , when time goes by, and the project keeps getting larger , so there will be too many forwards and FrowardActions , right ?
actually , I have a Office.jsp , which has a frameset inside , left and right,each invokes a jsp file like this :
<frameset rows="*" cols="144,*" framespacing="2" frameborder="NO" border="2" bordercolor="#CC0000">
<frame src="OfficeLeft.jsp" name="leftFrame" scrolling="NO" noresize>
<frame src="Notification.jsp" name="RightFrame">
</frameset>
when I have successfully forwarded to this Office.jsp , it prompts OfficeLeft.jsp and Notification.jsp are not available. so my problem is I don't know how to get this work fine . -
Issue with Smart View Help Contents using v11.1.2.0.01
Hi there,
I just installed v11.1.2.0.01 (Build 003) of the Smart View add-in on a MS Windows XP SP2 PC with MS Office 2003 SP3.
Unfortunately, the Help Contents in MS Excel does not seem to work as whenever I select Smart View > Help > Contents, nothing gets displayed. Selecting Smart View > Help > Technical Support and Smart View > Help > EPM Documentation takes me to various links on the www.oracle.com site.
I uninstalled then re-installed this specific version a few times but to no avail. I even checked the contents of each subdirectory where Smart View has been installed but could not find any Help files whatsoever.
1. Has anyone ever encountered this issue?
2. If yes, what do I need to do to resolve this issue and get the Smart View Help to be displayed?
Thanks in advance,
JBMWell, reading the documentation about knowing where to find the documentation would have actually helped. At the bottom of page 10 of the Smart View ReadMe document, the following is mentioned under the "Documentation Updates" section:
"For Smart View online help to be available, the Shared Connections URL on the Advanced page of the Options dialog box must contain an EPM Workspace URL."
This question is now answered.
JBM -
USB 2.0 issue with sleep mode--help!
hey there,
so i've searched this forum's board and found that it seems quite a few people have had issues with USB 2.0 and sleep mode on the mac. most of what i read, however, comes from people not being able to put the computer to sleep once new USB 2.0 cards or devices are installed. that is not the problemm I seem to be having, but is this:
I recently purchased a Belkin USB 2.0 PCI card, and installed it on my MAC G4 tower. It seemed to work ok for a little while, but then i noticed that AFTER i put the computer to sleep, when it 'awakens' from slumber, it no longer reads the USB devices. if the device was plugged in prior to sleep mode, it sometimes reads ok. but if I try and plug in a new USB device, such as an iPod or flash drive, no dice. it doesn't mount on the Mac.
I called Belkin tech support, and they were very helpful, but told me that the macs have had issues powering the USB PCI card once the computer is in sleep mode. they even directed me to an apple support page that has downloads that seem to address this, but they're for 10.0-10.0.4. I don't want to download that onto my mac (10.3.9) cuz im worried it might screw something up on my OS.
I would LOVE a download link for a software updater for this if someone knows where it is, otherwise, I may have to return this thing to Belkin and go with a more mac-friendly brand. so im open to that possibility, too.
any help would be GREATLY appreciated!!
cheers,
the quid pro
Power Mac G4 Mac OS X (10.3.9) Dual 1Ghz, 1.5 GB SDRAMI would either complain to Belkin for a fix if there is one or return the card and try a different one. You should not have the problem, but Belkin USB hubs and cards appear to have more problems like yours than other manufacturers' products.
You might try Sonnet's Tango FW400/USB 2.0 multi-card, for example, or Firewire Direct's 6-port FW800/USB 2.0 card.
You may also want to check this page for some user reports on related products. -
Image Gallery issues with Lightbox2 - please help!
Hello there,
I am using Lightbox2 image gallery. The loading.gif and close.gif aren't showing up and I think there's an issue with the path in the lightbox.js file. The loading and close gifs are located in the Images gallery so I changed the path in the lightbox.js file accordingly - I've gone through this many many times but they are still not showing up.
Can anyone please help me?
My website is: www.labellepetraie.com
Here's where I downloaded the script from: http://www.huddletogether.com/projects/lightbox2/#how
I have tried all the path combinations mentioned in their forum but to no avail. What am I doing wrong?
Thank you for any help you can offer to me.
Regards!Interesting. I've just looked at your scripts, and it would appear that you have blended two versions of lightbox2 on your page,. Is that possible? The lightbox.js file has no function called initLightbox() in it, whereas older versions do. So, try changing this:
window.onload = function(){ // use this instead of <body onload …>
MM_preloadImages('../3websites/home4.jpg','../3web sites/amenities1.jpg','../3websites/inquiry1.jpg','../3websites/rates1.jpg','../ 3websites/photos1.jpg');
initLightbox();
to this:
window.onload = function(){ // use this instead of <body onload …>
MM_preloadImages('../3websites/home4.jpg','../3web sites/amenities1.jpg','../3websites/inquiry1.jpg','../3websites/rates1.jpg','../ 3websites/photos1.jpg');
//initLightbox();
to see if that works. I think so. Turns out the initLightbox() function call that we activated by fixing the code before is no longer needed by the lightbox2 script as of v2.04! I see that it still tells you to put that function call in the body tag, but i think that is wrong (which is very weird to say, can I really be right???). If you look at the example page online you'll see that he uses this body tag:
<body>
and there are no onload's anywhere.
Let me know.
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Issue with tables :( Plz Help!
Hey all!
Never posted before on this forum and pretty new with
dreamweaver. So I'm having the strangest issue with dreamweaver
tables. I bought a template that I'm modifying by my self which
isnt all that hard haha. But Here's what I ran into. Whenever I put
one table and then another one under it and another one under it
and I insert txt or pics in there and save it, after I upload it
and preview it, I can only see the info from the first table.
Everything else under it, wont show up.
So no matter where and on what page I do it from that
template, if I put more than 1 table down, it'll only show the info
from the first and top table and everything else in other tables
under it, wont show up at all (after I upload it) even thou it
looks good on dreamweaver itself :(
Is there an option to enable or disable something? Plz help,
thank you all!"Unknown7" <[email protected]> wrote:
> So no matter where and on what page I do it from that
template, if I put more
>than 1 table down, it'll only show the info from the
first and top table and
>everything else in other tables under it, wont show up at
all :(
>
> Is there an option to enable or disable something? Plz
help, thank you all!
The bad news is that if you want to do anything remotely
complicated with
Dreamweaver you will have to learn a fair amount about HTML.
I would virtually
guarantee that when you put your new table in something is
going wrong so that
one or other table is not being defined correctly.
As you are modifying someone else's template there is
virtually no way to find
out what is happening other than to examine the HTML. It is
unlikely that
fiddling with any Dreamweaver settings will make any
difference.
Every table should start with something like:
<table width="100%" border="0" cellspacing="0"
cellpadding="5"
bgcolor="#e0e0ff">
<tr align="center" valign="middle">
<td width="9%"><a href="#Bottom">
and end with:
</td>
</tr>
</table>
You can have more or less as many columns as you like in a
table, (<td> ...
</td>
And more or less as many rows ( <tr><td> ...
</td></tr>) as you like, but
unless you get up to special tricks you should have the same
number of columns
in every row. You can put anything you like -- images, more
tables, whatever --
inside a cell e.g.:
<td> image, blah, table </td>,
but you mustn't put any content anywhere else, and every
opening definition
(<table>, <tr>, <td> must have a matching
closing definition in the correct
order.
You can nest tables more or less indefinitely, but
Dreamweaver Design View
sometimes blows its top if you go more than three deep.
HTML usually doesn't produce any error messages, but the
effect of omitting any
of the steps in building a page is quite unpredictable.
Sometimes a major error
will not produce any visible effect, but on other occasions a
minor error will
send the page completely haywire.
You may care to have a look at:
http://www.corybas.com/Technical/Wrapping.htm
This has a series of demonstration pages illustrating what
happens when you try
to display increasingly complicated page layouts on narrow
screens.
Once you have learnt to interpret HTML, you can often learn a
lot by inspecting
the source code for the page (in IE click view, then Source).
This works with
anybody's page, so you can look at the source code for my
pages if you wish.
Clancy -
So I bought a 750 gig internal HD for my mac pro. Exactly the same size as both my internal drives combined (I have a 250 and a 500). Time machine has been working great since November. No problems. Today however I get an error message telling me that Time machine doesn't have enough room to make a back up? What the heck does that mean? My understanding was that time machine wrote over old backups in order to continue to keep making new ones. Am I totally off base here? Do I need a 100tb hard drive to make backups with Time Machine? Any help would be appreciate as it looks like the only way it will let me make backups now is to wipe the hard drive clean and start over and I KNOW that can't be how Apple designed this thing, so I must be missing something.
Thanks in advance!
-StephenHopefully others will answer and join discussion But I have similar challenges going on
Unfortunately your 750g backUp drive may not be big enough
Here is what I recommend to find out for certain.
Go to backUp drive, look inside backUp folder that was created by Time Machine
(probably something like Backups.backupdb)
hilight first backUp folder do a command I (get info) ,
takes awhile but note the size of first backUp
probably very large
now get Info on all or most of the rest of your backUp folders
they should be much smaller as they are only new stuff
If the total of all folders reaches 750g then this is truly the source of your problem
If you're like me... 750g is nothing in the world of Video and graphics
it is eeeeasy to create this kind of volume of files
Once you backUp then remove files from Computer then subsequently
begin to fill your computer up with new files ... it is easy to exceed 750g
If this is your situation, then (I recommend) read thru support
http://www.apple.com/support/leopard/timemachine/
and welcome to the world of owning huge multiple drives....
I think the large original backUp folder must be on same drive as all subsequent backUp folders
because TM references that original folder to make sure it only backsUp new stuff -
Recording issues with sound PLEASE HELP
Hi I am currently trying to record a home movie from VHS to DVD.
Playing the tape via the InterVideo MSIPVS program I have excellent video and sound. now here is where my problem lies.
When select to record from the program it records the video perfectly but not the audio. I am just curious as to what the problem maybe. I looked in the record tab on the setup menu and it gives me the option to select the video input source but not the audio input source. I have the audio input selected in the device tab and this allows me to hear the tape that is being played on my computer.
I have read a few of the forum posts and none really seem to cover this problem. I am just curious if there is something I may have missed or done wrong on install that may have caused this.
Currently running :
AMD XP 1600
1gig Ram
TV@anywhere Master
Geforce 5600XT
onboard sound
Win 2k Service pack 4
DirectX 9c
Any help would be GREATLY appreciated as I am about to throw this thing in the wood stove and light it.
Thanks in AdvanceI have exactly the same problem!
Record video and on playback only get picture.
Strangley I have noticed that if I pause and dont shut MSIPVS then sound on the recorded file will play. But, if you shut down the programme you dont get sound with the picture. Also if you do this you get a file TShift in the folder where the recorded file is stored. -
Password issues with Mac Mail-help!
I created a new email account through my internet provider (Comcast) and I can no longer access my email although it is showing up on webmail. The comcast person said I would probably have to change my password. I tried doing this on Mac Mail but there doesn't appear to be the usual place to type in new password and then confirm. I am not sure what password they are asking for. The mail account was set up so long ago that I have never used any password when checking my account. I also notice if I delete the password, the password dots are back when I open preferences up again. I don't understand this and Comcast will not help with Mac Mail questions. Any help would be greatly appreciated.
You said you never used a password when checking you mail. You must have a password on the account, I don't see how you couldn't.
When you go to www.comcast.net and go to the webmail client, you must enter your username and password in order to get your messages. It's this username & password that Apple Mail requires in order to access your email.
If you want/need to change your password, you can do this at www.comcast.net from within the webmail client. When you are at your inbox on the webclient, on the left side of the screen there is a link for "Preferences". Clicking that will take you to another page and one of the options is "Change Your Password". That's where you would go to change your password for that specific email account.
Good luck,
Bronson -
Hit a wall with overclock/ any help?
I overclocked my 865gm2-ls motherboard and have run into a wall at 220mhz fsb. I have an nvidia 5500fx, a 2.8ghz northwood, 2 sticks of 512mb viking 3200 ddr400, and a 3rd generation stock heat sink/fan. I am running the older bios version 5.1 (it killed sata but gave me access to overclocking the cpu). Once I go beyond 220 the system will work for a while and then suddenly reboot. At 220 it runs great. Heat doesn't appear to be the issue. Is this a limitation of the board or is there some other tweak?
Any help is appreciated.
ToddQuote from: toddctews on 21-February-06, 13:01:13
I finally have some ddr 550 to test this system. (I am building a new one) I set the fsb to 230 and let prime95 run torture test, set to 10, for around an hour. (didn't have more time) Stable so far. Good call Stu!
Todd -
Working with OracleParameters - Any Help?
Hi,
I created a stored procedure with 3 IN parameters(out of 2 are single value,3rd one is pl/sql table) and 1 OUT Parameter (of PLSQL Table Return type).
I want take the SP results in VB.NET. i used plsql associative arrays, but i am getting error as
'OracleParameter.Value is Invalid.'
How to set parameter.size for the Output value.. I don't know exactly how many rows will be retrieved.
How to use oracleparametercollection.
How to return cursors from the plsql table.( gone through the asktom article. but i am unable to follow it. getting error as expression is of wrong type.)
Here the stored procedure that i have written which is a wrapper for another procedure( and that procedure working properly in oracle).
PL/SQL Procedure
procedure Storage_Charges_with_prd(LotNo IN Number,CurrDate IN Date,m_prd IN products_table_t,charges_table out storage_charges_table) is
m_products pkg_coldstorage.products_type;
type curProducts is REF CURSOR ;
cv_products curProducts;
-- type strgchgs is table of storage_charges_rec index by binary_integer;
--charges_table storage_charges_table;
prd_table products_table_t;
m_SNo Number:=1;
output_cursor SYS_REFCURSOR;
BEGIN
For m_SNo in 1..m_prd.Count
LOOP
prd_table(m_SNo):=m_prd(m_SNo);
END LOOP;
charges_table:= pkg_coldstorage.CALCULATE_STORAGE_CHARGES1(Lotno,CurrDate,prd_table);
--return charges_table;
dbms_output.put_line('Charges Table Row Count In - Storage Charges with Product Procedure ' ||charges_table.count);
-- Open output_cursor For Select * From table(charges_table );
END Storage_Charges_with_prd;
in VB.NET - the Codings are
Dim mLotno, mCurrDate, SNo, Transid, ProductId, UnitId, ProductName, Unit_Name, Calculation_Method, Season_start_date, season_end_date, labour, Storage_Rate, Seasonal_Storage_Rate As New OracleParameter()
mLotno.OracleDbType = OracleDbType.Decimal
mCurrDate.OracleDbType = OracleDbType.Date
mLotno.Value = LotNo
mCurrDate.Value = CurrDate
mLotno.Size = 1
mCurrDate.Size = 1
SNo.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Transid.CollectionType = OracleCollectionType.PLSQLAssociativeArray
ProductId.CollectionType = OracleCollectionType.PLSQLAssociativeArray
UnitId.CollectionType = OracleCollectionType.PLSQLAssociativeArray
ProductName.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Unit_Name.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Calculation_Method.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Season_start_date.CollectionType = OracleCollectionType.PLSQLAssociativeArray
season_end_date.CollectionType = OracleCollectionType.PLSQLAssociativeArray
labour.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Storage_Rate.CollectionType = OracleCollectionType.PLSQLAssociativeArray
Seasonal_Storage_Rate.CollectionType = OracleCollectionType.PLSQLAssociativeArray
SNo.Direction = ParameterDirection.Input
Transid.Direction = ParameterDirection.Input
ProductId.Direction = ParameterDirection.Input
ProductName.Direction = ParameterDirection.Input
Unit_Name.Direction = ParameterDirection.Input
Calculation_Method.Direction = ParameterDirection.Input
Season_start_date.Direction = ParameterDirection.Input
season_end_date.Direction = ParameterDirection.Input
labour.Direction = ParameterDirection.Input
Storage_Rate.Direction = ParameterDirection.Input
Seasonal_Storage_Rate.Direction = ParameterDirection.Input
SNo.OracleDbType = OracleDbType.Decimal
Transid.OracleDbType = OracleDbType.Decimal
ProductId.OracleDbType = OracleDbType.Decimal
ProductName.OracleDbType = OracleDbType.Varchar2
Unit_Name.OracleDbType = OracleDbType.Varchar2
Calculation_Method.OracleDbType = OracleDbType.Decimal
Season_start_date.OracleDbType = OracleDbType.Date
season_end_date.OracleDbType = OracleDbType.Date
labour.OracleDbType = OracleDbType.Decimal
Storage_Rate.OracleDbType = OracleDbType.Decimal
Seasonal_Storage_Rate.OracleDbType = OracleDbType.Decimal
Dim msno(ProductRates.Rows.Count) As Decimal
Dim mtransid(ProductRates.Rows.Count) As Decimal
Dim mproductid(ProductRates.Rows.Count) As Decimal
Dim mproductname(ProductRates.Rows.Count) As String
Dim munit_name(ProductRates.Rows.Count) As String
Dim mcalculation_method(ProductRates.Rows.Count) As Decimal
Dim mseason_start_date(ProductRates.Rows.Count) As Date
Dim mseason_end_date(ProductRates.Rows.Count) As Date
Dim mlabour(ProductRates.Rows.Count) As Decimal
Dim mstorage_rate(ProductRates.Rows.Count) As Decimal
Dim mseasonal_storage_rate(ProductRates.Rows.Count) As Decimal
For i As Integer = 0 To ProductRates.Rows.Count - 1
msno(i) = ProductRates.Rows(i).Item("SNo")
mtransid(i) = ProductRates.Rows(i).Item("transid")
mproductid(i) = ProductRates.Rows(i).Item("Productid")
mproductname(i) = ProductRates.Rows(i).Item("ProductName")
munit_name(i) = ProductRates.Rows(i).Item("Unit_Name")
mcalculation_method(i) = ProductRates.Rows(i).Item("Calculation_Method")
mseason_start_date(i) = ProductRates.Rows(i).Item("Season_start_date")
mseason_end_date(i) = ProductRates.Rows(i).Item("season_end_date")
mlabour(i) = ProductRates.Rows(i).Item("labour")
mstorage_rate(i) = ProductRates.Rows(i).Item("Storage_Rate")
mseasonal_storage_rate(i) = ProductRates.Rows(i).Item("Seasonal_storage_rate")
Next
SNo.Value = msno
Transid.Value = mtransid
ProductId.Value = mproductid
ProductName.Value = mproductname
Unit_Name.Value = munit_name
Calculation_Method.Value = mcalculation_method
Season_start_date.Value = mseason_start_date
season_end_date.Value = mseason_end_date
labour.Value = mlabour
Storage_Rate.Value = mstorage_rate
Seasonal_Storage_Rate.Value = mseasonal_storage_rate
'-- Set the Size
SNo.Value = ProductRates.Rows.Count
Transid.Value = ProductRates.Rows.Count
ProductId.Value = ProductRates.Rows.Count
ProductName.Value = ProductRates.Rows.Count
Unit_Name.Value = ProductRates.Rows.Count
Calculation_Method.Value = ProductRates.Rows.Count
Season_start_date.Value = ProductRates.Rows.Count
season_end_date.Value = ProductRates.Rows.Count
labour.Value = ProductRates.Rows.Count
Storage_Rate.Value = ProductRates.Rows.Count
Seasonal_Storage_Rate.Value = ProductRates.Rows.Count
''-- Set the Array Bind Size For Unitname, Productname
'Dim arr1(ProductRates.Rows.Count) As Integer
'Dim arr2(ProductRates.Rows.Count) As Integer
'For i As Integer = 0 To ProductRates.Rows.Count - 1
' arr1(i) = 50
' arr2(i) = 50
'Next i
'ProductName.ArrayBindSize = arr1
'Unit_Name.ArrayBindSize = arr2
Dim daStorageCharges As New OracleDataAdapter("pkg_coldstorage.storage_charges_with_prd", DbCn)
daStorageCharges.SelectCommand.CommandType = CommandType.StoredProcedure
With daStorageCharges.SelectCommand.Parameters
.Add(mLotno)
.Add(mCurrDate)
.Add(SNo)
.Add(Transid)
.Add(ProductId)
.Add(ProductName)
.Add(Unit_Name)
.Add(Calculation_Method)
.Add(Season_start_date)
.Add(season_end_date)
.Add(labour)
.Add(Storage_Rate)
.Add(Seasonal_Storage_Rate)
End With
Dim oSNo, oTransID, oTransDate, oProductID, oProductName, oUnitID, oUnitName, oQtyIn, oQtyOut, _
oBalanceQty, oWtIn, oWtOut, oBalanceWt, oLabour, oLabourAmount, oStorageRate, oStorageAmount, oTotal As New OracleParameter
oSNo.OracleDbType = OracleDbType.Decimal
oTransID.OracleDbType = OracleDbType.Decimal
oTransDate.OracleDbType = OracleDbType.Date
oProductID.OracleDbType = OracleDbType.Decimal
oProductName.OracleDbType = OracleDbType.Varchar2
oUnitID.OracleDbType = OracleDbType.Decimal
oUnitName.OracleDbType = OracleDbType.Varchar2
oQtyIn.OracleDbType = OracleDbType.Decimal
oQtyOut.OracleDbType = OracleDbType.Decimal
oBalanceQty.OracleDbType = OracleDbType.Decimal
oWtIn.OracleDbType = OracleDbType.Decimal
oWtOut.OracleDbType = OracleDbType.Decimal
oBalanceWt.OracleDbType = OracleDbType.Date
oLabour.OracleDbType = OracleDbType.Decimal
oLabourAmount.OracleDbType = OracleDbType.Decimal
oStorageRate.OracleDbType = OracleDbType.Decimal
oStorageAmount.OracleDbType = OracleDbType.Decimal
oTotal.OracleDbType = OracleDbType.Decimal
oSNo.Direction = ParameterDirection.Output
oTransID.Direction = ParameterDirection.Output
oTransDate.Direction = ParameterDirection.Output
oProductID.Direction = ParameterDirection.Output
oProductName.Direction = ParameterDirection.Output
oUnitID.Direction = ParameterDirection.Output
oUnitName.Direction = ParameterDirection.Output
oQtyIn.Direction = ParameterDirection.Output
oQtyOut.Direction = ParameterDirection.Output
oBalanceQty.Direction = ParameterDirection.Output
oWtIn.Direction = ParameterDirection.Output
oWtOut.Direction = ParameterDirection.Output
oBalanceWt.Direction = ParameterDirection.Output
oLabour.Direction = ParameterDirection.Output
oLabourAmount.Direction = ParameterDirection.Output
oStorageRate.Direction = ParameterDirection.Output
oStorageAmount.Direction = ParameterDirection.Output
oTotal.Direction = ParameterDirection.Output
'Dim prdarr() As Integer
'Dim unitarr() As Integer
'for i as Integer = 0 to
'Next i
With daStorageCharges.SelectCommand.Parameters
.Add(oSNo)
.Add(oTransID)
.Add(oTransDate)
.Add(oProductID)
.Add(oProductName)
.Add(oUnitID)
.Add(oUnitName)
.Add(oQtyIn)
.Add(oQtyOut)
.Add(oBalanceQty)
.Add(oWtIn)
.Add(oWtOut)
.Add(oBalanceWt)
.Add(oLabour)
.Add(oLabourAmount)
.Add(oStorageRate)
.Add(oStorageAmount)
.Add(oTotal)
End With
'Dim a As OracleParameterCollection
Dim dtstoragecharges As New DataTable
daStorageCharges.Fill(dtstoragecharges)
tried with reader but unable.
please provide any example. so that i will use it.
Please provide any help
Thanks in Advance
Mohan Raj K.@Eric
I am a pl/sql noob, but I did manage to retrieve a ref_cursor via .net as follows:
CREATE or REPLACE PACKAGE myVars AS
TYPE CommonCurTyp is REF CURSOR;
--my test server is 8i need to define cursor in a package
END;
CREATE OR REPLACE PROCEDURE jtest(
v_repaircur OUT myVars.CommonCurTyp
IS
BEGIN
OPEN v_repaircur FOR
SELECT * FROM BLAH;
END;
--vb.net code:
dbConn.Open()
Dim selectCommand As New OracleCommand("jtest", dbConn)
selectCommand.CommandType = CommandType.StoredProcedure
selectCommand.Parameters.Add(New OracleParameter("v_repaircur", OracleDbType.RefCursor)).Direction = ParameterDirection.Output
Dim adapter As New OracleDataAdapter(selectCommand)
adapter.TableMappings.Add("Table", "repair_codes")
Dim ds As New DataSet
adapter.Fill(ds) 'boom! here's yer dataset
dbConn.Close()
with some minor hacking, you should be able to get it, HTH -
Since 6 months or more ... Safari keeps having a life off its own ...
I constantly have to go back 1 or 2 pages to get where I want ...
it not even after a google search or so ...
I go to a site and hop ... "mackleener" shows up "groupon" is there all the time ...
or the page turns grey saying ... no page found ... with a long link starting with groupiesearch blabla ..
it starting to be sooooo enoying that I want to throw out Safari ... but Im so used to this browser now that I actiually dont want to change..
All my pages info stuff is build in Safari for years so I dont want to restart with Firefox from zero ...
any help on this matter would be a timesaver ...
Thank YOU
FrankyOk... use Open DNS to avoid redirects.
Use OpenDNS for better speed and more security and it's free.
Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
Enter these numbers exactly as you see them here.
Click +
208.67.222.222
Click +
208.67.220.220
Then click OK.
More about OpenDNS here.
Topic : Manually provided DNS server addresses are higher priority than DHCP's -
Apple Outlook DAV Config error with Windows7; Any help?
I have updated Windows7 and I have downloaded the icloud control panel. I keep getting the Apple Outlook DAV Config error. Any help?
I encountered the same problem yesterday. I have not found a solution but take a look at this thread. https://discussions.apple.com/thread/3377753?start=0&tstart=0 The conclusion (at that time) was a conflict between iClound and reoccurring appointments in Outlook. The only solution: delete all of your reoccurring appointments in outlook (and stop using them going forward too?)........not very feasible for me.
Let me know if you find anything.
Maybe you are looking for
-
Web.show_document problem
I use the web.show_document(url,target) built-in to call a web report from a form when i replace the target with _blank the report doesn't be called, however when i replace the target with self,parent and _top, the report is called. I want to call th
-
Backup files on external hard drive
I use a 500GB external hard drive, mostly for storing my itunes and iphoto library. My time machine also uses this external drive. When trying to download an itunes movie file yesterday, I noticed that my external drive only had less than 4GB of spac
-
Trex can't be updated to higher levels on windows 2003 server 64 bit
Hi gurus, We have a portal system (EP 7.0 SP18) and a Trex 7.0 server which are working on windows 2003 server 64 bit on the same server. After upgrading our portal system from sp15 to sp18, we can not see indexes on Index Administration screen. When
-
PS Elements 5.0, Unable to Connect to Editor Application
I open a photo in the Organizer. When I try going to Edit-Quick Fix, I get "Unable to Connect to Editor Application". I am abe to go to Ful Edit, from the Organizer and then to Quick Fix from te Full Editor. After "fixing" the photo, in Quick Fix,
-
Enterprise Reporting Interactive Object Model
<p>Using This <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/general_doc/SDKOverview_Final_EN.htm" target="_blank" title="Interactive Enterprise Reporting Object Model">Diagram</a> <br />Use this diagram to identify which en