[Building Sakai] FCK Editor limit in samigo

View: New views
4 Messages — Rating Filter:   Alert me  

[Building Sakai] FCK Editor limit in samigo

by Thach Le :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear,

I deployed the sakai 2.6.1 from the binary package. I use MySQL 5.1.
How can I configure the FCKEditor to avoid the limitation of 4000 characters?

Thach Le
---
Karen Tsao ktsao at stanford.edu
Tue Jul 7 09:21:02 PDT 2009

    * Previous message: [Building Sakai] FCK Editor limit in samigo
    * Next message: [Building Sakai] FCK Editor limit in samigo
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Hi Greg,

This limit is from Oracle's 4000 character limitation on VARCHAR2 fields. I
believe UCT uses MySQL? For MySQL, there is no limit. You can try to
increase the length of that column and increase the validateLength in JSF
files as well. The reason we use 4000 in all database is just to keep the
behavior consistent.

By the way, if you want to increase the length for Oracle, you have to
change the column type.

Thanks,
Karen

On Tue, Jul 7, 2009 at 8:55 AM, Gregory Doyle <Gregory.Doyle at uct.ac.za>wrote:

> Hi
> In trying to add a question I come across a 4000 character limit, yet in
> the FCK editor in other tools there is no such limit. Any idea why? Or am I
> just missing something?
>
> Thanks
> greg
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090707/d0493675/attachment.html

    * Previous message: [Building Sakai] FCK Editor limit in samigo
    * Next message: [Building Sakai] FCK Editor limit in samigo
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the sakai-dev mailing list
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] FCK Editor limit in samigo

by Steve Swinsburg-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

It's not FCKeditor, its the length restriction of that column in the  
DB for Oracle, and hence in the JSF to restrict it for all. See below,  
and this Jira ticket:
http://jira.sakaiproject.org/browse/SAK-16822


>
> This limit is from Oracle's 4000 character limitation on VARCHAR2  
> fields.
>
> If you are using Oracle, you have to change the column type and  
> increase the validateLength in JSF files. For MySQL, because there  
> is no limit, you can just increase the length of that column and the  
> validateLength in JSF.
>
> By the way, the reason we use 4000 is to keep the behavior consistent.
>

So looks like you'll need to adjust the validateLength in the JSF.


cheers,
Steve


On 30/10/2009, at 6:39 PM, Thach Le wrote:

> Dear,
>
> I deployed the sakai 2.6.1 from the binary package. I use MySQL 5.1.
> How can I configure the FCKEditor to avoid the limitation of 4000  
> characters?
>
> Thach Le
> ---
> Karen Tsao ktsao at stanford.edu
> Tue Jul 7 09:21:02 PDT 2009
>
>    * Previous message: [Building Sakai] FCK Editor limit in samigo
>    * Next message: [Building Sakai] FCK Editor limit in samigo
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> Hi Greg,
>
> This limit is from Oracle's 4000 character limitation on VARCHAR2  
> fields. I
> believe UCT uses MySQL? For MySQL, there is no limit. You can try to
> increase the length of that column and increase the validateLength  
> in JSF
> files as well. The reason we use 4000 in all database is just to  
> keep the
> behavior consistent.
>
> By the way, if you want to increase the length for Oracle, you have to
> change the column type.
>
> Thanks,
> Karen
>
> On Tue, Jul 7, 2009 at 8:55 AM, Gregory Doyle <Gregory.Doyle at  
> uct.ac.za>wrote:
>
>> Hi
>> In trying to add a question I come across a 4000 character limit,  
>> yet in
>> the FCK editor in other tools there is no such limit. Any idea why?  
>> Or am I
>> just missing something?
>>
>> Thanks
>> greg
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090707/d0493675/attachment.html
>
>    * Previous message: [Building Sakai] FCK Editor limit in samigo
>    * Next message: [Building Sakai] FCK Editor limit in samigo
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> More information about the sakai-dev mailing list
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>  with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] FCK Editor limit in samigo

by Thach Le :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear,

I'm using MySQL. I deployed the sakai from the binary package.
What file must be edited for the suggestion "increase the length of
that column and the validateLength in JSF"?

Best regards,

Thach Le

On Fri, Oct 30, 2009 at 6:21 PM, Steve Swinsburg
<steve.swinsburg@...> wrote:

> Hi,
>
> It's not FCKeditor, its the length restriction of that column in the DB for
> Oracle, and hence in the JSF to restrict it for all. See below, and this
> Jira ticket:
> http://jira.sakaiproject.org/browse/SAK-16822
>
>
>>
>> This limit is from Oracle's 4000 character limitation on VARCHAR2 fields.
>>
>> If you are using Oracle, you have to change the column type and increase
>> the validateLength in JSF files. For MySQL, because there is no limit, you
>> can just increase the length of that column and the validateLength in JSF.
>>
>> By the way, the reason we use 4000 is to keep the behavior consistent.
>>
>
> So looks like you'll need to adjust the validateLength in the JSF.
>
>
> cheers,
> Steve
>
>
> On 30/10/2009, at 6:39 PM, Thach Le wrote:
>
>> Dear,
>>
>> I deployed the sakai 2.6.1 from the binary package. I use MySQL 5.1.
>> How can I configure the FCKEditor to avoid the limitation of 4000
>> characters?
>>
>> Thach Le
>> ---
>> Karen Tsao ktsao at stanford.edu
>> Tue Jul 7 09:21:02 PDT 2009
>>
>>   * Previous message: [Building Sakai] FCK Editor limit in samigo
>>   * Next message: [Building Sakai] FCK Editor limit in samigo
>>   * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>
>> Hi Greg,
>>
>> This limit is from Oracle's 4000 character limitation on VARCHAR2 fields.
>> I
>> believe UCT uses MySQL? For MySQL, there is no limit. You can try to
>> increase the length of that column and increase the validateLength in JSF
>> files as well. The reason we use 4000 in all database is just to keep the
>> behavior consistent.
>>
>> By the way, if you want to increase the length for Oracle, you have to
>> change the column type.
>>
>> Thanks,
>> Karen
>>
>> On Tue, Jul 7, 2009 at 8:55 AM, Gregory Doyle <Gregory.Doyle at
>> uct.ac.za>wrote:
>>
>>> Hi
>>> In trying to add a question I come across a 4000 character limit, yet in
>>> the FCK editor in other tools there is no such limit. Any idea why? Or am
>>> I
>>> just missing something?
>>>
>>> Thanks
>>> greg
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090707/d0493675/attachment.html
>>
>>   * Previous message: [Building Sakai] FCK Editor limit in samigo
>>   * Next message: [Building Sakai] FCK Editor limit in samigo
>>   * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>
>> More information about the sakai-dev mailing list
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe@... with a subject of
>> "unsubscribe"
>
>
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] FCK Editor limit in samigo

by Karen Tsao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thach Le,

It is set in the JSF files which contain FCK editor. For example, in the sam/samigo-app/src/webapp/jsf/author/trueFalse.jsp, you can find following code:

<samigo:wysiwyg rows="140" value="#{itemauthor.currentItem.itemText}" hasToggle="yes">
     <f:validateLength minimum="1" maximum="4000"/>
</samigo:wysiwyg>

You can increase the length by changing the "maximum" field to a bigger number.

By they way, this is set for many JSF files. You need to take care of all the places that you want to extend.

Thanks,
Karen

On Tue, Nov 3, 2009 at 4:12 AM, Thach Le <thachln@...> wrote:
Dear,

I'm using MySQL. I deployed the sakai from the binary package.
What file must be edited for the suggestion "increase the length of
that column and the validateLength in JSF"?

Best regards,

Thach Le

On Fri, Oct 30, 2009 at 6:21 PM, Steve Swinsburg
<steve.swinsburg@...> wrote:
> Hi,
>
> It's not FCKeditor, its the length restriction of that column in the DB for
> Oracle, and hence in the JSF to restrict it for all. See below, and this
> Jira ticket:
> http://jira.sakaiproject.org/browse/SAK-16822
>
>
>>
>> This limit is from Oracle's 4000 character limitation on VARCHAR2 fields.
>>
>> If you are using Oracle, you have to change the column type and increase
>> the validateLength in JSF files. For MySQL, because there is no limit, you
>> can just increase the length of that column and the validateLength in JSF.
>>
>> By the way, the reason we use 4000 is to keep the behavior consistent.
>>
>
> So looks like you'll need to adjust the validateLength in the JSF.
>
>
> cheers,
> Steve
>
>
> On 30/10/2009, at 6:39 PM, Thach Le wrote:
>
>> Dear,
>>
>> I deployed the sakai 2.6.1 from the binary package. I use MySQL 5.1.
>> How can I configure the FCKEditor to avoid the limitation of 4000
>> characters?
>>
>> Thach Le
>> ---
>> Karen Tsao ktsao at stanford.edu
>> Tue Jul 7 09:21:02 PDT 2009
>>
>>   * Previous message: [Building Sakai] FCK Editor limit in samigo
>>   * Next message: [Building Sakai] FCK Editor limit in samigo
>>   * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>
>> Hi Greg,
>>
>> This limit is from Oracle's 4000 character limitation on VARCHAR2 fields.
>> I
>> believe UCT uses MySQL? For MySQL, there is no limit. You can try to
>> increase the length of that column and increase the validateLength in JSF
>> files as well. The reason we use 4000 in all database is just to keep the
>> behavior consistent.
>>
>> By the way, if you want to increase the length for Oracle, you have to
>> change the column type.
>>
>> Thanks,
>> Karen
>>
>> On Tue, Jul 7, 2009 at 8:55 AM, Gregory Doyle <Gregory.Doyle at
>> uct.ac.za>wrote:
>>
>>> Hi
>>> In trying to add a question I come across a 4000 character limit, yet in
>>> the FCK editor in other tools there is no such limit. Any idea why? Or am
>>> I
>>> just missing something?
>>>
>>> Thanks
>>> greg
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090707/d0493675/attachment.html
>>
>>   * Previous message: [Building Sakai] FCK Editor limit in samigo
>>   * Next message: [Building Sakai] FCK Editor limit in samigo
>>   * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>
>> More information about the sakai-dev mailing list
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe@... with a subject of
>> "unsubscribe"
>
>
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"


_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"