Add custom property in detail view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 02:28 PM
Hello everyone,
I have just added few custom fields and now I want add a column in detail view "Assigned to".
How do I modify browse.jsp?
Could anyone please help me?
thanks and regards
Ale
I have just added few custom fields and now I want add a column in detail view "Assigned to".
How do I modify browse.jsp?
Could anyone please help me?
thanks and regards
Ale
Labels:
- Labels:
-
Archive
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 03:04 PM
Programming browser.jsp requires some investigation and knowledge to get things right. And when you change alfresco version you must check the files and apply changes all over again. Maybe you should use custom view templates - you can apply them to specific spaces, where you store your files with additional metadata.
Check some links:
http://www.armedia.com/blog/2009/04/custom-views-in-alfresco/
http://forums.alfresco.com/en/viewtopic.php?f=14&t=5551
http://cedric.bosdonnat.free.fr/wordpress/?p=85&lang_view=en
Hope it suits your needs.
Check some links:
http://www.armedia.com/blog/2009/04/custom-views-in-alfresco/
http://forums.alfresco.com/en/viewtopic.php?f=14&t=5551
http://cedric.bosdonnat.free.fr/wordpress/?p=85&lang_view=en
Hope it suits your needs.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 03:35 PM
Hi dmihelj,
thank you very much. I have just obtained something interesting modifying "recent_docs.ftl".
So I have to study freemarker!
Thank you again
Ale
thank you very much. I have just obtained something interesting modifying "recent_docs.ftl".
So I have to study freemarker!
Thank you again
Ale
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2010 05:35 AM
Hi, I have the same problem.
I want create my own view in Alfresco, like this :
[img]http://nsa14.casimages.com/img/2010/04/01/100401113352401660.jpg[/img]
I want delete the view "content items" or replace by my "custom view". For the moment, I have the both of them.
If you have a solution, please help me !
Thx !
I want create my own view in Alfresco, like this :
[img]http://nsa14.casimages.com/img/2010/04/01/100401113352401660.jpg[/img]
I want delete the view "content items" or replace by my "custom view". For the moment, I have the both of them.
If you have a solution, please help me !
Thx !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2010 08:09 AM
Is it possible to put the results on multiple pages, a bit like the detail view that one can see in Alresco?
I have not seen anything like this in the tutorials on the web …
HELP !
I have not seen anything like this in the tutorials on the web …
HELP !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2010 08:29 AM
This would be /jsp/browse.jsp just put rendered false for content list
<a:richList id="contentRichList"… redered="false"
or <aanel id="content-panel"…redered false.
this way you would remove content list.
but ultimate solution is to make browser like Windows broser, first spaces then contennt.
RecentDocs is nice way, but it shows recently changed docs in this space, not very good if you remove content.
<a:richList id="contentRichList"… redered="false"
or <aanel id="content-panel"…redered false.
this way you would remove content list.
but ultimate solution is to make browser like Windows broser, first spaces then contennt.
RecentDocs is nice way, but it shows recently changed docs in this space, not very good if you remove content.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2010 09:40 AM
Hi, you're a genius, that's exactly what I wanted to do!
I modify the jsp page and I am facing a problem. How to appear custom metatada?
browse.jsp
My second metadata doesn't appear. I tried "custom.statutdocument" or "r.["custom:statutdocument"]" but it doesn't work …
Have you an idea ?
I modify the jsp page and I am facing a problem. How to appear custom metatada?
browse.jsp
<a:column id="col15" style="text-align:left"> <f:facet name="header"> <h:outputText id="col15-txtA" value="Version"/> </f:facet> <h:outputText id="col15-txtB" value="#{r.versionLabel}" /></a:column><a:column id="col20" style="text-align:left"> <f:facet name="header"> <h:outputText id="col20-txtA" value="Statut"/> </f:facet> <h:outputText id="col20-txtB" value="#{r.statutdocument}" /></a:column>
My second metadata doesn't appear. I tried "custom.statutdocument" or "r.["custom:statutdocument"]" but it doesn't work …
Have you an idea ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2010 11:04 AM
It's work !
But beware of action is presented differently between these two sites !
http://wiki.alfresco.com/wiki/Customising_An_Alfresco_JSP#Displaying_Custom_Metadata
AND
http://forums.alfresco.com/en/viewtopic.php?f=5&t=21227&p=69633&hilit=jsp+custom+metadata#p69633
The first doesn't work, the second works ! Should correct this in the wiki or is it badly explained !
<a:column id="col15" style="text-align:left"> <f:facet name="header"> <h:outputText id="col15-txtA" value="Version du doc"/> </f:facet> <h:outputText id="col15-txtB" value="#{r.versionLabel}" /></a:column><a:column id="col20" style="text-align:left"> <f:facet name="header"> <h:outputText id="col20-txtA" value="Statut du doc"/> </f:facet> <h:outputText id="col20-txtB" value="#{r['custom:statutdocument']}" /></a:column>
But beware of action is presented differently between these two sites !
http://wiki.alfresco.com/wiki/Customising_An_Alfresco_JSP#Displaying_Custom_Metadata
AND
http://forums.alfresco.com/en/viewtopic.php?f=5&t=21227&p=69633&hilit=jsp+custom+metadata#p69633
The first doesn't work, the second works ! Should correct this in the wiki or is it badly explained !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2010 05:02 PM
I am not a genius I just work for a company that works with alfresco for a long time, and we have changed so many things that blows anyones mind…(you can see address in the footer, go register and see).
If you want to see additional columns you have to edit BrowseBean and add property resolover for this ( about 10 lines of code + logic for statutdocument)
<a:column id="col20" style="text-align:left">
<f:facet name="header">
<hutputText id="col20-txtA" value="Statut du doc"/>
</f:facet>
<hutputText id="col20-txtB" value="#{r.statutdocument}" />
</a:column>
I gues this code is good, but it lacks a bit of java coding. if you need help with java let me know, or any other
If you want to see additional columns you have to edit BrowseBean and add property resolover for this ( about 10 lines of code + logic for statutdocument)
<a:column id="col20" style="text-align:left">
<f:facet name="header">
<hutputText id="col20-txtA" value="Statut du doc"/>
</f:facet>
<hutputText id="col20-txtB" value="#{r.statutdocument}" />
</a:column>
I gues this code is good, but it lacks a bit of java coding. if you need help with java let me know, or any other