Hi Dan,

On 2/1/07, Dan Harth <[EMAIL PROTECTED]> wrote:

I attempt to use the velocity edit-pref.vm on a complex preferences (key with
mulitple values)
The user ID "admin" preferences got messed up and I  need to be able to
clear out the values for
user "admin" so that he will default back to the good portlet.xml
configuration.

Is this possible?  I searched for portlet.xml related to this .. nothing
came up.  I'm sure others have encounter
similiar issues... I can't find custom configuration in Database tables, on
file system, etc....

Where is custom configuration per user for portlets like weather, etc?  can
it be deleted or flushed out if I am unable to change via complex
"EditPage"?

The preferences are stored in the database. To the best of my
knowledge you can find them in the table PREFS_PROPERTY_VALUE table.

If you have one psml page with one portlet find the fragment id in the
psml and issue this query with the specified the fragment id in the
place of PORTLET_ID.

select * from PREFS_NODE where FULL_PATH like
'/portlet_entity/PORTLET_ID/admin/%'

It will tell you all the preferences set for the user admin for that
specific fragment (portlet instance). And the query,

select * from PREFS_PROPERTY_VALUE where NODE_ID = ANY_NODE_ID

will tell you the values.

This applies to the latest subversion of j2. Older versions did not
set preferences per user.

Philip

--
View this message in context: 
http://www.nabble.com/Help%3A-portlet.xml-preference-key-value%28s%29-messed-up-tf3157142.html#a8755557
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to