#2599: Allow an arbitrary query string, and propagate it to dialog boxes
--------------------------------+-------------------------------------------
  Reporter:  kennardconsulting  |       Owner:           
      Type:  New Feature        |      Status:  reopened 
  Priority:  Normal             |   Milestone:           
 Component:  UI : Dialogs       |     Version:           
Resolution:                     |    Keywords:  Confirmed
--------------------------------+-------------------------------------------
Changes (by kennardconsulting):

  * status:  closed => reopened
  * resolution:  wontfix =>


Comment:

 Guys,

 I appreciate your patience. You have certainly answered my first point.

 However, please bear with me. To my second point: if I set the
 editor.Config in my main page, by the time I get to my dialog box (first
 via fckeditor.htm and then fck_image.htm) it seems very hard to get at
 that value server-side?

 What I do is override my JSP processor to handle serving up fck_image.htm.
 Then I can pop a small amount of server-side script in that dialog box.
 It's easy for the script to say...

 <select>
    <c:forEach var="image" items="${getAllImagesFor(param.foo)}">
       <option>${image}</option>
    </c:forEach>
 </select>

 ...but not possible for the script to say...

 <select>
    <c:forEach var="image" items="${getAllImagesFor( editor.Config['foo']
 )}">
       <option>${image}</option>
    </c:forEach>
 </select>

 ...because 'editor' is client side, not server-side.

 I understand if you think this feature is too marginal to add to FCK, just
 so long as you understand what I'm asking for :)

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2599#comment:5>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to