Content assist for Trinidad tags in RAD
I am using RAD 7.0.0.1 and using trinidad tags in JSF pages having .jspx extension. I am not able to get content assist for trinidad tags using cntrl+space. Can anybody help me in resolving this?
Thanks in advance
great, that looks really good and useful!
-Henrik
Am 31.07.2015 um 15:19 schrieb Juergen Haug:
> Hi all,
>
> there is a new improved version of the content assist in the action code editor. It provides intuitive completion proposals for chained expressions of model elements. With that you can easily write expression for many actions like sending messages, invoking operations or accessing data attributes. As before, these expression get automatically translated to target code during generation. In addition, the proposals are annoted with type information, so that you can safely embed them in your target detail code.
>
>
Similar Messages
-
We use RAD 7.5 and WAS 6 to run ICEFaces 1.8.
I added Facelets by following the instructions in ICEFaces "TimeZone Getting Started."
When I installed Facelets, I found I was missing el-ri-1.0.jar. So I googled the jar, found one from lord-knows-where, and stuck it in. It did the trick.
Facelets works great, but I don't have content assist for ui.
My jsp:root is:
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:ui="http://java.sun.com/jsf/facelets">
How do I get content assist for ui?
Thanks,
EliHi Soma,
that will not work. The measure is related to Activity id. The measure value per row is not value for LastActivityid.
I want to show the measure value for last activity id and not this activity id. So there is an indirect relationshipid. Ideally the path would be :
Activity id --> Figure out the last activity id for this activity id --> Get the measure value for last activity id..
- Girija
Please mark responses as answered if it helped you.. This helps others... - Girija Shankar Beuria -
Hi everybody,
I'm working with Facelets and have just defined some custon tags (using
com.sun.facelets.tag.AbstractTagLibrary) which works just fine.
But how do I get content assist for those???
Do I have to create some tld-file?
Thanks in advance :-)
Toryok, now I'm confused.... I don't have a TLD file at all. I use the
com.sun.facelets.tag.AbstractTagLibrary
to define the new tags. (and that works fine). I thought I'll need a TLD file to get content assist...
So, any idea how I can get it for my custom tags (or is it impossible)
Or does anyone know how content assist works on standard tags?
Thanks in advance,
Tory
Edited by: tory77 on Aug 19, 2008 6:48 AM -
Content assist not working in eclipse(Java Content Repository Perspective)
Hi all,
I done setup for java Content Repository Perspective in Eclipse Indigo
followed by
http://www.day.com/eclipse.html.
After completion of setup, I am unable to get content assist for Day CQ API (even java api assist also not working).
Can any suggest me, how can achieve this.
Thanks
RavindraHi all,
I done setup for java Content Repository Perspective in Eclipse Indigo
followed by
http://www.day.com/eclipse.html.
After completion of setup, I am unable to get content assist for Day CQ API (even java api assist also not working).
Can any suggest me, how can achieve this.
Thanks
Ravindra -
Change highlight color for content assist
Hello. The highlight color for current selection in Content Assist (Code .. Hinting) in FB3 IDE is too light for me to distinguish. How it can be changed?
Try with this
Windows -> Prefrences -> General -> Editors -> Text Editors -> Annotations -> Right side there is list from which select -> Actionscript occurance. -
Content assist tool doesn't work for me sometimes
When I'm practising the "Populating an ArrayCollection with retrieved data" exercise in day 2, and adding a result event in <s:HTTPService ...> MXML tag, I pressed the Ctrl + Spacebar, but no content assist appeared. It only displayed "no proposals". When I do the same thing in other tags, the content assist tool works fine. Could someone tell me why that happens? BTW, my flash builder version is the lastest version, that is 4.0.1.277662, and my OS is Window XP. Thanks in advance.
christ, i restart my flash builder, and it works fine right now.
-
Hi all,
We have configured a proxy to soap scenario, where the sender is SAP system and our receiver system is a third party tool.
We are testet the webservice and getting success response from SOAP UI. Also the mapping seems to be ok.
But if we test the scenario, we are getting following error;
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Found
Please, can anyone assist me in this matter?
Kind Regards,
PMHi Gurus,
we are getting also with opensource web service same error.
h2.
Error While Sending Message: Additional error text from response: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 302 Found
Here is detailled described.
SENDER XML
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Add xmlns:ns0="http://www.deeptraining.com">
<ns0:dbl1>23</ns0:dbl1>
<ns0:dbl2>21</ns0:dbl2>
</ns0:Add>
XSLT CODE
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://www.deeptraining.com">
<xsl:template match="/">
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:deep="http://www.deeptraining.com">
<soapenv:Header/>
<soapenv:Body>
<deep:Add>
<deep:dbl1><xsl:value-of select="ns0:Add/ns0:dbl1"/></deep:dbl1>
<deep:dbl2><xsl:value-of select="ns0:Add/ns0:dbl2"/></deep:dbl2>
</deep:Add>
</soapenv:Body>
</soapenv:Envelope>
</xsl:template>
</xsl:stylesheet>
OUTPUT XML
<?xml version="1.0"?>
<soapenv:Envelope xmlns:deep="http://www.deeptraining.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://www.deeptraining.com">
<soapenv:Header/>
<soapenv:Body>
<deep:Add>
<deep:dbl1>23</deep:dbl1>
<deep:dbl2>21</deep:dbl2>
</deep:Add>
</soapenv:Body>
</soapenv:Envelope>
TARGET URL : http://www.deeptraining.com/webservices/mathservice.asmx?WSDL
SOAP ACTION CODE: http://www.deeptraining.com/Add
Maybe Firewall issue?
Warm Regards,
PM -
Cfhttp and setting the content-type for a request
Hi,
I am trying to set the content-type for a cfhttp request like this (on coldfusion 9):
<cfhttp redirect="no" method="get" timeout="120" url="http://10.0.0.1/test2.cfm">
<cfhttpparam type="HEADER" name="Content-Type" value="application/json; charset=utf-8">
</cfhttp>
// coding on test2.cfm:
<cfset x = GetHttpRequestData()>
<cfdump var=#x#>
// Output on test2.cfm
content
[empty string]
headers
struct
Accept-Encoding
deflate, gzip, x-gzip, compress, x-compress
Connection
TE
Host
10.0.0.1:80
Proxy-Connection
close
TE
trailers, deflate, gzip, compress
User-Agent
ColdFusion
X-REWRITE-URL
http://10.0.0.1:80/test2.cfm
method
GET
protocol
HTTP/1.1
As you can see no content-type is send through. I also tried the sniffer.exe:
GET http://10.0.0.1:80/test2.cfm HTTP/1.1
Host: 127.0.0.1
Proxy-Connection: close
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: ColdFusion
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Here you can also see that no content-type was passed through. The sniffer should report back
GET http://10.0.0.1:80/test2.cfm HTTP/1.1
Host: 127.0.0.1
Proxy-Connection: close
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: ColdFusion
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
Content-Type: application/json; charset=utf-8
But is does not, what do i need todo to set the content-type in a cfhttp request.
Kind regards,
Nebu12Robots - are you sure about your statement that GET method requests cannot have Content-Type headers? I don't think that that is correct. I've always thought that it was valid (maybe unusual, but ...) and this W3C link weems to agree, especially in the context of its comment about what Content-Type means in a HEAD method request: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
The big problem with trying to get around the CFHTTP limitation by using the CGI scope is that the dash is illegal in a CF varname.
There is a custom tag called CFHTTP5 that getsaround a lot of the CFHTTP limitations, including cookie preservation across multiple requests. I haven't used it for a long time (CF5), but it is still actively developed. Costs $50 - http://www.cftagstore.com/tags/cfxhttp5.cfm
-reed -
Content Assist is not showing the id
My problem is I have a custom componts that created by me.
but problem is flash builder is not showing the id of it for cntrol+space -->content Assist
here is my layout/architecture
Application
TabNavigator out bound container(inside application)
NavigatorContent (inside NavigatorContent)
custom component name CustomerDetails{s:Group}(inside CustomerDetails)
There is a custom component name CustomerDetails{based on s:Group},it is on NavigatorContent,and it is on TabNavigator, and TabNavigator is on Applicationsorry.there was a mistaken.this is the heirarchy
Application
TabNavigator out bound container(inside application)
NavigatorContent (inside TabNavigator )
custom component name CustomerDetails{s:Group}(inside NavigatorContent )
any suggessions ? -
Hello,
In kepler when I install the OEPE plugin the content-assist in web pages with el expressions doesn't work if the ManagedBean isn't declared in a faces-config.xml file.
In my test I have a Managed Bean annoted @ManagesBean, with WTP only when I type
<h:outputLabel value="#{testMB01.}"/>
the content-assist propose to me the getters ans setters of my Managed Bean but if I install the OEPE the content-assist propose anything.
With OEPE the only way to have the content-assist to work is to declare my Managed Bean in a faces-config.xml but I don't want this because I'm with a JEE 6 application.
Anybody have an idea ? I try to install only the server adapter to allow WTP deploy to WLS but unfortunatly all OEPE is installed .
Regards,
StephaneFor OSB, WLP etc. installations you do use the link mechanism to bring the OSB or WLP plugins on top of the standard OEPE plugins.That's done for legacy reasons having to do with those product installers. The linked plugins are arranged in runnable format, not repository format.
This feature worked in Eclipse Juno 4.2 SR1 and OEPE 12.1.1.2Perhaps you were doing something different. One of the reasons that Eclipse does not recommend the dropins folder method of installation is that there is no feedback if something goes wrong. Any number of things could be getting in the way. If you were using the install UI, you'd be informed of the problems before any changes are made. With dropins, Eclipse tries to install and start as much as it can and you don't really know what's going on.
- Konstantin -
Activate the Content Server for purchasing
Hello,
I want to activate Content Server for PR/PO/RFQ?RFQ/SES/GR/SA/Contract.
Followed the below mentioned step:
1. Configured the "Content Server" using transaction OAC0
2. Created new document class using t-code OAD2
3. Created / Activated new document type and associate the document class (T-code OAC2)
4. Link Object type / Document Type / Content Repository and Link table (t-code OAC3)
But still unable to see the "Store Business Document" navigator enabled in the Services for Object icon for PO (ME21N/ME22N/ME23N)
Can anybody tell me if some thing i've missed out here?
Thanks in advanceSap R/3 4.6C - CS630 (patch-lvl15)
We do not use SapDB or MaxDB to store the document on the content server, we store the documents directly in the file system.
Our Content servers run on win2003 servers.
In my company we've currently got 15 different content servers in 10 countries.
We've got one content server and one cache server at each location for one SAP system. One physical server has 2 content servers and 1 cache server. One for our SAP production system and one for our SAP Quality test system. They use the same cache server (first we created 2 cache servers, but it was not possible for SAP to destuingish between the two, so both cache servers got used by both SAP systems)
We have also implemented a couple of add-ons:
1. Conversion and viewserver (by Seal AG). conversion server converts office documents to pdf when documents are released. Currently use only 2 conversion servers, planning to increase when the volume gets larger.
Viewserver adds stamps on pdf-files when you view or print a document.
2. Document Distribution Manager (by CENIT AG). Makes it easy to schedule prefill of cache. Also possible to move documents from one storage category to another. And Rules for transfering documents from one site to another can be made (Ex. "not allowed to move files larger than 20 MB between <certain> sites")
Perhaps I could be of assistance?
BUT, anyway, the reason I post this is because I have problems upgrading my CS630 (lvl15) to CS640 (lvl6).
Asked SAP via an OSS, and they said it was like a regular patching (stop webservice, copy *.dll files, and restart webservice). But when I try this, I can't get contact with the content server via CSADMIN in SAP. I get "HTTP error: 500 Internal Server Error" -
Topic and content level conditional build tags
What is the difference between a topic level and a content
level conditional build tag? Why would you select one over the
other? How do you select one over the other.First let me point out that the same conditional build tag
can be applied at either the topic level or the content level. It
sounds like you may be thinking that you have to create a tag as
for either the content or topic level.
Apply a tag at the topic level when you want the entire topic
excluded from a certain output. Do this by right-clicking on a
topic in your Project Manager, going to Apply Conditional Build
Tag, and selecting the tag.
Apply a tag at the content level (text, images) when you want
the topic to be included but want specific content to be excluded
from a certain output. Apply a tag at this level by selecting the
text and/or images that you want to apply the tag to,
right-clicking, going to Apply Conditional Build Tag, and picking
the tag.
Note that you wouldn't use a tag at the topic level on a
topic where you have used that same tag at the content level, and
vice versa.
Generally, the idea of build tags is to set an output to
exclude certain tags, but you can also set outputs to include tags
instead, which then excludes all other tags.
--Ben -
how to implement content assisatant (ctrl+space) in JavaFx textArea?
Situation has changed - now content assistant is working almost ok, for both editors. CreatePage0 function is the same, the only change in code is:
@Override
protected IEditorPart getEditor(int pageIndex) {
//return super.getEditor(pageIndex);
super.getEditor(pageIndex);
if (composite != null)
Control focus = composite.getDisplay().getFocusControl();
if (focus !=null){
while (focus.getParent() != null && focus.getParent() != composite){
focus = focus.getParent();
if (composite.getChildren()[0].equals(focus)){
if (logicInputActive != true)
logicInputActive = true;
setActiveEditor(logicInputEditor);
activateSite();
}else if (composite.getChildren()[1].equals(focus)){
if (logicInputActive != false)
logicInputActive = false;
setActiveEditor(logicOutputEditor);
activateSite();
StructuredTextEditor o = logicInputActive ? logicInputEditor : logicOutputEditor;
return o;
So i get the element with focus, and whether it's child of logicInputEditor(it "is in" composite.getChildren()[0]) or logicOutputEditor(composite.getChildren()[1]). This part of code works fine(or at least i think so...). Problem is quite weird - if you click on editor TWICE or once + type something(some random letters) - everything is fine(content assistant shows in this editor), if you click only once content assistant shows in last editor in which you clicked twice. So even if getEditor() function returns "correct"(active) editor, for some reason content assistant shows in "wrong" editor. I tried to override getActiveEditor, but it doesn't change anything. Any ideas what can cause this problem and how can i fix that? -
Content Assist does not work for me in Flash Builder 4.5 on Mac OS 10.6. For example, I type a variable definition and get no suggestions for variable. Type.
Content Assist does work if I create a new project and a new class, but even with that it stops working at some point (after a save?).
I've tried restarting FB and running the -clean command.Thanks for your help, but in preparing a response I figured out files need to be in "src" to have content assist. My project had been imported from a Flash project and the files were at the same level as "src" and not inside "src".
-
Problem using tags as an attribute for other tags.
Hi there,
I'd like to know if there is a way to use a tag as an attribute for an other tag.
Exemple :
<user:testparent param="<user:param param='1' />" >
When doing so, the value of param is <user:param param='1'/>, and not the value that should be returned by the <user:param /> tag.
Is there a way to use the value returned by this tag as a parameter ?
With text, the correct value returned by the tag is used, so I guess it's possible to do so with custom tags.
Thanks.Okay, here is an example of the process...
I have this Class that acts as the parent to all the tags that I use:
package net.thelukes.steven.scriptbits;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
//Other Imports ...
public abstract class ScriptBitsTag extends BodyTagSupport {
public int doAfterBody() throws JspException {
return TagSupport.SKIP_BODY;
public int doEndTag() throws JspException {
return TagSupport.EVAL_PAGE;
/* All subclasses of ScriptBitsTag should call super.doStartTag()
* at the begining of their own doStartTag();
public int doStartTag() throws JspException {
initAttributes();
return TagSupport.SKIP_BODY;
public abstract void setAttributeValue(String attributeName, String attributeValue);
public abstract String getAttributeValue(String attributeName);
/* Use this method to initialize attributes at the start of tag execution */
public abstract void initAttributes();
//...So, for example, I will have a sb:slidingFrame tag that looks like this:
package net.thelukes.steven.scriptbits;
// Imports...
public class SlidingFrameTag extends ScriptBitsTag {
private java.util.Map<SlidingFrameAts,String> attributes =
new java.util.EnumMap<SlidingFrameAts,String>(SlidingFrameAts.class);
public int doStartTag() throws JspException {
super.doStartTag();
//... Do initialize here
return TagSupport.EVAL_BODY_INCLUDE;
public int doEndTag() throws JspException {
//... Do work that depends on nested parameter values here...
return TagSupport.EVAL_PAGE;
//Normal setXXX methods for attributes... <sb:slidingFram windowID="..." >
public void setWindowID(String name) {
windowName = name;
//Do What should happen when nested tag does its work...
// <sb:slidingFrame><sb:attribute .../></slidingFrame>
//For me, just put values in proper place in map...
public void setAttributeValue(String name, String value) {
SlidingFrameAts attrib = SlidingFrameAts.valueOf(name);
if (attrib == null)
return;
else if (attrib == SlidingFrameAts.useDefaultStyleSheet)
this.setUseDefaultStylesheet(Boolean.valueOf(value));
else if (attrib == SlidingFrameAts.offX)
attributes.put(attrib, value);
else {
nonDefaultInit = true;
attributes.put(attrib, value);
public String getAttributeValue(String name) {
return attributes.get(SlidingFrameAts.valueOf(name));
//Set Default values for all attributes.
public void initAttributes() {
}So now I have a tag that is designed to be nested inside ScriptBitsTags and provide attributes for them:
package net.thelukes.steven.scriptbits;
//includes
public class ScriptBitsAttributeTag extends BodyTagSupport {
private String attName = null;
private String attVal = null;
//Normal set methods for in tag attribes: <sb:attribute name="..." value="..."/>
public void setName(String name) {
attName = name;
public void setValue(String value) {
attVal = value;
public int doEndTag() throws JspException {
//If value not set yet, it should come from the tag's body
//<sb:attribute name="...">Some Value</sb:attribute>
if (attVal == null) {
if (bodyContent != null && bodyContent.getString() != null) {
attVal = bodyContent.getString().trim();
} else {
//If not found in body, then use empty string for value...
//(or some appropriate value....)
attVal = "";
setAttribute();
return TagSupport.EVAL_PAGE;
//Assign the attribute to the this tag's parent.
private void setAttribute() {
ScriptBitsTag parentTag =
(ScriptBitsTag)TagSupport.findAncestorWithClass(this, ScriptBitsTag.class);
parentTag.setAttributeValue(attName, attVal);
}The TLD has the SlidingFrame tag look like this:
<tag>
<description>Sliding Menu Window</description>
<display-name>SlidingWindow</display-name>
<name>slidingWindow</name>
<tag-class>net.thelukes.steven.scriptbits.SlidingFrameTag</tag-class>
<body-content>jsp</body-content>
<!-- attributes available for in tag sb:slidingFram windowID="..." for example -->
<!-- set required to false to allow the attribute to be set by sb:attribute tag -->
</tag>The rest of the tld is pretty standard... In my JSP I then have:
<sb:slidingFrame windowID="sliding_frame">
<%-- Attribute Set for this sliding frame --%>
<sb:attribute name="speed">
<c:out value="${sessionScope.speedV}"/>
</sb:attribute>
<%-- Content of the sliding frame --%>
Menu Item A<br/>
Menu Item B<br/>
Menu Item C<br/>
<hr/>
Menu Item A<br/>
</sb:slidingFrame>In this case, instead of doing:
<sb:slidingFrame speed="<sb:attribute value='whatever'/>">I nested the attribute tag between sb:slidingFrame's open and close tag. You have to make sure that any work you want to do that depends on the value of speed is done in the doEndTag so as to make sure it occurs after the nested tag does its work.
Maybe you are looking for
-
How do you make list of songs to buy in iTunes using AppleScript?
I'm trying to write an AppleScript program to create a list of songs that the user doesn't currently own. The idea is that my script would load a playlist from somewhere, then let the user listen to samples and buy some or all of the songs. This woul
-
Hello, I develop my web site with a html editor. When I use preview, everything is fine. If I use Explorer, everything is fine also but if I use Firefox to display the page, the images and text are not where they should be.
-
How do I find pdf's stored in iCloud Drive with my iOS devices?
I have recently updated OS X to 10.10 and all of my iOS devices to 8.1. And I routinely store Pages, Numbers, Keynote and pdf documents on iCloud Drive. But I can't figure out how to find a pdf stored on iCloud Drive from an iOS device. It's obviou
-
Hi guys, I have a "adf:table" and I need to copy the content of table to external application as: Microsoft Word, Notepad. I found this sample [http://one-size-doesnt-fit-all.blogspot.com/2011/04/aftable-restoring-basic-browser-copy.html] but this it
-
Connecting FireBox via ExpressCard adapter
I have my guitar connected to a PreSonus Firebox and the FireBox connect to MBP via FW400 thru a Sonnet FW ExpressCard/34 adapter. When I insert the adapter, a box comes up sending me to System Preferences/Network. Underneath Airport and the other ch