Hey all i am using SubSonic 2.1 Version, how to access the scaffold control in our project.
Pls help me with code.
Regards
Kishore
Setup all the Subsonic stuff (like the configuration etc.). In you page register controls:
<%# Register Assembly="SubSonic" Namespace="SubSonic" TagPrefix="subsonic" %>
Here is simplest way to use scaffold:
<subsonic:Scaffold ID="Scaffold1" runat="server" TableName="Table_Name">
</subsonic:Scaffold>
Related
I'm asking a question about portlet version 2.0 and 3.0 in the fragment-host.
I'm using Liferay 7.2.1 GA2.
For example, this one :
Fragment-Host: com.liferay.users.admin.web;bundle-version="4.0.27"
In the init.jsp, I have :
<%# taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
But since Liferay 7.1, it should be (cf Breaking Changes) :
<%# taglib uri="http://xmlns.jcp.org/portlet_3_0" prefix="portlet" %>
For now I don't made this change and I've the following error : Requires 3.0 opt-in
Do I made this change or is there another solution ?
Thanks,
With a fragment, you'll update/modify a JSP that belongs to a (typically) stock portlet. This overriding JSP needs to follow the standard that the overridden portlet sets.
In other words: If you try to provide a Portlet-2.0-spec JSP to a Portlet following the 3.0 specs, you might not find what you expect, and apparently get the error message that you report.
In general: If you override JSPs, you're dealing with implementation level changes to the code that Liferay delivers - there's a lot of maintenance effort connected to it, and this is one of the prices you'll have to pay
In my Adf application I need to use a javascript component called ckeditor (http://ckeditor.com/). Ideally I would like to use it on a facelet page (not a jsp page). It seems like this can be achieved by using ck-jsf-editor (https://code.google.com/p/ck-jsf-editor/). The problem is that I can't figure out how to add this library/taglib to my Adf application.
Anyone knows the best way to do this?
In JDeveloper, you need to add the JAR that contains the JSF component to the project properties under the JSP tag libraries section.
If you are on JDeveloper 11.1.2 or 12c then your ADF application can already use facelets.
I'm Using the BIRTViewer. How can I Integrate the Report generated in the Viewer in a better Web UI framework say like YUI.
if you are using jsp than you can use tag library provided for it
I was wondering if it's possible to add JSF components to the tag library programmatically?
I'm implementing a plug-in mechanism in our application. And now, if I create a JSF component in the plug-in, I need to change the components taglib xml file in the main application, which is not the goal.
I'd rather like to put a components taglib xml file inside a plug-in which is then handled by the main application. Is there any way to do that?
The reason why I'm asking this is the following:
In our application, we send secure messages through a web interface. The messages are created by filling out forms, which are, in most cases, generated. But some forms have special behavior and we don't want to release the whole application if a new 'special form' is implemented, so we decided to put these in plug-ins.
Thanks for any help.
Cheers,
Andreas
I am new in the JSF world, please tell me step by step answer of how to create JSF custom component i search on the net but i didn't get any proper answer or give me some link which shows how to create custom component.
Thanks
Vinod
Googling for "extend UIComponentELTag" or "extends UIComponentELTag" should yield enough hints.
This is one of my favourites: http://blogs.steeplesoft.com/2006/12/jsf-component-writing-check-list/
RichFaces includes CDK (component development kit) that can be used for components development.
Here is the link to the guide: RichFaces CDK Developer Guide