Set row - permanent link possible?
Hello,
I need to find I way to link to a page with a spry data set displaying a specific content, I need this link to be permanent.
This is the page URL:
http://www.stefanoreboli.com/index.html
I can call this URL displaying a specific Content A using set row (SpryURLUtils.js):
http://www.stefanoreboli.com/index.html?row=2
The problem is that I'm adding and deleting datas so that Content A tomorrow will be no more at row=2.
Can I link to this content in a permanent way with set row or another method, ex. passing other XML parameters?
Thanks
This is the XML node:
<item>
<type>photo</type>
<code>1002_in_kus</code>
<projectcode>kumbh</projectcode>
<cathegory>feature</cathegory>
<year>2010</year>
<link><![CDATA[naga sadhus <em>kumbh mela</em>]]></link>
<title><![CDATA[<h1><strong>naga sadhus</strong> kumbh mela 2010 haridwar</h1>]]></title>
<project><![CDATA[kumbh mela]]></project>
<text><![CDATA[]]></text>
<display><![CDATA[
<embed src="works/photography/main.swf" FlashVars="xmlPath=works/photography/nagasadhus/settings.xml" width="540" height="540" type="application/x-shockwave-flash" bgcolor="#FFFFFF" allowscriptaccess="always">
]]></display>
<thumbnail><![CDATA[<img src="works/photography/nagasadhus/thumb.jpg">]]></thumbnail>
<info><![CDATA[]]></info>
<client><![CDATA[]]></client>
<background><![CDATA[]]></background>
</item>
What about using an onclick event that changes the Xpath as follwos
/* select xpath when link is clicked */
function newXPath(thepath){
stefanoreboli.setXPath(thepath);
stefanoreboli.loadData();
the onlcick event calls newXPath(/items/item[type = 'photo' and code= '1002']) or similar. This will immediately change the data for the detail area without refreshing the page or having URL variables.
I hope this helps.
Ben
Similar Messages
-
Is it possible we can to set button cornor link text?
is it possible we can to set button cornor link text?
@welcomecan,
Your question is not clear to me ...Will you please elaborate..??
Thanks,
Bhasker -
Permanent link to specific version of a document
When ‘Sharing’ documents is it possible to issue (say for emailing to someone) a permanent link to the document i.e. one which is locked to the version and not one that changes or fails if a new version is subsequently added?
There appears to be two groups of document links in SharePoint, the current version and previous versions.
The current document version is referenced by a canonical path:
http://site/document library/document.doc
A prior document version is referenced from a revision path. But this only works for non-current versions:
http://site/_vti_history/versionID/document.doc (Where versionID is generated by SharePoint)
Therefore every time a new document revision is created the contents of the canonical path will change. The canonical path will point to the new document version while the previous version of the document is only available with the revision path.
Therefore it is not possible to create a permanent link to a version of the document if at the time of issuing it is the current version.Hi,
According to your description, my understanding is that you want to create a permanent link to specific version of a document.
If a new version is created, the contents of the canonical path will change. Although the version number will increase, the previous version number will not change.
If you want version 1.0, then the URL for this version will always be
http://site/_vti_history/512/document.doc.
More information are provided in the link below:
http://theressomethingaboutsharepoint.blogspot.nl/2011/09/direct-link-to-certain-version-of.html
http://blogs.msdn.com/b/roberthorvick/archive/2007/01/04/wss-rant-linking-to-the-latest-version-of-a-sharepoint-document-considered-harmful-lessons-6-and-7.aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Different character sets on database links
Does someone know, how to select data from different machines with different character sets via database link transferring the umlauts correctly ?
The destination instance uses we8iso8859p1, the source machines have us7ascii (SAP) or we8iso8859p1. It is NOT allowed to change the character sets on the source databases!This is not so easy to solve. The correct procedure is to fix your non-ASCII database to reflect the correct character set encoding of your data. Have you checked with SAP to see whether it is really not possible/supported to change the application db character set ?
The only workaround that I can think of ,is to create another database with 'WE8ISO8859P1' as the db character set. Populate it with the data you need from your SAP database using either SQL*LOADER or from insert statements generated by SPOOLing out the data using SQL*PLUS -
Set row as header using applescript
I am new to AppleScript and I am writing my first script to crunch some data in numbers. I am trying to figure out how to set row one as the header row in sheet 1 using the script. Can anyone help?
Here is a script a bit more powerful that what you asked for but it's of more general use.
--{code}
--[SCRIPT set_count_of_Xers]
Enregistrer le script en tant que Script : set_count_of_Xers.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Aller au menu Scripts , choisir Numbers puis choisir “set_count_of_Xers”
En fonction des paramètres passés, le script fixera le nombre de Rangs d’en-tête, Colonnes d’en-tête ou Rangs de bas de tableau dans le tableau table_name de la feuille sheet_name du document doc_name.
--=====
L’aide du Finder explique:
L’Utilitaire AppleScript permet d’activer le Menu des scripts :
Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case “Afficher le menu des scripts dans la barre de menus”.
Sous 10.6.x,
aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
--=====
Save the script as a Script: set_count_of_Xers.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Go to the Scripts Menu, choose Numbers, then choose “set_count_of_Xers”
According to the defined parameters, the script will set the count of HEADer ROWs, HEADer COLUMNs or FOOTer ROWS in the table table_name of the sheet sheet_name in the document doc_name.
--=====
The Finder’s Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the “Show Script Menu in menu bar” checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/09/21
--=====
property forTests : false
true may be useful for tests. It triggers the handler select_SubMenu which list the UI elements.
false is the setting to apply when the script is finished because it runs faster.
--=====
on run
my activateGUIscripting()
This script is a general one allowing to treat the defined table
set doc_name to 1
set sheet_name to "Feuille 2"
set table_name to "Tableau 1"
set which_item to 10
set nb_Xers to 1
my setNbXers(doc_name, sheet_name, table_name, which_item, nb_Xers) (* to set 1 HEADer ROW *)
end run
--=====
which = 10 --> set count of HEADer ROWs
my setNbXers(1, "Feuille 2", "Tableau 1", 10, 1) (* to set 1 HEADer ROW *)
which = 11 --> set count of HEADer COLUMNs
my setNbXers("my doc.numbers", "Sheet 5", "Table aux", 11, 4) (* to set 4 HEADer COLUMNs *)
which = 14 --> set count of FOOTer ROWs
my setNbXers("ASCII.numbers", "Sheet of paper", "TableTop", 14, 3) (* to set 3 FOOTer ROWs *)
on setNbXers(docName, sheetName, tableName, whichItem, nbXers)
my selectTable(docName, sheetName, tableName)
if forTests then
my select_SubMenu("Numbers", 6, whichItem, nbXers + 1)
else
my selectSubMenu("Numbers", 6, whichItem, nbXers + 1)
end if
end setNbXers
--=====
set { dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
on get_SelParams()
local d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2
tell application "Numbers" to tell document 1
set d_name to its name
set s_name to ""
repeat with i from 1 to the count of sheets
tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
if maybe is not 0 then
set s_name to name of sheet i
exit repeat
end if -- maybe is not 0
end repeat
if s_name is "" then
if my parleAnglais() then
error "No sheet has a selected table embedding at least one selected cell !"
else
error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
end if
end if
tell sheet s_name to tell (first table where selection range is not missing value)
tell selection range
set {top_left, bottom_right} to {name of first cell, name of last cell}
end tell
set t_name to its name
tell cell top_left to set {row_num1, col_num1} to {address of its row, address of its column}
if top_left is bottom_right then
set {row_num2, col_num2} to {row_num1, col_num1}
else
tell cell bottom_right to set {row_num2, col_num2} to {address of its row, address of its column}
end if
end tell -- sheet…
return {d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2}
end tell -- Numbers
end get_SelParams
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
on decoupe(t, d)
local oTIDs, l
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to oTIDs
return l
end decoupe
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
==== Uses GUIscripting ====
on selectTable(theDoc, theSheet, theTable)
local maybe, targetSheetRow, rowIndex, r
try
tell application "Numbers"
activate
set theDoc to name of document theDoc (* useful if the passed value is a number. Checks also that we passed the name of an open doc *)
end tell -- Numbers
on error
if my parleAnglais() then
error "The spreadsheet “" & theDoc & "” is not open !"
else
error "Le tableur « " & theDoc & " » n’est pas ouvert ! "
end if -- my parleAnglais
end try
try
tell application "Numbers" to tell document theDoc
set theSheet to name of sheet theSheet (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
end tell -- Numbers
on error
if my parleAnglais() then
error "The sheet “" & theSheet & "” is unavailable in the spreadsheet “" & theDoc & "” !"
else
error "La feuille « " & theSheet & " » n’existe pas dans le tableur « " & theDoc & " » ! "
end if -- my parleAnglais
end try
try
tell application "Numbers" to tell document theDoc to tell sheet theSheet
set theTable to name of table theTable (* useful if the passed value is a number and check the availability of theSheet if it’s a string *)
end tell -- Numbers
on error
if my parleAnglais() then
error "The table “" & theTable & "” is unavailable in the sheet “" & theSheet & "” of the spreadsheet “" & d & "” !"
else
error "La table « " & theTable & " » n’existe pas dans la feuille « " & theSheet & " » du tableur « " & d & " » ! "
end if -- my parleAnglais
end try
set maybe to 5 > (system attribute "sys2")
tell application "System Events" to tell application process "Numbers"
tell outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window theDoc
if maybe then (* macOS X 10.4.x
'(value of attributes contains 0)': '(value of attribute "AXDisclosureLevel" is 0)' sometimes works in Tiger, sometimes not.
The only possible instances of 0 amongst the attributes are the disclosure level of a sheet row and the index of the first row, which represents a sheet anyway.
Another possibility is '(value of attribute -1 is 0)', which makes me uneasy. *)
set targetSheetRow to first row where ((value of attributes contains 0) and (value of first static text is theSheet))
else (* macOS X 10.5.x or higher *)
set targetSheetRow to first row where ((value of attribute "AXDisclosureLevel" is 0) and ((groups is {}) and (value of first static text is theSheet)) or (value of first group's first static text is theSheet))
end if -- maybe
tell targetSheetRow to set {value of attribute "AXSelected", value of attribute "AXDisclosing"} to {true, true}
-- Get the sheet row's 0-based index + 2 for the following row's 1-based index.
set r to (value of attribute "AXIndex" of targetSheetRow) + 2
repeat until (value of first static text of row r is theTable)
set r to r + 1
end repeat
set value of attribute "AXSelected" of row r to true
end tell -- outline 1 …
end tell -- System Events
end selectTable
--=====
my selectSubMenu("Pages",6, 4, 26)
==== Uses GUIscripting ====
on selectSubMenu(theApp, mt, mi, ms)
tell application theApp
activate
tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1 to click menu item ms
end tell -- application theApp
end selectSubMenu
--=====
useful to get the indexs of the triggered item
my select_SubMenu("Numbers", 6, 10, 1+1) (* Table > Header rows > 1 *)
on select_SubMenu(theApp, mt, mi, ms)
tell application theApp
activate
tell application "System Events" to tell process theApp to tell menu bar 1
get name of menu bar items
01 - "Apple",
02 - "Numbers",
03 - "Fichier",
04 - "Édition",
05 - "Insertion",
06 - "Tableau",
07 - "Format",
08 - "Disposition",
09 - "Présentation",
10 - "Fenêtre",
11 - "Partage",
12 - "Aide"}
get name of menu bar item mt
-- {"Tableau"}
tell menu bar item mt to tell menu 1
get name of menu items
01 - "Insérer un rang d’en-tête au-dessus"
02 - "Insérer un rang d’en-tête en dessous"
03 - missing value
04 - "Insérer une colonne d’en-tête avant"
05 - "Insérer une colonne d’en-tête après"
06 - missing value
07 - "Supprimer le rang"
08 - "Supprimer la colonne"
09 - missing value
10 - "Rangs d’en-tête"
11 - "Colonnes d’en-tête"
12 - "Bloquer les rangs d’en-tête"
13 - "Bloquer les colonnes d’en-tête"
14 - "Rangs de bas de tableau"
15 - missing value
16 - "Ajuster les rangs au contenu"
17 - "Ajuster les colonnes au contenu"
18 - missing value
19 - "Afficher tous les rangs"
20 - "Afficher toutes les colonnes"
21 - "Activer toutes les catégories"
22 - missing value
23 - "Fusionner les cellules"
24 - "Diviser en rangs"
25 - "Diviser en colonnes"
26 - missing value
27 - "Répartir les rangs uniformément"
28 - "Répartir les colonnes uniformément"
29 - missing value -
Set a external link into message maintanance in longtext or ..
in long text message maintanence i want to set an external link.
somebody knows how its possible?
and when not, can i fill the long text message from an external ressource?
thanks
ezachiaelSolution found: another dev had added a RESET_STATE process on the login page and I guess that was blanking out all the parameters that were in the URL; I removed that and tested things and they are back to normal now.
-
Set up a link in Query Designer
How expert,
i would like to set up a link in Query Designer so that by running the query in Bex Analyzer the user can see the link and connect to it directly.
Any idea?
Thank you in Advance for your Input.
CheersHi,
in rsbbs you define your query as sender object. Then you create jump targets in there. You will get a list of possible target types such as r/3 transactions, other queries and also web sites.....
Select the appropriate type and enter the value for it. These targets will be available by right clicking on the query result using the option 'jump to' or 'goto'.
Siggi -
How to permanently link instagram to facebook account?
How to permanently link instagram to facebook account? Did everything including accessing instagram app from my computer and clicking on the "send to mobile" button and uninstalling/reinstalling both apps. And also no apps are showing up under facebook which you can disable or enable access to facebook. Please help!
Let me know if it works... You can add facebook in internet acounts again later if you want it...
It might reset the settings.. And may solve the problem anyhow...
i.e. you might want birthdays on your calendar for example...
Personally I dont like facebook junk cluttered on my email. However dont mind facebook notifications for facebook chat...
I dont know if your notification center also clutters you with other rubbish... Like facebook notifications that are not private chat... Mine doesnt... I think i had set the facebook settings a while ago not to spam all the rubbish facebook sends. -
How to I set an internal link in a PDF document using Preview? After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided via the Help menu other than it showing the pull-down menu selection to make.
No. I am able to use the other features such as underlining, highlighting, adding rectangles and oval and save those changes.
-
When I drag the symbol from the URL line to the desktop to set up a link, I get a google chrome icon instead of a firefox icon. I removed chrome from the computer, but I still get a chrome icon which links does not work. How do I get the reference to chrome out of firefox?
Tried again about 30 minutes later, and now I get firefox links. Don't know what changed, but seems to be OK.
Joyce3 -
Hello.
How I can set row select from PLSQL process handler after commit.In more detail I have some set of field in my filter. I need to select all report rows which match this filter.
Thanks in advance Andrii.Hi Andrii,
I'm not sure if I understand you correct, but if your report has checkboxes, which you want to set checked when they match your filter, you could try the following:
In your report query, where you define your apex_item.checkbox add a case stement.
SELECT case when <your_filter_condition> then APEX_ITEM.CHECKBOX(1,<your_column>,'CHECKED')
else APEX_ITEM.CHECKBOX(1,<your_column>)
end case as " "
, <other_columns>
FROM <your_table>
regards,
Vincent Deelene -
Hi everybody!
I would like to call custom view (copied from standard view).
1. Copied view "IRecPartner" into application Z_CRM_IC.
2. Defined custom IC Web Client & IC Web Client Runtime framework profiles.
3. Defined navigational link through application Z_CRM_DT_REP.
Made changes for Page fragments:
CRM_IC_All_NavLinks.xml
CRM_IC_All_Viewsets.xml
IRecNavigationalLink.xml
IRecViewSets.xml
In page "IRecNavigationalLink.xml" changed navigational link for view "IRecPartner".
Requirement: Execute "CRM_IC" --> Interaction Record --> Partner.
Instead of standard "IRecPartner", it should call custom (copied) "IRecPartner".
But on the same page, it should show one custom view and others as standard ones.
In my case, after click on "Partners" button of "Interaction Record", it shows only one
view (custom IRecPartner), but no other standard view is being displayed.
Can anybody guide me for setting custom navigational links?
Best Regards,
PriyaMany Thanks Ken. I had a sneaking suspicion it might be the Crossover Mac program doing it.
It's a great program but it does have its limitations.
Thanks again. -
How to set row height for each row
Hi
i am trying to set rowheight of row in a JTable using setRowHeight(row,rowheight)
it is not affecting on Table.but if i use setRowheight(rowheight) it applying
entire table ,please help me to solve this problem
after setRowHeight(row,rowheight), i am calling firechanged() method also ,i t will not affecting please hemp me
how to set row height at runtime in a JTableOk fine... do one thing... post ur code here let me check and tell u....
Ciya..... -
i would like to hide, show row/s in the JTable. I try it with setRowHeight but it affect all rows.
is it possible to do it ? what shoud i rewrite(add) to create this functionality?
i use JDK1.2.2 :-(
thanks TomasThe other way is to modify your table model class:
Let the getValueAt method return only the rows you need and the getRowsCount method return the needed row count.
It may be done in respect to some condition of the table
Best regards,
Martin -
Hi all,
I am under Sun Solaris 11 (Express 6/05), and I want to set a permanent PATH, for all user of the computer (When I reboot the computer, I wan't to have these path already set).
But I don't know what is the file where I can set that.
I wan't to add these path:
/opt/csw/bin -> to $PATH
/opt/csw/man -> to $MANPATH
Thanks.Hi Folk,
I am a newbie in Sun Solaris 10 x86. Recently I installed gcc and tried to add the global path in /etc/profile. But it shows me the some sort of error message as below
# . /etc/profile
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin: is not an identifierMay I know how do I solve this problem? Please advise....
Maybe you are looking for
-
Extended display does not work after downgradin​g to XP
Hi I have downgraded from VISTA to XP Before the downgrade extended display (19 LCD connected via docking) it was working OK after the upgrade, it stopped working I installed the latest video drivers from the LENOVO website, and tried playing with th
-
I printed the "network configuration page". strength at 70%. how can I fix this? thanks,
-
Hi, in this Version of Excelsius the Category Labels are not displayed in Radar Charts. This was possible in 4.5. Any Hints? Regards, Michael Moser
-
How to make itunes play through all 5 of my surround sound speakers?
Hi, I'm new so hello everyone Received some very nice 5.1 surround sound Logitech x-530 speakers this Christmas and they are absolutely brilliant. I tried them with a DVD and the surround sound is really good. However, I can't seem to get all the spe
-
Why is it so difficult to put an image in your signature
Or rather why I am I finding it so difficult... I have an eps logo I want to put into mail as part of my signature. I have copied and pasted it and then sent it to myself - it appears as a pdf file without the image. Can someone explain the steps for