New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDEMPIERE-5135 : Add a link in a Broadcast message to open a record #1105
Conversation
Credits go to devcoffee - sorry i didn't find Matheus Marcelino's github account Co-Authored-By: muriloht <5605206+muriloht@users.noreply.github.com>
I've added a getUrlZoom method in MBroadcastMessage so it can be used by processes when you create the broadcast message. String message = "bla bla bla"; MBroadcastMessage bm = new MBroadcastMessage(getCtx(), bmID, get_TrxName()); |
Hi @nmicoud , Example of usage should be added to the ticket instead of to the PR. Regards, |
Env.setContext(Env.getCtx(), MBroadcastMessage.CLIENTINFO_BROADCAST_COMPONENT_ID, pnlHead.getUuid()); | ||
textMsgContent.setContent(mbMessages.get(0).get_Translation(MBroadcastMessage.COLUMNNAME_BroadcastMessage)); | ||
pnlHead.addEventListener(ZoomEvent.EVENT_NAME, this); | ||
htmlDiv.setFocus(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this added block should replace "textMsgContent.setContent(mbMessages.get(0).get_Translation(MBroadcastMessage.COLUMNNAME_BroadcastMessage));" at line 117.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
fix suggested by hengsin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
…1105) * IDEMPIERE-5135 : Add a link in a Broadcast message to open a record Credits go to devcoffee - sorry i didn't find Matheus Marcelino's github account Co-Authored-By: muriloht <5605206+muriloht@users.noreply.github.com> * IDEMPIERE-5135 : Add a link in a Broadcast message to open a record fix suggested by hengsin Co-authored-by: muriloht <5605206+muriloht@users.noreply.github.com>
Credits go to devcoffee - sorry i didn't find Matheus Marcelino's github account
Co-Authored-By: muriloht 5605206+muriloht@users.noreply.github.com