Html:link action html:link on results page null
I am sure that this is something simple and small but I have been banging my head against this problem for a while now.
I am using the <html:link> tag on my index.jsp page activates an action, retrieves a result and forwards to the homePage.jsp. The home page has a tiles layout and the results are actually in homePage_lowerLeftLevel.jsp within the homePage.jsp. Below the results I have an <html:link> tag which is identical to the tag in the index.jsp but now instead of seeing the link there is [ServletException in:/pages/homePage_leftLowerLevel.jsp] null' and if I go back to the index.jsp I get the following error�
java.lang.NullPointerException
at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:313)
at index.jspService(index.jsp:29)
[SRC:/index.jsp]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:356)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
If this <html:link> tag is not on the results page the results display perfectly. Here is my code:
********index.jsp**************
<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<h2 class="lowerColumnHeader">Statistics</h2>
<table class="statisticsTable">
<tr>
<td>
ICF Published Parcels:
</td>
<td class="results">
<bean:write name="homePageForm" property="result" />
</td>
</tr>
</table>
<html:link page="/homePage.do?areaId=bcId">Click Me </html:link>
*********homePage_lowerLeftLevel.jsp*************
<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<h2 class="lowerColumnHeader">Statistics</h2>
<table class="statisticsTable">
<tr>
<td>
ICF Published Parcels:
</td>
<td class="results">
<bean:write name="homePageForm" property="result" />
</td>
</tr>
</table>
<html:link page="/homePage.do?areaId=bcId">Click Me </html:link>
*****************struts_config.xml**********************
<?xml version="1.0" encoding="ISO-8859-1" ?>
under the License.
-->
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans>
<form-bean name="homePageForm"
type="ca.bc.gov.srm.app.pip.HomePageForm" />
</form-beans>
<global-exceptions>
<!-- sample exception handler
<exception
key="expired.password"
type="app.ExpiredPasswordException"
path="/changePassword.jsp"/>
end sample -->
</global-exceptions>
<global-forwards>
<forward
name="homepage"
path="/homePage.do"/>
</global-forwards>
<action
path="/homePage"
name="homePageForm"
type="ca.bc.gov.srm.app.pip.action.HomePageAction"
scope="request"
validate="false"
input="/pages/homePage.jsp"/>
</action-mappings>
<message-resources parameter="MessageResources" />
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in>
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/org/apache/struts/validator/validator-rules.xml,
/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
Thank you very much for your help
It should be used something like this!!!
<html:link action="myStrutsAction" paramId="user" paramName="userName"/>if the userName attribute had the value "Bob" that would produce:
http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#link
Similar Messages
-
HTML POST - Getting resulting page
I have three questions about submitting forms using POST.
1. When there are several fields named "example[]" how do I submit values?
2. How do I wait until the POST is complete? The form uploads files. Is there something I can do (other than a simple timer) to make sure the files have completed before starting the next? Or should I just do one at a time?
3. I'm confused about what happens after I submit the form. Basically...what do I do? Do I just make another URLConnection and what not? The page that I need to get is generated depending on what I upload.
Thanks. And I did search a lot before I posted this so I'm sorry if I missed something.1. When there are several fields named "example[]"
how do I submit values?If you have one parameter name that has different values (like in checkboxes), the servlet API (ServletRequest, I think) has a method called getParameterValues(paramName) that returns an array of String objects.
>
2. How do I wait until the POST is complete? The
form uploads files. Is there something I can do
(other than a simple timer) to make sure the files
have completed before starting the next? Or should I
just do one at a time?You try uploading, and catch any eventual exceptions.
Note that there are several packages (Apache and Oreilly) that can help you with that task.
>
3. I'm confused about what happens after I submit the
form. Basically...what do I do? Do I just make
another URLConnection and what not? The page that I
need to get is generated depending on what I upload.HTTP uses a request-response paradigm. You send a request, and wait for a response. There are no special thing you need to do, except use try-catch-finally blocks and proceed to the next thing. If something goes wrong, you'll get an exception anyway, and the processing will stop. The important thing is how you handle those exceptions (retry, exit & send err message, etc..). -
DW8 search box result page asp
Hi all,
I build with success a search box (text box) that search in
my db.
Now when I dont write a sting in the text box and push the
submit buttom,
the result page schow me all the results from my db. I set my
default value
parameters to %, this gives my all the results.
I'm wondering if there is a solution when my text box is
blank the result
page dont show all the records?
I can do thes by setting the default value to someting that
not match in my
db, like ----, but this is mayby not verry professional.
Is there a solution for this?
Thanks in advanced for your help!
www.SamDesign.beHi Dave, thanks for your help!
Yes, I had sorted out ;-)
For your information, you don't need two search fields. Make
for each
field in your db a variable and point for each variable to
the same
form field name, change the AND to OR. This works great!!
Happy New Year!!
Sam
"Baxter" <baxter(remove:-)@gtlakes.com> a écrit
dans le message de news:
enjt5o$otm$[email protected]..
> HI! Sam
> I thought you might have this sorted out by now? But
here is the way I
> would
> write your SQL statement
>
> SELECT *
> FROM qry_companys
> WHERE naam_bedrijf LIKE 'varnaam_bedrijf' AND
beschrijving_kort_fr LIKE
> 'varbeschrijving_kort_fr'
> ORDER BY naam_bedrijf ASC
>
> Variables
> Name Default Value Run-time Value
> varnaam_bedrijf % Request("Your Form Field Name")
> varbeschrijving_kort_fr % Request("Your Form Field
Name")
>
> Set up your form with two search fields one for
naam_bedrijf and one for
> beschrijving_kort_fr with a search button
> with the form action set to your results page.asp method
= get>
>
> Dave
>
> "Sam" <[email protected]> wrote in message
> news:enjr60$mk5$[email protected]..
>> Hi all,
>>
>> I build with success a search box (text box) that
search in my db.
>> Now when I dont write a sting in the text box and
push the submit buttom,
>> the result page schow me all the results from my db.
I set my default
> value
>> parameters to %, this gives my all the results.
>> I'm wondering if there is a solution when my text
box is blank the result
>> page dont show all the records?
>> I can do thes by setting the default value to
someting that not match in
> my
>> db, like ----, but this is mayby not verry
professional.
>> Is there a solution for this?
>> Thanks in advanced for your help!
>> www.SamDesign.be
>>
>>
>
> -
Hi,
on the home page I've created different HTML regions.. within each region I want to put some text and links to other pages (within the same application)... Please advice how to do it...
ThanksIn HTML regions, you can add whatever you like into the Region Source setting.
If you want to add in a link to a page, you can do:
<a href="f?p=&APP_ID.:1:&APP_SESSION.">Link to page 1</a>That is a link to page 1. If you need to pass data into fields on page 1, you have to add additional text to the link. See: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/concept.htm#sthref112 for information about the URL syntax
Note that you need to remember that you are constructing HTML within the region source - so use <br> for linebreaks etc
Andy -
How do I get the top links in the search results page to display the folder?
In the search results page, if you click on the top link from each result, it only brings up the description. Not much use as a link, so was wondering how you display the folder from this link.
Is this for the general public or just for you? If it is for the general public then insert this code at the top of the page:
<TITLE>---</TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>
And also at the end of the file after the closing body tag:
</BODY>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>
</HTML>
It is unorthodox but it works. -
Linked results pages - not sure how to achieve it
Hi all. This is my problem. I have a MySQL database with a single table which contains a number of listings of albums by different musicians. The client has asked for a specific way of searching this and for the life of me I can't work out how to achieve it.
Essentially what's needed are 3 pages:
page 1 will pull into a repeating region all the listings in the table, displaying the artist's name. You click on the artist's name and it takes you to page 2, which shows all the available albums by that artist (and only that artist). You click on the album of choice and it takes you to page 3 where you'll see the detailed listing for that item.
So far I've managed to get a page which shows all the different albums for the artist (for test purposes the database currently only has two entries, both by Queen) - these display fine and click through to the appropriate detail page for each album. What I can't work out is how to insert a page before the first of these to allow for selection of artists. I could probably easily produce a results page which pulls the artist name from the database (using a SQL query such as DISTINCT artist) but I can't work out how whatever results are produced would link through to the first of my pages.
If anyone can get me facing the right way on this I'd really appreciate it. I've appended the code for my two pages (op_1.php and op_2.php) below.
Thanks in advance,
Jeff
op_1.php code:
<?php require_once('Connections/ourprice.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_ourprice, $ourprice);
$query_rsOPchoose = "SELECT * FROM OPmusic";
$rsOPchoose = mysql_query($query_rsOPchoose, $ourprice) or die(mysql_error());
$row_rsOPchoose = mysql_fetch_assoc($rsOPchoose);
$totalRows_rsOPchoose = mysql_num_rows($rsOPchoose);
?><?php
// RepeatSelectionCounter_1 Initialization
$RepeatSelectionCounter_1 = 0;
$RepeatSelectionCounterBasedLooping_1 = false;
$RepeatSelectionCounter_1_Iterations = "5";
?>
<!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=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="600" align="center" cellpadding="2">
<?php do { ?>
<tr>
<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_rsOPchoose){
?>
<td><a href="op_2.php?recordID=<?php echo $row_rsOPchoose['id']; ?>"><img src="images/<?php echo $row_rsOPchoose['smallphoto']; ?>" alt="" name="smallpic" width="150" height="150" border="0" id="smallpic" /></a></td>
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?>
<td> </td>
<?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_rsOPchoose && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_rsOPchoose = mysql_fetch_assoc($rsOPchoose);
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>
</tr>
<?php } while ($row_rsOPchoose = mysql_fetch_assoc($rsOPchoose)); ?>
</table>
<br>
</body>
</html>
<?php
mysql_free_result($rsOPchoose);
?>
op_2.php code:
<?php require_once('Connections/ourprice.php'); ?><?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$colname_DetailRS1 = "-1";
if (isset($_GET['recordID'])) {
$colname_DetailRS1 = (get_magic_quotes_gpc()) ? $_GET['recordID'] : addslashes($_GET['recordID']);
mysql_select_db($database_ourprice, $ourprice);
$query_DetailRS1 = sprintf("SELECT * FROM OPmusic WHERE id = %s", GetSQLValueString($colname_DetailRS1, "int"));
$DetailRS1 = mysql_query($query_DetailRS1, $ourprice) or die(mysql_error());
$row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
$totalRows_DetailRS1 = mysql_num_rows($DetailRS1);
?><!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=ISO-8859-1" />
<title>OurPrice | <?php echo $row_DetailRS1['mtTitle']; ?> Fundraising Auction Prize To Use At Your Fundraising Event</title>
<meta name="description" content="<?php echo $row_DetailRS1['mtDescription']; ?>" />
<meta name="keywords" content="<?php echo $row_DetailRS1['mtKeywords']; ?>" />
<style type="text/css">
<!--
.style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
.style5 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FF0000;
-->
</style>
</head>
<body>
<table width="600" align="center">
<tr>
<td rowspan="12"><img src="images/<?php echo $row_DetailRS1['largephoto']; ?>" alt="" name="bigpic" width="200" height="200" id="bigpic" /></td>
<td><div align="center"><span class="style5"><?php echo $row_DetailRS1['artist']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['title']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['description']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['signedby']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['certification']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['reserveprice']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style3"><?php echo $row_DetailRS1['insurance']; ?> </span></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td class="style3"><div align="center"><a href="op_1.php">Go back</a> </div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html><?php
mysql_free_result($DetailRS1);
?>jeffmg wrote:
Hi all. This is my problem. I have a MySQL database with a single table which contains a number of listings of albums by different musicians.
That's where your problem lies. You need one table for the artists, and a second table for the albums.
artist_id
artist
1
Queen
2
The Beatles
3
Rod Stewart
album_id
artist_id
album
1
1
Made in Heaven
2
1
Innuendo
3
2
Please, Please Me
4
2
Revolver
5
2
Sergeant Pepper's Lonely Hearts Club Band
6
3
Every Picture Tells a Story -
Hi Experts,
Bussines role - ZCC_ICAGENT
If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result page will be opened direct link.
So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
Thanks
KalpanaHi kalpana,
You dont need to do any setting for this.
Following URL will be used as per your requirement.
http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
sap-phoneno=9999999999
Here parameter sap-phoneno will contain the number you want to search for.
In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
DATA: lt_ivr_url_param TYPE tihttpnvp,
ls_ivr_url_param TYPE ihttpnvp,
lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
ls_searchcustomer TYPE crmt_bupa_il_header_search.
CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
CHANGING
cv_fields = lt_ivr_url_param.
lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
CHECK lr_searchcustomer IS BOUND.
READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
IF ls_ivr_url_param-value IS NOT INITIAL.
ls_searchcustomer-telephone = ls_ivr_url_param-value.
CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
eh_onsearch( ).
ENDIF.
Thanks & Regards
Richa -
When at the "results" page of a search, clicking on "blue" link does not display webpage although url is shown in address bar. Copying "green" url, shown at bottom of a result, into address bar and hitting "enter" goes to the address and displays the page. Have tried different selections at tools/options with no change. Is there some other setting that needs to be changed?
Sorry, this is bad reply. I wanted to write this reply to another question.
-
I have Google set to show results in a new window, never use Google instant & search filtering off. When I click on a link on the results page Firefox reverts to the search results page almost instantly. I can of course select the desired page (via windows Aero). This happens on several computers, PCs & Laptops.
Not a major problem but VERY irritating. This seems to have happened from a few update ago ?This can be caused by corrupted cookies or cookies that aren't send or otherwise blocked.
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
*http://kb.mozillazine.org/Cookies -
Google search results page is not showing the full (green) http link
google search results page is not showing the full (green) http link
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox > Preferences > Privacy > Cookies: "Show Cookies"
You can also check for problems caused by extensions.
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
You can do a check for corrupted and duplicate fonts and other font issues:
*http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
*http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html -
Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.
You can download the trial version (http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html) to convert the PDF back to WORD if you do not have the original. The conversion may not be perfect, but it is typically better than starting from scratch. You may be lucky and get a good result. You might check the settings (in the save screen) to try retain format versus retain text flow. The format version can be a pain to edit since it creates a bunch of text boxes. The flow version may require you to reformat in WORD, but you likely would want to do that anyway.
-
Absolute links on hml page in local directory not working
All the absolute links on my html pages (which are on my hardrive) are being treated as local links and are therefore not working - i.e. Firefox is adding the local file path before the url. For example, the original link is: http://www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article
But Firefox is adding the directory path so the url string becomes: /www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article%E2%80%9D
It is also being appended with: %E2%80%9D (which, when tested from a Word page, leads to site but generates page not found error).
For testing purposes, is there any way I can reconfigure Firefox to parse my links as absolute?
Many thanksThanks, both. I have carried out cor-el's suggestion of replacing the smart quotes with dumb quotes, then tried viewing link on file again using different encoading, including UTF-16 - same result as before.
Below I've set the HTML of the whole page, as per yalam96's request (it includes cor-el's suggested fix to the "prosecute" link):
<pre><nowiki><h3>Who do you need to inform (in the UK)?</h3>
<p>If you have a mortgage, you will need to inform your provider (with most lenders this shouldn't be an issue – you do not need “consent to let” as you would if you were letting out the whole property) but you do still need to inform them; why? This is partly for the protection of your lodger, if you should default on the mortgage or die, but mostly for your own protection – if the property was destroyed or badly damaged because of the negligence of your lodger.</p>
<p>If own your property and it's leasehold, check the lease – you may need permission from the freeholder.</p>
<p>If you rent your property, you will need to firstly check with your landlord (this applies whether you rent privately or from a public landlord – Local Authority or Housing Association), and get their permission in writing, just as you would with a mortgage provider. Incidently, in the UK, a public landlord is only likely to object to the let if moving a lodger in would mean your home becomes over crowded (e.g. you have a two bed flat and your children would have to share your bedroom). They will also object – they might even <a href=”http://www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article">prosecute</a> - if you move out and let the whole property to the “lodger” (who wouldn't be a lodger in that case, but a full tenant, with full tenant's rights).</p>
<p>You may also need to cancel any existing residential home insurance and take out <a href=”http://www.landlordinsurance.biz/landlord-insurance-guides/landlord-insurance-faq/”>landlord insurance</a>. A few residential policies will, however, allow lodgers. Landlord insurance will not cover the lodger's possessions, they will need to get their own insurance, known as Tenant Insurance – policies can be compared on sites such as <a href=”http://www.confused.com/campaign/home-insurance/tenants-content-insurance?MediaCode=1054&kw=lodger+contents+insurance+broad&gclid=CPbbn9-Nj7MCFanItAod3GAAog”>confused.com</a></p>
<p>If you get a single occupier's discount on your council tax, you will need to inform your local authority, unless your lodger is <a href=”https://www.gov.uk/council-tax/council-tax-exemptions”>exempt</a> from paying council tax (e.g. they're a university student).</p>
<p>NB People claiming Jobseeker's Allowance and most other benefit claimants are <b>not</b> exempt – they are, however, usually entitled to Council Tax Benefit to help with some or all the cost of their council tax.</p>
<p>If you're letting on a Monday – Friday basis (to someone who only needs a week night let), this person would not normally pay council tax at your property, as they already pay against their main (family) home. However, if for whatever reason you and your Monday – Friday lodger decided that they would use your address as their main home, they would then become liable to pay council tax at your address and you would lose any single occupier's discount.</p>
<p>If you claim any kind of means tested benefit (such as job seeker's allowance, housing benefit or council tax benefit) as benefit rules currently stand (January 2013) your rental income will affect this. <b>Contribution</b> based Job Seeker's allowance (JSA(C)) will be affected if your weekly rental income exceeds £50. If you're on income based jobseeker's allowance (JSA(I)), it's very likely to be affected; however, to what extent will depend on your rental earnings and circumstances and a DWP adjudicator will decide this.</p>
<p>However, from October 2013, when Universal Credit takes effect in the UK, <a href=”http://www.insidehousing.co.uk/tenancies/lodger-rules-to-ease-impact-of-bedroom-tax/6522846.article?MsgId=57059”>a <b>public housing</b> tenant's income from renting a room will no longer affect their benefit entitlement.</a></p></nowiki></pre> -
I'm new to using flash in websites, and i need to know how to
automatically link to a page at the end of my flash movie. I need
to know what code to use and exactly where to put it. Below is a
copy of my object code. Any help would be great. Thanks!
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
id="intro" width="750" height="580">
<param name="movie" value="intro.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
width="750" height="580"
name="intro" src="intro.swf"
bgcolor="#000000" quality="high"
swLiveConnect="true" allowScriptAccess="samedomain"
></embed>
</object>Hi,
You need to put the code inside your flash movie rather than
in the html that you have shown.
Open your movie and make a new keyframe on the last frame of
your movie. Then open your actions panel and place the following
code in....
getURL("
http://www.yourwebsite.com");
Cheers
Alan -
HTML Import Always Results In Landscape Orientation
I have a HTML that I want to convert to PDF but I need to preserve all the hyperlinks in it (they are to locations withing the HTML page).
I found that the only way I can preserve the links is by reading the HTML directly into Acrobat (9 Pro), which I guess is effectively an import process.
However the resulting page orientation (actual and not just view) is always landscape.
There is nothing in the html file directing this and there seem to be no settings under Preferences -> Convert To PDF -> HTML that are settable.
<style type="text/css" media="print">
body{page:portrait}
</style>
I also tried adding this in various formats but makes no difference.
hoep someone can help
thanks!
Patthank you Steve, that box was already ticked but I saw something in there that when unticked worked for me
Scaling -> Switch to Landsdcape if scaled smaller than 70%
I see one small problem remaining if you might have insight into.
The HTML is essentially a collection of tables and the table width is 100% in HTML. This means it expands to fill the Web browser width.
After scaling during the Acrobt import process, the print is quite small and I think that the PDF conversion is based on 100% screen width.
So I get this:
If I turn off scaling in the Adobe settings, I get this:
What I want is this:
I guess I could edit the html to hard code the absolute sizes of the HTML tables etc, but might there be another way.
thank you
Pat
Message was edited by: synopsys_pm -
Multiple Buttons linking to Multiple pages from one movie
Hi All,
I have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
Below's the code I am using for the one that is working;
import flash.events.MouseEvent;
var getIndex:URLRequest = new URLRequest("../index.html");
//---Enter Button---\\
E_btn.addEventListener(MouseEvent.CLICK, bClick);
function bClick(event:MouseEvent):void{
navigateToURL(getIndex,"_self");
Still a bit of a newbie in flash so any help really appreciated.
Many ThanksI only see code for one button there, so I can only guess you repeat the same function multiple times. You cannot use the same name for different functions, and you cannot have the same function duplicated. Similarly, you cannot declare the same variable more than once. You can have buttons share the same function though, and you can assign new values to variables.
For now, start by creating a unique function definition for each button.
For further consideration, if your buttons happen to be movieclips you can assign the url's to them as variables, or if you name your buttons using the page names they link to, then the same function could be shared with a little generic finagling.
Maybe you are looking for
-
Using EyeTV 2 EZ to connect my PS2 to my iMac
Hello, all... Is there anyone that could tell me what cable I need to buy to connect my PS2 to the EyeTV box I have on my iMac? I've seen several posts stating it does well with this EyeTV model. Unfortunately, I can't seem to find a working website
-
Organising by date added doesnt work.
I frequently find that in both folders, trash and 'all my files' the 'date added' item arrangement simply doesnt work. I could add a file to that folder, then arrange by date added and that file will be way down the list... Sometimes 'date modified'
-
Zen Vision M - Who whats to see Lyrics when song is playing say "I DO&qu
I DO
-
How do I get rid of the annoying pop up I get every time I open a pdf file with Reader XI?
-
Flash crashing browsers on unload while playing stream
I've set up the most basic test case while troubleshooting ongoing crash reports. - drag FLVPlayer onto the stage - add the following code to frame 1 so you can play in a bare FMS 3 server: import fl.video.*; VideoPlayer.iNCManagerClass = fl.video.NC