teke507
Posts: 69
|
Posted: 04/13/2007, 8:56 AM |
|
I have an image source that sends url data to create a barcode image
i need my data= to be a variable of the serialnumber from a previous page...
that page the user will input a record on input in will rediredt them to a page formated to print out a label.....the image link creates the bar code but how do i put my serial number as the value to convert
<img src="http://www.eazyservices.com/barcode.asp?eMail=my@domain.com&BarcodeType=4&ImageType=1&Data=12345">
|
|
|
matheus
Posts: 386
|
Posted: 04/13/2007, 10:04 AM |
|
Custom Code.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
fady005
Posts: 115
|
Posted: 04/16/2007, 1:18 AM |
|
You have to use Session storage to pass the variable for one page to another.
_________________
Be inventive ! |
|
|
teke507
Posts: 69
|
Posted: 04/16/2007, 7:24 PM |
|
Thanks that i understand my question is more directed to what syntax to use...i do not know java...i should have specified in my question....i have a session that stores the variable and passes it to the page but how to i call the variable in java variable is called Serial_Num_Ses
|
|
|
fady005
Posts: 115
|
Posted: 04/17/2007, 12:25 AM |
|
Ok, actually we're looking for the solution here :
http://forums.codecharge.com/posts.php?post_id=86580
Maybe you can help us finding it...
_________________
Be inventive ! |
|
|
teke507
Posts: 69
|
Posted: 04/17/2007, 5:15 AM |
|
ok if i find anything out ill post on both
|
|
|
fady005
Posts: 115
|
Posted: 04/19/2007, 7:15 AM |
|
Try this it worked with me...
Create a label and put in it's Before Show Event this Code :
e.getControl().setValue(SessionStorage.getInstance(e.getPage().getRequest()).getAttribute("your_variable")); Where "your_variable" is the name of your Session Variable.
Then you insert an image... select it and then go to the Html source... change the source of the image (which is "Image1" by default) by the name of the label (which is "Label1" by default) so you'll have something like : <img src="{Label1}">
When you pass to the code source it will give you an alert that it doesn't find Image1 and will ask to delete it... click yes and publish....
_________________
Be inventive ! |
|
|