Upgrade to Xataface 1.2.1

A place for users and developers of the Xataface to discuss and receive support.

Upgrade to Xataface 1.2.1

Postby andperry » Sat Oct 10, 2009 1:10 am

I have just tried upgrading from Xataface version 1.1.5 to 1.2.1 to try it out. I hit a problem almost straight away in that when displaying a table, the record elements were no longer appearing as hyperlinks to edit the record. Something is obviously fundamentally wrong with my configuiration. Can anyone please help?

Regards,

Andrew.
andperry
 
Posts: 57
Joined: Wed Feb 18, 2009 9:20 am
Location: Wirral, UK

Items in list not clickable

Postby s_nalepa » Mon Oct 12, 2009 11:10 pm

The same thing happened to me. My users could not work so I had to reverse back to 1.1.5 Are the hyperlinks in list view a default function? I can not remember whether that is a hack or not, but I believe they were default. Am I right on this?
s_nalepa
 
Posts: 16
Joined: Sat Dec 29, 2007 8:43 am
Location: Lund, Sweden

Postby shannah » Wed Oct 14, 2009 12:01 pm

When you say the record elements were no longer appearing as hyper links, does that mean they were appearing but they weren't linkable?

What did the generated html look like?
Can you post a screenshot?
Is this in all of your tables or just some?
What version of PHP/MySQL/WebServer/OS are you using?

I'm running 1.2.x on all of my applications (approx 100 different ones) and haven't had this problem so it might be a slight configuration or permissions issue.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby andperry » Fri Oct 16, 2009 8:23 am

Hi Steve,

Thanks for your reply. Yes everything appears but nothing is linkable. All my projects seem to be affected the same. See HTML source below. Sorry it is a lot but I did choose a small table.

Thanks,

Andrew.

===============================================

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>categories_ordered - Matthew Chilvers - Database Management</title>
<link rel="stylesheet" type="text/css" href="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/plone.css"/> <link rel="stylesheet" type="text/css" href="http://desktop3/Sites/matthewchilvers/public_html/admin/xataface_styles.css">
<!-- Common Plone ECMAScripts -->

<!-- Pull-down ECMAScript menu, only active if logged in -->

<script type="text/javascript"
src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/plone_menu.js">
</script>


<!-- Define dynamic server-side variables for javascripts in this one -->
<script type="text/javascript"
src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/plone_javascript_variables.js.php">
</script>
<script type="text/javascript" language="javascript"><!--
DATAFACE_URL = 'http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1';
DATAFACE_SITE_URL = '/Sites/matthewchilvers/public_html/admin';
DATAFACE_SITE_HREF = '/Sites/matthewchilvers/public_html/admin/index.php';
DATAFACE_PATH = 'E:\Users\Common\Data\WebSite\Sites\All Sites\public_html\xataface-1.2.1';
//--></script>

<script type="text/javascript"
src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/plone_javascripts.js">
</script>

<!-- custom javascripts can go in slot "custom_javascripts" -->

<!-- Place any other items in the head of the document by filling the "head_slot" slot -->



</head>

<body onload="bodyOnload()" >

<link rel="alternate" href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered&-action=feed&-cursor=0&-skip=0&-limit=30&-mode=list"
title="RSS 1.0" type="application/rss+xml" />


<!-- Replace the entire HTML Body with the "html_body" slot -->
<div id="top-section">

<div id="site_logo">
<table cellpadding="5">
<tr><td>
<img src="../images/xataface_logo.jpg"/>
</td></tr>

</table>
</div>



<div class="search_form" style="float: right; white-space: nowrap" id="top-search-form">
<form method="GET" action="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php">
<label>Search:</label>
<input type="hidden" name="-table" value="categories_ordered"/>
<input type="text" name="-search" value=""/>

<input type="hidden" name="-action" value="list"/>
<input type="submit" name="-submit" value="Submit" id="search_submit_button" />


</form>

</div>




<ul id="table_selection_tabs">

<li ><a href="/Sites/matthewchilvers/public_html/admin/index.php?-table=intro"
accesskey="accesskeys-navigation"
class="table-selection-tab "
title="Introduction & Help"
id="TableLink_intro">


Introduction & Help

</a></li>
<li class="selected"><a href="/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered"
accesskey="accesskeys-navigation"
class="table-selection-tab selected"
title="Categories"
id="TableLink_categories_ordered">


Categories

</a></li>

<li ><a href="/Sites/matthewchilvers/public_html/admin/index.php?-table=projects_ordered"
accesskey="accesskeys-navigation"
class="table-selection-tab "
title="Projects"
id="TableLink_projects_ordered">


Projects

</a></li>
<li ><a href="/Sites/matthewchilvers/public_html/admin/index.php?-table=items_ordered"
accesskey="accesskeys-navigation"
class="table-selection-tab "
title="Items"
id="TableLink_items_ordered">


Items

</a></li>
<li ><a href="/Sites/matthewchilvers/public_html/admin/index.php?-table=page_content"
accesskey="accesskeys-navigation"
class="table-selection-tab "
title="Page Content"
id="TableLink_page_content">


Page Content

</a></li>

</ul>




<div id="status-bar">

<div id="language_selector"></div>

<div id="user-status">
</div>

</div>

<div class="bread-crumbs"><b>You are here:</b> Categories :: List</div>


</div>

<table width="100%" border="0" cellpadding="5" id="main_table">

<tr>
<td valign="top" id="left_column">









</td>
<td valign="top" id="main_column">




<div class="horizontalDivider"/>







<ul class="contentViews" id="table_tabs">


<li id="table-tabs-browse"
class="plain">

<a id="table-tabs-browse-link" href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered&-action=view&-cursor=0&-skip=0&-limit=30&-mode=list" accesskey="b" title="">
<span class="action-label">Details</span>

</a>
</li>



<li id="table-tabs-list"
class="selected">

<a id="table-tabs-list-link" href="#" accesskey="l" title="">
<span class="action-label">List</span>
</a>
</li>




</ul>





<div id="contentActionsWrapper" class="contentActions">






<ul>





<li>
<a href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-action=new&-table=categories_ordered"
id="actions-menu-new"
onmouseup="if (activeButton != null) resetButton(activeButton);"
title="Create a new record">
<img src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/images/add_icon.gif"
alt="" width="16" height="16" />
New Record
</a>

</li>

<li>
<a href="/Sites/matthewchilvers/public_html/admin/index.php?-action=list&-table=categories_ordered"
id="actions-menu-show_all"
onmouseup="if (activeButton != null) resetButton(activeButton);"
title="Show all records in table">
<img src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/images/zoom-out.gif"
alt="" width="16" height="16" />
Show All
</a>
</li>




</ul>





</div>



<div class="documentContent" id="region-content" style="border: 1px solid gray">




<div class="result-list-actions">

</div>
<div id="list-window">
<div style="clear:both">
<script language="javascript" type="text/javascript" src="http://desktop3/Sites/All Sites/public_html/Xataface-1.2.1/js/Dataface/ResultList.js"></script><table id="result_list" class="listing">

<thead>
<tr><th><input type="checkbox" onchange="toggleSelectedRows(this,'result_list');"></th><th class="unsorted-column"><a href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered&-action=list&-cursor=0&-skip=0&-limit=30&-mode=list&-sort=name+asc">Name</a></th><th class="unsorted-column"><a href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered&-action=list&-cursor=0&-skip=0&-limit=30&-mode=list&-sort=menu_title+asc">Menu Title</a></th><th class="unsorted-column"><a href="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php?-table=categories_ordered&-action=list&-cursor=0&-skip=0&-limit=30&-mode=list&-sort=sort_order+asc">Sort order</a></th></tr>
</thead>
<tbody>
<tr class="listing odd "><td><input class="rowSelectorCheckbox" id="rowSelectorCheckbox:categories_ordered?name=Furniture" type="checkbox"></td><td id="td-29728" class="odd df__editable_wrapper">&nbsp;Furniture</td><td id="td-25049" class="odd df__editable_wrapper">&nbsp;</td><td id="td-30622" class="odd df__editable_wrapper">&nbsp;10</td></tr><tr class="listing odd " style="display:none" id="categories_ordered?name=Furniture-row"><td><!--placeholder for checkbox col --></td><td colspan="4" id="categories_ordered?name=Furniture-cell"></td>
</tr><tr class="listing even "><td><input class="rowSelectorCheckbox" id="rowSelectorCheckbox:categories_ordered?name=Kitchens" type="checkbox"></td><td id="td-17023" class="even df__editable_wrapper">&nbsp;Kitchens</td><td id="td-12876" class="even df__editable_wrapper">&nbsp;</td><td id="td-17045" class="even df__editable_wrapper">&nbsp;20</td></tr><tr class="listing even " style="display:none" id="categories_ordered?name=Kitchens-row"><td><!--placeholder for checkbox col --></td><td colspan="4" id="categories_ordered?name=Kitchens-cell"></td>

</tr><tr class="listing odd "><td><input class="rowSelectorCheckbox" id="rowSelectorCheckbox:categories_ordered?name=Building" type="checkbox"></td><td id="td-28586" class="odd df__editable_wrapper">&nbsp;Building</td><td id="td-1947" class="odd df__editable_wrapper">&nbsp;Building & Extensions</td><td id="td-10040" class="odd df__editable_wrapper">&nbsp;40</td></tr><tr class="listing odd " style="display:none" id="categories_ordered?name=Building-row"><td><!--placeholder for checkbox col --></td><td colspan="4" id="categories_ordered?name=Building-cell"></td>
</tr><tr class="listing even "><td><input class="rowSelectorCheckbox" id="rowSelectorCheckbox:categories_ordered?name=Renovation" type="checkbox"></td><td id="td-29457" class="even df__editable_wrapper">&nbsp;Renovation</td><td id="td-23670" class="even df__editable_wrapper">&nbsp;Property Renovation</td><td id="td-631" class="even df__editable_wrapper">&nbsp;50</td></tr><tr class="listing even " style="display:none" id="categories_ordered?name=Renovation-row"><td><!--placeholder for checkbox col --></td><td colspan="4" id="categories_ordered?name=Renovation-cell"></td>
</tr></tbody>
</table><form id="result_list_selected_items_form" method="post" action="http://desktop3/Sites/matthewchilvers/public_html/admin/index.php"><input type="hidden" name="-table" value="categories_ordered" /><input type="hidden" name="PHPSESSID" value="6efj83l90kcta752o0i5841ne0" /><input type="hidden" name="dataface__lang" value="en" /><input type="hidden" name="-action" value="list" /><input type="hidden" name="-cursor" value="0" /><input type="hidden" name="-skip" value="0" /><input type="hidden" name="-limit" value="30" /><input type="hidden" name="-mode" value="list" /><input type="hidden" name="--selected-ids" id="--selected-ids" /><input type="hidden" name="-from" id="-from" value="list" /><input type="hidden" name="--redirect" value="aHR0cDovL2Rlc2t0b3AzL1NpdGVzL21hdHRoZXdjaGlsdmVycy9wdWJsaWNfaHRtbC9hZG1pbi9pbmRleC5waHA/LXRhYmxlPWNhdGVnb3JpZXNfb3JkZXJlZCYtYWN0aW9uPWxpc3QmLWN1cnNvcj0wJi1za2lwPTAmLWxpbWl0PTMwJi1tb2RlPWxpc3Q=" /></form>
</div>

</div>



</div>
</td>
</tr>
</table>


<div class="fineprint">
Powered by Dataface<br/>
(c) 2005-2007 All rights reserved</div>


</body>

</html>
andperry
 
Posts: 57
Joined: Wed Feb 18, 2009 9:20 am
Location: Wirral, UK

Postby shannah » Fri Oct 16, 2009 8:35 am

One thing that comes to mind is that I added a permission called 'link' to the latest version that enables/disables linking to a record.

This permission is included in the READ ONLY role, and all supersets of this role, but if you are using custom defined roles then you may be missing this permission.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby andperry » Fri Oct 16, 2009 1:13 pm

Yes it works - very many thanks. :D
andperry
 
Posts: 57
Joined: Wed Feb 18, 2009 9:20 am
Location: Wirral, UK


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 16 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved