Dynamic User Survey Portlet
Dynamic User Survey Portlet. I want to create a dynamic survey in oracle portals.
The administrator should be able to specify the questions, answer column attributes in a database table and activate the
current survey using a status_flag column. How to write a portlet to generate the survey page dynamically and
present to the user. The questions and answers should be inserted into another database table on submit.
Any sample, ideas really appreciated
Vimal
Hi,
I have answered a similar question in
Re: .NET application works OK on infrastructure, but has problems on midtie
Thanks,
Sharmila
Similar Messages
-
Survey portlet multilingual settings
Hi,
I would like to know if I can use the Survey portlet with the language portlet.
I want to have the questions, the choices and the welcome message in the survey portlet translated in all of the languages that my portal application supports. So when the user changes the language from the language portlet to display the survey portlet in the corresponding language.
Is it possible to do that?
Does the survey portlet support translations?
ThanksNo, it is not working properly. The survey builder portlet is displayed correctly in any language supported by Portal, but it displays an error message (Page not found, athough the URL is correct) when you try to create a survey or edit an existing one in any language other than English.
-
A couple of them...
Where does the survey portlet put it's data-what does the data model look like; or where is it documented?
Is there a configuration that I didn't perform to get survey polls and survey tests to work...? Again, where is the data for the results; providing that these acutally work?
I did manage to create a bunch of surveys and delete them from the survey portlet; however they still show up in
providers-registered providers-user surveys; with no delete or remove attribues (just grant access); how do I get rid of them for good?
Thanks
Ron.I am trying to find out where Survey builder stores the values of the responses that users enter....I was looking in wwv_text....had no luck any suggestions?
Thanks.
Tina -
Survey portlets that can only be used once
All, I would like to create a survey portlet (or use an existing one) to do the following:
1) A user could define the criteria of the survey through a simple interface (i.e. data form)
2) The end user would see the survey on their default home page (this part is pretty simple).
3) Once the user responds to the survey, the survey portlet is replaced on the users home page by the results of the survey and the user can no longer respond to the survey (enforce a "respond-once" policy).
Questions: Does a portlet like this already exist? If so, where can I find it? If not, what is the easiest solution for creating this type of functionality?
Thanks,
Jon.Hello, Not sure if this functionality already exists or not, but what you can try doing is this.
1. create a group with all users who are to take the survey
2. set permissions on the survey portlet to only allow people in this group to take the survey
3. With the assumption that you're dumping this data to a database table, create a trigger that will remove the user from the group when the user does a submit. (you can get the current user using portal.wwctx_api.get_user in the trigger). I can not think of it right now, but there are api's which you can call to remove a user from a group.
I hope this helps. -
How to get user data in a user profile portlet
You would think that this would be easy. Its not?
This was posted in the wrong forum:
Re: Interaction (ALUI/WCI) Cutom User Profile Portlet
"I have a custom portlet that returns user specific information using a portal user profile property. It works great when using current user, which is the logged in user. How can I access the user properties for the profile page owner?
I searched the dev docs without any success, only references to preferences.
Thanks in advance for your assistance.."
I want to know the answer as well. Seems that you shouldn't have to query the IDK for this...
I see 6.5 has an adaptive tag for this.... sigh. time to upgrade.
Edited by: Joel Collins on Feb 3, 2009 10:56 AM
in case anyone tries this in 6.1, I ended up using this:
string sProfileUserID = portletRequest.GetSettingValue(SettingType.UserInfo, "_ProfileUserID");
int iProfileUserID = int.Parse(sProfileUserID);
IObjectQueryRow user = userManager.QuerySingleObject(iProfileUserID);
IExtendedData extendedData = user.GetExtendedData();
make sure you check off the right check box on the user information page of the web service.
Edited by: Joel Collins on Feb 3, 2009 2:12 PMDid you search in the forum before posting your question? Every week similar question like yours is being posted. Anyway find below the query.
SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(EMPNO,';')),';')
FROM
SELECT EMPNO,ROW_NUMBER() OVER(PARTITION BY 1 ORDER BY 1) CURR,ROW_NUMBER() OVER(PARTITION BY 1 ORDER BY 1)+1 NEXXT
FROM EMP
START WITH CURR=1
CONNECT BY CURR = PRIOR NEXXT
Regards,
Mohana -
How to form a URL dynamically in my portlet
hi all,
i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below
I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navigation portlet should show the content for the respective links clicked on left navigation portlet.so in this scenario I need to dynamically create my url which I need to display on the right hand side portlet
Dynamic access to portlet B
Portlet A ------------------------------------------> Portlet B
The Url which has to be displayed on portlet B has to created dynamically in my portlet A,
i.e portlet A should dynamically access portlet B and the page of Portlet B which has to be displayed and create the URL,Once the URL is formed I should be able to access portlet B,
Portlet A ---> access Portlet B context ---> get portlet B context ----> get Portlet B output jsp page and hence form the url
Portlet A = (Portlet B context) + (get Portlet B output jsp page)
= Well formed URL of output jsp page which is in the right hand portlet B
If u have the source code pertaining to above/material.please share it with me.
Thanks
Deepak
Edited by deepakl_2000 at 05/17/2008 1:20 AMhi [email protected]
tell me my friend .. how can i extend
the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
Thanx a lot for your cooperation .
Ali
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
Regards
Grant Ronald<HR></BLOCKQUOTE>
null -
Help needed, Createing Dynamic User input
Hello,
I am attempting to create some dynamic user input by "predicting" what the user requires in a text box.
For example if the user enters "Smi" I have a select list pop up which gives the user all options that begin with "Smi".
I am able to achieve the popups but the interface is quite jerky and not terribly responsive I am trying to solve this by using a thread which starts and stops when new input is received but it is still not quite right.
The program uses a Sorted TreeSet to hold the data (I thought this would give me a quick search time) and a simple interface at this stage.
Any help would be fantastic
Thanks in advance :P
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.text.*;
import java.util.*;
/** This program represents part of a larger user interface for allowing the
user to select data from a file or database.
<p>
When the program starts up, it will read in data from a given file, and hold
it in some type of container allowing rapid access.
<p>
The user may then type in the first few letters of the surname of a person,
and this program should immediately present in a popup dialog the names which
match. The user will be able to click on one of the names in the popup and
that will cause all data about that person to be displayed in the JTextArea
at the bottom of the window.
<p>
This program requires the FormLayout.class, FormLayout$Placement.class, and
FormLayout$Constraint.class files in the same directory
(folder) or in its classpath. These is provided separately.
class PartMatch extends JFrame implements Runnable
/** Close down the program. */
JButton quitbtn;
/** Field for the surname. */
JTextField namefld;
/** Full details of the person(s). */
JTextArea results;
/** Popup dialog to display the names and addresses which
match the leading characters given in namefld. */
Chooser matches;
/** Default background color for a window. */
final static Color defBackground = new Color(0xD0C0C0);
/** Default foreground color for a window. */
final static Color defForeground = new Color(0x000000);
/** Default background color for a field */
final static Color fldBackground = new Color(0xFFFFFF);
/** Default background color for a button */
final static Color btnBackground = new Color(0xF0E0E0);
final static Color dkBackground = new Color(0xB0A0A0);
/** Larger font */
final static Font bold = new Font("Helvetica", Font.BOLD, 30);
TreeSet members;
String input;
String[] found;
public static void main(String arg[])
UIManager.put("TextField.background",fldBackground);
UIManager.put("TextField.foreground",defForeground);
UIManager.put("TextField.selectionBackground",btnBackground);
UIManager.put("TextArea.background",fldBackground);
UIManager.put("TextArea.foreground",defForeground);
UIManager.put("TextArea.selectionBackground",btnBackground);
UIManager.put("Panel.background",defBackground);
UIManager.put("Label.background",defBackground);
UIManager.put("Label.foreground",defForeground);
UIManager.put("Button.background",btnBackground);
UIManager.put("Button.foreground",defForeground);
UIManager.put("CheckBox.background",defBackground);
UIManager.put("ScrollBar.background",defBackground);
UIManager.put("ScrollBar.thumb",btnBackground);
UIManager.put("ComboBox.background",btnBackground);
UIManager.put("ComboBox.selectionBackground",dkBackground);
PartMatch trial = new PartMatch(arg);
public PartMatch( String [] arg )
super("Part Match");
setDefaultCloseOperation(EXIT_ON_CLOSE);
Container cpane = getContentPane();
FormLayout form = new FormLayout(cpane);
JLabel lab1 = new JLabel("Fetch details") ;
lab1.setFont( bold );
form.setTopAnchor( lab1, 4 );
form.setLeftAnchor( lab1, 4 );
JLabel lab2 = new JLabel("Surname: ") ;
form.setTopRelative( lab2, lab1, 4 );
form.setLeftAlign( lab2, lab1 );
namefld = new JTextField( 30 );
form.setBottomAlign( namefld, lab2 );
form.setLeftRelative( namefld, lab2, 4 );
namefld.addCaretListener( new CaretListener()
public void caretUpdate(CaretEvent e)
showMatches();
quitbtn = new JButton( "Quit" );
quitbtn.addActionListener( new ActionListener()
public void actionPerformed(ActionEvent e)
quitProcessing();
form.setBottomAlign( quitbtn, namefld );
form.setLeftRelative( quitbtn, namefld, 15 );
results = new JTextArea( 10,50 );
results.setEditable(false);
JScrollPane jsp = new JScrollPane( results,
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
form.setTopRelative( jsp, lab2, 6 );
form.setLeftAlign( jsp, lab2 );
form.setBottomAnchor( jsp, 5 );
form.setRightAnchor( jsp, 5 );
form.setRightAnchor( quitbtn, 5 );
matches = new Chooser( this );
//matches.setUndecorated(true);
pack();
setVisible(true);
namefld.requestFocus();
if (arg.length > 0) init(arg[0]);
else init("triathlon.txt"); //<<<<<<<<<<<<<<<< Place the default filename here
/** Called once only, at the end of the constructor, to read the data
* from the membership file.
public void init( String fname )
members = new TreeSet();
try {
FileReader fr = new FileReader(new File (fname));
Scanner scan = new Scanner(fr);
trimember cmem;
String cLine, eTag, memberNo, first, last, gender, yob, tel ,addr,
club;
while(scan.hasNextLine())
cLine = scan.nextLine();
Scanner scan2 = new Scanner(cLine);
scan2.useDelimiter(";");
eTag = scan2.next().trim();
memberNo = scan2.next().trim();
first = scan2.next().trim();
last = scan2.next().trim();
gender = scan2.next().trim();
yob = scan2.next().trim();
tel = scan2.next().trim();
addr = scan2.next().trim();
club = scan2.next().trim();
cmem = new trimember(eTag, memberNo, first, last, gender, yob,
tel, addr, club);
members.add(cmem);
catch (FileNotFoundException ex)
results.append("Sorry can't find the input file\n");
results.append("Please check file name and location and try again");
ex.printStackTrace();
/** Called every time there is a change in the contents of the text field
* namefld. It will first clear the text area. It then needs to search
* through the container of data to find all records where the surname
* starts with the characters that have been typed. The names and
* addresses need to be set up as strings and placed in
* an array of Strings. This can be placed in the "matches" window and
* displayed for the user, inviting one to be selected.
* <p>
* The performance of this is very important. If necessary, it may be
* necessary to run as a separate thread so that the user interface is
* not delayed. It is essential that the user be able to type letters at a
* reasonable speed and not have the keystroke processing held up by
* previous text.
public void showMatches( )
run();
// First clear the text area
//results.setText("");
// Determine the leading characters of the surname that is wanted
input = namefld.getText();
// Locate the data for this name, and display each matching item
// in the JTextArea ...
// Example of how to set the data in the popup dialog
matches.list.setListData(found);
matches.pack(); // resize the popup
// set the location of the popup if it is not currently visible
if ( ! matches.isVisible())
Dimension sz = matches.getSize();
Point mouse = getMousePosition();
Point framepos = getLocation();
int x=0, y=0;
if (mouse == null)
Point pt = results.getLocation();
x = pt.x + 20 + framepos.x;
y = pt.y + 20 + framepos.y;
else
x = mouse.x - 2 + framepos.x;
y = mouse.y - 2 + framepos.y;
matches.setLocation(x,y);
matches.setVisible(true);
namefld.requestFocus();
/** Perform any final processing before closing down.
public void quitProcessing( )
// Any closing work. Then
System.exit(0);
public void run()
ArrayList<String> foundit = new ArrayList<String>();
System.out.println(input);
if(input != null)
Iterator it = members.iterator();
while(it.hasNext())
trimember test = (trimember) it.next();
if (test.last.startsWith(input))
foundit.add(test.last +", "+ test.first);
found = new String[foundit.size()];
for(int i=0; i<foundit.size();i++)
found[i] = foundit.get(i);
/** A window for displaying names and addresses from the data set which
match the leading characters in namefld.
<p>
This will automatically pop down if the user moves the mouse out of the
window.
<p>
It needs code added to it to respond to the user clicking on an item in
the displayed list. */
class Chooser extends JWindow
/** To display a set of names and addresses that match the leading
characters of the namefld text field. */
public JList list = new JList();
Chooser( JFrame parent )
super( parent );
Container cpane = getContentPane();
cpane.addMouseListener( new MouseAdapter()
public void mouseExited(MouseEvent e)
Chooser.this.setVisible(false);
cpane.add("Center",list);
list.addListSelectionListener( new ListSelectionListener()
public void valueChanged(ListSelectionEvent e)
Chooser.this.setVisible(false);
System.out.println("ValueChanged");
// First clear the text area
results.setText("");
String in = (String) list.getSelectedValue();
System.out.println("Selected Value was : "+in);
String[] inlf = in.split(", ");
System.out.println("inlf[0]:"+inlf[0]+" inlf[1]:"+inlf[1]);
results.append("Surname \tFirst \teTag \tMemberNo \tSex \tYOB " +
"\tTel \tAddress \t\t\tClub\n");
Iterator it = members.iterator();
while(it.hasNext())
trimember test = (trimember) it.next();
if (test.last.equals(inlf[0])&&test.first.equals(inlf[1]))
results.append(test.toString()+"\n");
namefld.requestFocus();
public class trimember implements Comparable
String eTag;
public String memberNo;
public String first;
public String last;
String gender;
String yob;
String tel;
String addr;
String club;
public trimember(String eT, String me, String fi, String la,
String ge, String yo, String te, String ad, String cl)
eTag = eT;
memberNo = me;
first = fi;
last = la;
gender = ge;
yob = yo;
tel = te;
addr = ad;
club = cl;
//To String method to output string of details
public String toString()
return last + "\t" + first + "\t" + eTag + "\t" +
memberNo + "\t" + gender + "\t" + yob + "\t"+ tel + "\t" +
addr + "\t" + club;
//Compare and sort on Last name
public int compareTo(Object o)
trimember com = (trimember) o;
int lastCmp = last.compareTo(com.last);
int firstCmp = first.compareTo(com.first);
int memCmp = memberNo.compareTo(com.memberNo);
if (lastCmp == 0 && firstCmp !=0)return firstCmp;
else if (lastCmp==0&&firstCmp==0)return memCmp;
else return lastCmp;
}Please don't cross-post. It is considered very rude to do that here:
http://forum.java.sun.com/thread.jspa?messageID=9953193 -
Help needed, Providing Dynamic User input
Hello,
I am attempting to create some dynamic user input by "predicting" what the user requires in a text box.
For example if the user enters "Smi" I have a select list pop up which gives the user all options that begin with "Smi".
I am able to achieve the popups but the interface is quite jerky and not terribly responsive I am trying to solve this by using a thread which starts and stops when new input is received but it is still not quite right.
The program uses a Sorted TreeSet to hold the data (I thought this would give me a quick search time) and a simple interface at this stage.
Any help would be fantastic
Thanks in advance :P
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.text.*;
import java.util.*;
/** This program represents part of a larger user interface for allowing the
user to select data from a file or database.
<p>
When the program starts up, it will read in data from a given file, and hold
it in some type of container allowing rapid access.
<p>
The user may then type in the first few letters of the surname of a person,
and this program should immediately present in a popup dialog the names which
match. The user will be able to click on one of the names in the popup and
that will cause all data about that person to be displayed in the JTextArea
at the bottom of the window.
<p>
This program requires the FormLayout.class, FormLayout$Placement.class, and
FormLayout$Constraint.class files in the same directory
(folder) or in its classpath. These is provided separately.
class PartMatch extends JFrame implements Runnable
/** Close down the program. */
JButton quitbtn;
/** Field for the surname. */
JTextField namefld;
/** Full details of the person(s). */
JTextArea results;
/** Popup dialog to display the names and addresses which
match the leading characters given in namefld. */
Chooser matches;
/** Default background color for a window. */
final static Color defBackground = new Color(0xD0C0C0);
/** Default foreground color for a window. */
final static Color defForeground = new Color(0x000000);
/** Default background color for a field */
final static Color fldBackground = new Color(0xFFFFFF);
/** Default background color for a button */
final static Color btnBackground = new Color(0xF0E0E0);
final static Color dkBackground = new Color(0xB0A0A0);
/** Larger font */
final static Font bold = new Font("Helvetica", Font.BOLD, 30);
TreeSet members;
String input;
String[] found;
public static void main(String arg[])
UIManager.put("TextField.background",fldBackground);
UIManager.put("TextField.foreground",defForeground);
UIManager.put("TextField.selectionBackground",btnBackground);
UIManager.put("TextArea.background",fldBackground);
UIManager.put("TextArea.foreground",defForeground);
UIManager.put("TextArea.selectionBackground",btnBackground);
UIManager.put("Panel.background",defBackground);
UIManager.put("Label.background",defBackground);
UIManager.put("Label.foreground",defForeground);
UIManager.put("Button.background",btnBackground);
UIManager.put("Button.foreground",defForeground);
UIManager.put("CheckBox.background",defBackground);
UIManager.put("ScrollBar.background",defBackground);
UIManager.put("ScrollBar.thumb",btnBackground);
UIManager.put("ComboBox.background",btnBackground);
UIManager.put("ComboBox.selectionBackground",dkBackground);
PartMatch trial = new PartMatch(arg);
public PartMatch( String [] arg )
super("Part Match");
setDefaultCloseOperation(EXIT_ON_CLOSE);
Container cpane = getContentPane();
FormLayout form = new FormLayout(cpane);
JLabel lab1 = new JLabel("Fetch details") ;
lab1.setFont( bold );
form.setTopAnchor( lab1, 4 );
form.setLeftAnchor( lab1, 4 );
JLabel lab2 = new JLabel("Surname: ") ;
form.setTopRelative( lab2, lab1, 4 );
form.setLeftAlign( lab2, lab1 );
namefld = new JTextField( 30 );
form.setBottomAlign( namefld, lab2 );
form.setLeftRelative( namefld, lab2, 4 );
namefld.addCaretListener( new CaretListener()
public void caretUpdate(CaretEvent e)
showMatches();
quitbtn = new JButton( "Quit" );
quitbtn.addActionListener( new ActionListener()
public void actionPerformed(ActionEvent e)
quitProcessing();
form.setBottomAlign( quitbtn, namefld );
form.setLeftRelative( quitbtn, namefld, 15 );
results = new JTextArea( 10,50 );
results.setEditable(false);
JScrollPane jsp = new JScrollPane( results,
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
form.setTopRelative( jsp, lab2, 6 );
form.setLeftAlign( jsp, lab2 );
form.setBottomAnchor( jsp, 5 );
form.setRightAnchor( jsp, 5 );
form.setRightAnchor( quitbtn, 5 );
matches = new Chooser( this );
//matches.setUndecorated(true);
pack();
setVisible(true);
namefld.requestFocus();
if (arg.length > 0) init(arg[0]);
else init("triathlon.txt"); //<<<<<<<<<<<<<<<< Place the default filename here
/** Called once only, at the end of the constructor, to read the data
* from the membership file.
public void init( String fname )
members = new TreeSet();
try {
FileReader fr = new FileReader(new File (fname));
Scanner scan = new Scanner(fr);
trimember cmem;
String cLine, eTag, memberNo, first, last, gender, yob, tel ,addr,
club;
while(scan.hasNextLine())
cLine = scan.nextLine();
Scanner scan2 = new Scanner(cLine);
scan2.useDelimiter(";");
eTag = scan2.next().trim();
memberNo = scan2.next().trim();
first = scan2.next().trim();
last = scan2.next().trim();
gender = scan2.next().trim();
yob = scan2.next().trim();
tel = scan2.next().trim();
addr = scan2.next().trim();
club = scan2.next().trim();
cmem = new trimember(eTag, memberNo, first, last, gender, yob,
tel, addr, club);
members.add(cmem);
catch (FileNotFoundException ex)
results.append("Sorry can't find the input file\n");
results.append("Please check file name and location and try again");
ex.printStackTrace();
/** Called every time there is a change in the contents of the text field
* namefld. It will first clear the text area. It then needs to search
* through the container of data to find all records where the surname
* starts with the characters that have been typed. The names and
* addresses need to be set up as strings and placed in
* an array of Strings. This can be placed in the "matches" window and
* displayed for the user, inviting one to be selected.
* <p>
* The performance of this is very important. If necessary, it may be
* necessary to run as a separate thread so that the user interface is
* not delayed. It is essential that the user be able to type letters at a
* reasonable speed and not have the keystroke processing held up by
* previous text.
public void showMatches( )
run();
// First clear the text area
//results.setText("");
// Determine the leading characters of the surname that is wanted
input = namefld.getText();
// Locate the data for this name, and display each matching item
// in the JTextArea ...
// Example of how to set the data in the popup dialog
matches.list.setListData(found);
matches.pack(); // resize the popup
// set the location of the popup if it is not currently visible
if ( ! matches.isVisible())
Dimension sz = matches.getSize();
Point mouse = getMousePosition();
Point framepos = getLocation();
int x=0, y=0;
if (mouse == null)
Point pt = results.getLocation();
x = pt.x + 20 + framepos.x;
y = pt.y + 20 + framepos.y;
else
x = mouse.x - 2 + framepos.x;
y = mouse.y - 2 + framepos.y;
matches.setLocation(x,y);
matches.setVisible(true);
namefld.requestFocus();
/** Perform any final processing before closing down.
public void quitProcessing( )
// Any closing work. Then
System.exit(0);
public void run()
ArrayList<String> foundit = new ArrayList<String>();
System.out.println(input);
if(input != null)
Iterator it = members.iterator();
while(it.hasNext())
trimember test = (trimember) it.next();
if (test.last.startsWith(input))
foundit.add(test.last +", "+ test.first);
found = new String[foundit.size()];
for(int i=0; i<foundit.size();i++)
found[i] = foundit.get(i);
/** A window for displaying names and addresses from the data set which
match the leading characters in namefld.
<p>
This will automatically pop down if the user moves the mouse out of the
window.
<p>
It needs code added to it to respond to the user clicking on an item in
the displayed list. */
class Chooser extends JWindow
/** To display a set of names and addresses that match the leading
characters of the namefld text field. */
public JList list = new JList();
Chooser( JFrame parent )
super( parent );
Container cpane = getContentPane();
cpane.addMouseListener( new MouseAdapter()
public void mouseExited(MouseEvent e)
Chooser.this.setVisible(false);
cpane.add("Center",list);
list.addListSelectionListener( new ListSelectionListener()
public void valueChanged(ListSelectionEvent e)
Chooser.this.setVisible(false);
System.out.println("ValueChanged");
// First clear the text area
results.setText("");
String in = (String) list.getSelectedValue();
System.out.println("Selected Value was : "+in);
String[] inlf = in.split(", ");
System.out.println("inlf[0]:"+inlf[0]+" inlf[1]:"+inlf[1]);
results.append("Surname \tFirst \teTag \tMemberNo \tSex \tYOB " +
"\tTel \tAddress \t\t\tClub\n");
Iterator it = members.iterator();
while(it.hasNext())
trimember test = (trimember) it.next();
if (test.last.equals(inlf[0])&&test.first.equals(inlf[1]))
results.append(test.toString()+"\n");
namefld.requestFocus();
public class trimember implements Comparable
String eTag;
public String memberNo;
public String first;
public String last;
String gender;
String yob;
String tel;
String addr;
String club;
public trimember(String eT, String me, String fi, String la,
String ge, String yo, String te, String ad, String cl)
eTag = eT;
memberNo = me;
first = fi;
last = la;
gender = ge;
yob = yo;
tel = te;
addr = ad;
club = cl;
//To String method to output string of details
public String toString()
return last + "\t" + first + "\t" + eTag + "\t" +
memberNo + "\t" + gender + "\t" + yob + "\t"+ tel + "\t" +
addr + "\t" + club;
//Compare and sort on Last name
public int compareTo(Object o)
trimember com = (trimember) o;
int lastCmp = last.compareTo(com.last);
int firstCmp = first.compareTo(com.first);
int memCmp = memberNo.compareTo(com.memberNo);
if (lastCmp == 0 && firstCmp !=0)return firstCmp;
else if (lastCmp==0&&firstCmp==0)return memCmp;
else return lastCmp;
}Edited by: Roger on Nov 3, 2007 11:50 AMPlease don't cross-post. It is considered very rude to do that here:
http://forum.java.sun.com/thread.jspa?threadID=5233033&messageID=9953169#9953169 -
I configure a RFC Receiver adapter to communicate with R/3. In my client application (via Webdynpro) I send the message that use this communication, but I need to call the RFC using a dynamic user/password, that is, the user credentials that is logged. Is it possible? How I do it?
thanks.Hi Elton,
I don't think so, it is possible to have dynamic user ID and password for the RFC adapter. As of now...
Because you need to enter the user id and password while configuring adapter itself.
But if you want , you can call different RFCs based on the Condition etc.
Hope this helps,
Regards,
Moorthy -
Hello,
here's a little teaser for user interface experts out there:
I wonder what kind of techniques ABAP offers for creating dynamic user interfaces.
When talking of 'dynamic' I imagine something like an arbitrary number of 'containers' where other programs (classes f.ex.) can draw their own user interface into.
In Java this could be realized with the container concept in swing.
I have done some research on this topic and the results are so far:
a plain dynpro: seems to have no dynamic at all -> not an option
a plain dynpro with a tabstrip: in case the number of tabs CAN be set at runtime AND the subscreens CAN be drawn from inside separate classes -> a definite option otherwise not an option
any kind of web-frontend (BSP, JSP etc.): web-frontends are not allowed by company restrictions -> not an option
dynamic documents: I could not find many information on these yet (also not on sdn). In case that an arbitrary number of parts of the dynamic document can be created from inside separate classes -> an option otherwise not an option
I will be happy about any further information on this topic.
Best regards,
Patrick BaerI spent some time today doing research on BSP's and built a "BSP-Viewer" embedded into the SAP-GUI. Though I like the concept of BSP's a lot (like I did already with JSP's) but company restricitions are too strict. So BSP's are out of the play.
After the discussion I started to play around with the different containers and basically I'm quite pleased with them and the "cl_gui_container_bar" allows an arbirtary number of "subscreens" which matches my requirements.
But as usual there's still a downside:
I found no option to built text labels and text fields into a container. Unless this is possible I can't give this approach a chance. I already found some postings which seemed to confirm that this is in fact not possible but I can't really believe it. At least from what it looks like it seems to me that the object navigator utilizes both: splitters, containers and all the stuff AS WELL AS the "classical" elements like text boxes, labels and so on.
Any ideas on how to combine the container concept with text fields, labels maybe whole dynpros or subscreens ?
Best regards,
Patrick Baer -
10gR3 installation issue (#1): User Activity portlet not working
I installed a clean 10gR3, full install in windows / sql server. I haven't installed anything that didn't come included, so no analytics / publisher / collab / etc. The documentation is somewhat lacking, but I don't think I did anything wrong.
So when I added the User Status and User Activity portlets to a my page, the user status portlet works, but the user Activity portlet doesn't show any of my previous statuses.
I looked in my Notification (CNS) database, and I can see my old status, so I know that they are getting in there correctly.
Looking at PTSPY, there seems to be some issue with a login token (and yes, I did copy the value from PTSERVERCONFIG wtih settingid 65 into the configurator).
the following is what is displayed in PTSPY when the portlet refresh button is clicked on the User Activities portlet. As you can see, there is a lot of 'guest user', even though I am logged in as administrator.
ALI Logging Spy Version 6.1
** Log file written at 4-10-2009 11:50:51.
ID DATE TIME LEVEL COMPONENT APPLICATION THREAD LOCATION MESSAGE
== ====== ======== ==== ========= =========== ===== ======== =======
0 4-10-2009 11:50:25.327 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.interpreter.Interpreter Entering handleRequest: GET http://localhost:80/portal/server.pt/gateway/PTARGS_6_0_203_0_100_43/ <ptLogMsgEnd>
1 4-10-2009 11:50:25.327 Action Gateway portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Entering HandleGatewayRequest: GET http://localhost:80/portal/server.pt/gateway/PTARGS_6_0_203_0_100_43/ <ptLogMsgEnd>
2 4-10-2009 11:50:25.327 Info Gateway portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Current user: 1, Administrator <ptLogMsgEnd>
3 4-10-2009 11:50:25.327 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.login.SSOAuthenticator SSO is disabled globally. <ptLogMsgEnd>
4 4-10-2009 11:50:25.327 Info Core portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.core.PTBaseObjectManager Opening and querying for object with Id: 203 and Class Id: 43 <ptLogMsgEnd>
5 4-10-2009 11:50:25.397 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.CSPPortletProvider CSPPortletProvider.GetContentURL, content ID is 5, URL is http://house-2aojhum1o:21030/activityservice/useractivityfeed.jsf <ptLogMsgEnd>
6 4-10-2009 11:50:25.397 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.CSPPortletProvider Portlet ID 203, User ID 1 = CSPPortletProvider.GetContent accessing [http://house-2aojhum1o:21030/activityservice/useractivityfeed.jsf] <ptLogMsgEnd>
7 4-10-2009 11:50:25.397 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.CSPPortletProvider Portlet ID 203, User ID 1 = CSPPortletProvider.GetContent: Gateway timeout is set to 1200000 ms. <ptLogMsgEnd>
8 4-10-2009 11:50:25.397 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.CSPRequest CSPRequest : setting HTTP method to GET <ptLogMsgEnd>
9 4-10-2009 11:50:25.407 Info Core portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.core.TokenUtility PTTokenUtility::CreateToken TOKENS: Creating token for: 1|1239378925| <ptLogMsgEnd>
10 4-10-2009 11:50:25.537 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Entering handleRequest: GET http://localhost:80/portal/server.pt/gateway/PTARGS_0_0_206_0_0_47/cns/rss/2432353235346261352D396130342D346665372D396538362D3661326262363961643535342433354445364146382D414242362D346539622D423445312D44314643343932463242453800000005.xml <ptLogMsgEnd>
11 4-10-2009 11:50:25.547 Action Gateway portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Entering HandleGatewayRequest: GET http://localhost:80/portal/server.pt/gateway/PTARGS_0_0_206_0_0_47/cns/rss/2432353235346261352D396130342D346665372D396538362D3661326262363961643535342433354445364146382D414242362D346539622D423445312D44314643343932463242453800000005.xml <ptLogMsgEnd>
12 4-10-2009 11:50:25.557 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.TokenAuthenticator TokenAuthenticator::UseThisAuth: checking if there's a replication token. <ptLogMsgEnd>
13 4-10-2009 11:50:25.557 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.Authenticator Logging in as guest user: 2 <ptLogMsgEnd>
14 4-10-2009 11:50:25.557 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTLoginHelper Entering attemptGuestLogin(), guest userid = 2 <ptLogMsgEnd>
15 4-10-2009 11:50:25.557 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTLoginHelper Entering internalLogin() <ptLogMsgEnd>
16 4-10-2009 11:50:25.557 Info Core portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.server.impl.core.PTSession Connected as user "Guest" <ptLogMsgEnd>
17 4-10-2009 11:50:25.557 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.LoginHelper Entering DoTasksAfterLogin() <ptLogMsgEnd>
18 4-10-2009 11:50:25.557 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper Entering CachePersonalSettings() <ptLogMsgEnd>
19 4-10-2009 11:50:25.557 Info Core portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.server.impl.core.PTBaseObjectManager Opening and querying for object with Id: 2 and Class Id: 1 <ptLogMsgEnd>
20 4-10-2009 11:50:25.597 Warning Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.pei.PTLoginActions Unable to find browser locale list to map locale to ui supported locale from accept-language header . Using default system locale. <ptLogMsgEnd>
21 4-10-2009 11:50:25.597 Info Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.pei.PTLoginActions Setting user language based on supported locale of en-us from accept-language header <ptLogMsgEnd>
22 4-10-2009 11:50:25.597 Info Gateway portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Current user: 2, Guest <ptLogMsgEnd>
23 4-10-2009 11:50:25.597 Info Gateway portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Redirecting to login page due to insufficient privileges. <ptLogMsgEnd>
24 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.Authenticator Redirecting to login space Login <ptLogMsgEnd>
25 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.Redirect Attempting to use SetSpaceCreateNew method with a null parent AActivitySpace. <ptLogMsgEnd>
26 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.SSOAuthenticator SSO is disabled globally. <ptLogMsgEnd>
27 4-10-2009 11:50:25.597 Info Gateway portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers HandleGatewayRequest returning control to Interpreter to process login page. <ptLogMsgEnd>
28 4-10-2009 11:50:25.597 Action Gateway portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Leaving HandleGatewayRequest (returning control flow to the interpreter) - User ID: 2 <ptLogMsgEnd>
29 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.TokenAuthenticator TokenAuthenticator::UseThisAuth: checking if there's a replication token. <ptLogMsgEnd>
30 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Current user: 2, Guest <ptLogMsgEnd>
31 4-10-2009 11:50:25.597 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Redirecting to http://localhost/portal/server.pt?redirect=http%3A%2F%2Flocalhost%2Fportal%2Fserver.pt%2Fgateway%2FPTARGS_0_0_206_0_0_47%2Fcns%2Frss%2F2432353235346261352D396130342D346665372D396538362D3661326262363961643535342433354445364146382D414242362D346539622D423445312D44314643343932463242453800000005.xml&space=Login&cached=false <ptLogMsgEnd>
32 4-10-2009 11:50:25.607 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Leaving handleRequest - User ID: 2 <ptLogMsgEnd>
33 4-10-2009 11:50:25.697 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Entering handleRequest: GET http://localhost:80/portal/server.pt?redirect=http%3A%2F%2Flocalhost%2Fportal%2Fserver.pt%2Fgateway%2FPTARGS_0_0_206_0_0_47%2Fcns%2Frss%2F2432353235346261352D396130342D346665372D396538362D3661326262363961643535342433354445364146382D414242362D346539622D423445312D44314643343932463242453800000005.xml&space=Login&cached=false <ptLogMsgEnd>
34 4-10-2009 11:50:25.697 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.TokenAuthenticator TokenAuthenticator::UseThisAuth: checking if there's a replication token. <ptLogMsgEnd>
35 4-10-2009 11:50:25.697 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.Authenticator Logging in as guest user: 2 <ptLogMsgEnd>
36 4-10-2009 11:50:25.697 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTLoginHelper Entering attemptGuestLogin(), guest userid = 2 <ptLogMsgEnd>
37 4-10-2009 11:50:25.697 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTLoginHelper Entering internalLogin() <ptLogMsgEnd>
38 4-10-2009 11:50:25.697 Info Core portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.server.impl.core.PTSession Connected as user "Guest" <ptLogMsgEnd>
39 4-10-2009 11:50:25.707 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.login.LoginHelper Entering DoTasksAfterLogin() <ptLogMsgEnd>
40 4-10-2009 11:50:25.707 Info Portal_UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper Entering CachePersonalSettings() <ptLogMsgEnd>
41 4-10-2009 11:50:25.707 Info Core portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.server.impl.core.PTBaseObjectManager Opening and querying for object with Id: 2 and Class Id: 1 <ptLogMsgEnd>
42 4-10-2009 11:50:25.717 Warning Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.pei.PTLoginActions Unable to find browser locale list to map locale to ui supported locale from accept-language header . Using default system locale. <ptLogMsgEnd>
43 4-10-2009 11:50:25.717 Info Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.pei.PTLoginActions Setting user language based on supported locale of en-us from accept-language header <ptLogMsgEnd>
44 4-10-2009 11:50:25.717 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Current user: 2, Guest <ptLogMsgEnd>
45 4-10-2009 11:50:25.717 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.MVCController Current space is Login <ptLogMsgEnd>
46 4-10-2009 11:50:25.727 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.MVCController Redirect after login QS param: http://localhost/portal/server.pt/gateway/PTARGS_0_0_206_0_0_47/cns/rss/2432353235346261352D396130342D346665372D396538362D3661326262363961643535342433354445364146382D414242362D346539622D423445312D44314643343932463242453800000005.xml <ptLogMsgEnd>
47 4-10-2009 11:50:25.727 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.MVCController current control is DefaultLoginControl <ptLogMsgEnd>
48 4-10-2009 11:50:25.727 Info UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Displaying page Login <ptLogMsgEnd>
49 4-10-2009 11:50:25.727 Info Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.common.uiparts.PlumtreeDP Displaying page layout Base Page using Page Layout with ID 40 <ptLogMsgEnd>
50 4-10-2009 11:50:25.747 Info Portal_Common portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.portalpages.common.uiparts.PlumtreeDP Displaying page layout Login Page using Page Layout with ID 46 <ptLogMsgEnd>
51 4-10-2009 11:50:25.757 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #8 com.plumtree.uiinfrastructure.interpreter.Interpreter Leaving handleRequest - User ID: 2 <ptLogMsgEnd>
52 4-10-2009 11:50:25.918 Error Storybook Logger activityservice.house-2aojhum1o.Administrator http-21030-exec-3 java.lang.Class Error in retrieving CNS feed: com.sun.syndication.io.ParsingFeedException: Invalid XML: Error on line 1: White spaces are required between publicId and systemId.
com.sun.syndication.io.ParsingFeedException: Invalid XML: Error on line 1: White spaces are required between publicId and systemId.
at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:182)
at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:122)
at com.bea.shaboo.impl.support.UserActivityBean.getActivityList(UserActivityBean.java:74)
at com.bea.shaboo.impl.support.UserActivityBean.getActivityStreamModel(UserActivityBean.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)
at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)
at javax.faces.component.UIData.getValue(UIData.java:779)
at org.apache.myfaces.component.html.ext.HtmlDataTableHack.createDataModel(HtmlDataTableHack.java:350)
at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getDataModel(HtmlDataTableHack.java:333)
at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getRowCount(HtmlDataTableHack.java:75)
at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(HtmlListRenderer.java:107)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:343)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:251)
at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)
at org.apache.jsp.useractivityfeed_jsp._jspx_meth_t_005fdataList_005f0(useractivityfeed_jsp.java:442)
at org.apache.jsp.useractivityfeed_jsp._jspx_meth_h_005fform_005f0(useractivityfeed_jsp.java:247)
at org.apache.jsp.useractivityfeed_jsp._jspx_meth_f_005fview_005f0(useractivityfeed_jsp.java:178)
at org.apache.jsp.useractivityfeed_jsp._jspService(useractivityfeed_jsp.java:108)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.bea.shaboo.impl.servlet.RequestedUserFilter.doFilter(RequestedUserFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.bea.shaboo.impl.servlet.AccountCreationFilter.doFilter(AccountCreationFilter.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.bea.shaboo.impl.servlet.KodoSessionFilter.doFilter(KodoSessionFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.bea.shaboo.impl.servlet.ShabooSecurityFilter.doFilter(ShabooSecurityFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.bea.shaboo.impl.servlet.InitializationCheckFilter.doFilter(InitializationCheckFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:887)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:696)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2009)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jdom.input.JDOMParseException: Error on line 1: White spaces are required between publicId and systemId.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:178)
... 71 more
Caused by: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanExternalID(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
... 73 more
<ptLogMsgEnd>
53 4-10-2009 11:50:26.128 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.CSPPortletProvider CSPPortletProvider.GetContent: Receieved full response. Request state is [Processing of this request has completed successfully.] <ptLogMsgEnd>
54 4-10-2009 11:50:26.128 Info Transformers portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.transformers.TurboParser found unique namespace token '$PORTLET_ID$' <ptLogMsgEnd>
55 4-10-2009 11:50:26.128 Info Transformers portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.transformers.TurboParser found a token <ptLogMsgEnd>
56 4-10-2009 11:50:26.128 Info PortletProvider portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.server.impl.portlet.providers.GatewayContent GatewayContent : constructing text response with status code 200 and Content-Type text/html <ptLogMsgEnd>
57 4-10-2009 11:50:26.128 Info Gateway portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Displaying page GatewayBinary <ptLogMsgEnd>
58 4-10-2009 11:50:26.138 Action Gateway portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.activityspace.utils.GatewayHandlers Leaving HandleGatewayRequest (request completed) - User ID: 1 <ptLogMsgEnd>
59 4-10-2009 11:50:26.138 Action UI_Infrastructure portal.house-2aojhum1o.Administrator .NET #1 com.plumtree.uiinfrastructure.interpreter.Interpreter Leaving handleRequest - pre filter terminated execution. <ptLogMsgEnd>I had the same problem. I identified some issues with the way this portlet works. There is a work around, but not a good one. To fix this portlet, I had to go into config manager, 'Aqualogic Notification Service -> RSS Feeds' and uncheck 'Gateway RSS Feed URLs'. This makes that portlet work properly, the side effect is that it breaks all of the RSS Feeds in collab. So, to get around that you have to go add a gateway config to all of the collab portlets' web services... I meant to submit a trouble ticket, but never got around to it. We aren't using that portlet currently, so I bailed on the work around.
-
Dynamic User Group Role for ASA 8 ACS 4 External Windows DB
1. I've successfully got a Win2003 AD user to authenticate to the ASA via an ACS but the default group settings the dynamic user becomes part of don't get transfered to the user. How do I get the user to adopt the group settings?
2. ASDM recommends nabling authentication for admin console sessions so you don't ssh into a box then have to login as the enable password which isn't logged. When I check the box for this feature I can ssh to the ASA but my password is denied ASA. How do I keep the user credentials all the way to the privilege exec mode?
3. Back in the day I could configure the ACS shell, privilege 15, custom attributes cisco-av-pair "priv-lvl-15" to get a user to jump directly to privilege exec mode. This doesn't work now. Is there a different way to do this on ACS v 4?
Thanks in advance,
MattTry this:
aaa authentication enable console
aaa authorization command
on ACS go to the user or group that the user is in and go to enable options and click on "Max Privilege for any AAA client" and set it to "15". Then go to the "tacacs+" section on click on "Shell(exec)" and click on "Privilege leve" and enter 15. Then go to the "Shell command authorization set" and set the default to permit any commands not listed. This will get the user into privilege mode. In ASA/Pix it requires command authorization and authentication for enable console. On IOS it requires that you use aaa authentication exec and then the aaa authorization exec/command. This will allow the user to go straight into privilege mode instead of user mode. -
I have installed and configured Kanaka plug-in and my nds users can now login and see their home folders. However, they cannot launch any local applications eg. TextEdit generates a message "TextEdit quit unexpectedly" and so does Opera, Firefox always tries to create a new profile and then gives a "Profile Creation failed" due to chosen folder not being writable and MS Word will always bring the initial setup screen up but never actually loads. Is there something I have to do within Kanaka to give the dynamic users more rights. We are trying to implement this for students using our public Macs so we don't want them to have administrator privileges but they do need to be able to launch programs. Thanks
andyh100,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Dynamic User Tracking Ignoring Traps
LMS3.2
Campus Manager 5.2.0
Set up a switch per instructions and moved a PC from port to port. The Results:
S0068SWT0CW#sh mac ad not change
MAC Notification Feature is Enabled on the switch
Interval between Notification Traps : 1 secs
Number of MAC Addresses Added : 5
Number of MAC Addresses Removed : 4
Number of Notifications sent to NMS : 9
Maximum Number of entries configured in History Table : 1
Current History Table Length : 1
MAC Notification Traps are Enabled
History Table contents
History Index 1, Entry Timestamp 954048629, Despatch Timestamp 954048629
MAC Changed Message :
Operation: Added Vlan: 5 MAC Addr: 0024.e8f4.52fe Dot1dBasePort: 4
S0068SWT0CW#
Wireshark on the server shows the SNMP traps arrived at the server, but nothing is logged in the MACUHIC log (all items set for debugging and debugging is enabled) and nothing shows up in the end host report.
Trap listener configuration Listen traps from device is checked.
Dynamic User Tracking Configuration validate trap source by IP address is checked. The source address in validate trap source matches the source shown by wire shark.
What am I missing? How can I further troubleshoot this? ThanksTrap listener Configuration
Listen traps from device is selected
Listen traps from DFM/HPOV is not selected
trap listener port 1431
Dynamic User Tracking Configuration
validate SNMP Community not selected
validate trap source is selected
IP address is 10.67.139.100
It didn't work with the validate trap source not selected
I am not using DFM. The device is sending its traps to the server with campus manager. -
I would like to get the real time updates on end hosts on my switches. From reading other posts it sounds like I need to do the following:
1. Configure DHCP snooping on the switches.
2. Enable the mac notification traps on the switches and verify they are being sent to LMS.
I have catalyst 4000 and 4500 access switches. I've read that I may have problems with how LMS will handle the traps from the 4500 switches in this post: http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&topicID=.ee71a02&fromOutline=&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cd34898
Has anyone had much luck in getting dynamic user tracking to work with the Catalyst 4500?Not really. You'd have to run major acquisitions back to back to back, and that will just put too much strain on the server (and network).
Maybe you are looking for
-
Re: suggested edit to hint: Tip - Date and Time in the Menu Bar
Hi Josh Funnily enough I had to set up a new machine for my daughter a month ago, and used precisely this (GUI) method. I haven't tried it in Tiger, but am assured by several people it also works there. I believe some people were able to do something
-
Document splitting generate lines with alternative +/- signs (very urgent)
Hi experts, I am facing the above problem when i am clearing the vendor Document clear F-44, After simulate the Entry will be coming, when save the entry we are faced this problem Massage Class GLT0002. Regards gvr
-
Artwork Import Corrupts File and Does Not Show in iTunes
I recently loaded some files into iTunes that I received as MP3s. After importing them, I attempted to add artwork. The artwork showed up originally, but everytime I went back to play the song, the artwork would disappear. And, each time I attempted
-
How to add edited text from photoshop to dreamweaver
I edited text in photoshop to make it look nice and sparkly. I am trying to put it in a flash site but do not understand how. the context file only allows you to choose the color and type of font but nothing more such as drop shadows and such. when i
-
Getting skype email to complete feedback survey .....
Did someone hack skype user lists? I m getting email to complete feedback survey for $$?