However, I did come across this again while upgrading.
I deleted the
method PRSearchWidget>>go and upgraded. Now, though, search doesn't
work. When I press return, it doesn't do anything.
Do you have the latest version of Pier-Seaside? I just recently fixed
this problem.
I have: Pier-Seaside-lr.138.mcz
There is one newer version from Pierre, which I just loaded. No
change.
Philippe ;-)
And, when you look at the components list (when adding
a component)
there are TWO search component. I tried both. The second one
behaves as
I have described. The first one actual seems to do something (the
hourglass goes on like it's "working"). But, it never finds
anything.
Strange, I just have one. What about in your image? Try to display
the changes of Pier-Seaside and see if there any load-artifacts left
over by Monticello.
I don't see anything strange. I put in a halt in a couple of
methods so
I could trace what was happening but it never made it to the methods.
(that's when I went back to Pier and saw two components for
search.) So
those are there in the changes, but those are mine.
The expression used to calculate the list of components is the
following:
Array streamContents: [ :stream |
PRWidget allSubclassesDo: [ :each |
each isAbstract
ifFalse: [ stream nextPut: each ] ].
WAComponent allSubclassesDo: [ :each |
each canBeRoot
ifTrue: [ stream nextPut: each ] ] ]
In my image this results in:
{PRCommandsWidget . PRHeaderWidget . PRNavigationWidget .
PRPathWidget . PRReferencesWidget . PRTreeWidget . PRChildrenWidget .
PRSearchWidget . PRViewsWidget . PRTocWidget . PUSecurityWidget .
PRContentsWidget . PRXHtmlWidget . PUGroupsWidget . PUUsersWidget .
PUSystemWidget . PBPostTicker . WACounter . WAExampleBrowser .
WAFileLibraryExample . WAAllCanvasTests . WAAllTests .
WAMiniCalendar . WAMultiCounter . WAScreenshot . WAStore .
WAVNCController . WAVersionUploader . SUAllTests . PRPierFrame .
WADispatcherViewer . WADispatcherEditor . RRChangesDemo . RRDemo}
Maybe you have some other Seaside/Magritte/Pier code loaded that
provides a different search component?
Hmm, I don't think this is related, but when I
updated Pier before I
received your instructions on PRPierFrame initialize. I replied to
create a new kernel. That gave me two piers with the same name. In the
Pier Browser, they are both there. I'd like to get rid of the first
one. How can I do that.
Evaluate
PRKernel instances inspect
and then remove the one you don't want anymore. Note that if you have
an entry point defined in Seaside using the removed kernel, it won't
disappear from the Smalltalk image.
However, I don't see how this would be related.
No, that's certainly not the problem for the two search boxes.
Note that the Search Widget is one of the Widgets with two lives, one
when you have SULibrary (Scriptaculous) in your list of libraries and
one if no AJAX support is available. Depending on the mode it behaves
different, both modes work for me.
Note that you also might want to check the settings of the Search
Widget, it might well be that you filter out some types and therefor
see no results.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch