Proper URL for LinkButton in itemRenderer within datagrid
I am having problems figuring out the best way to open a URL
using the LinkButton function within an itemRenderer under a
DataGridColumn. I use a HTTPService to call a PHP script to pull
data from a MySQL database. The datagrid fills in properly and all
the data is being displayed. The link button works in that it will
open a new browser (if I put in a fake URL without my required
data).
Below is an example of my column with the link button and the
URL I'm tring to open.
<mx:DataGridColumn headerText="Script ID"
dataField="scriptid">
<mx:itemRenderer>
<mx:Component>
<mx:LinkButton label="{data.scriptid}"
click="navigateToURL(new URLRequest('
http://remoteurl/index.php?file=ext&id='data.scriptid),
'_blank')"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
The error that I get is this:
The reference to entity "id" must end with the ';' delimiter.
It's like Flex Builder thinks that the "id" in the URL is a
parameter for the control? I tried enclosing the data.scriptid
within the single quotes. I also tried putting curly brackets {}
around data.scriptid as well.
Any assistance would be appreciated.
Thanks,
Chris
Spark DataGrid or MX DataGrid?
Similar Messages
-
Proper url for vmware server pkgbuild
i cant seem to find the right url for this pkgbuild. it fails every time with what is in the URL= field in the AUR pkgbuild (http://www.vmware.com/products/server/). i visited the site, logged in and copied the URL of the tar.gz file for x86_64 and pasted that URL in the pkgbuild and now it still fails but without giving an error. how are people getting around this? i also tried storing it locally and just entering the file path but pacman doesnt seem to like that. TIA
the tarball is only available by secure login. should i just change the "url" field in the PKGBUILD to localhost and make the tar available in the document root?
-
Dropdownlist itemrenderer within datagrid
hi
just wondering if anyone has any advice or good examples for the following, I'm finding it a little tough to find a good example on the net
i've got a datagrid, and one column with an item renderer that has a dropdown list
i want of course to be able to reflect the choice in this dropdown list back into my data provider ie. the original array collection
i cant seem to be able to catch any events from the item renderer ?
also need to be able to select the right drop down item when the grid loads up
would appreciate any pointers !
cheers
StephenSpark DataGrid or MX DataGrid?
-
2 dif URLs for dif Workbooks from a single query
hi experts... first of all i donno whether this question belong to bw side or portal side...
my problem is:
i have single query with 10 workbooks.
i need to embed these workbooks in our
portal(bw report iview).
my requirement is to supply URLs for all of these workbooks to portal team, so as to enable them to embed workbooks...
while im trying to generate URLs for all workbooks,
it is just generating only one same URL for all workbooks.
i found that we can generate URL only to query default view, from our BEx side..
anybody can help me that how to generate different URLs for different workbooks based on a single query.
this is not a portal issue...
i shud supply proper URLs for each workbook.
hope i can get a solution from experts...
thank u all
nithinGo through the following link
http://help.sap.com/saphelp_nw04/helpdata/en/4d/f3fa40badbf36fe10000000a1550b0/content.htm
I hope this helps.
Best Regards,
Kiran -
How can we get a url for a "Meet Now" conference call from within the Windows Store App?
Hi,
Is it possible to get the url for the current meeting / new "Meet Now" call from within the Windows Store app?
You have the option of inviting your current Lync contacts, but I don't see a way of giving a URL to clients that would launch Lync on their device, or take them to the web app.
I can see how to get the link using the Outlook plugin, for pre-scheduled meetings. Is this link always the same and the one that should be used for an impromptu "Meet Now" meeting? It would still be good to know how to get this URL from within
the store app so I can tell clients where to get it.
Some people may be on Windows RT devices and not have access to the plugin in Outlook, and want to start a meeting at short notice and then invite others via email or pasting a link to them elsewhere.
Any help appreciated.
If I have answered your question, please mark it as the correct answer. If I have provided helpful information, please mark it as so.Hi,
Agree with Holger, I check on my Lync Windows Store app and can't find the meeting URL as well.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?
Try going to the following
Tools->Web Developer-> Page Source.
You can also access this by way of keyboard shortcut Ctrl + U
The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item. -
How do i find the url for my iMac
How di I find the URL for my iMac?
Can you explain in more detail what you mean? A URL is the address of a website - such as Apple.com or Harvard.edu. A computer will only have a URL if it has been set up as a web server and has name servers pointing to it (so that people looking for yourcomputer.com will be sent to the right place).
Conversely, every computer has an IP address, which is numerical. If you're connected directly to your internet, you will have a public IP address (it might look like 245.46.120.30, for example). Most people connect to the internet through a router, though, which gives them a private IP address only visible within their own network (something like 192.168.1.4).
Matt -
I can get the groups that a current member belongs to like the following:
User user = new User(ctx, Util.IDTYPE_DN, userDn, mysub, false);
String [] groupAttrs = {"displayName","owner"};
Group [] groups = user.getGroupMembership(ctx, groupAttrs, false);
String[] groupsList=new String[groups.length];
for(int i=0;i<groups.length;i++){
PropertySetCollection properties = groups.getProperties(ctx,groupAttrs);
PropertySet set = properties.getPropertySet(0);
Property name = set.getProperty("displayName");
groupsList[i]=(String)name.getValue(0);
return groupsList;
This will return the result to a jsp page and then the jsp will render the result like:
<table width="100%" border="0">
<%
for(int i=0;i<groups.length;i++){%>
<%="<tr><td><a href=\"/portal/page/portal/\""+groups[i]+">"+groups[i]+"</a></td></tr>"%>
<%
%>
</table>
all this is within a portlet to display the groups a user belong to. The user should be able to click on the links and then redirected to that particular page. The question is how to get the url or the part of the url for the group. I read many posts about using undocumented procedures/tables like wwpob_page_util and page$. Is there a supported way to do this with the java apis and maybe with a plsql packages. Thank YouTom this is fantastic - thank you. I took your advice and purchased a domain name from godaddy.com ($9) and it is already forwarding to may .mac web page.
The only question I have is that I masked my domain name so that the browser always shows my group name (vs showing my .mac user name on the url). The only problem with that is that the same domain name 'jpmensgroup.com' shows up on every page of that site. Is there a way to include the names for the various pages so each one has its own address. such as jpmensgroup.com/events or jpmensgroup.com/photos etc?
Thanks again. I bet you have to answer this question quite alot! But I am thankful that you do!
Best,
Bob -
URL for directly open/edit Service ticket in WebUI
Dear all,
I try to find solution within this forum. I found similar case with solutions but still not quiet clear to me.
The requirement is to use one URL to open directly to the specific CRM Document in display/edit mode.
in CRM 7.0
Thanks
Kiran prasadLook at this link: URL for directly open/edit CRM Document in WebUI
As it is sad in the post you must generate the following structure of url: http://xxx:xxx?crm-object-type=xxx&crm-object-action=x&crm-object-keyname=xx&crm-object-value=xx
or you can use even simpler url: http://xxxx?crm-object-type=xxxcrm-object-value=xx
xxxx - link to your logon page
xxx - name of BT component for service ticket
xx - guid of specific service ticket -
Looking for the proper URL to post the the "Action" URL
window when creating a survey/form.
My web site is
http://www.me.com/mysite/index.html
Any help would be appreciated> My web site is
http://www.me.com/mysite/index.html
No it's not.
Walt
"FoBoys" <[email protected]> wrote in
message
news:gdonn2$5qo$[email protected]..
> Looking for the proper URL to post the the "Action" URL
window when
> creating a survey/form.
>
> My web site is
http://www.me.com/mysite/index.html
>
> Any help would be appreciated -
Help URL for ESS web dynpro applications
Hi gurus,
I am trying to assign help URL for a standard ESS iView( Record working time).
When i go to the iView properties i have property showhelp. I have the same property for the page record working time.
When i set this property to yes at the page level the help option shows up and whn i set this at the iView level the help option does not show up ( in the right hand corner of the page or iView)
My main question... how do i set up the help url for this help. becuase even for page when i click on help it says "no help found"
I want to give a URL for this help link.
Any thoughts on why this option is not popping up when i set the show help option for iView and how to enable the help URL for iView as well.
Appreciate any help on the same.
regards
SamThe Help option should show up in the iview tray if you set it at the iView level. Im not sure why that part isnt working for you.
For the iView help, you can set the property URL to Help Topic property on the iview or page.
If your version doesnt have this property, you can use the PCD inspector (available under system administration>Support>Portal Content Directory-->PCD Inspector). Browse to the iview, click on prop editor, click the Switch to PCM property. Edit the com.sap.portal.iview.HelpUrl and enter your help url.
Hope this helps-
Marty
Message was edited by:
Marty McCormick -
Lync converts URL's containing & with %26 creating an invalid URL for use in Chrome.
I have a web app that uses the "&" character in the URL. If this URL is copy/pasted from a browser to Lync during an IM, Lync converts the URL to use %26 instead of & which does not work in Chrome. The link opens an empty page since the
app does not understand what to do with %26. Is there any way to stop Lync from converting the & characters to %26 in the URL?Hi Lisa
I don't agree with your answer. The & character is part of the ASCII set and it is not an unsafe character. Actually, it is one of the reserved characters in URIs (see section 2.2 in RFC 3986). Here's the relevant quote from this RFC:
Percent-encoding a reserved character, or decoding a percent-encoded octet that corresponds to a reserved character, will change how the URI is interpreted by most applications. Thus, characters in the reserved set are protected from normalization
and are therefore safe to be used by scheme-specific and producer-specific algorithms for delimiting data subcomponents within a URI.
The & character is very often used in URLs, as it separates the GET parameters. E.g. if you search "GET parameter" in bing, the URL of the result page looks like this: http://www.bing.com/search?q=GET+parameter&go=Senden
Therefore it is very annoying that Lync does convert all &s to %26, which makes many URLs worthless.
Please check whether this bug is fixed in newer versions of Lync. I would also appreciate if this could be fixed in a bugfix release of Lync 2010, but I don't know whether you still do bugfixes for this version.
Best regards
Adrian -
What is the right Call Back url for twitter OAuth in BlackBerry eclipse plugin 9550 simulator
Hi friendz
Being optimistic to get the proper help regarding the "Call Back" Url for twitter, I'm here. Actually I'm implementing
"TwitterAPIME-RIM-OAuthSample" for twitter. Here I am feeling helpless when callback url has been asked.
I read somewhere that call back url is not required for java me. But here after putting my credentials in web view, I can't return back to my app as I'm passing "" in callback url param(as I think).
How to handle this thing... please suggest me??CallBack URL is the url where the twitter redirects after successful authentication. The callback url can be a webpage that builds in any web tech like php etc. for the application. Then the mobile app moves to that redirected page after successful authentication. We can set www.google.com as Callback Url. In that case we need to check the url in the onPageStarted method of the WebViewClient as to finish the webview otherwise it redirects it to www.google.com.
if (uri != null && uri.toString().startsWith(TwitterConnector.CALLBACK_URL)) {
finish(); -
Database driven combobox itemrenderer in DataGrid
Hi
I created a database driven combobox itemrenderer, code see below:
The data is loaded and shown correctly, but when I change the combobox, suddenly a "0" appears:
I can see in the debugger in combobox1_changeHandler, that the correct data is taken from the combo "this.selectedItem.data=3;" and written to "data.professionGroup", (changed from "1" to "3")
but then when the code jumps to set data the "value.professionGroup" is "0"?!?!
Thank yor for any pointers!
The DataGrid:
<mx:DataGrid id="personDg" dataProvider="{sm.persons}" width="100%" height="100%" editable="true">
<mx:columns>
<mx:DataGridColumn headerText="firstName" dataField="firstName"/>
<mx:DataGridColumn headerText="lastName" dataField="lastName"/>
<mx:DataGridColumn headerText="professionGroup" dataField="professionGroup" editable="true" editorDataField="data"
rendererIsEditor="true"
itemRenderer="com.xxx.view.components.combobox.ProfessionGroupCombo">
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
The ItemRenderer:
<?xml version="1.0" encoding="utf-8"?>
<mx:ComboBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
change="combobox1_changeHandler(event)" initialize="combobox1_initializeHandler(event)" >
<fx:Script>
<![CDATA[
import mx.controls.dataGridClasses.DataGridListData;
import com.myfim.model.ShellModell;
import mx.events.ListEvent;
import mx.events.FlexEvent;
[Bindable]
private static var sm:ShellModell=ShellModell.getInstance();
public function setSelectedItemByValue(val:int):void{
this.selectedIndex = -1; // Show prompt if value is not found
for (var i:int=0;i<this.dataProvider.length;i++){
if(this.dataProvider[i].data == val){
this.selectedIndex = i;
break;
}// for
override public function set data(value:Object):void{
super.data=value; // value is the VO!
setSelectedItemByValue(value.professionGroup);
protected function combobox1_changeHandler(event:ListEvent):void
data.professionGroup=this.selectedItem.data;
// I can see in the debugger that "data.professionGroup" gets the correct data f.e. ="3" , but if it jumps to the "set data" the value.professionGroup is "0" !??
protected function combobox1_initializeHandler(event:FlexEvent):void
this.dataProvider=sm.comboData.professionGroupAc; // AC of (label, data)
]]>
</fx:Script>
</mx:ComboBox>Hi,
yupiiee! I found the answer by myself, I had to change
editorDataField="data" to editorDataField="value"
Thats all! Then it works!
Martin Zach -
I have a full license for Adobe Acrobat Professional 9. I just got off the phone with Acrobat technical support about once you install Acrobat Reader 9 to read documents online using Internet Explorer and Firefox. That it would make documents that were scanned in with CapturePerfect3.0 and a Cannon document scanner using Adobe Acrobat Professional 6.0 saved in PDF format and stored as images with records stored with Access Database front-end and SQL Server backend. Simple 6.0 PDF documents stored scanned documents in a database. O.K.! The problem is once you upgrade to read newer version of Acrobat PDF documents that our staff must read online, it makes reading saved database 6.0 PDF documents unreadable. Technical support informs me that it is a settings fix in Acrobat Reader 9 but because the Acrobat Reader 9 is a free download that can't tell me how to fix the settings.
So here I am trying to find out the proper settings in Acrobat Reader 9 to read new Acrobat documents online and old 6.0 Acrobat PDF documents on Windows XP Pro workstations and one Windows 7 workstation of the CEO's assistant. So please help me with the proper setting for Acrobat Reader 9 to work online reading newer PDF documents and still read Acrobat 6.0 documents stored in a database.Adobe Reader 9 can open old and new pdf files.
Maybe you are looking for
-
Issue fetching workitem recipients
I am trying get a list of recipients for a work item (task is of type general task) using the FM SAP_WAPI_WORKITEM_RECIPIENTS. The user to which this workitem id forwarded to has a position maintained in an organizational structure as well. Now, the
-
TS1538 I've done all the steps, my phone still cannot be detected. Any ideas?
I've done all the procedures and instructions, my phone still can't be recognized/detected. P.S. My phone is stuck at the boot logo screen.
-
create or replace trigger no_create before create on database begin raise_application_error(-20500, 'This is a before trigger...:' || ora_dict_obj_name ); end; create table deletemenow(one varchar2(40));object not created...great thats what i wanted
-
[b]Reports output to excel[/b]
Hi all, Am using oracle forms5.0 and reports 3.(Rel 2.0) U've any other ideas abt sending from reports 3.0 to excel Plz let me know Rgds Salim Abbas Dubai
-
Hi Guys, I have configured scenario for Abap Proxy(sync) to Abap Proxy(sync) and it is working fine. But when i try to run scenario involving asynchronous proxy no message is sent from corresponding business system. Does any configuarion settin