Expandable Sections or pages in LiveCycle, best solution
I have a form that needs tweaking. I need to be able to add additional info for certain sections of the form if need be. I am not sure the best way to go about without adding a extra page that may get printed sometimes that could be blank. I also need to allow for expandable fields that could grow as the user enters text into them allowing the entire area to display and print.
This form will consist of data of a listing of subjects (1-3)with Name, address, DOB and so forth. In some occurrances there could be additional info on subjects (4-6) needed. Instead of placing 3 more sections of fillable fields that could be blank. I would like to add a third page( or best solution in this instance) that will be populated when needed and left blank when there are not any additional subjects (4-6) that have to be entered. The user would like to click on a button or field that would expand the additonal fillable fields when needed.
Similar Messages
-
Pop Up Window - Dynamic Page - Need Best Solution
I'd like to create a pop-up window for my site. I've used behaviors in the past. I'm not sure if that's the best way now. Basiclly I have a photo gallery with thumbnails. Once you click the thumbnail I want a larger window to open with the image. I've seen the javascript windows used that use CSS lightbox, however I can't get it to work with my site. I guess I should mention I'm using:
ASP vbscript
SQL Database
Unit is set for repeating regions
Help me find the best solution to carry out this task. Thanks in advance.At this time I can't post the page. This is what I'm using:
http://www.lokeshdhakar.com/projects/lightbox2/
Using asp vbscript ,ms sql database with a link to the image paths that are sitting in the images folder.
This is really all I can show you. Hopefully you can make heads of tails out of it. Thanks for answering my post!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="Connections/conn_ssfGallery.asp" -->
<%
Dim rs_ssfGallery
Dim rs_ssfGallery_cmd
Dim rs_ssfGallery_numRows
Set rs_ssfGallery_cmd = Server.CreateObject ("ADODB.Command")
rs_ssfGallery_cmd.ActiveConnection = MM_conn_ssfGallery_STRING
rs_ssfGallery_cmd.CommandText = "SELECT * FROM dbo.tbl_pictures ORDER BY picture_ID ASC"
rs_ssfGallery_cmd.Prepared = true
Set rs_ssfGallery = rs_ssfGallery_cmd.Execute
rs_ssfGallery_numRows = 0
%>
<%
Dim HLooper1__numRows
HLooper1__numRows = 25
Dim HLooper1__index
HLooper1__index = 0
rs_ssfGallery_numRows = rs_ssfGallery_numRows + HLooper1__numRows
%>
<%
' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim rs_ssfGallery_total
Dim rs_ssfGallery_first
Dim rs_ssfGallery_last
' set the record count
rs_ssfGallery_total = rs_ssfGallery.RecordCount
' set the number of rows displayed on this page
If (rs_ssfGallery_numRows < 0) Then
rs_ssfGallery_numRows = rs_ssfGallery_total
Elseif (rs_ssfGallery_numRows = 0) Then
rs_ssfGallery_numRows = 1
End If
' set the first and last displayed record
rs_ssfGallery_first = 1
rs_ssfGallery_last = rs_ssfGallery_first + rs_ssfGallery_numRows - 1
' if we have the correct record count, check the other stats
If (rs_ssfGallery_total <> -1) Then
If (rs_ssfGallery_first > rs_ssfGallery_total) Then
rs_ssfGallery_first = rs_ssfGallery_total
End If
If (rs_ssfGallery_last > rs_ssfGallery_total) Then
rs_ssfGallery_last = rs_ssfGallery_total
End If
If (rs_ssfGallery_numRows > rs_ssfGallery_total) Then
rs_ssfGallery_numRows = rs_ssfGallery_total
End If
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Move To Record and Go To Record: declare variables
Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined
Dim MM_param
Dim MM_index
Set MM_rs = rs_ssfGallery
MM_rsCount = rs_ssfGallery_total
MM_size = rs_ssfGallery_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
' use index parameter if defined, otherwise use offset parameter
MM_param = Request.QueryString("index")
If (MM_param = "") Then
MM_param = Request.QueryString("offset")
End If
If (MM_param <> "") Then
MM_offset = Int(MM_param)
End If
' if we have a record count, check if we are past the end of the recordset
If (MM_rsCount <> -1) Then
If (MM_offset >= MM_rsCount Or MM_offset = -1) Then ' past end or move last
If ((MM_rsCount Mod MM_size) > 0) Then ' last page not a full repeat region
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' move the cursor to the selected record
MM_index = 0
While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
If (MM_rs.EOF) Then
MM_offset = MM_index ' set MM_offset to the last possible record
End If
End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range
If (MM_rsCount = -1) Then
' walk to the end of the display range for this page
MM_index = MM_offset
While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
' if we walked off the end of the recordset, set MM_rsCount and MM_size
If (MM_rs.EOF) Then
MM_rsCount = MM_index
If (MM_size < 0 Or MM_size > MM_rsCount) Then
MM_size = MM_rsCount
End If
End If
' if we walked off the end, set the offset based on page size
If (MM_rs.EOF And Not MM_paramIsDefined) Then
If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
If ((MM_rsCount Mod MM_size) > 0) Then
MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
Else
MM_offset = MM_rsCount - MM_size
End If
End If
End If
' reset the cursor to the beginning
If (MM_rs.CursorType > 0) Then
MM_rs.MoveFirst
Else
MM_rs.Requery
End If
' move the cursor to the selected record
MM_index = 0
While (Not MM_rs.EOF And MM_index < MM_offset)
MM_rs.MoveNext
MM_index = MM_index + 1
Wend
End If
%>
<%
' *** Move To Record: update recordset stats
' set the first and last displayed record
rs_ssfGallery_first = MM_offset + 1
rs_ssfGallery_last = MM_offset + MM_size
If (MM_rsCount <> -1) Then
If (rs_ssfGallery_first > MM_rsCount) Then
rs_ssfGallery_first = MM_rsCount
End If
If (rs_ssfGallery_last > MM_rsCount) Then
rs_ssfGallery_last = MM_rsCount
End If
End If
' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links
Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev
Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam
MM_keepMove = MM_keepBoth
MM_moveParam = "index"
' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
MM_moveParam = "offset"
If (MM_keepMove <> "") Then
MM_paramList = Split(MM_keepMove, "&")
MM_keepMove = ""
For MM_paramIndex = 0 To UBound(MM_paramList)
MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
End If
Next
If (MM_keepMove <> "") Then
MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
End If
End If
End If
' set the strings for the move to links
If (MM_keepMove <> "") Then
MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If
MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
MM_moveFirst = MM_urlStr & "0"
MM_moveLast = MM_urlStr & "-1"
MM_moveNext = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
MM_movePrev = MM_urlStr & "0"
Else
MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Southern Store Fixtures Inc.</title>
<link href="CSS/global.css" rel="stylesheet" type="text/css" />
<link href="CSS/layout.css" rel="stylesheet" type="text/css" />
<link href="CSS/details.css" rel="stylesheet" type="text/css" />
<!--beginning of lightbox script -->
<link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
<script src="Scripts/protype.js" type="text/javascript"></script>
<script src="Scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="Scripts/lightbox.js" type="text/javascript"></script>
<!--end of lightbox script -->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
position:absolute;
left:1226px;
top:643px;
width:284px;
height:251px;
z-index:1;
a:link {
color: #CCC;
text-decoration: none;
a:hover {
color: #5FABFF;
text-decoration: none;
a:visited {
text-decoration: none;
a:active {
text-decoration: none;
</style>
<link href="CSS/gallery.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--begining of wrapper div -->
<div id="wrapper">
<!---begining of header--->
<div id="header"><img src="SSFLogo.png" width="298" height="96" alt="SSFlogo" /></div>
<!---end of header--->
<div id="banner"><img src="blueHeader_2.png" width="950" height="133" alt="header" /></div>
<!---begining main nav--->
<div id="mainNav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.asp">Home</a> </li>
<li><a href="#" class="MenuBarItemSubmenu">Company Info</a>
<ul>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Jobs/Career</a></li>
<li><a href="#">Information Request</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Gallery</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Store Pictures</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Products</a>
<ul>
<li><a href="#">Self Serve</a></li>
<li><a href="#">Serve</a></li>
<li><a href="#">Multi Decks</a></li>
<li><a href="#">Combinations</a></li>
<li><a href="#">Food Service</a></li>
<li><a href="#">Islands</a></li>
<li><a href="#">Produce</a></li>
<li><a href="#">Floral</a></li>
<li><a href="#">Hot Foods</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">News/Events</a>
<ul>
<li><a href="#">Inside Look</a></li>
<li><a href="#">Happenings</a></li>
<li><a href="#">Trade Show Schedule</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Contact</a>
<ul>
<li><a href="#">Customer Service</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Buiss. Portal</a>
<ul>
<li><a href="#">Login</a></li>
</ul>
</li>
</ul>
</div>
<!---end main nav--->
<!---begining subBanner--->
<div id="subBanner"><img src="secBanner.png" width="950" height="156" alt="secBanner" /></div>
<!---end subBanner--->
<!---begining contenMain--->
<div id="contentMain">
<!--beginning of gallery div -->
<div id="gallery">
<p>
<!--beginning of galleryImage div -->
</p>
<table width="400" border="0" align="center" id="galleryNav2">
<tr>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">First</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">Previous</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">Next</a>
<% End If ' end Not MM_atTotal %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">Last</a>
<% End If ' end Not MM_atTotal %></td>
</tr>
</table>
<p> </p>
<table align="center" id="HorzLooper">
<%
startrw = 0
endrw = HLooper1__index
numberColumns = 5
numrows = 5
while((numrows <> 0) AND (Not rs_ssfGallery.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<tr align="center" valign="top">
<%
While ((startrw <= endrw) AND (Not rs_ssfGallery.EOF))
%>
<td><div id="galleryImage">
<div id="galleryThumb"><a href="images/pic/<%=(rs_ssfGallery.Fields.Item("picture_url").Value)%> rel="lightbox"><img src="images/thumb/<%=(rs_ssfGallery.Fields.Item("thumb_url").Value)%>" alt="<%=(rs_ssfGallery.Fields.Item("alt_url").Value)%>" /></a></div>
<div id="galleryImageID"><%=(rs_ssfGallery.Fields.Item("picture_ID").Value)%></div>
<div id="galleryImageFamily"><%=(rs_ssfGallery.Fields.Item("family").Value)%></div>
</div></td>
<%
startrw = startrw + 1
rs_ssfGallery.MoveNext()
Wend
%>
</tr>
<%
numrows=numrows-1
Wend
%>
</table>
<p> </p>
<table width="400" border="0" align="center" id="galleryNav">
<tr>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">First</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">Previous</a>
<% End If ' end MM_offset <> 0 %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">Next</a>
<% End If ' end Not MM_atTotal %></td>
<td width="100" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">Last</a>
<% End If ' end Not MM_atTotal %></td>
</tr>
</table>
<!--end of galleryImage div -->
</div>
<!--end of gallery div -->
</div>
<!---end of contentMain--->
<!---begining of contentSec--->
<div id="contentSec">
<div id="column1"></div>
<div id="column2"></div>
<div id="column3"></div>
</div>
<!---end of contentSec--->
<!---begining of secNav--->
<div id="secNav">
<div id="column1">
<p align="center">Supermarket </p>
<p align="center">C-Store </p>
<p align="center">Small Format </p>
<p align="center"> Food Service </p>
<p align="center"> Gourmet </p>
<p align="center"> Restaurant</p>
</div>
<div id="column2">
<p align="center">Produce </p>
<p align="center">Prepared Foods</p>
<p align="center">Deli </p>
<p align="center"> Meat </p>
<p align="center">Seafood </p>
<p align="center">Cheese </p>
<p align="center">Bakery </p>
<p align="center">Floral </p>
<p align="center">Sushi </p>
<p align="center"> </p>
</div>
<div id="column3">
<p align="center">Soup </p>
<p align="center"> Chocolate </p>
<p align="center">Food Bars </p>
<p align="center">Low Temp </p>
<p align="center">Gelato </p>
<p align="center"> Hot Cases </p>
<p align="center"> Pizza/Sandwich </p>
<p align="center"> Multi-Decks </p>
<p align="center"> Islands</p>
<p> </p>
</div>
<div id="column4">
<p>Trade Shows</p>
<p>About</p>
<p>Info</p>
<p>Privacy</p>
<p>Content</p>
<p>Service</p>
<p>Parts</p>
<p>Login</p>
</div>
</div>
<!---end of secNav--->
<!---begining of footer--->
<div id="footer">Southern Store Fixtures 2010 Inc.| All Rights Reserved</div>
<!---end of footer--->
</div>
<!--end of wrapper div -->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
<%
rs_ssfGallery.Close()
Set rs_ssfGallery = Nothing
%> -
My iPad Mini #1 with OS 7.1.2 began uncontrolled actions recently. While reading a book in 3M Cloud App the pages would expand and then minimize on their own and then the uncontrolled action would open other apps and do the same by uncontrollably expanding and minimizing different pages in that app and then the actions would move on to another App and open it and expand and minimize pages and open different pages etc . . . Initially I thought the problem was connected to the 3M Cloud Library App so I deleted it on my Mini iPad and also in iTunes on my iMac and downloaded a fresh app to install on my Mini. However, that did not affect the problem. The uncontrolled actions start in any app and begin every time I open my Mini to the point it is becoming useless. Please help as I don't have a clue as to the cause of the problem or how to go about fixing it.
If this is still happening have you contacted APPLE support with the problem (same question to other posters).
If it is always after a certain length of time with active use - it may be overheating causing wear and tear on internal components.
Or - a bug in the software is causing sudden replay of what you just did.
Had similar issue with work owned IBM think Pad due to age and use in office area that was warm (not my choice) - it behaved as though the track mouse or keyboard was stuck - repeating same single character - open/close folders- would have to do quick shut down by pulling the pad out of dock and pulling the battery out -- solution - was to get new lap top after PC techs cleaned it and it still happened. -
I'm an elementary music teacher and my students perform regularly so I have a lot of their performances on my computer. Now I need to free up memory so am wondering what the best solution would be, given that I may need access to these movies again in the future.
I do have an external hard drive, but have never been able to figure out if you can store movies on it, instead of on the computer hard drive.
Thanks so much!Good evening,
I see you have another post about deleting movies and iDVD projects. Wanting the video to be available in the future is a significant criteria because video files are very large and are very compressed to fit on a DVD. If you want the video to be available in the future for additional editing (eg, highlights of the year), ideally you'd want to save the video in a format which will easily allow this. To me, this suggests you delete the iDVD projects but keep the iMovie files for future editing. This accomplishes the easy editing objective but keeps a lot of large files on your hard drive (each iMovie/iDVD project will be about 20% smaller -- assuming a 4 to 1 compression).
If you are willing to accept some additional work in the future and are okay with some reduction in video quality, you can pull sections from an existing DVD and use iMovie to combine them. The extra work is required to decompress the DVD, and this is also the reason for loss of some sharpness. This strategy reduces the file size of your combined projects by about 80% if you save disc images (virtual DVDs), or if you save the physical DVDs, you save 100% of the space.
I'd decide about the tradeoffs before jumping into action.
John -
IE8 and prior not showing Edge Websites. Whats the best solution?
Hi All...
Whats the best solution to have Edge websites appear on IE8 and Prior internet Explorer versions.?
Is it too weird to Design the whole website in Adobe Edge? should I just use this sofware to create partial animations for webpages?
I see lots of arguments around SEO too. Very confused if I should trust Edge to replace the HTML5-JavaScript-CSS3 handcoded websites.Hi, Departure-
There are a couple of options for displaying to users of IE8 and below: you can display the down-level stage (which, by definition, displays to browsers that do not support Animate content), or you can turn on the Google Chrome Frame, which is available in the Web section in the Publish Settings dialog.
Hope this helps.
-Elaine -
Traffic shaping: Which is the best solution?
Hi! I'm running 3 computers on 1 d-link router, 2 of them has an archlinux installed. Wondershaper mostly works for me when the other computers has cfosspeed running on windows, but when both computers run archlinux and wshaper and p2p applications, ping is over 1000ms instead of 10-20ms.
Which is the best solution of traffic shaping on linux, and is there a howto for them (can be even a gentoo wiki page or similar)?
Edit: shorewall is not being built from yaourt (x86_64), can't find a usable manual for trickle and niceshaper, (even ubuntu forums has unreplied "threads" about it) and can't start them coz missing config files, it seems, noone cares about ACK priority and ping in the Linux world
Last edited by Vegita (2010-02-24 19:58:07)This config file is being used on 2 computers, and not working, my speed is 8m/1m. Any ideas? I don't want to limit anything, I just want ACK's priority to set to the highest, and same with http, and get p2p apps (opn this computer ktorrent and valknut, on the other ktorrent) priority on lowest. valknut's port is 1412, ktorrents' one is 6881 on this and 24748 on the other computer. Any ideas what to modify for small ping?
# shaping config script for pyshaper
# for more information about pyshaper configuration, refer to the
# file 'pyshaper.conf.readme', and the examples therein
# set the connection-scanning period to 15 seconds (which is very
# aggressive). IF you're more concerned about longer-running
# connections, set this to a longer value (say, 60-300 seconds).
period 30
# declare one network interface, and set its inbound
# and outbound bandwidth in kbits/sec
eth0.ip 192.168.0.180
eth0.in 8096
eth0.out 1024
# This is a test scenario - we're throttling all replies
# from our webserver to max 16kbits/sec, but only if
# the remote client is shell.sourceforge.net
# note - the identifiers 'out', 'pri', 'rate', 'ceil' 'http' and 'test'
# have special meaning (see pyshaper.conf.readme).
# the identifier 'http' is not significant - you can replace
# it with anything, as long as your setup is consistent
# we're setting up a basic 'class' called 'http'
eth0.http.pri 1
eth0.http.out.rate 968
eth0.http.out.ceil 1024
eth0.http.test raddr=='66.35.250.208' and lport == 80
eth0.p2p.test (cmd == '/usr/bin/valknut')
eth0.p2p.test (cmd == '/usr/bin/ktorrent')
eth0.p2p.pri 3
# default traffic gets good bandwidth
eth0.default.out.rate 932
eth0.default.out.ceil 968 -
Is EJB my best solution?
Hi everybody!
I'm not new to Java, but new on Beans and related stuffs.
I want to ask you what could be the best solution of my problem.
I have to write a client-server program (not web), the server have to access the database (MySQL).
With PHP I knew Propel (a Torque port), so I decided to use Torque as object model and RMI for communications, but reading about EJB, I found that maybe there is other (maybe better) solutions.
The problem is that I want to use the object model with the server, and send objects to the client that can visualize and elaborate them.
What could be the best solution?
I found that Torque can generate Beans, could that Beans be used remotely or are they different from EJB?
Thanks for you help and sorry for my English.
RCarterWhat could be the best solution?
Ans: You can use EJBs and pass and get Beans as IN/OUT parameters as long as they are Serializable.
I found that Torque can generate Beans, could that Beans be used remotely or are they different from EJB?
Ans: EJBs are not regular Java Beans. They are specific to EJB standards and have to be configured in a certain fashion. Their lifecycle implementation is a bit Vendor specific. EJBs require EJB container and J2EE server for its operation.
The decision is yours based on the application and requirement you are trying to model. If the application will expand and you need a proper scalable environment I would suggest EJBs. If the appln is small sized then you can use whatever you are currently designing.
Thanks and regards,
Pazhanikanthan. P -
FLash is it the best solution?
I am in the process of purchasing Flash pro and would just
like to enquire. I am able to integrate Database with Flash Pro,
using either ColdFusion or ASP and will this work for a portable
DB, like the ones that MYSQL / SQL have?
I need to create a catalog DVD/CD is Flash the best solution?
Your advice will be appreciated
ThanksWlpMorton wrote:
Not many webpages can fit entirely on my screen at once with this device. A Toshiba Thrive 10" has a resolution that is only 1280x800. Too old for a Retina display. Just about all pages require scrolling.
Try one of the conversion apps. Search the Play Store for "Web2PDF" for example.
All you have to do is "share" the page to web2PDF, and it will send it to a webpage named "pdfmyURL". The page you want to print will download immediately to your device, and you can then use HP ePrint & Biz to send it to your printer.
Kind of a kludge, but it works!
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy. It is a Macbook Pro osx 10.6.8 (late 2010).
Almost certainly none of the above! Try each of the following in this order:
Select 'Reset Safari' from the Safari menu.
Close down Safari; move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false -
Expanding text field & page numbers
Got a form with an expanding text field. Also have page # of # on the form. When the text field expands to multiple pages, it overlays (?) the page # of #.
Any idea on how I can not have the text field expand to cover it up ??The colors can be adjusted ....if its blue on your machine that is OK.
Can you share the form with me so I can see what is happening?
Can you send it to [email protected] and I will have a look. Please include a description of the issue in your email.
Paul -
I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library. The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me?? Please?
I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library. The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me?? Please?
-
My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?
You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
Re 1) you need to answer Kappy's questions.
Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
Do you not have a backup of the photo files? -
Help Me.
What is the best solution for this problem ?Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
-and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
-plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html -
After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes normally in the future & get the CD/DVD drive working again? if I delete the upper / lower registry keys what other functions are impacted? I see others say itunes asks for a reinstall...then same problem all over again! THX
Have you revieved this support document?
TS2308: iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install.
tt2 -
SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database
Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
Current Setup
SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
Configured to use AlwaysOn Availability groups for HA and DR.
Installed on Windows 2012 Servers.
This is all working and failover works fine and no issues. So…
Requirement
A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
Solution - What I believe are available to me
I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
Any help on the best solution for this would be greatly appreciated.
Thanks, Stevefor always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above). you can only do read only.
IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
Hope it Helps!!
Maybe you are looking for
-
Problem with XML SQL JDBC adapter
Hello All. I have quite strange problem with my PI. Whole scenario is SOAP -> JDBC, asynchronous. Everything works fine on DEV server. After transporting objects (using CTS) to QA env I'm getting this error: JDBC Message processing failed, due to Err
-
InDesign CS5 causing problems with InCopy assignment file but not content files
I'm having a strange InDesign/InCopy CS5 issue (Mac OSX 10.6.6; all system & Adobe updates are current). In my InDesign doc I have one assignment file containing two content files. All of the InCopy pieces work fine in InDesign (i.e., I can check ou
-
[SOLVED] Quick bash question (~/.bashrc stuff)
Hi! First I have to say that I have installed Arch few days ago and it's pretty sweet stuff -- but I guess you already have heard that oh-so-many-times! So there is it, I would like to change my prompt's color everytime <enter> is pressed in the term
-
Mac crashed...
Hi, my earlier post was pertaining the following issue; I couldn't make computer to shut down, those little black lines were running in circle, but that was all, and I had to use the power on button, at the back of the case. But now, and I don't know
-
Save XMP write changes setting as Preference
My workflow requires Lightroom to "Automatically write change into XMP". A new catalog requires checking this box in "Catalog Settings..." as the new catalog has the setting unchecked. (I would have thought XMP was a file setting, not a catalog setti