[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: CaptainCasa  XML
Profile for CaptainCasa -> Messages posted by CaptainCasa [5533] Go to Page: 1, 2, 3  ...  367, 368, 369 Next 
Author Message
...sorry, the previous message did not respond fully to your question. You are right (just check the code): the ccimagesize request is still fired. - If possible: use the naming convention then I guarantee for not firing any request...

Kind regards! Björn
...in the image the HEIGHT and the WIDTH are the space that is occupied by the image. How the image is rendered into this HEIGHT and WIDTH is defined by additional parameters:

KEEPRATIO=true now says, that the ratio of the image is kept during resizing
KEEPRATIOFITMODE=contain/cover defines how the image is "pressed" into the given HEIGHT/WIDTH, "contain" shows full image and shows remaining space as consequence, "cover" fills the region but cuts parts of the image.

Kind regards! Björn
Hi,

one way is to explicitly set IMAGEHEIGHT and IMAGEWIDTH in the IMAGE or ICON/BUTTON/...

Another one is to help the client with "proper" naming of images. If they end with "xxx_<width>x<height>.ext" e.g. "cancel_16x16.svg" then the client takes this as width/height and does not recalculate.

Kind regards! Björn
Hi,

should be a just normal value change. So if you want to get notified: set FLUSH to true and implement BaseActionEventFlush.

Kind regards! Björn
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog
...sorry - this is an external framework which we embed. We cannot check for this kind of details ourselves! ;-) - Kind regards! Björn
Hi all,

when using the JSF reference implementation there is coming up a stack trace in the log when starting a dialog:

Code:
 java.lang.Error: javax.faces.FacesException: Expression Error: Named Object: org.eclnt.jsfserver.elements.impl.UNIFIEDPOLLINGComponent not found.
          |      at org.eclnt.jsfserver.elements.BaseComponentTag.createBaseComponent(BaseComponentTag.java:471) [eclntjsfserverRISC-20240514.jar:]
         |      at org.eclnt.jsfserver.elements.impl.ROWINCLUDEComponent$ParsedNode.render(ROWINCLUDEComponent.java:121) [eclntjsfserverRISC-20240514.jar:]
          |      at org.eclnt.jsfserver.elements.impl.ROWINCLUDEComponent$ParsedNode.render(ROWINCLUDEComponent.java:150) [eclntjsfserverRISC-20240514.jar:]
 


The application then continues with normal processing.
The error does no show up when using the "mini-JSF-implementation" of CaptainCasa.

We fixed this issue, fix is part of next week's update.

Kind regards! Björn
Hi Georgi,

yes, you are right - this is not perfect.
In short: we did an update here - for JEE it is available with interim update 20240516_INT2 (only on Maven, only JEE - complete installation is then coming next Monday).

Some more words: the column header is the one to receive the "click-events" on client side. Up to now only clicks were accepted when they werer originating from the header cell itself or from the label control inside. Now that you set the label size to 0, there was no event anymore.

Why did we exclude other controls (you know that in the browser click-events are bubbled up...)? If you place a FIELD into the header then you do not want to trigger a sorting because the user places the cursor into the field...

With our update we now also mark "stupid click events" (like clicking into a field) as events to not be processed for sorting. So we now can sort out the events in a clear way. Click on label is used, click on field is not used (if enabled...), click on button/... is not used.

Thanks for your message! Björn
Hi,

the CaptainCasa RADIAL component is similar - but not the same

One easy way to overcome is:

1. Render the pie chart server side as SVG image.
2. Embed the SVG image as IMAGE into the dialog, use e.g. TempFileManager of BufferedContentMgr to make it available as URL.

3. Use OVERLAYAREA component to draw text in front of image.

Code:
 ROW
   OVERLAYAREA
     OVERLAYREABASEITEM
       IMAGE image="...reference to the dynamically generated image..."
     OVERLAYREAITEM bloundsanchor=centermidde x=50% y=50% z=10
       PANE
         ROW 
           LABEL
         ROW
           LABEL
 


For creating the server side SVG I cannot name a library, but there must be one somewhere. Or you directly write the SVG on your own... ;-)

Kind regards! Björn
Please check 20240515_INT1 (Maven only).
New annotation parameters are "popupHeight" and "popupWidth". You can set one or both.

Thx + regards! Björn
Hi Ulli,

@1. yes, is added

@2. new parameter "columnWidths" was added to annotation "dovalidvaluesbydatagridviewdofw", same usage as "columnFormts". Parameter is a String[] (not int[]) because columns have percentage sizes...

Just uploaded 20240514_INT1 to the Maven repository.

Kind regards! Björn


...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
...is available in the download area.

Details about changes: http://www.captaincasa.com/docu/eclnt_changelog

IMPORTANT: please check change log - external client libraries were outsourced into own .jar libraries/artifacts with previous update 20240206
 
Profile for CaptainCasa -> Messages posted by CaptainCasa [5533] Go to Page: 1, 2, 3  ...  367, 368, 369 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team